/* =====================================================
   DODOTiK Website - Main Stylesheet
   Modern, Clean, Professional Design
   ===================================================== */

/* Screen-reader only (SEO H1 hidden visually) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   CSS Variables / Theme
   ===================================================== */
:root {
    /* =====================================================
       DODOTiK Industrial Color Palette
       Based on brand logo - B2B Industrial IoT
       ===================================================== */

    /* Primary Teal - Main brand color */
    --primary: #0AA6A6;
    --primary-light: #2FBFC0;
    --primary-dark: #088A8A;
    --primary-darker: #066E6E;

    /* Dark Industrial Blue - Secondary/accent */
    --secondary: #2F4A63;
    --secondary-light: #3D5A73;
    --secondary-dark: #243A4F;
    --secondary-darker: #0F1F26;

    /* Neutral Colors */
    --neutral-light: #F0F4F8;
    --neutral-dark: #0F1F26;

    /* Industrial Gradients - Clean, professional */
    --gradient-hero: linear-gradient(135deg, #0AA6A6 0%, #2F4A63 100%);
    --gradient-hero-dark: linear-gradient(145deg, #2F4A63 0%, #0F1F26 100%);
    --gradient-industrial: linear-gradient(160deg, #0F1F26 0%, #2F4A63 50%, #0AA6A6 100%);
    --gradient-teal-dark: linear-gradient(135deg, #0AA6A6 0%, #066E6E 100%);
    --gradient-dark: linear-gradient(135deg, #2F4A63 0%, #0F1F26 100%);

    /* Legacy gradient names for compatibility */
    --primary-gradient: linear-gradient(135deg, #0AA6A6 0%, #2FBFC0 100%);
    --primary-gradient-vibrant: linear-gradient(135deg, #0AA6A6 0%, #2FBFC0 100%);
    --secondary-gradient: linear-gradient(135deg, #2F4A63 0%, #0F1F26 100%);

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F7F9FB;
    --bg-gray: #F0F4F8;
    --bg-teal-subtle: #E8F4F4;
    --bg-dark: #2F4A63;
    --bg-darker: #0F1F26;
    --bg-navy: #2F4A63;

    /* Text Colors */
    --text-dark: #0F1F26;
    --text-body: #3D5A73;
    --text-light: #5A7088;
    --text-white: #FFFFFF;
    --text-offwhite: #F0F4F8;
    --text-teal: #0AA6A6;

    /* Borders */
    --border-color: #D4DDE3;
    --border-light: rgba(255, 255, 255, 0.12);
    --border-teal: rgba(10, 166, 166, 0.2);

    /* Shadows - Industrial, professional */
    --shadow-sm: 0 2px 8px rgba(15, 31, 38, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 31, 38, 0.12);
    --shadow-lg: 0 10px 40px rgba(15, 31, 38, 0.15);
    --shadow-xl: 0 20px 60px rgba(15, 31, 38, 0.18);
    --shadow-primary: 0 10px 40px rgba(10, 166, 166, 0.25);
    --shadow-primary-lg: 0 15px 50px rgba(10, 166, 166, 0.3);
    --shadow-navy: 0 10px 40px rgba(47, 74, 99, 0.3);
    --shadow-glow: 0 0 30px rgba(10, 166, 166, 0.2);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* RTL Support for Arabic */
[dir="rtl"] {
    --font-primary: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Body Styles */
body.rtl {
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* =====================================================
   Utility Classes
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-tag.light {
    color: var(--primary-light);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark .section-title {
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient-vibrant);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-secondary {
    background: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-lighter);
    color: var(--text-white);
    border-color: var(--primary-lighter);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   Preloader
   ===================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 180px;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-gray);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: loading 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* =====================================================
   Navigation
   ===================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

#header.scrolled .nav-link {
    color: var(--text-dark);
}

#header.scrolled .logo img {
    filter: none;
}

.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
}

#header.scrolled .navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    transition: var(--transition-normal);
}

#header.scrolled .logo img {
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

#header.scrolled .lang-btn {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#header.scrolled .lang-btn:hover {
    background: var(--border-color);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    min-width: 150px;
    overflow: hidden;
}

body.rtl .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-gray);
    color: var(--primary);
}

.lang-flag {
    font-size: 1.2rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-normal);
}

#header.scrolled .mobile-toggle span {
    background: var(--text-dark);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   Hero Section - Industrial B2B Design
   ===================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--gradient-hero-dark);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Slide content animations - reset on each slide */
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-title,
.hero-slide.active .hero-description,
.hero-slide.active .hero-btn,
.hero-slide.active .hero-product-badge,
.hero-slide.active .hero-product-title,
.hero-slide.active .hero-product-subtitle,
.hero-slide.active .hero-product-model,
.hero-slide.active .hero-product-description,
.hero-slide.active .hero-product-features,
.hero-slide.active .hero-product-actions,
.hero-slide.active .hero-product-certifications,
.hero-slide.active .hero-product-image {
    animation: slideContentFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-product-badge { animation-delay: 0.2s; }
.hero-slide.active .hero-title,
.hero-slide.active .hero-product-title { animation-delay: 0.3s; }
.hero-slide.active .hero-product-subtitle { animation-delay: 0.4s; }
.hero-slide.active .hero-description,
.hero-slide.active .hero-product-model { animation-delay: 0.5s; }
.hero-slide.active .hero-product-description { animation-delay: 0.6s; }
.hero-slide.active .hero-product-features { animation-delay: 0.7s; }
.hero-slide.active .hero-btn,
.hero-slide.active .hero-product-actions { animation-delay: 0.8s; }
.hero-slide.active .hero-product-certifications { animation-delay: 0.9s; }
.hero-slide.active .hero-product-image { animation-delay: 0.4s; }

@keyframes slideContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state for content (hidden until animated) */
.hero-slide .hero-subtitle,
.hero-slide .hero-title,
.hero-slide .hero-description,
.hero-slide .hero-btn,
.hero-slide .hero-product-badge,
.hero-slide .hero-product-title,
.hero-slide .hero-product-subtitle,
.hero-slide .hero-product-model,
.hero-slide .hero-product-description,
.hero-slide .hero-product-features,
.hero-slide .hero-product-actions,
.hero-slide .hero-product-certifications {
    opacity: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Clean industrial gradient: dark blue to teal */
    background: linear-gradient(160deg, #0F1F26 0%, #2F4A63 45%, #0AA6A6 100%);
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-text {
    max-width: 750px;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.15;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-offwhite);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.hero-btn {
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-prev,
.hero-next {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: rgba(47, 74, 99, 0.5);
    border: 1px solid rgba(230, 226, 219, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 35px;
    height: 3px;
    border-radius: 2px;
    background: rgba(230, 226, 219, 0.25);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary);
    border-radius: 2px;
    transition: none;
}

.hero-dot.active {
    background: rgba(230, 226, 219, 0.2);
}

.hero-dot.active::after {
    animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Pause progress animation on hover */
.hero:hover .hero-dot.active::after {
    animation-play-state: paused;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 54px;
    border: 1px solid rgba(230, 226, 219, 0.25);
    border-radius: 18px;
    color: var(--text-offwhite);
    animation: bounce 2s infinite;
    transition: var(--transition-normal);
}

.hero-scroll a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* Subtle Tech Grid Pattern - 6% opacity */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* =====================================================
   Banner Hero Slide - Background Image with Dark Overlay
   ===================================================== */
.hero-banner-slide .hero-slide-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-banner-slide::before {
    display: none;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-banner-overlay.overlay-light {
    background: rgba(200, 200, 200, 0.3);
}

.hero-banner-overlay.overlay-none {
    display: none;
}

.hero-banner-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-content.text-top {
    align-items: flex-start;
    padding-top: 80px;
}

.hero-banner-content.text-left,
.hero-banner-content.text-right {
    justify-content: center;
}

.hero-banner-text {
    max-width: 800px;
    text-align: center;
}

.hero-banner-slide .hero-subtitle {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner-slide .hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-banner-slide .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Dark text for banners without overlay (light backgrounds) */
.hero-banner-slide .hero-banner-overlay.overlay-none ~ .hero-banner-content .hero-subtitle {
    color: #0d6efd !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9) !important;
}

.hero-banner-slide .hero-banner-overlay.overlay-none ~ .hero-banner-content .hero-title {
    color: #333333 !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9) !important;
}

.hero-banner-slide .hero-banner-overlay.overlay-none ~ .hero-banner-content .hero-description {
    color: #333 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.hero-banner-slide .hero-btn {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-banner-slide .hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Banner slide responsive */
@media (max-width: 992px) {
    .hero-banner-slide .hero-title {
        font-size: 2.8rem;
    }

    .hero-banner-slide .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-banner-content {
        padding: 0 20px;
    }

    .hero-banner-slide .hero-title {
        font-size: 2.2rem;
    }

    .hero-banner-slide .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-banner-slide .hero-description {
        font-size: 1rem;
    }

    .hero-banner-slide .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* =====================================================
   Product Feature Hero Slide - Industrial B2B Design
   ===================================================== */
.hero-product-slide .hero-slide-bg {
    /* Clean dark industrial background */
    background: linear-gradient(160deg, #0F1F26 0%, #1a2832 40%, #2F4A63 100%) !important;
}

/* Override the default gradient for product slides */
.hero-product-slide::before {
    background: linear-gradient(160deg,
        rgba(15, 31, 38, 0.98) 0%,
        rgba(47, 74, 99, 0.95) 50%,
        rgba(10, 166, 166, 0.15) 100%) !important;
}

.hero-product-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100%;
}

.hero-product-info {
    padding: 40px 0;
}

.hero-product-badge {
    display: inline-block;
    background: rgba(10, 166, 166, 0.15);
    border: 1px solid rgba(10, 166, 166, 0.4);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-product-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 3px;
    font-family: var(--font-heading);
}

.hero-product-subtitle {
    font-size: 1.4rem;
    color: var(--text-offwhite);
    margin-bottom: 8px;
    font-weight: 500;
}

.hero-product-model {
    font-size: 0.95rem;
    color: var(--primary-light);
    margin-bottom: 25px;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-product-description {
    font-size: 1.1rem;
    color: rgba(230, 226, 219, 0.85);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(47, 74, 99, 0.5);
    border: 1px solid rgba(10, 166, 166, 0.25);
    border-radius: 4px;
    color: var(--text-offwhite);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.feature-tag:hover {
    background: rgba(10, 166, 166, 0.2);
    border-color: var(--primary);
}

.hero-product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-product-actions .btn {
    padding: 14px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.hero-product-actions .btn-secondary {
    background: var(--primary);
    color: white;
    border: none;
}

.hero-product-actions .btn-secondary:hover {
    background: var(--primary-dark);
}

.hero-product-actions .btn-outline {
    border: 2px solid rgba(230, 226, 219, 0.3);
    color: var(--text-offwhite);
    background: transparent;
}

.hero-product-actions .btn-outline:hover {
    background: rgba(230, 226, 219, 0.1);
    border-color: var(--text-offwhite);
}

.hero-product-actions .btn-datasheet {
    background: var(--secondary);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-product-actions .btn-datasheet:hover {
    background: var(--secondary-dark);
}

.hero-product-actions .btn-datasheet i {
    font-size: 1.1rem;
}

.hero-product-certifications {
    display: flex;
    gap: 30px;
    color: rgba(230, 226, 219, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.hero-product-certifications span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-product-certifications i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Product Image - Strong Visual Right Side */
.hero-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Subtle decorative elements for tech feel */
.hero-product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 550px;
    border: 1px solid rgba(10, 166, 166, 0.1);
    border-radius: 50%;
}

.hero-product-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border: 1px solid rgba(10, 166, 166, 0.15);
    border-radius: 50%;
}

.product-image-wrapper {
    position: relative;
    z-index: 2;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 650px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}

.hero-product-image:hover .product-image-wrapper img {
    transform: scale(1.03);
}

.product-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 166, 166, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Connection lines / tech elements on the right */
.hero-product-image .tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(10, 166, 166, 0.3), transparent);
    height: 1px;
}

.hero-product-image .tech-line-1 {
    width: 150px;
    top: 30%;
    right: 0;
}

.hero-product-image .tech-line-2 {
    width: 100px;
    bottom: 40%;
    right: 0;
}

/* Product Hero Responsive */
@media (max-width: 1200px) {
    .hero-product-title {
        font-size: 3rem;
    }

    .hero-product-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-product-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-product-info {
        order: 2;
    }

    .hero-product-image {
        order: 1;
    }

    .hero-product-features {
        justify-content: center;
    }

    .hero-product-actions {
        justify-content: center;
    }

    .hero-product-certifications {
        justify-content: center;
    }

    .product-image-wrapper img {
        max-height: 400px;
    }

    .product-image-glow {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-product-title {
        font-size: 2.5rem;
    }

    .hero-product-subtitle {
        font-size: 1.2rem;
    }

    .hero-product-description {
        font-size: 1rem;
    }

    .feature-tag {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero-product-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-product-actions .btn {
        width: 100%;
        max-width: 250px;
    }

    .product-image-wrapper img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-product-title {
        font-size: 2rem;
    }

    .hero-product-content {
        padding: 0 20px;
        padding-top: 80px;
    }

    .product-image-wrapper img {
        max-height: 300px;
    }
}

/* =====================================================
   About Section
   ===================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.about-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

body.rtl .about-feature:hover {
    transform: translateX(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

body.rtl .about-img-wrapper::before {
    left: auto;
    right: -20px;
}

/* =====================================================
   Enhanced About Section - New Design
   ===================================================== */
#about.about.section {
    background: linear-gradient(180deg, #f0f7f7 0%, #f8fbfb 50%, #f0f4f8 100%);
    padding-bottom: 50px;
}

.about-content-new {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

/* Hero Row: Video + Who We Are side-by-side */
.about-hero-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.about-video-section {
    position: relative;
}

.video-container {
    position: relative;
}

.video-container .video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 155, 155, 0.15);
}

.video-container .video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: var(--radius-xl);
}

.video-overlay-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    z-index: 10;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    border: 3px solid white;
    box-shadow: 0 10px 30px rgba(26, 155, 155, 0.35);
    animation: floatBadge 3s ease-in-out infinite;
}

.badge-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

body.rtl .video-overlay-badge {
    right: auto;
    left: 20px;
}

/* About Hero Text (Who We Are) */
.about-hero-text {
    padding: 10px 0;
}

.about-hero-text .card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.about-hero-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-hero-text p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* About Info Cards Grid — Mission & Vision */
.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-mission-card,
.about-vision-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-mission-card::before,
.about-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
}

.about-mission-card:hover,
.about-vision-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-info-grid .card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.about-mission-card:hover .card-icon,
.about-vision-card:hover .card-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.about-info-grid h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-info-grid p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Stats Bar — Gradient Background */
.about-stats-bar {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.about-stats-bar .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about-stats-bar .stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.about-stats-bar .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

body.rtl .about-stats-bar .stat-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

.about-stats-bar .stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ffffff 0%, #b2f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.about-stats-bar .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive for About section */
@media (max-width: 992px) {
    .about-hero-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-overlay-badge {
        bottom: -18px;
        right: 15px;
    }

    .badge-content {
        padding: 14px 22px;
    }

    .badge-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-bar .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-bar .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .video-container {
        margin: 0 -10px;
    }

    .video-container .video-wrapper {
        border-radius: var(--radius-lg);
    }

    .video-overlay-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .about-info-grid {
        gap: 20px;
    }

    .about-mission-card,
    .about-vision-card {
        padding: 25px;
    }

    .about-stats-bar {
        padding: 25px 15px;
    }

    .about-stats-bar .stat-number {
        font-size: 2.2rem;
    }
}

/* About Video Styles (legacy - keeping for compatibility) */
.about-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

body.rtl .video-wrapper::before {
    left: auto;
    right: -20px;
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: var(--radius-lg);
}

.video-wrapper .about-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    z-index: 10;
    padding: 20px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(26, 155, 155, 0.5);
    animation: badgePulse 3s ease-in-out infinite;
}

.video-wrapper .about-badge span {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.video-wrapper .about-badge small {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.95;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(26, 155, 155, 0.5);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 20px 50px rgba(26, 155, 155, 0.6);
    }
}

body.rtl .video-wrapper .about-badge {
    right: auto;
    left: 25px;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

body.rtl .about-badge {
    right: auto;
    left: 30px;
}

.about-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.about-badge small {
    font-size: 0.85rem;
    opacity: 0.9;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-color);
}

body.rtl .stat-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* =====================================================
   Services Section
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Image-based service card */
.service-card.has-image {
    background: var(--bg-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.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card.has-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 155, 155, 0.2);
}

.service-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card.has-image:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.has-image:hover .service-card-overlay {
    opacity: 1;
}

.service-card-overlay .service-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    backdrop-filter: blur(8px);
    margin: 0;
}

.service-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
}

/* Fallback icon-only card */
.service-card:not(.has-image) {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:not(.has-image)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:not(.has-image):hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

.service-card:not(.has-image):hover::before {
    transform: scaleX(1);
}

.service-card:not(.has-image) .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--bg-teal-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:not(.has-image):hover .service-icon {
    background: var(--primary-gradient-vibrant);
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.service-card:not(.has-image) h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card:not(.has-image) p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =====================================================
   Products Section
   ===================================================== */
.products-filter {
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(15, 31, 38, 0.08);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid rgba(15, 31, 38, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(15, 31, 38, 0.12);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 31, 38, 0.06);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition-slow);
}

.product-image.scene-photo {
    background: #1a1a1a;
}

.product-image.scene-photo img {
    object-fit: cover;
    padding: 0;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    font-size: 4rem;
    color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.rtl .product-badge {
    right: auto;
    left: 15px;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-certs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.cert-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-gray);
    color: var(--text-body);
    border-radius: var(--radius-sm);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-btn {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-btn:hover {
    background: var(--primary);
    color: var(--text-white);
}

.product-btn-datasheet {
    flex: 0 0 48px;
    width: 48px;
    background: #dc3545;
    color: white;
    font-size: 1.1rem;
}

.product-btn-datasheet:hover {
    background: #c82333;
    color: white;
}

.products-cta {
    text-align: center;
}

/* =====================================================
   Platform Section - Wide Layout
   ===================================================== */
.platform .section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

/* Wide Dashboard Container */
.platform-dashboard-wide {
    margin-bottom: 50px;
}

.platform-dashboard-wide .platform-dashboard {
    max-width: 100%;
    border-radius: var(--radius-xl);
}

.platform-dashboard-wide .dashboard-header {
    justify-content: flex-start;
}

.dashboard-link {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dashboard-link:hover {
    background: var(--primary);
    color: white;
}

.dashboard-body-wide {
    display: flex;
    min-height: 350px;
}

.dashboard-body-wide .dashboard-sidebar {
    width: 70px;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dashboard-main-wide {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-top-row {
    width: 100%;
}

.dashboard-cards-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.dashboard-cards-wide .mini-card {
    flex-direction: row;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-cards-wide .mini-card i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.mini-card-info {
    display: flex;
    flex-direction: column;
}

.mini-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.mini-card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.dashboard-bottom-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    flex: 1;
}

.dashboard-chart-wide {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.chart-legend {
    display: flex;
    gap: 15px;
}

.chart-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.chart-legend i {
    font-size: 0.5rem;
}

.line-chart-wide {
    width: 100%;
    flex: 1;
    min-height: 120px;
}

.dashboard-map-wide {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.map-header {
    margin-bottom: 15px;
}

.map-header span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.map-content {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.map-content > i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
}

/* Platform Info Section */
.platform-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.platform-description-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-description-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.platform-feature {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.platform-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.platform-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.platform-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.platform-feature-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Platform Responsive */
@media (max-width: 1200px) {
    .dashboard-cards-wide {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .platform-info {
        grid-template-columns: 1fr;
    }

    .dashboard-bottom-row {
        grid-template-columns: 1fr;
    }

    .platform-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-cards-wide {
        grid-template-columns: 1fr;
    }

    .dashboard-body-wide {
        flex-direction: column;
        min-height: auto;
    }

    .dashboard-body-wide .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 10px;
    }

    .dashboard-link {
        display: none;
    }

    .platform-features-grid {
        grid-template-columns: 1fr;
    }

    .chart-legend {
        display: none;
    }
}

/* Legacy platform styles - keeping for compatibility */
.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.platform-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.platform-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-mockup {
    position: relative;
    max-width: 100%;
}

.platform-mockup img {
    max-width: 100%;
    border-radius: var(--radius-lg);
}

/* Platform Dashboard Mockup */
.platform-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-dots span:first-child { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-dots span:last-child { background: #28c840; }

.dashboard-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.dashboard-body {
    display: flex;
    min-height: 280px;
}

.dashboard-sidebar {
    width: 60px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.dashboard-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dashboard-cards {
    display: flex;
    gap: 15px;
}

.mini-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-card i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.mini-card span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.dashboard-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: flex-end;
}

.line-chart {
    width: 100%;
    height: 80px;
}

.chart-line {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawLine 3s ease-in-out infinite;
}

.chart-line-2 {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.6;
    animation: drawLine 3s ease-in-out infinite 0.5s;
}

@keyframes drawLine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.dashboard-map {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.dashboard-map i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
}

.map-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.map-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

.map-dot:nth-child(2) { animation-delay: 0.3s; }
.map-dot:nth-child(3) { animation-delay: 0.6s; }
.map-dot:nth-child(4) { animation-delay: 0.9s; }

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes pulse-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.dashboard-features-strip {
    display: flex;
    justify-content: space-around;
    padding: 12px 20px;
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-features-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

.dashboard-features-strip i {
    font-size: 0.9rem;
}

/* Floating Platform Banner */
.floating-platform-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 98;
    animation: slideInBanner 0.5s ease-out 3s both;
}

@keyframes slideInBanner {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-platform-banner.hidden {
    display: none;
}

.banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1;
}

.banner-close:hover {
    background: var(--danger, #EF5350);
    border-color: var(--danger, #EF5350);
    color: white;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(26, 155, 155, 0.4);
    transition: var(--transition-normal);
    text-decoration: none;
}

.banner-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(26, 155, 155, 0.5);
}

.banner-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.banner-arrow {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.banner-content:hover .banner-arrow {
    background: white;
    color: var(--primary);
}

body.rtl .floating-platform-banner {
    left: auto;
    right: 30px;
}

body.rtl .banner-close {
    right: auto;
    left: -10px;
}

@media (max-width: 768px) {
    .floating-platform-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .banner-content {
        padding: 12px 15px;
    }

    .banner-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .banner-title {
        font-size: 0.9rem;
    }

    .banner-subtitle {
        font-size: 0.75rem;
    }

    .dashboard-features-strip {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dashboard-features-strip span {
        font-size: 0.7rem;
    }
}
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   Mobile App Section - Clean PNG Image Design
   ===================================================== */

/* App Showcase Layout */
.app.section {
    background: linear-gradient(180deg, rgba(0, 151, 156, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

.app-showcase-content {
    padding-right: 20px;
}

body.rtl .app-showcase-content {
    padding-right: 0;
    padding-left: 20px;
}

.app-showcase-content .section-tag {
    display: inline-block;
    background: var(--bg-teal-subtle);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-main-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.app-main-description {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Features 2x2 Grid */
.app-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 35px;
}

.app-feature-card {
    padding: 18px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 151, 156, 0.1);
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.app-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.app-feature-card-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-gradient-vibrant);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 151, 156, 0.3);
}

.app-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.app-feature-card p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

/* Download Buttons Row */
.app-download-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-dark);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    text-decoration: none;
    box-shadow: var(--shadow-navy);
}

.store-btn:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 151, 156, 0.35);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn span {
    text-align: left;
}

body.rtl .store-btn span {
    text-align: right;
}

.store-btn small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-btn strong {
    display: block;
    font-size: 1rem;
}

/* Phone Visual Side */
.app-showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-image {
    max-width: 100%;
    max-height: 820px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
    transition: var(--transition-normal);
    animation: phoneFloat 4s ease-in-out infinite;
}

.app-phone-wrapper:hover .app-phone-image {
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.3));
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.app-phone-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 151, 156, 0.25) 0%, rgba(0, 151, 156, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: phoneGlow 3s ease-in-out infinite;
}

@keyframes phoneGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.4;
    }
}

/* App Section Responsive */
@media (max-width: 992px) {
    .app-showcase {
        gap: 40px;
    }

    .app-main-title {
        font-size: 2.5rem;
    }

    .app-main-subtitle {
        font-size: 1.2rem;
    }

    .app-phone-image {
        max-height: 650px;
    }

    .app-phone-glow {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .app-showcase-content {
        padding-right: 0;
        text-align: center;
    }

    body.rtl .app-showcase-content {
        padding-left: 0;
    }

    .app-main-title {
        font-size: 2rem;
    }

    .app-main-subtitle {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }

    .app-main-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .app-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .app-feature-card {
        text-align: left;
    }

    body.rtl .app-feature-card {
        text-align: right;
    }

    .app-download-row {
        justify-content: center;
        gap: 12px;
    }

    .store-btn {
        padding: 12px 18px;
        gap: 10px;
    }

    .store-btn i {
        font-size: 1.5rem;
    }

    .store-btn strong {
        font-size: 0.9rem;
    }

    .app-phone-image {
        max-height: 520px;
    }

    .app-phone-glow {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    .app-showcase {
        gap: 30px;
    }

    .app-showcase-content .section-tag {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .app-main-title {
        font-size: 1.6rem;
    }

    .app-main-subtitle {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .app-main-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .app-feature-card {
        padding: 14px 12px;
    }

    .app-feature-card-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .app-feature-card h4 {
        font-size: 0.85rem;
    }

    .app-feature-card p {
        font-size: 0.75rem;
    }

    .app-download-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .store-btn {
        padding: 10px 16px;
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .store-btn i {
        font-size: 1.3rem;
    }

    .store-btn small {
        font-size: 0.6rem;
    }

    .store-btn strong {
        font-size: 0.8rem;
    }

    .app-phone-image {
        max-height: 430px;
    }

    .app-phone-glow {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 400px) {
    .app-main-title {
        font-size: 1.4rem;
    }

    .app-main-subtitle {
        font-size: 0.8rem;
    }

    .app-main-description {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .store-btn small {
        display: none;
    }

    .app-phone-image {
        max-height: 360px;
    }
}

/* =====================================================
   Certifications Section
   ===================================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.cert-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =====================================================
   Testimonials Section
   ===================================================== */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--bg-gray);
}

body.rtl .testimonial-card::before {
    right: auto;
    left: 30px;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    background: var(--bg-gray);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-rating {
    margin-top: 10px;
    color: #F9A825;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 35px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-details a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-normal);
}

body.rtl .form-group label {
    left: auto;
    right: 20px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--primary-light);
    background: var(--bg-dark);
    padding: 0 5px;
}

body.rtl .form-group input:focus + label,
body.rtl .form-group input:not(:placeholder-shown) + label,
body.rtl .form-group textarea:focus + label,
body.rtl .form-group textarea:not(:placeholder-shown) + label {
    left: auto;
    right: 15px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--secondary-gradient);
    color: var(--text-white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

body.rtl .footer-links ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 25px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 99;
}

body.rtl .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* =====================================================
   Floating WhatsApp Button
   ===================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-normal);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-dark);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-normal);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--bg-dark);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

body.rtl .floating-whatsapp {
    right: auto;
    left: 30px;
}

body.rtl .whatsapp-tooltip {
    right: auto;
    left: 70px;
    transform: translateX(-10px);
}

body.rtl .whatsapp-tooltip::after {
    right: auto;
    left: -6px;
    border-left: none;
    border-right: 6px solid var(--bg-dark);
}

body.rtl .floating-whatsapp:hover .whatsapp-tooltip {
    transform: translateX(0);
}

/* WhatsApp Contact Item Style */
.contact-item.whatsapp-item .contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.contact-item.whatsapp-item a {
    color: #25D366;
}

.contact-item.whatsapp-item a:hover {
    color: #128C7E;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 85px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* =====================================================
   Modal
   ===================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition-normal);
}

body.rtl .modal-close {
    right: auto;
    left: 20px;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--text-white);
}

.modal-body {
    padding: 0;
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-product-image {
    background: var(--bg-gray);
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-image .product-placeholder {
    font-size: 6rem;
}

.modal-product-info {
    padding: 40px;
}

.modal-product-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.modal-product-name {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.modal-product-description {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 25px;
}

.modal-product-section {
    margin-bottom: 25px;
}

.modal-product-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.modal-product-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-product-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.modal-product-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    font-size: 0.8rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.modal-spec-item span:first-child {
    color: var(--text-light);
}

.modal-spec-item span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.modal-certs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-cert {
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        padding: 100px 30px 30px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    body.rtl .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    body.rtl .nav-menu.active {
        right: auto;
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        color: var(--text-dark);
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card-body {
        padding: 18px;
    }

    .platform-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .platform-visual {
        order: -1;
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-product {
        grid-template-columns: 1fr;
    }

    .modal-product-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll on mobile */
    * {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    :root {
        --section-padding: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-controls {
        bottom: 80px;
        gap: 15px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .hero-dot {
        width: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* 2-column layout for mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card-body {
        padding: 14px;
    }

    .service-card-body h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .service-card-body p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .service-card-overlay .service-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 20px;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .product-category {
        font-size: 0.95rem;
    }

    .product-description {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .product-certs {
        display: none;
    }

    .platform-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .platform-feature-item {
        padding: 15px;
        gap: 10px;
    }

    .platform-feature-item i {
        font-size: 1.25rem;
    }

    .platform-feature-item span {
        font-size: 0.85rem;
    }

    .app-buttons {
        flex-direction: column;
    }

    .store-btn {
        justify-content: center;
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cert-card {
        padding: 20px 15px;
    }

    .cert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .cert-card h4 {
        font-size: 0.95rem;
    }

    .cert-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
    }

    .footer-links ul li a,
    .footer-contact ul li {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .modal-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 30px;
    }

    .about-badge {
        right: 15px;
        bottom: 15px;
        padding: 15px 20px;
    }

    .about-badge span {
        font-size: 2rem;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Keep 2-column layout on small mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .service-card-body {
        padding: 10px;
    }

    .service-card-body h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .service-card-body p {
        font-size: 0.7rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-card-overlay {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 20px;
    }

    .product-name {
        font-size: 1.2rem;
    }

    .product-category {
        font-size: 0.9rem;
    }

    .product-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .product-certs {
        display: none;
    }

    .platform-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .platform-feature-item {
        padding: 12px 10px;
        gap: 8px;
    }

    .platform-feature-item i {
        font-size: 1rem;
    }

    .platform-feature-item span {
        font-size: 0.75rem;
    }

    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cert-card {
        padding: 15px 10px;
    }

    .cert-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cert-card h4 {
        font-size: 0.8rem;
    }

    .cert-card p {
        font-size: 0.7rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-card,
    .contact-form-wrapper {
        padding: 25px;
    }

    .modal-product-info {
        padding: 25px;
    }

    .modal-product-name {
        font-size: 1.5rem;
    }
}

/* =====================================================
   Animation Classes
   ===================================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-controls,
    .hero-scroll,
    .back-to-top,
    .footer-social,
    .contact-form-wrapper {
        display: none !important;
    }

    .section {
        padding: 30px 0;
    }

    body {
        color: #000;
    }
}

/* =====================================================
   Gallery Section - Masonry Layout
   ===================================================== */
.gallery-masonry {
    columns: 3;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 31, 38, 0.85));
    padding: 40px 20px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.gallery-lightbox-close:hover {
    transform: scale(1.2);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}

@media (max-width: 992px) {
    .gallery-masonry {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        columns: 1;
    }

    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
