/* ===== CSS Variables - Premium Theme ===== */
:root {
    /* Primary Colors */
    --primary-color: #8B1538;
    --primary-dark: #6B0F2B;
    --primary-light: #B92D54;
    --primary-gradient: linear-gradient(135deg, #8B1538 0%, #B92D54 50%, #D43D66 100%);
    
    /* Secondary Colors */
    --secondary-color: #0F0F0F;
    --secondary-light: #1A1A1A;
    --accent-color: #D4AF37;
    --accent-light: #E5C158;
    
    /* Neutral Colors */
    --text-color: #2D2D2D;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0F0F0F;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 10px 30px rgba(139, 21, 56, 0.3);
    --shadow-accent: 0 10px 30px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 80px;
}

/* ===== Reset & Base - Enhanced ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Tajawal', 'Noto Sans Arabic', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    direction: rtl;
    font-weight: 400;
}

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

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

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

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

ul, ol {
    list-style: none;
}

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

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

/* ===== Container System ===== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 640px) {
    .container { max-width: var(--container-sm); }
}

@media (min-width: 768px) {
    .container { max-width: var(--container-md); padding: 0 32px; }
}

@media (min-width: 1024px) {
    .container { max-width: var(--container-lg); }
}

@media (min-width: 1280px) {
    .container { max-width: var(--container-xl); }
}

@media (min-width: 1536px) {
    .container { max-width: var(--container-2xl); }
}

/* ===== Loading Screen - Enhanced ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.tire {
    width: 80px;
    height: 80px;
    border: 6px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-right-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    position: relative;
}

.tire::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
}

.loading-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* ===== Buttons - Enhanced ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(139, 21, 56, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

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

.btn-secondary:hover::after {
    width: 100%;
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-4px);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* ===== Header - Enhanced ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .top-bar {
    display: none;
}

.top-bar {
    display: none;
    background: var(--secondary-color);
    padding: 12px 0;
    transition: var(--transition);
}

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

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-item:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(-5px);
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

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

.social-link:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(139, 21, 56, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 15px 0;
}

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

.logo {
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 55px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 45px;
}

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

.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.nav-item.active .nav-link,
.nav-link:hover {
    color: var(--accent-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-item.active .nav-link {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.header.scrolled .bar {
    background: var(--primary-color);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

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

/* ===== Hero Section - Enhanced ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--secondary-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(139, 21, 56, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f0f 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(139, 21, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 140px 20px 100px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-badge span {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--accent-color);
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-color);
    border-radius: 3px;
    animation: expandWidth 1s ease 0.8s forwards;
    transform: scaleX(0);
    transform-origin: right;
}

@keyframes expandWidth {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

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

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 8px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 32px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

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

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: rgba(139, 21, 56, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-header.light .section-tag::before {
    background: var(--accent-color);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

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

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Features Section ===== */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

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

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.feature-card:hover .feature-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

/* ===== About Section ===== */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 100%;
    padding: 0;
}

.about-content .container {
    max-width: 100%;
    padding: 0;
}

.about-image {
    position: relative;
}

.about-image-main {
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 30px;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8),
        inset 0 -2px 4px rgba(0,0,0,0.05);
    width: 100%;
}

.about-image-main img {
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 20px rgba(139, 21, 56, 0.1);
    border: 5px solid white;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

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

.about-image-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 21, 56, 0.1) 100%);
    z-index: 1;
}

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

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

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 35px 45px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.experience-badge .years {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.experience-badge .text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
    display: block;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 2;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--gray-200);
}

.stat {
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: var(--gray-300);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: 600;
}

/* ===== Services Section ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top right, rgba(139, 21, 56, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-image {
    height: 220px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

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

.service-content {
    padding: 40px;
    position: relative;
    z-index: 1;
}

.service-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.9;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 700;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    gap: 18px;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ===== Products Section ===== */
.products {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    position: relative;
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-badge.hot {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
}

.product-badge.new {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: var(--white);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(139, 21, 56, 0.05));
}

.product-info {
    padding: 35px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.products-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background: var(--primary-gradient);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px, 25px 25px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.contact-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-bounce);
    border: 1px solid var(--gray-200);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    background: var(--white);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transition: var(--transition-bounce);
}

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

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 35px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 55px 18px 20px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 21, 56, 0.1);
}

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

.form-group i {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1.1rem;
}

.form-group textarea ~ i {
    top: 25px;
    transform: none;
}

.form-group input:focus ~ i,
.form-group textarea:focus ~ i {
    color: var(--primary-color);
}

/* Map */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 60px;
    border: 3px solid #8B1538;
}

.map-header {
    background: linear-gradient(135deg, #8B1538, #B92D54);
    color: white;
    padding: 25px;
    text-align: center;
}

.map-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-header h3 i {
    color: #D4AF37;
    font-size: 2rem;
}

.map-header p {
    margin: 12px 0 0 0;
    opacity: 0.95;
    font-size: 1.1rem;
    font-weight: 500;
}

.map-container iframe {
    display: block;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.map-container:hover {
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.3);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 100px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(139, 21, 56, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 25px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

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

.footer-social a:hover {
    transform: translateY(-8px) scale(1.1);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-right: 10px;
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-bounce);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    }
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 999;
    box-shadow: var(--shadow-primary);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 35px rgba(139, 21, 56, 0.4);
}

/* ===== Responsive Design - Enhanced ===== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 100px;
    }
    
    .about-content {
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        order: -1;
    max-width: 800px;
        margin: 0 auto;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 120px 40px 40px;
        gap: 10px;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
        transition: var(--transition-slow);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-color) !important;
        font-size: 1.2rem;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero-content {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .features-grid,
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat:not(:last-child)::after {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto 0;
        width: fit-content;
    }
    
.about-image-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 10px 20px rgba(139, 21, 56, 0.1);
    border: 5px solid white;
    position: relative;
}

.about-image-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 21, 56, 0.1) 0%,
        transparent 50%,
        rgba(212, 175, 55, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.about-image-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.02) contrast(1.05);
}

.about-image:hover .about-image-main {
    box-shadow: 
        0 35px 60px rgba(0,0,0,0.2),
        0 15px 30px rgba(139, 21, 56, 0.15);
}

.about-image:hover .about-image-main img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.08);
}

/* Enhanced frame effect */
.about-image {
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 30px;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8),
        inset 0 -2px 4px rgba(0,0,0,0.05);
}
    
    .feature-card,
    .service-content,
    .product-info,
    .contact-card {
        padding: 30px 25px;
    }
    
    .section-tag {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .scroll-top,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Selection ===== */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}
