/* ===================================
   Modern Landing Page Styles
   Color Palette:
   - #780f16 (Deep Red)
   - #000000 (Black)
   - #560216 (Dark Burgundy)
   - #8b0e0e (Crimson Red)
   - #e22722 (Bright Red)
   - #970122 (Ruby Red)
   =================================== */

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    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;
}

.preloader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--bright-red);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--deep-red);
    animation-delay: -0.5s;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: var(--ruby-red);
    animation-delay: -1s;
}

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

:root {
    /* Brand Colors */
    --deep-red: #780f16;
    --black: #000000;
    --dark-burgundy: #560216;
    --crimson-red: #8b0e0e;
    --bright-red: #e22722;
    --ruby-red: #970122;
    
    /* Light Mode Colors (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: rgba(120, 15, 22, 0.04);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6a6a6a;
    --border-color: rgba(120, 15, 22, 0.12);
    --card-bg: #ffffff;
    --card-hover-bg: rgba(120, 15, 22, 0.06);
    
    /* Static Colors */
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
}

/* Dark Mode Theme */
body.dark-mode {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: rgba(120, 15, 22, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --border-color: rgba(120, 15, 22, 0.3);
    --card-bg: rgba(20, 20, 20, 0.8);
    --card-hover-bg: rgba(120, 15, 22, 0.15);
}

body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

html {
    scroll-behavior: smooth;
    /* Fix for mobile viewport height */
    height: -webkit-fill-available;
}

/* Mobile viewport height fix */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth transitions for all theme-aware elements */
* {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Preserve specific animations */
*:not(.gradient-orb):not(.visual-card):not(.floating-icon) {
    transition-property: background-color, color, border-color, box-shadow;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--bright-red);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--bright-red);
    outline-offset: 4px;
}

/* Skip to main content link for screen readers */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--bright-red);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

body.dark-mode .category-title {
    color: #fff;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-mode .navbar {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(120, 15, 22, 0.2);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .navbar.scrolled {
    box-shadow: 0 4px 30px rgba(120, 15, 22, 0.2);
}

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

.nav-logo .logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bright-red), var(--deep-red));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bright-red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 992px) {
    .nav-actions {
        gap: 10px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.dark-mode .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--card-hover-bg);
    transform: scale(1.05);
}

.theme-toggle i {
    position: absolute;
    font-size: 20px;
    transition: all 0.3s ease;
}

.sun-icon {
    color: #fbbf24;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    color: #60a5fa;
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body.dark-mode .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.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(7px, -7px);
}

/* ===================================
   Section Scroll Animations - Enhanced Fade In
   =================================== */
section.section-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

section.section-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero section should be visible immediately */
.hero {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Staggered fade-in for child elements */
section.section-visible .section-header {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

section.section-visible .feature-card,
section.section-visible .feature-card-modern,
section.section-visible .service-card,
section.section-visible .why-card-modern,
section.section-visible .product-card,
section.section-visible .team-card-modern,
section.section-visible .info-card {
    animation: fadeInUp 0.8s ease-out both;
}

section.section-visible .feature-card:nth-child(1),
section.section-visible .feature-card-modern:nth-child(1),
section.section-visible .service-card:nth-child(1),
section.section-visible .why-card-modern:nth-child(1),
section.section-visible .product-card:nth-child(1),
section.section-visible .team-card-modern:nth-child(1),
section.section-visible .info-card:nth-child(1) {
    animation-delay: 0.3s;
}

section.section-visible .feature-card:nth-child(2),
section.section-visible .feature-card-modern:nth-child(2),
section.section-visible .service-card:nth-child(2),
section.section-visible .why-card-modern:nth-child(2),
section.section-visible .product-card:nth-child(2),
section.section-visible .team-card-modern:nth-child(2),
section.section-visible .info-card:nth-child(2) {
    animation-delay: 0.4s;
}

section.section-visible .feature-card:nth-child(3),
section.section-visible .feature-card-modern:nth-child(3),
section.section-visible .service-card:nth-child(3),
section.section-visible .why-card-modern:nth-child(3),
section.section-visible .product-card:nth-child(3),
section.section-visible .team-card-modern:nth-child(3),
section.section-visible .info-card:nth-child(3) {
    animation-delay: 0.5s;
}

section.section-visible .feature-card:nth-child(4),
section.section-visible .feature-card-modern:nth-child(4),
section.section-visible .service-card:nth-child(4),
section.section-visible .why-card-modern:nth-child(4),
section.section-visible .product-card:nth-child(4),
section.section-visible .team-card-modern:nth-child(4) {
    animation-delay: 0.6s;
}

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

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--ruby-red);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary * {
    color: var(--white) !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 0;
    opacity: 0;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
    color: white !important;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: white !important;
    box-shadow: 0 10px 30px rgba(226, 39, 34, 0.5);
}

.btn-primary:hover span,
.btn-primary:hover i {
    color: white !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: var(--ruby-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--ruby-red);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--ruby-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(226, 39, 34, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    overflow: hidden;
    background-image: url('../img/welcome-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-color 0.3s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    z-index: 0;
}

body.dark-mode .hero::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(10, 10, 10, 0.9) 100%);
}

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

.gradient-orb {
    display: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(50px, -50px);
    }
    66% {
        transform: translate(-50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(120, 15, 22, 0.08);
    border: 1px solid var(--bright-red);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

body.dark-mode .hero-badge {
    background: rgba(120, 15, 22, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--bright-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    background: var(--ruby-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.stat-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--ruby-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.4s backwards;
}

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

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

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(226, 39, 34, 0.3));
}

.visual-card {
    position: absolute;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    animation: floatCard 3s infinite ease-in-out;
    z-index: 2;
    transition: background 0.3s ease, border 0.3s ease;
}

.visual-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.dark-mode .visual-card {
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 4px 20px rgba(120, 15, 22, 0.3);
}

.visual-card i {
    font-size: 24px;
    color: var(--bright-red);
}

.card-1 {
    top: 10%;
    left: -50px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -50px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 0;
    animation-delay: 2s;
}

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

/* ===================================
   Features Overview
   =================================== */
.features-overview {
    padding: 100px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .feature-card {
    box-shadow: 0 4px 20px rgba(120, 15, 22, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-red);
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.15);
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--ruby-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    transition: transform 0.3s ease;
}

body:not(.dark-mode) .feature-icon {
    color: var(--white);
}

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

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-red), var(--deep-red));
    display: block;
    margin: 30px auto 0;
    border-radius: 2px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(120, 15, 22, 0.1);
    border: 1px solid var(--bright-red);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bright-red);
    margin-bottom: 20px;
}

body.dark-mode .section-badge {
    background: rgba(120, 15, 22, 0.2);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.centered .section-description {
    margin: 0 auto;
}

/* ===================================
   Features Section - Modern Redesign
   =================================== */
.features-section {
    padding: 150px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-modern {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-red), var(--deep-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.feature-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--bright-red);
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.15);
}

body.dark-mode .feature-card-modern:hover {
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.3);
}

.feature-number {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.3;
}

.feature-modern-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.feature-card-modern:hover .feature-modern-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-modern h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card-modern p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-accent {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--bright-red), transparent);
    border-radius: 2px;
}

/* Old Features Section Styles - Keep for backwards compatibility */
.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.feature-image-wrapper {
    position: relative;
}

.feature-main-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 12px;
    animation: floatIcon 4s infinite ease-in-out;
    transition: background 0.3s ease, border 0.3s ease;
}

.floating-icon {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.dark-mode .floating-icon {
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 4px 20px rgba(120, 15, 22, 0.3);
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    right: -30px;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 30%;
    left: -30px;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 10%;
    right: -30px;
    animation-delay: 3s;
}

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

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--card-hover-bg);
    border-color: var(--bright-red);
    transform: translateX(10px);
}

.feature-item-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--ruby-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

body:not(.dark-mode) .feature-item-icon {
    color: var(--white);
}

.feature-item-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    padding: 150px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .service-card {
    box-shadow: 0 4px 20px rgba(120, 15, 22, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-red);
    box-shadow: 0 30px 80px rgba(226, 39, 34, 0.15);
}

body.dark-mode .service-card:hover {
    box-shadow: 0 30px 80px rgba(226, 39, 34, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--ruby-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bright-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 15px;
}

/* ===================================
   Why Choose Section
   =================================== */
.why-choose-section {
    padding: 150px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.why-choose-item {
    display: flex;
    gap: 25px;
}

.why-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--ruby-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

body:not(.dark-mode) .why-icon {
    color: var(--white);
}

.why-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.why-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(226, 39, 34, 0.2);
}

/* Modern Why Choose Cards */
.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card-modern {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 45px 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(226, 39, 34, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, 30%);
    transition: transform 0.4s ease;
}

.why-card-modern:hover::after {
    transform: translate(20%, 20%) scale(1.2);
}

.why-card-modern:hover {
    transform: translateY(-8px);
    border-color: var(--bright-red);
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.15);
}

body.dark-mode .why-card-modern:hover {
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.25);
}

.why-card-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.why-modern-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.why-card-modern:hover .why-modern-icon {
    transform: rotate(-5deg) scale(1.05);
}

.why-card-modern h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.why-card-modern p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.why-card-footer {
    margin-top: auto;
}

.why-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(226, 39, 34, 0.1);
    border: 1px solid var(--bright-red);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bright-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .why-badge {
    background: rgba(226, 39, 34, 0.2);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 150px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 39, 34, 0.04), rgba(151, 1, 34, 0.02), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 14, 14, 0.04), rgba(86, 2, 22, 0.02), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s ease-in-out infinite reverse;
}

body.dark-mode .about-section::before {
    background: radial-gradient(circle, rgba(226, 39, 34, 0.08), rgba(151, 1, 34, 0.04), transparent);
}

body.dark-mode .about-section::after {
    background: radial-gradient(circle, rgba(139, 14, 14, 0.08), rgba(86, 2, 22, 0.04), transparent);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 3px solid transparent;
    border-radius: 30px;
    padding: 80px 60px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    background-image: 
        linear-gradient(var(--card-bg), var(--card-bg)),
        linear-gradient(135deg, var(--bright-red), var(--deep-red), var(--ruby-red));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

body.dark-mode .about-text {
    box-shadow: 0 10px 40px rgba(120, 15, 22, 0.3);
}

.about-text p {
    font-size: 19px;
    line-height: 1.9;
    color: var(--text-secondary);
    text-align: left;
    position: relative;
}

.about-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: baseline;
    margin-right: 2px;
    margin-bottom: -8px;
    transition: opacity 0.3s ease;
}

/* ===================================
   Products Section
   =================================== */
.products-section {
    padding: 150px 0;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.products-category {
    margin-bottom: 100px;
}

.products-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ruby-red);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.software-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

body.dark-mode .product-card {
    box-shadow: 0 4px 20px rgba(120, 15, 22, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--bright-red);
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.15);
}

body.dark-mode .product-card:hover {
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.3);
}

.product-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.03), rgba(120, 15, 22, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

body.dark-mode .product-image {
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.08), rgba(120, 15, 22, 0.08));
}

.product-card:hover .product-image {
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.08), rgba(120, 15, 22, 0.08));
}

body.dark-mode .product-card:hover .product-image {
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.15), rgba(120, 15, 22, 0.15));
}

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

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

.product-info {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
}

/* ===================================
   Team Section - Modern Redesign
   =================================== */
.team-section {
    padding: 150px 0;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card-modern {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
}

.team-card-modern:hover {
    transform: translateY(-10px);
    border-color: var(--bright-red);
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.15);
}

body.dark-mode .team-card-modern:hover {
    box-shadow: 0 20px 60px rgba(226, 39, 34, 0.25);
}

.team-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.team-card-modern:hover .team-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.team-card-modern h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.team-card-modern p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}

.team-card-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--bright-red), var(--deep-red));
    margin: 0 auto;
    border-radius: 2px;
}

/* Old Team Section Styles - Keep for backwards compatibility */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-mode .accordion-item {
    box-shadow: 0 2px 10px rgba(120, 15, 22, 0.2);
}

.accordion-item:hover {
    border-color: var(--bright-red);
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.accordion-header i {
    color: var(--bright-red);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 30px 25px;
}

.accordion-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(226, 39, 34, 0.2);
}

/* ===================================
   Contact Section - Modern Redesign
   =================================== */
.contact-section {
    padding: 150px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 39, 34, 0.06), transparent);
    border-radius: 50%;
    z-index: 0;
}

body.dark-mode .contact-section::before {
    background: radial-gradient(circle, rgba(226, 39, 34, 0.12), transparent);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-modern-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-side {
    padding-top: 100px;
}

/* Contact Info Side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-header h2 {
    margin: 20px 0 15px;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--bright-red);
    transform: translateX(10px);
}

.info-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--bright-red), var(--deep-red));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.info-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* Contact Form Side */
.contact-form-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

body.dark-mode .contact-form-card {
    box-shadow: 0 10px 40px rgba(120, 15, 22, 0.2);
}

/* Old Contact Form Wrapper - Keep for backwards compatibility */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 70px 60px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.05), transparent);
    border-radius: 0 30px 0 0;
}

body.dark-mode .contact-form-wrapper {
    box-shadow: 0 10px 40px rgba(120, 15, 22, 0.3);
}

body.dark-mode .contact-form-wrapper::after {
    background: linear-gradient(135deg, rgba(226, 39, 34, 0.1), transparent);
}

.form-message {
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

.form-group {
    margin-bottom: 35px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-group label i {
    color: var(--bright-red);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(120, 15, 22, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-red);
    box-shadow: 0 0 0 4px rgba(226, 39, 34, 0.1);
    transform: translateY(-2px);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(226, 39, 34, 0.2);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease, border 0.3s ease;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--ruby-red);
    border-color: var(--bright-red);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--bright-red);
}

.footer-copyright {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--ruby-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(226, 39, 34, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(226, 39, 34, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    body.dark-mode .nav-menu {
        background: rgba(0, 0, 0, 0.98);
        box-shadow: -4px 0 20px rgba(120, 15, 22, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .btn-demo {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .visual-card {
        display: none;
    }
    
    /* Features */
    .features-content,
    .why-choose-content,
    .team-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Modern Features Grid */
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Modern Why Cards */
    .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Modern Team Grid */
    .team-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Products Grid */
    .products-grid,
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .product-image {
        height: 280px;
    }
    
    /* Floating Icons */
    .floating-icon {
        width: 50px;
        height: 50px;
    }
    
    .icon-1, .icon-3 {
        left: -20px;
    }
    
    .icon-2, .icon-4 {
        right: -20px;
    }
}

/* Mobile View (320px - 767px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-logo .logo-img {
        height: 35px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
    }
    
    .theme-toggle i {
        font-size: 18px;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .stat-item p {
        font-size: 13px;
    }
    
    /* Sections */
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* Features Overview */
    .features-overview {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    /* Features Section */
    .features-section,
    .services-section,
    .why-choose-section,
    .about-section,
    .products-section,
    .team-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .feature-item {
        padding: 25px;
        gap: 20px;
    }
    
    .feature-item-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Modern Features Grid */
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card-modern {
        padding: 35px 30px;
    }
    
    .feature-number {
        font-size: 36px;
    }
    
    .feature-modern-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    /* Modern Why Cards */
    .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-card-modern {
        padding: 35px 28px;
    }
    
    .why-modern-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    /* Modern Team Grid */
    .team-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-card-modern {
        padding: 35px 28px;
    }
    
    .team-card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    /* Services */
    .service-card {
        padding: 35px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    /* Why Choose */
    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .why-choose-list {
        gap: 30px;
    }
    
    /* About */
    .about-text {
        padding: 50px 30px;
        border-width: 2px;
    }
    
    .about-text p {
        font-size: 16px;
        text-align: left;
    }
    
    .about-icon {
        width: 40px;
        height: 40px;
        margin-bottom: -6px;
    }
    
    /* Products */
    .products-grid,
    .software-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .product-image {
        height: 250px;
        padding: 30px;
    }
    
    .product-info {
        padding: 30px 25px;
    }
    
    .product-info h4 {
        font-size: 20px;
    }
    
    .product-info p {
        font-size: 14px;
    }
    
    /* Team */
    .accordion-header {
        padding: 20px 25px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 25px 20px;
    }
    
    /* Contact */
    .contact-modern-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-side {
        padding-top: 0;
    }
    
    .contact-form-card {
        padding: 40px 30px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .contact-form-wrapper {
        padding: 50px 30px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 15px 20px;
    }
    
    .form-group label::before {
        width: 2px;
        height: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .nav-logo .logo-img {
        height: 30px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle i {
        font-size: 16px;
    }
    
    .mobile-toggle {
        gap: 4px;
    }
    
    .mobile-toggle span {
        width: 22px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .feature-card,
    .service-card {
        padding: 25px 20px;
    }
    
    .feature-card h3,
    .service-card h3 {
        font-size: 20px;
    }
    
    .feature-icon,
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .why-choose-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .accordion-header h3 {
        font-size: 16px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 13px;
        padding: 12px 24px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* Touch-Friendly Enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for mobile */
    .nav-link {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 14px 32px;
    }
    
    .theme-toggle,
    .mobile-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    .accordion-header {
        min-height: 60px;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .service-card:hover,
    .product-card:hover {
        transform: none;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 992px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .theme-toggle,
    .mobile-toggle,
    .hero-buttons,
    .contact-form-wrapper,
    .footer-social {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title,
    .hero-title {
        color: black;
    }
}

/* ===================================
   AOS Animation Overrides
   =================================== */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

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

[data-aos="fade-left"] {
    transform: translateX(50px);
}

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

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

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

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

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

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(-100deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(2500px) rotateY(0);
}
