/* ===================================
   MONTY PRODUCTION - LUXURY STYLES
   Premium Media Production Website
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent: #D32F2F;
    --accent-hover: #B71C1C;
    --accent-light: rgba(211, 47, 47, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #666666;
    --overlay: rgba(0, 0, 0, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --whatsapp: #25D366;
    
    /* Typography */
    --font-en: 'Montserrat', sans-serif;
    --font-ar: 'Cairo', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1400px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* RTL Support */
html[dir="rtl"] {
    --font-primary: var(--font-ar);
}

html[dir="ltr"] {
    --font-primary: var(--font-en);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html[dir="rtl"] body {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   PRELOADER
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-circle {
    width: 100px;
    height: 100px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    position: absolute;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(211, 47, 47, 0.3); }
    50% { box-shadow: 0 0 40px rgba(211, 47, 47, 0.6), 0 0 60px rgba(211, 47, 47, 0.3); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes textReveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes borderDance {
    0%, 100% { border-color: var(--accent); }
    50% { border-color: rgba(211, 47, 47, 0.3); }
}

/* Animated Text Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary), var(--accent), var(--text-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.text-glow {
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5), 0 0 20px rgba(211, 47, 47, 0.3);
}

.hover-glow:hover {
    text-shadow: 0 0 15px rgba(211, 47, 47, 0.7), 0 0 30px rgba(211, 47, 47, 0.4);
}

/* Floating Animation for Icons */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 155px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.header.scrolled .logo img {
    height: 100px;
}

.logo-text {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(211, 47, 47, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(211, 47, 47, 0.2);
    border: 2px solid var(--accent);
    border-radius: 30px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    background: var(--accent);
    color: var(--text-primary);
}

.lang-ar {
    display: none;
}

html[dir="rtl"] .lang-en {
    display: none;
}

html[dir="rtl"] .lang-ar {
    display: inline;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5252 50%, var(--accent) 100%);
    background-size: 200% auto;
    color: var(--text-primary);
    border: 2px solid var(--accent);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4), 0 0 30px rgba(211, 47, 47, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 185px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(211, 47, 47, 0.15);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.hero-title {
    margin-bottom: 25px;
}

.hero-title .title-line {
    display: block;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    letter-spacing: 5px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hero-title .title-accent {
    display: block;
    font-size: clamp(20px, 4vw, 36px);
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--accent);
    margin-top: 10px;
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ===================================
   SECTION STYLES
   =================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--accent-light), rgba(211, 47, 47, 0.2));
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    border: 1px solid rgba(211, 47, 47, 0.3);
    position: relative;
    overflow: hidden;
    animation: borderDance 2s ease-in-out infinite;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 15px auto 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.feature-item:hover {
    background: rgba(211, 47, 47, 0.1);
    transform: translateX(5px);
}

html[dir="rtl"] .feature-item:hover {
    transform: translateX(-5px);
}

.feature-item i {
    color: var(--accent);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(211, 47, 47, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--accent), #ff5252);
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.5);
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.experience-badge:hover {
    transform: scale(1.1);
}

html[dir="rtl"] .experience-badge {
    left: auto;
    right: 30px;
}

.exp-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.exp-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--primary-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff5252, var(--accent));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(211, 47, 47, 0.1);
    border-color: var(--accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
}

.service-icon i {
    font-size: 28px;
    color: var(--accent);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    color: var(--text-primary);
    transform: scale(1.1);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--accent);
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-features li:hover {
    padding-left: 10px;
    color: var(--text-primary);
    border-bottom-color: rgba(211, 47, 47, 0.3);
}

html[dir="rtl"] .service-features li:hover {
    padding-left: 0;
    padding-right: 10px;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    transition: transform 0.3s ease;
}

.service-features li:hover::before {
    transform: translateX(5px);
}

html[dir="rtl"] .service-features li::before {
    content: '←';
}

html[dir="rtl"] .service-features li:hover::before {
    transform: translateX(-5px);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    text-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--primary-bg) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Main video - full width spanning both columns */
.portfolio-item.main-video {
    grid-column: 1 / -1;
}

.portfolio-item.main-video .portfolio-thumb {
    aspect-ratio: 16/9;
    max-height: 650px;
}

/* All portfolio items styling */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(211, 47, 47, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(211, 47, 47, 0.2), 0 0 40px rgba(211, 47, 47, 0.1);
}

.portfolio-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.9);
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(211, 47, 47, 0.2) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(3px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    margin-bottom: 25px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-info span {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(211, 47, 47, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.portfolio-actions {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-actions {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.portfolio-play {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff5252 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
    position: relative;
    overflow: hidden;
}

.portfolio-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
}

.portfolio-play:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-play:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 50px rgba(211, 47, 47, 0.6), 0 0 60px rgba(211, 47, 47, 0.3);
}

.portfolio-play i {
    font-size: 28px;
    margin-left: 5px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.portfolio-play:hover i {
    transform: scale(1.1);
}

html[dir="rtl"] .portfolio-play i {
    margin-left: 0;
    margin-right: 5px;
}

/* Portfolio item accent line animation */
.portfolio-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff5252, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover::after {
    transform: scaleX(1);
}

html[dir="rtl"] .portfolio-item::after {
    transform-origin: right;
}

/* Responsive Portfolio Grid */
@media (max-width: 991px) {
    .portfolio-grid {
        gap: 20px;
    }
    
    .portfolio-play {
        width: 70px;
        height: 70px;
    }
    
    .portfolio-play i {
        font-size: 24px;
    }
    
    .portfolio-info h4 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item.main-video {
        grid-column: 1;
    }
    
    .portfolio-item.main-video .portfolio-thumb {
        max-height: 400px;
    }
    
    .portfolio-play {
        width: 60px;
        height: 60px;
    }
    
    .portfolio-play i {
        font-size: 20px;
    }
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process {
    background: var(--secondary-bg);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border);
}

html[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 50px;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    transition: transform 0.4s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

html[dir="rtl"] .process-step:hover {
    transform: translateX(-10px);
}

.step-number {
    width: 100px;
    min-width: 100px;
    height: 100px;
    background: var(--primary-bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover .step-number {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.5), 0 0 30px rgba(211, 47, 47, 0.3);
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--accent);
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.member-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition-medium);
}

.member-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: var(--transition-fast);
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.member-social a:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
}

.member-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-info span {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--secondary-bg);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--primary-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}

html[dir="rtl"] .testimonial-card::before {
    left: auto;
    right: 0;
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(211, 47, 47, 0.1);
}

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.2) rotate(-10deg);
}

.testimonial-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}

.author-info h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info h5 {
    color: var(--accent);
}

.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.rating {
    margin-left: auto;
    display: flex;
    gap: 3px;
}

html[dir="rtl"] .rating {
    margin-left: 0;
    margin-right: auto;
}

.rating i {
    color: #FFD700;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .rating i {
    animation: pulse 0.5s ease forwards;
}

.testimonial-card:hover .rating i:nth-child(1) { animation-delay: 0.05s; }
.testimonial-card:hover .rating i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-card:hover .rating i:nth-child(3) { animation-delay: 0.15s; }
.testimonial-card:hover .rating i:nth-child(4) { animation-delay: 0.2s; }
.testimonial-card:hover .rating i:nth-child(5) { animation-delay: 0.25s; }

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--secondary-bg);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-bg);
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-card.featured .pricing-header p {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.pricing-card.featured .pricing-price {
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-card.featured .pricing-price .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    text-align: left;
    margin-bottom: 35px;
}

html[dir="rtl"] .pricing-features {
    text-align: right;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li i {
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-check {
    color: #4CAF50;
}

.pricing-card.featured .pricing-features li i.fa-check {
    color: var(--text-primary);
}

.pricing-features li i.fa-times {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.featured .btn-primary {
    background: var(--primary-bg);
    border-color: var(--primary-bg);
    color: var(--text-primary);
}

.pricing-card.featured .btn-primary:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--primary-bg);
}

/* ===================================
   CLIENTS SECTION
   =================================== */
.clients-slider {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.client-logo {
    opacity: 0.5;
    transition: var(--transition-fast);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo img {
    max-height: 60px;
    width: auto;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--secondary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--accent-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 24px;
    color: var(--accent);
}

.info-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-content p,
.info-content a {
    font-size: 15px;
    color: var(--text-secondary);
}

.info-content a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 18px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--primary-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.2), inset 0 0 5px rgba(211, 47, 47, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(211, 47, 47, 0.5);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] .form-group label {
    left: auto;
    right: 20px;
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    background: var(--primary-bg);
    padding: 0 8px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

html[dir="rtl"] .form-group input:focus ~ label,
html[dir="rtl"] .form-group input:valid ~ label,
html[dir="rtl"] .form-group textarea:focus ~ label,
html[dir="rtl"] .form-group textarea:valid ~ label,
html[dir="rtl"] .form-group select:focus ~ label,
html[dir="rtl"] .form-group select:valid ~ label {
    left: auto;
    right: 15px;
}

.btn-submit {
    grid-column: span 2;
    padding: 18px 40px;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.form-success.show {
    opacity: 1;
    visibility: visible;
}

.form-success i {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-bg);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Simplified footer grid (no quick links/services) */
.footer-grid.footer-grid-simple {
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 10px;
}

html[dir="rtl"] .footer-links ul li a:hover {
    padding-left: 0;
    padding-right: 10px;
}

.footer-newsletter h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-newsletter p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
}

.newsletter-form input:focus {
    border-color: var(--accent);
    outline: none;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   WHATSAPP BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float span {
    font-size: 14px;
    font-weight: 600;
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 998;
}

html[dir="rtl"] .back-to-top {
    right: auto;
    left: 100px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}

/* ===================================
   VIDEO MODAL
   =================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

html[dir="rtl"] .modal-close {
    right: auto;
    left: 0;
}

.modal-close:hover {
    background: var(--accent-hover);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio items on tablet */
    .portfolio-item:not(.main-video) {
        width: calc(50% - 15px);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid.footer-grid-simple {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .logo img {
        height: 120px;
    }
    
    .header.scrolled .logo img {
        height: 80px;
    }
    
    .banner-section {
        margin-top: 150px;
    }
}

/* Mobile Landscape */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    html[dir="rtl"] .process-timeline::before {
        left: auto;
        right: 30px;
    }
    
    .step-number {
        width: 60px;
        min-width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .logo img {
        height: 100px;
    }
    
    .header.scrolled .logo img {
        height: 70px;
    }
    
    .banner-section {
        margin-top: 130px;
    }
    
    .lang-toggle {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Mobile Portrait */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo img {
        height: 80px;
    }
    
    .header.scrolled .logo img {
        height: 60px;
    }
    
    .banner-section {
        margin-top: 100px;
    }
    
    .banner-wrapper {
        aspect-ratio: 16/9;
    }
    
    .lang-toggle {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Portfolio items on mobile */
    .portfolio-item.main-video,
    .portfolio-item:not(.main-video) {
        display: block;
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-grid,
    .footer-grid.footer-grid-simple {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-social,
    .social-links {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 100px;
    }
    
    html[dir="rtl"] .back-to-top {
        right: auto;
        left: 20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .header.scrolled .logo img {
        height: 50px;
    }
    
    .banner-section {
        margin-top: 80px;
    }
    
    .lang-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-title .title-line {
        letter-spacing: 2px;
    }
    
    .hero-title .title-accent {
        letter-spacing: 3px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        height: auto;
        padding: 15px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
