/* ===== BASE STYLES ===== */
:root {
    /* Colors */
    --color-primary: #38BDF8;    /* Electric Blue */
    --color-secondary: #E11D48;  /* Crimson Red */
    --color-dark: #0F172A;       /* Dark Blue-Black */
    --color-darker: #020617;     /* Near Black */
    --color-light: #F1F5F9;      /* Light Gray */
    --color-gray: #64748B;       /* Medium Gray */
    --color-light-gray: #E2E8F0; /* Light Gray */
    
    /* Gradients */
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-primary: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    --gradient-secondary: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glow-primary: 0 0 15px rgba(56, 189, 248, 0.7);
    --glow-secondary: 0 0 15px rgba(225, 29, 72, 0.7);
    
    /* Typography */
    --font-primary: 'Poppins', 'Cairo', sans-serif;
    --font-secondary: 'Cairo', 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-2xl: 4rem;     /* 64px */
    --spacing-3xl: 6rem;     /* 96px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius: 0.5rem;        /* 8px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.5rem;     /* 24px */
    --radius-full: 9999px;   /* Full rounded */
    
    /* Transitions */
    --transition: all 0.3s ease-in-out;
    --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Container */
    --container-width: 1200px;
}

/* ===== GLOBAL STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-primary);
    color: var(--color-light);
    background-color: var(--color-darker);
    overflow-x: hidden;
    position: relative;
}

body.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--font-secondary);
}

body.rtl * {
    direction: rtl;
    text-align: right;
}

body.overflow-hidden {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

body.rtl h2::after {
    left: auto;
    right: 0;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: white;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button:focus {
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

body.rtl .section-header {
    text-align: right;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(90deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

body.rtl .btn {
    font-family: var(--font-secondary);
    font-weight: 600;
    text-align: right;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--glow-secondary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.float {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Preload critical resources */
link[rel='preload'] {
    display: none;
}

/* Optimize images and background images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Prevent layout shifts */
    max-inline-size: 100%;
    block-size: auto;
}

/* Lazy loading for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Optimize background images */
[style*="background-image"] {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Optimize animations and transitions */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Optimize animations for mobile */
@media (max-width: 768px) {
    [data-aos] {
        transition: none !important;
        animation: none !important;
    }
    
    .aos-animate {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Optimize font loading and rendering */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
    font-kerning: normal;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Optimize layout shifts */
img, video, iframe {
    max-inline-size: 100%;
    block-size: auto;
    aspect-ratio: attr(width) / attr(height);
}

/* Optimize scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Improve scroll performance */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Optimize fixed elements */
.header, .mobile-menu {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* Optimize tap targets for mobile */
a, button, [role="button"], input, select, textarea, label {
    touch-action: manipulation;
}

/* Optimize form elements */
input, button, textarea, select {
    font: inherit;
    max-width: 100%;
}

/* Optimize animations for mobile */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(2, 6, 23, 0.95);
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    background: linear-gradient(90deg, var(--color-primary), #7DD3FC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-light);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 2rem;
    transition: var(--transition-slow);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border: 1px dashed rgba(255,255,255,0.3); /* Visual debugging */
    padding: 4px;
}

.mobile-logo {
    width: 20px;
    height: auto;
    object-fit: contain;
    display: block; /* Ensure it's displayed as a block element */
    background-color: transparent; /* Remove any default background */
}
a.logo {
    display: flex;
    align-items: center;
}
@media (max-width: 480px) {
    .mobile-logo {
        width: 35px;
        height: 35px;
    }
    
    .mobile-menu-header .logo {
        font-size: 1.25rem;
    }
}

.close-menu {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.close-menu:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-links a {
    color: var(--color-light);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--color-primary);
    padding-left: 1rem;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

@media (max-width: 992px) {
    .hero {
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        min-height: -webkit-fill-available; /* For mobile browsers */
    }
    
    /* Fix for iOS viewport height issue */
    @supports (-webkit-touch-callout: none) {
        .hero {
            min-height: -webkit-fill-available;
        }
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Optimize video for mobile and reduce motion */
@media (max-width: 992px), (prefers-reduced-motion: reduce) {
    .hero-video {
        opacity: 0.6;
    }
}

/* Keep video visible on mobile but with adjusted opacity */
@media (max-width: 768px) {
    .hero-video {
        opacity: 0.5; /* Slightly more transparent on mobile for better text readability */
    }
    
    /* Adjust hero content for better visibility over video */
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    
    .hero-subtitle {
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
}

.hero-video .overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}

.title-line {
    display: block;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-light-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-light);
    opacity: 0.7;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.wheel {
    width: 6px;
    height: 10px;
    background-color: var(--color-light);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjMDIwNjE3IiBvcGFjaXR5PSIwLjAzIi8+CiAgPHBhdGggZD0iTTAgMEgxMDBWMTAwSDBWMFoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2Utb3BhY2l0eT0iMC4wNSIvPgo8L3N2Zz4=');
    opacity: 0.5;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
}

.service-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--color-light-gray);
    margin-bottom: 0;
}

/* ===== VEHICLES SECTION ===== */
.vehicles {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-darker);
    position: relative;
    overflow: hidden;
}

.vehicles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vehicle-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2);
    border-color: var(--color-primary);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    background: #0F172A;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.vehicle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.price-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    text-align: center;
    transition: var(--transition);
}

.price-tag .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.price-tag .label {
    font-size: 0.8rem;
    color: var(--color-light-gray);
}

.btn-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    width: 100%;
}

.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.vehicle-details {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vehicle-details h3 {
    font-size: 1.25rem;
    margin: 0;
    color: white;
    font-weight: 600;
}

.vehicle-rating {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-light-gray);
}

.spec-item i {
    color: var(--color-primary);
    width: 16px;
    text-align: center;
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-details i {
    transition: var(--transition);
}

.btn-details:hover {
    color: white;
}

.btn-details:hover i {
    transform: translateX(-5px);
}

.btn-favorite {
    background: none;
    border: none;
    color: var(--color-gray);
    font-size: 1.25rem;
    cursor: pointer;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
    text-align: center;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 6rem 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,50 C30,50 35,30 50,30 C65,30 70,50 70,50 C70,50 65,70 50,70 C35,70 30,50 30,50 Z" fill="none" stroke="rgba(56, 189, 248, 0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: white;
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* RTL Adjustments */
body.rtl .service-link i {
    margin-right: 0;
    margin-left: 0.5rem;
    transform: rotate(180deg);
}

body.rtl .service-link:hover i {
    transform: rotate(180deg) translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    padding: var(--spacing-3xl) 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjMDIwNjE3IiBvcGFjaXR5PSIwLjAzIi8+Cjwvc3ZnPg==');
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,50 C30,50 35,30 50,30 C65,30 70,50 70,50 C70,50 65,70 50,70 C35,70 30,50 30,50 Z" fill="none" stroke="rgba(56, 189, 248, 0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    color: #e2e8f0;
}

.about-intro {
    margin-bottom: 2.5rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0;
    width: 100%;
    height: 6px;
    background: rgba(56, 189, 248, 0.3);
    z-index: -1;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

.feature-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image-wrapper:hover .main-image img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 4rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3;
    animation: pulse 2s infinite;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-badge .text {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: 30%;
    animation: float 10s ease-in-out infinite reverse;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(56, 189, 248, 0.05);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-text {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: 3rem;
        left: 1rem;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
}

/* RTL Adjustments */
body.rtl .experience-badge {
    left: auto;
    right: 2rem;
}

body.rtl .highlight::after {
    right: auto;
    left: 0;
}

body.rtl .feature-icon {
    margin-right: 0;
    margin-left: 1rem;
}

@media (max-width: 576px) {
    body.rtl .experience-badge {
        right: 1rem;
        left: auto;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(225, 29, 72, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-info p {
    color: var(--color-light-gray);
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.contact-item p {
    margin: 0;
    color: var(--color-light-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

body.rtl .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

body.rtl .form-group input,
body.rtl .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-gray);
    pointer-events: none;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.9);
    padding: 0 0.5rem;
    transform-origin: left center;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.75rem) scale(0.9);
    color: var(--color-primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: #020617;
    padding: 5rem 0 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-logo p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.footer h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links ul,
.footer-vehicles ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-vehicles a {
    color: var(--color-gray);
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-vehicles a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius) 0 0 var(--radius);
    color: white;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--color-primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 5px 20px rgba(56, 189, 248, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
        margin: 0 auto;
    }
    
    .contact-details {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .contact-item {
        flex: 0 0 calc(50% - 1rem);
        max-width: 250px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vehicles-slider {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
}

/* RTL Support */
body.rtl .section-title::after,
body.rtl .footer h4::after {
    left: auto;
    right: 0;
}

body.rtl .form-group label {
    left: auto;
    right: 1rem;
    transform-origin: right center;
}

body.rtl .form-group input:focus + label,
body.rtl .form-group input:not(:placeholder-shown) + label,
body.rtl .form-group textarea:focus + label,
body.rtl .form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.75rem) scale(0.9) translateX(10px);
}

body.rtl .newsletter-form input {
    border-radius: 0 var(--radius) var(--radius) 0;
}

body.rtl .newsletter-form button {
    border-radius: var(--radius) 0 0 var(--radius);
}

body.rtl .footer-links a:hover,
body.rtl .footer-vehicles a:hover {
    transform: translateX(-5px);
}

/* Print Styles */
@media print {
    .header,
    .back-to-top,
    .mobile-menu,
    .hamburger {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: #000 !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .btn {
        display: none !important;
    }
    
    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        font-weight: normal;
        color: #666;
    }
}
.view-all.aos-init.aos-animate {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 30px;
}