/**
 * Main Stylesheet
 * UTF-8 encoded, Responsive Design
 */

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

:root {
    /* Torun IT Services Color System */
    --md-primary: #6366F1;
    --md-primary-dark: #4F46E5;
    --md-primary-light: #818CF8;
    --md-on-primary: #FFFFFF;
    
    --md-secondary: #3B82F6;
    --md-secondary-dark: #2563EB;
    --md-secondary-light: #60A5FA;
    --md-on-secondary: #FFFFFF;
    
    --md-tertiary: #8B5CF6;
    --md-tertiary-dark: #7C3AED;
    --md-tertiary-light: #A78BFA;
    --md-on-tertiary: #FFFFFF;
    
    --md-error: #EF4444;
    --md-error-dark: #DC2626;
    --md-on-error: #FFFFFF;
    
    --md-success: #10B981;
    --md-success-dark: #059669;
    --md-on-success: #FFFFFF;
    
    --md-warning: #F59E0B;
    --md-warning-dark: #D97706;
    --md-on-warning: #FFFFFF;
    
    --md-info: #3B82F6;
    --md-info-dark: #2563EB;
    --md-on-info: #FFFFFF;
    
    --md-surface: #FFFFFF;
    --md-on-surface: #1F2937;
    --md-surface-variant: #F9FAFB;
    --md-on-surface-variant: #6B7280;
    
    --md-background: #FFFFFF;
    --md-on-background: #1F2937;
    
    --md-outline: #E5E7EB;
    --md-outline-variant: #D1D5DB;
    
    /* Torun Elevation & Shadows */
    --md-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --md-elevation-2: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --md-elevation-3: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --md-elevation-4: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --md-elevation-5: 0 25px 50px rgba(0, 0, 0, 0.15);
    
    /* Legacy support - mapped to Material colors */
    --primary-color: var(--md-primary);
    --primary-dark: var(--md-primary-dark);
    --primary-light: var(--md-primary-light);
    --secondary-color: var(--md-secondary);
    --accent-color: var(--md-tertiary);
    --success-color: var(--md-success);
    --error-color: var(--md-error);
    --warning-color: var(--md-warning);
    --text-color: var(--md-on-surface);
    --text-light: var(--md-on-surface-variant);
    --bg-color: var(--md-background);
    --bg-light: var(--md-surface);
    --bg-gradient-start: var(--md-primary);
    --bg-gradient-end: var(--md-secondary);
    --white: var(--md-surface);
    --container-width: 1200px;
    
    /* Material Design Elevation Shadows */
    --shadow-sm: var(--md-elevation-1);
    --shadow-md: var(--md-elevation-2);
    --shadow-lg: var(--md-elevation-3);
    --shadow-xl: var(--md-elevation-4);
    
    /* Torun Gradient Variables - Using CSS Variables for Dynamic Colors */
    --gradient-primary: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 100%);
    --gradient-vibrant: linear-gradient(135deg, var(--md-primary) 0%, var(--md-tertiary) 50%, var(--md-secondary) 100%);
    --gradient-ocean: linear-gradient(135deg, var(--md-secondary) 0%, var(--md-primary) 50%, var(--md-tertiary) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--md-secondary) 0%, var(--md-primary) 100%);
    --gradient-purple: linear-gradient(135deg, var(--md-primary) 0%, var(--md-tertiary) 50%, var(--md-secondary) 100%);
    --gradient-blue: linear-gradient(135deg, var(--md-secondary) 0%, var(--md-primary) 50%, var(--md-tertiary) 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    --gradient-light: linear-gradient(135deg, var(--md-surface-variant) 0%, var(--md-surface) 100%);
    --gradient-hero: linear-gradient(135deg, var(--md-primary) 0%, var(--md-primary-dark) 50%, var(--md-secondary) 100%);
    --gradient-cta: linear-gradient(135deg, var(--md-primary) 0%, var(--md-tertiary) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Torun Glow Effects - Using CSS Variables */
    --glow-primary: 0 0 20px rgba(var(--md-primary-rgb, 99, 102, 241), 0.4);
    --glow-secondary: 0 0 30px rgba(var(--md-secondary-rgb, 59, 130, 246), 0.5);
    --glow-accent: 0 0 25px rgba(var(--md-tertiary-rgb, 139, 92, 246), 0.4);
    
    /* Torun Typography Variables */
    --base-font-size: 1rem;
    --body-font-size: 1.125rem;
    --h1-font-size: 4rem;
    --h1-hero-font-size: 3.5rem;
    --h2-font-size: 3rem;
    --h2-section-font-size: 2.5rem;
    --h3-font-size: 2rem;
    --h3-subsection-font-size: 1.75rem;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    --line-height-body: 1.8;
}

/* Dark Mode Variables */
[data-theme="dark"],
body.dark-mode {
    --md-surface: #1C1B1F;
    --md-on-surface: #E6E1E5;
    --md-surface-variant: #49454F;
    --md-on-surface-variant: #CAC4D0;
    --md-background: #121212;
    --md-on-background: #E6E1E5;
    --md-outline: #938F99;
    --md-outline-variant: #49454F;
    
    --bg-color: #121212;
    --bg-light: #1C1B1F;
    --text-color: #E6E1E5;
    --text-light: #CAC4D0;
    --white: #1C1B1F;
}

[data-theme="dark"] .main-header,
body.dark-mode .main-header {
    background: var(--md-surface);
    border-bottom-color: var(--md-outline-variant);
}

[data-theme="dark"] .main-footer,
body.dark-mode .main-footer {
    background: linear-gradient(135deg, #1C1B1F 0%, #121212 100%);
    color: var(--md-on-surface);
    border-top: 1px solid var(--md-outline-variant);
}

[data-theme="dark"] .product-card,
body.dark-mode .product-card,
[data-theme="dark"] .value-card,
body.dark-mode .value-card,
[data-theme="dark"] .testimonial-card,
body.dark-mode .testimonial-card,
[data-theme="dark"] .article-card,
body.dark-mode .article-card,
[data-theme="dark"] .section-card,
body.dark-mode .section-card {
    background: var(--md-surface);
    border-color: var(--md-outline-variant);
    color: var(--md-on-surface);
}

[data-theme="dark"] .articles-table-container,
body.dark-mode .articles-table-container {
    background: var(--md-surface);
    border-color: var(--md-outline-variant);
}

[data-theme="dark"] .articles-table thead,
body.dark-mode .articles-table thead {
    background: var(--md-primary);
}

[data-theme="dark"] .articles-table tbody tr:hover,
body.dark-mode .articles-table tbody tr:hover {
    background-color: rgba(33, 150, 243, 0.15);
}

[data-theme="dark"] input,
body.dark-mode input,
[data-theme="dark"] textarea,
body.dark-mode textarea,
[data-theme="dark"] select,
body.dark-mode select {
    background: var(--md-surface);
    color: var(--md-on-surface);
    border-color: var(--md-outline-variant);
}

[data-theme="dark"] .products-preview-section,
body.dark-mode .products-preview-section,
[data-theme="dark"] .values-section,
body.dark-mode .values-section,
[data-theme="dark"] .articles-section,
body.dark-mode .articles-section {
    background: var(--md-background);
}

[data-theme="dark"] .testimonials-section,
body.dark-mode .testimonials-section {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(100, 181, 246, 0.2) 50%, rgba(144, 202, 249, 0.2) 100%);
}

[data-theme="dark"] .cta-section,
body.dark-mode .cta-section {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(100, 181, 246, 0.3) 50%, rgba(144, 202, 249, 0.3) 100%);
}

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', 'Segoe UI', 'Roboto', sans-serif;
    line-height: var(--line-height-body, 1.8);
    color: var(--md-on-surface);
    background: var(--md-background);
    font-size: var(--body-font-size, 1.125rem);
    direction: rtl;
    text-align: right;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Torun Typography Styles */
h1, .h1 {
    font-size: var(--h1-font-size, 4rem);
    font-weight: 700;
    line-height: var(--line-height-heading, 1.2);
    color: var(--md-on-surface);
    margin-bottom: 1.5rem;
}

h2, .h2 {
    font-size: var(--h2-font-size, 3rem);
    font-weight: 700;
    line-height: var(--line-height-heading, 1.2);
    color: var(--md-on-surface);
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: var(--h3-font-size, 2rem);
    font-weight: 600;
    line-height: var(--line-height-heading, 1.3);
    color: var(--md-on-surface);
    margin-bottom: 1rem;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: var(--line-height-heading, 1.3);
    color: var(--md-on-surface);
    margin-bottom: 0.875rem;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: var(--line-height-base, 1.6);
    color: var(--md-on-surface);
    margin-bottom: 0.75rem;
}

h6, .h6 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: var(--line-height-base, 1.6);
    color: var(--md-on-surface);
    margin-bottom: 0.5rem;
}

p {
    font-size: var(--body-font-size, 1.125rem);
    line-height: var(--line-height-body, 1.8);
    color: var(--md-on-surface);
    margin-bottom: 1rem;
}

/* Button font family */
button {
    font-family: Tahoma, sans-serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Torun Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(229, 231, 235, 0.8);
}

.navbar {
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.main-header.scrolled .navbar {
    padding: 0.875rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-brand a:hover {
    transform: scale(1.05);
}

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

.nav-menu a {
    color: var(--md-on-surface);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 1rem;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--md-primary);
    background: rgba(var(--md-primary-rgb, 99, 102, 241), 0.05);
}

.nav-menu a:hover::after {
    width: calc(100% - 2rem);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Torun Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 0;
    min-height: 100vh;
    height: 100vh;
    max-height: 1000px;
    text-align: center;
    direction: rtl;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(var(--md-primary-rgb, 99, 102, 241), 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(var(--md-tertiary-rgb, 139, 92, 246), 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    animation: gradientShift 15s ease infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: var(--h1-hero-font-size, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: var(--line-height-heading, 1.2);
}

.hero p, .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.8;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Torun Button Styles */
.btn-primary {
    background: var(--gradient-cta);
    color: var(--md-on-primary);
    box-shadow: 0 4px 6px rgba(var(--md-primary-rgb, 99, 102, 241), 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
    border: none;
}

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

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

.btn-primary:hover {
    box-shadow: 0 8px 15px rgba(var(--md-primary-rgb, 99, 102, 241), 0.4);
    transform: translateY(-2px) scale(1.05);
    background: var(--gradient-primary);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 4px rgba(var(--md-primary-rgb, 99, 102, 241), 0.3);
}

/* Sections - Modern Spacing Standards (8px grid system) */
section {
    padding: 80px 0;
    position: relative;
}

.services-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

section h2 {
    font-size: var(--h2-font-size, 3rem);
    margin-bottom: 2rem;
    text-align: center;
    direction: rtl;
    background: var(--gradient-vibrant);
    font-weight: 800;
    letter-spacing: -0.5px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
    line-height: 1.3;
    transition: font-size 0.3s ease;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-section,
.contact-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
}

.demo-request-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    min-height: 60vh;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Forms */
.contact-form,
.demo-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    direction: rtl;
    text-align: right;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    border-radius: 12px;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-right: 4px solid var(--success-color);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-right: 4px solid var(--error-color);
}

/* Footer */
/* Torun Footer Styles */
.main-footer {
    background: var(--gradient-dark);
    color: #E5E7EB;
    padding: 64px 0 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #FFFFFF;
    transform: translateX(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    direction: rtl;
    color: #9CA3AF;
}

/* Dashboard Admin Styles */
.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: white;
    min-height: calc(100vh - 70px);
    position: fixed;
    right: 0;
    top: 70px;
    padding: 2rem 0;
    overflow-y: auto;
}

.dashboard-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-sidebar-menu li {
    margin-bottom: 0.5rem;
}

.dashboard-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}

.dashboard-sidebar-menu a:hover,
.dashboard-sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-right-color: #3b82f6;
}

.dashboard-sidebar-menu a i {
    font-size: 1.2rem;
    width: 24px;
}

.dashboard-main-content {
    margin-right: 280px;
    padding: 2rem;
    min-height: calc(100vh - 70px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-right: 4px solid #3b82f6;
}

.stat-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stat-card-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.dashboard-chart-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Articles Table Responsive */
    .articles-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .articles-table {
        min-width: 600px;
    }
    
    .articles-table thead th,
    .articles-table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .article-title-cell {
        max-width: 250px;
    }
    
    .article-excerpt {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        padding: 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        text-align: center;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero h1,
    .hero-slide .hero-content h1,
    .hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero p, .hero-subtitle,
    .hero-slide .hero-content .hero-subtitle,
    .hero .hero-content .hero-subtitle {
        font-size: 1.125rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    h1, .h1 {
        font-size: 2.5rem;
    }
    
    h2, .h2 {
        font-size: 2rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        transform: translateX(100%);
        transition: transform 0.3s;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-main-content {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

/* Torun Hero CTA Styles */
.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Torun Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 700px;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(79, 70, 229, 0.3) 50%, rgba(59, 130, 246, 0.25) 100%);
    z-index: 1;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
    opacity: 0.5;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide .hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2rem;
    position: relative;
    padding-bottom: 5rem;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7),
                 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7),
                     0 2px 10px rgba(0, 0, 0, 0.5),
                     0 0 30px rgba(0, 0, 0, 0.3);
    }
    50% { 
        text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8),
                     0 2px 15px rgba(0, 0, 0, 0.6),
                     0 0 40px rgba(0, 0, 0, 0.4);
    }
}

.hero-slide .hero-content .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6),
                 0 1px 8px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    opacity: 0.98;
    font-weight: 400;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 4;
    pointer-events: none;
}

.slider-prev, .slider-next {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    width: 56px;
    height: 56px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(16px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
}

.slider-prev::before, .slider-next::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.25) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.slider-prev:hover::before, .slider-next:hover::before {
    opacity: 1;
}

.slider-prev:active, .slider-next:active {
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 4;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.dot.active {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                0 0 30px rgba(99, 102, 241, 0.5);
    transform: scale(1.3);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: white;
    width: 12px;
    height: 12px;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.dot.active::before {
    width: 20px;
    height: 20px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

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

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

.hero-slide.active .hero-content {
    /* Animation removed to prevent text movement during slide transitions */
}

@media (max-width: 768px) {
    section {
        padding: 100px 0;
    }
    
    .products-preview-section,
    .values-section,
    .testimonials-section,
    .articles-section,
    .cta-section {
        padding: 100px 0;
    }
    
    /* Reduce animations on mobile for performance */
    .value-icon {
        animation: none;
    }
    
    .cta-section::before {
        animation: none;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 600px;
        max-height: 800px;
        overflow: hidden;
    }
    
    .slider-container {
        height: 550px;
        max-height: 550px;
        overflow: hidden;
    }
    
    .hero-slide {
        background-size: cover;
        background-position: center center;
        min-height: 550px;
        height: 550px;
        overflow: hidden;
    }
    
    .hero-slide .container {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-slide .hero-content {
        padding: 2rem 1rem;
        padding-bottom: 3.5rem;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-slide .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    .hero-slide .hero-content .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    .slider-controls {
        padding: 0 0.5rem;
    }
    
    .slider-prev, .slider-next {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        border-width: 2px;
    }
    
    .slider-dots {
        bottom: 1rem;
        padding: 0.6rem 1.2rem;
        gap: 0.75rem;
        z-index: 10;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(12px);
    }
    
    .dot {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.6);
    }
    
    .dot.active {
        width: 12px;
        height: 12px;
        background: white;
    }
}

@media (max-width: 480px) {
    section {
        padding: 80px 0;
    }
    
    .products-preview-section,
    .values-section,
    .testimonials-section,
    .articles-section,
    .cta-section {
        padding: 80px 0;
    }
    
    section h2 {
        font-size: 2.25rem;
    }
    
    .cta-box-large h2 {
        font-size: 2.5rem;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 500px;
        max-height: 700px;
        overflow: hidden;
    }
    
    .slider-container {
        height: 500px;
        max-height: 500px;
        overflow: hidden;
    }
    
    .hero-slide {
        min-height: 500px;
        height: 500px;
        overflow: hidden;
    }
    
    .hero-slide .container {
        padding: 0 0.75rem;
    }
    
    .hero-slide .hero-content {
        padding: 1.5rem 0.75rem;
        padding-bottom: 3rem;
    }
    
    .hero-slide .hero-content h1 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-slide .hero-content .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .slider-controls {
        padding: 0 0.25rem;
    }
    
    .slider-prev, .slider-next {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
    
    .slider-dots {
        bottom: 0.75rem;
        padding: 0.5rem 1rem;
        gap: 0.6rem;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .dot {
        width: 9px;
        height: 9px;
    }
    
    .dot.active {
        width: 11px;
        height: 11px;
    }
}

/* Articles Table Styles - Material Design */
.articles-table-container {
    background: var(--md-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.articles-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--md-surface);
}

.articles-table thead {
    background: var(--md-primary);
    color: var(--md-on-primary);
}

.articles-table thead th {
    padding: 1rem 1.5rem;
    text-align: right;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.articles-table tbody tr {
    border-bottom: 1px solid var(--md-outline-variant);
    transition: background-color 0.2s ease;
}

.articles-table tbody tr:hover {
    background-color: rgba(103, 80, 164, 0.08);
}

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

.articles-table tbody td {
    padding: 1.25rem 1.5rem;
    color: var(--md-on-surface);
    vertical-align: middle;
}

.article-title-cell {
    max-width: 400px;
}

.article-title-cell strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--md-on-surface);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.article-excerpt {
    font-size: 0.875rem;
    color: var(--md-on-surface-variant);
    line-height: 1.6;
    margin: 0;
}

.article-category-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(103, 80, 164, 0.12);
    color: var(--md-primary);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-date-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--md-on-surface-variant);
    font-size: 0.875rem;
}

.article-date-cell i {
    font-size: 0.875rem;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--md-on-surface-variant);
    font-size: 0.875rem;
}

.article-views i {
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Articles Section */
.articles-section {
    padding: 100px 0;
    background: var(--md-background);
    position: relative;
    overflow: hidden;
}

.articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 85% 75%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.articles-slider-container {
    position: relative;
    padding: 2rem 0 4rem 0;
}

.articles-swiper {
    width: 100%;
    padding: 2rem 0 4rem 0;
}

.articles-swiper .swiper-slide {
    height: auto;
    display: flex;
    width: 100%;
}

.articles-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 0.8);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.article-card:hover::before {
    opacity: 1;
}

.article-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-vibrant);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    width: fit-content;
}

.article-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.35rem;
    color: var(--text-color);
    line-height: 1.5;
    font-weight: 700;
    flex-shrink: 0;
}

.article-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    margin-bottom: 1rem;
    border-top: 1px solid #e5e7eb;
}

.article-date {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date i {
    color: var(--primary-color);
}

.article-actions {
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.article-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Articles Swiper Navigation */
.articles-swiper .swiper-button-next,
.articles-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.articles-swiper .swiper-button-next:after,
.articles-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.articles-swiper .swiper-button-next:hover,
.articles-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.articles-swiper .swiper-button-next {
    right: 10px;
}

.articles-swiper .swiper-button-prev {
    left: 10px;
}

/* Articles Swiper Pagination */
.articles-swiper .swiper-pagination {
    bottom: 10px;
}

.articles-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.articles-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .articles-swiper .swiper-button-next,
    .articles-swiper .swiper-button-prev {
        width: 42px;
        height: 42px;
    }
    
    .articles-swiper .swiper-button-next:after,
    .articles-swiper .swiper-button-prev:after {
        font-size: 18px;
    }
    
    .articles-swiper .swiper-button-next {
        right: 5px;
    }
    
    .articles-swiper .swiper-button-prev {
        left: 5px;
    }
    
    .articles-swiper .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .articles-swiper .swiper-button-next,
    .articles-swiper .swiper-button-prev {
        width: 38px;
        height: 38px;
    }
    
    .articles-swiper .swiper-button-next:after,
    .articles-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 1.25rem;
    }
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--md-primary);
    color: var(--md-primary);
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--md-primary-dark);
    color: var(--md-primary-dark);
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.btn-outline:active {
    transform: translateY(0) scale(1);
}

.btn-success {
    background: var(--md-success);
    color: var(--md-on-success);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-danger {
    background: var(--md-error);
    color: var(--md-on-error);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-warning {
    background: var(--md-warning);
    color: var(--md-on-warning);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-info {
    background: var(--md-info);
    color: var(--md-on-info);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Products Preview Section */
.products-preview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.products-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

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

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

/* Torun Card Styles */
.product-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.product-card-header {
    background: var(--gradient-blue);
    color: white;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(180deg); }
}

.product-card-header-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.product-card-header h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-card-content {
    padding: 1.5rem;
    flex: 1;
}

.product-card-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-card-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.product-card-features li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.product-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.view-all-products {
    text-align: center;
    margin-top: 4rem;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    width: 120px;
    height: 120px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-vibrant);
    border-radius: 50%;
    border: 4px solid transparent;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4),
                0 0 60px rgba(139, 92, 246, 0.3);
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1.15) rotate(10deg); }
    50% { transform: scale(1.25) rotate(15deg); }
}

.value-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow),
                0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.9;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-vibrant);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-box-large {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.cta-box-large.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-box-large h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(135deg, rgba(58, 62, 242, 1) 0%, rgba(244, 16, 39, 1) 54%, rgba(236, 72, 153, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.cta-box-large p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.cta-buttons .btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cta-buttons .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                0 0 0 4px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Feature Icons Section */
.features-icons-section {
    background: white;
    padding: 60px 0;
}

.features-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-icon-item {
    text-align: center;
}

.feature-icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    border-radius: 50%;
    border: 3px solid #10b981;
    font-size: 2.5rem;
}

.feature-icon-item h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Product Detail */
.product-detail-hero {
    background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.product-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.product-detail-section {
    padding: 60px 0;
    background: var(--white);
}

.product-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-description h2 {
    margin-bottom: 1.5rem;
}

.description-text {
    line-height: 1.8;
    color: var(--text-color);
}

.product-cta {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.cta-box p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-box .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Contact Info Cards Section */
.contact-info-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

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

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-hours .business-hours-content {
    text-align: right;
}

.contact-hours .business-hours-content p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-hours .business-hours-content p:last-child {
    margin-bottom: 0;
}

.contact-social a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-social a:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Google Maps Section */
.contact-map-section {
    padding: 60px 0;
    background: var(--white);
}

.contact-map-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

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

/* Contact Forms Section */
.contact-forms-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.forms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-simple,
.contact-form-demo {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form-simple h2,
.contact-form-demo h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.simple-contact-form,
.demo-request-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--white);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.empty-products {
    text-align: center;
    padding: 3rem;
}

/* Responsive Updates */
@media (max-width: 968px) {
    .product-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .product-cta {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .forms-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-info-section,
    .contact-map-section,
    .contact-forms-section {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-simple,
    .contact-form-demo {
        padding: 1.5rem;
    }
}



/* Product Card Image Styles */
.product-card-image-container {
    width: 100%;
    height: 320px;
    padding: 1.5rem;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.product-card-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.products-swiper .product-card {
    max-width: 100%;
    aspect-ratio: auto;
}

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

.product-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #ddd6fe 100%);
    color: var(--primary-color);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.product-card-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.product-card-image-placeholder .product-card-header-icon {
    font-size: 4rem;
}

.product-card {
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

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

.products-swiper .product-card {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    min-height: 650px;
}

.products-swiper .swiper-slide {
    height: auto;
    display: flex;
    width: 100%;
}

.products-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex;
}

/* Product Card Typography - Beautiful Fonts */
.product-card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-card-header h3 {
    color: white !important;
    margin: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    font-family: 'Shabnam', 'Tanha', 'Vazirmatn', Tahoma, sans-serif !important;
    line-height: 1.7 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    hyphens: auto !important;
    flex: 1 !important;
    min-height: auto !important;
    height: auto !important;
}

.product-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content p,
.product-card-features {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    color: var(--text-color);
    flex: 1;
}

.product-card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
    flex: 1;
}

.product-card-features li {
    padding: 0.6rem 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.98rem !important;
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
}

.product-card-features li::before {
    content: '✓' !important;
    color: #3b82f6 !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
    margin-top: 0.1rem !important;
}

/* Product Actions Button */
.product-actions {
    margin-top: auto !important;
    padding-top: 1.5rem !important;
    flex-shrink: 0 !important;
}

.product-actions .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card-image-container {
        height: 240px;
        padding: 1rem;
    }
    
    .products-swiper .product-card {
        min-height: 550px;
    }
    
    .products-swiper .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
    }
    
    .product-card-image-placeholder {
        font-size: 2.5rem;
    }
    
    .product-card-image-placeholder .product-card-header-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .product-card-image-container {
        height: 200px;
        padding: 0.75rem;
    }
    
    .products-swiper .product-card {
        min-height: 500px;
    }
    
    .products-swiper .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
    }
}

/* Products Slider Styles */
.products-slider-container {
    position: relative;
    padding: 3rem 0;
    margin-top: 2rem;
}

.products-swiper {
    width: 100%;
    padding: 2rem 0 4rem 0;
}

/* Swiper Navigation */
.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.products-swiper .swiper-button-next:after,
.products-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.products-swiper .swiper-button-next {
    left: 10px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
}

.products-swiper .swiper-button-prev {
    right: 10px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
}

/* Swiper Pagination */
.products-swiper .swiper-pagination {
    bottom: 0;
}

.products-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s;
}

.products-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .products-swiper .swiper-button-next,
    .products-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .products-swiper .swiper-button-next:after,
    .products-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .products-swiper .swiper-button-next {
        left: 5px;
        right: auto;
    }
    
    .products-swiper .swiper-button-prev {
        right: 5px;
        left: auto;
    }
}

