/* ===== MODERN THEME FOR HAMEED COMPUTERS ===== */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* === Brand Colors === */
    --primary: #4361ee;
    --primary-light: #5b7cff;
    --secondary: #7209b7;
    --accent: #f72585;
    --success: #059669;
    --warning: #f8961e;
    --danger: #ef233c;

    /* === Light Mode (Default) === */
    --bg-main: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f3f9;
    --bg-navbar: rgba(255, 255, 255, 0.95);

    --text-main: #1a1a2e;
    --text-secondary: #1e293b;
    --text-muted: #475569;
    --text-on-primary: #ffffff;

    --border-main: rgba(0, 0, 0, 0.1);
    --border-glass: rgba(255, 255, 255, 0.2);

    --shadow-main: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 45px rgba(67, 97, 238, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(12px);

    --gradient-primary: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    --gradient-accent: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
    --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #e8ecf5 50%, #e1e6f0 100%);
    --gradient-mesh: radial-gradient(at 20% 30%, rgba(67, 97, 238, 0.08), transparent 40%),
        radial-gradient(at 80% 20%, rgba(139, 92, 246, 0.08), transparent 40%),
        radial-gradient(at 50% 80%, rgba(6, 182, 212, 0.06), transparent 45%);

    /* Utility */
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gray-300: #d1d5db;
}

/* === Dark Mode (Novaris Aesthetic) === */
.dark-mode {
    --bg-main: #0a0118;
    --bg-surface: rgba(17, 24, 39, 0.6);
    --bg-surface-alt: rgba(30, 41, 59, 0.8);
    --bg-navbar: rgba(10, 1, 24, 0.95);

    --text-main: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border-main: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.1);

    --shadow-main: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 50px rgba(139, 92, 246, 0.3);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.6);

    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #f72585 0%, #ff4d94 100%);
    --gradient-dark: linear-gradient(180deg, #0a0118 0%, #1a0b2e 100%);
    --gradient-mesh: radial-gradient(at 20% 30%, #0f9b8e 0%, transparent 40%),
        radial-gradient(at 80% 20%, #2563eb 0%, transparent 40%),
        radial-gradient(at 50% 80%, #8b5cf6 0%, transparent 45%);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);
    --gray-300: #374151;
}

/* The variables for .dark-mode are already defined above and properly override the :root ones.
   I am removing these hardcoded overrides to allow the variable system to handle them correctly. */


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    color: var(--text-main);
    background: var(--bg-main);
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Light Theme Background (default) */
.bg-root {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(at 20% 30%, rgba(67, 97, 238, 0.08), transparent 40%),
        radial-gradient(at 80% 20%, rgba(139, 92, 246, 0.08), transparent 40%),
        radial-gradient(at 50% 80%, rgba(6, 182, 212, 0.06), transparent 45%);
    filter: blur(100px);
    animation: floatGradient 35s ease-in-out infinite alternate;
}

@keyframes floatGradient {
    0% {
        transform: scale(1);
    }

    100% {
        transform: translate(-10%, -10%) scale(1.15);
    }
}

.bg-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.09'/></svg>");
    background-size: 220px 220px;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

/* Dark Mode - Novaris Theme Activated */
.dark-mode .bg-gradient {
    background: var(--gradient-mesh);
    filter: blur(140px);
}

.dark-mode .bg-noise {
    opacity: 0.35;
    filter: contrast(160%) brightness(120%);
    animation: noiseShift 0.9s steps(2) infinite;
}

@keyframes noiseShift {
    0% {
        transform: translate3d(0, 0, 0);
        background-position: 0 0;
    }

    25% {
        transform: translate3d(-1%, 1%, 0);
        background-position: 40px -30px;
    }

    50% {
        transform: translate3d(1%, -1%, 0);
        background-position: -30px 20px;
    }

    75% {
        transform: translate3d(-1%, -1%, 0);
        background-position: 25px 35px;
    }

    100% {
        transform: translate3d(0, 0, 0);
        background-position: 0 0;
    }
}

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

/* ===== ENHANCED TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1.5px;
    font-weight: 900;
}

h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark mode headings */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: var(--text-main);
}

.dark-mode h1 span {
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.5));
    }
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 900;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--bg-navbar);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-main);
    box-shadow: var(--shadow-main);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-navbar);
    box-shadow: var(--shadow-main);
}

.dark-mode .navbar.scrolled {
    background: rgba(10, 1, 24, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite;
}

.logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dark-mode .logo span {
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-menu a i {
    font-size: 1.1rem;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.5s ease;
}

/* Theme Toggle Button */
.theme-toggle button {
    background: none;
    border: 2px solid var(--border-main);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle button:hover {
    background: var(--bg-surface-alt);
    border-color: var(--primary);
    color: var(--primary);
}

.dark-mode #themeToggleBtn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffca28;
    border-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--bg-surface-alt);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-main);
    color: var(--text-main);
    overflow: hidden;
}

.dark-mode .hero {
    background: var(--gradient-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(67, 97, 238, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.3) 0%, transparent 50%);
    animation: float 20s infinite ease-in-out;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease;
}

.dark-mode .hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #4cc9f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: #4361ee !important;
    background: var(--gradient-accent) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(247, 37, 133, 0.4);
}

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

.dark-mode .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--bg-surface-alt);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-main);
}

.dark-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

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

.btn-ghost:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

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

.feature-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-main);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

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

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

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

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-main);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px var(--shadow-main);
}

.category-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.category-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--bg-surface);
}

.category-card h3 {
    font-size: 1.6rem;
    margin: 0;
    color: var(--text-main);
}

.category-card p {
    color: var(--text-main);
    opacity: 0.7;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.category-link {
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.category-link i {
    font-size: 1rem;
    margin: 0;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: inherit !important;
    filter: none !important;
}

.category-link:hover {
    gap: 0.8rem;
    color: var(--accent);
}

/* ===== PRODUCTS SECTION ===== */

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

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

.service-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-main);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}



.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

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

.testimonial-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
    color: var(--text-main);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 8rem;
    color: var(--primary-light);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-main);
}

.mission-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--text-on-primary);
    margin: 2.5rem 0;
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mission-box h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mission-box h4 i {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.mission-box p {
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0;
    line-height: 1.9;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.about-text h4 {
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.2rem;
    background: var(--bg-surface);
    color: var(--text-main);
    border-radius: var(--border-radius-sm);
    border-left: 5px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border-right: 1px solid transparent;
}

.values-list li:hover {
    transform: translateX(12px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.15);
    border-right-color: rgba(67, 97, 238, 0.1);
}

.values-list li i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-surface);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-main);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(67, 97, 238, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.18);
    border-color: rgba(67, 97, 238, 0.1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.8rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-main);
    color: var(--text-main);
}

.contact-info h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    color: var(--primary);
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-form {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-main);
    color: var(--text-main);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-main);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-surface-alt);
    color: var(--text-main);
}

.form-control:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    background: var(--bg-surface);
}

.form-control::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-main);
    color: var(--text-main);
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-main);
}

.dark-mode .footer {
    background: var(--bg-main);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.footer-section h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    margin-top: 0.5rem;
    border-radius: 2px;
}

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

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

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

.footer-section a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-surface-alt);
    border-radius: 50%;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-main);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
}

.social-links a:hover::before {
    transform: scale(1);
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-main);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -30px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

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

    100% {
        transform: translateX(100%);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .hero {
        padding: 6rem 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-hover);
        display: none;
        gap: 1.5rem;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        border: 1px solid var(--border-main);
    }

    .nav-menu.active {
        display: flex;
        animation: fadeInUp 0.3s ease;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        color: var(--text-main);
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
        /* Image appears before text on mobile */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid,
    .category-grid,
    .product-grid,
    .service-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .product-grid,
    .service-grid,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== FIX FOR MASK-COMPOSITE ===== */
/* For browsers that don't support mask-composite */
@supports not (mask-composite: exclude) {
    .category-card::before {
        background: none;
        border: 2px solid transparent;
        border-image: linear-gradient(135deg, var(--primary), var(--accent)) 1;
        border-image-slice: 1;
    }
}

/* ===== ADDITIONAL ENHANCEMENTS ===== */
/* Glow effect for cards */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 50px rgba(67, 97, 238, 0.1);
    pointer-events: none;
    z-index: -1;
}

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--success));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Ripple effect for buttons */
.ripple {
    position: relative;
    overflow: hidden;
}

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

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Responsive images */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-surface-alt) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.dark-mode .tooltip::after {
    background: #ffffff;
    color: #1a1a2e;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}