/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-orange: #D2691E;
    --dark-bg: #0a0a0a;
    --dark-secondary: #121212;
    --dark-tertiary: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #999;
    --accent-gold: #d4a373;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(210, 105, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 163, 115, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(210, 105, 30, 0.03) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

body.loading {
    overflow: hidden;
}

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

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
}

.preloader.hidden {
    animation: preloaderSlideUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes preloaderSlideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
    }
}

.preloader-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatCircle 8s ease-in-out infinite;
    will-change: transform;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-orange), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-gold), transparent);
    bottom: -250px;
    right: -250px;
    animation-delay: 2s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-orange), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

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

.crown-loader {
    text-align: center;
    position: relative;
    z-index: 2;
}

.crown-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    animation: fadeInScale 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.crown-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.4), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

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

.crown-icon {
    font-size: 80px;
    color: var(--primary-orange);
    position: relative;
    z-index: 2;
    animation: crownFloat 3s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(210, 105, 30, 0.5));
}

.crown-icon img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(210, 105, 30, 0.5)) brightness(1.2);
    object-fit: contain;
}

@keyframes crownFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.crown-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    border-top-color: transparent;
    animation: ringRotate 2s linear infinite;
}

@keyframes ringRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.crown-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
}

.crown-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: particleOrbit 4s linear infinite;
    box-shadow: 0 0 10px var(--primary-orange);
}

.crown-particles span:nth-child(1) {
    animation-delay: 0s;
    top: 0;
    left: 50%;
}

.crown-particles span:nth-child(2) {
    animation-delay: 0.5s;
    top: 15%;
    left: 85%;
}

.crown-particles span:nth-child(3) {
    animation-delay: 1s;
    top: 50%;
    left: 100%;
}

.crown-particles span:nth-child(4) {
    animation-delay: 1.5s;
    top: 85%;
    left: 85%;
}

.crown-particles span:nth-child(5) {
    animation-delay: 2s;
    top: 100%;
    left: 50%;
}

.crown-particles span:nth-child(6) {
    animation-delay: 2.5s;
    top: 85%;
    left: 15%;
}

.crown-particles span:nth-child(7) {
    animation-delay: 3s;
    top: 50%;
    left: 0;
}

.crown-particles span:nth-child(8) {
    animation-delay: 3.5s;
    top: 15%;
    left: 15%;
}

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(360deg) translateX(90px) rotate(-360deg);
        opacity: 1;
    }
}

/* Logo only preloader - text styles removed */

/* Responsive Preloader */
@media (max-width: 768px) {
    .crown-icon {
        font-size: 60px;
    }
    
    .crown-icon img {
        height: 90px;
    }
    
    .crown-ring {
        width: 120px;
        height: 120px;
    }
    
    .crown-particles {
        width: 140px;
        height: 140px;
    }
    
    .gradient-circle {
        filter: blur(70px);
    }
    
    .circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .circle-2 {
        width: 350px;
        height: 350px;
    }
    
    .circle-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .crown-icon {
        font-size: 50px;
    }
    
    .crown-icon img {
        height: 70px;
    }
    
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* Transparent navbar at top - blends with hero */
.navbar.on-hero:not(.scrolled) {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

/* Glassmorphism effect when scrolled */
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.7);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 15px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37),
                0 2px 10px rgba(210, 105, 30, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dynamic navbar colors based on section */
.navbar.on-dark {
    background: rgba(10, 10, 10, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

.navbar.on-light {
    background: rgba(26, 26, 26, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

.navbar.on-hero {
    background: rgba(10, 10, 10, 0.3);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.on-secondary {
    background: rgba(18, 18, 18, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(210, 105, 30, 0.2);
}

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

/* Glassmorphism glow effect */
.navbar.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(210, 105, 30, 0.5) 20%,
        rgba(212, 163, 115, 0.5) 50%,
        rgba(210, 105, 30, 0.5) 80%,
        transparent
    );
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

.navbar.scrolled:hover::before {
    opacity: 1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.crown-logo {
    font-size: 30px;
    color: var(--primary-orange);
    animation: crownFloat 3s ease-in-out infinite;
}

.crown-logo img {
    height: 45px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 2px 10px rgba(210, 105, 30, 0.3));
    object-fit: contain;
}

.navbar-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(210, 105, 30, 0.4)) brightness(1.1);
    transition: all 0.3s ease;
}

/* Desktop logo - visible on large screens */
.navbar-logo-desktop {
    display: block;
}

/* Mobile logo - hidden on large screens */
.navbar-logo-mobile {
    display: none;
}

/* Enhanced logo visibility on transparent navbar */
.navbar.on-hero:not(.scrolled) .navbar-logo-image {
    filter: drop-shadow(0 6px 20px rgba(210, 105, 30, 0.6)) 
            drop-shadow(0 0 30px rgba(0, 0, 0, 0.8))
            brightness(1.15);
}

.navbar-logo-image:hover {
    filter: drop-shadow(0 6px 20px rgba(210, 105, 30, 0.6)) brightness(1.2);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.company-type {
    font-size: 12px;
    color: var(--primary-orange);
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Enhanced visibility on transparent navbar */
.navbar.on-hero:not(.scrolled) .nav-link {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7),
                 0 0 30px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(210, 105, 30, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.5);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 10s ease-in-out;
}

.hero-slide.active img {
    transform: scale(1.1);
}

/* Slideshow Navigation Buttons */
.hero-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(210, 105, 30, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

.hero-slide-btn:hover {
    background: rgba(210, 105, 30, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(210, 105, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-slide-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slide-prev {
    left: 30px;
}

.hero-slide-next {
    right: 30px;
}

/* Slideshow Indicators */
.hero-slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
    background: rgba(10, 10, 10, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: var(--primary-orange);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(210, 105, 30, 0.6);
}

.hero-indicator.active::before {
    border-color: var(--primary-orange);
}

/* Subtle gradient overlay for seamless transparent navbar integration */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
}

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

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 80%;
    width: 80%;
    padding: 0 40px;
    will-change: transform, opacity;
}

.hero-title {
    font-family: var(--font-secondary);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    min-height: 90px;
    display: flex;
    align-items: center;
    perspective: 1000px;
}

.word-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    white-space: nowrap;
    padding-left: 0;
    align-items: baseline;
}

.word {
    display: inline-block;
    font-size: 56px;
    color: #ffffff;
    opacity: 0;
    transform: translateX(-50px);
    animation: wordReveal 0.8s ease-out forwards;
    font-weight: 700;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.6),
        2px 2px 0px rgba(210, 105, 30, 0.3);
    font-family: 'Playfair Display', serif;
}

.word::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0%;
    background: linear-gradient(180deg, transparent, #D2691E, #FFD700, #D2691E, transparent);
    animation: lineGrow 0.6s ease-out forwards;
    animation-delay: inherit;
    box-shadow: 0 0 15px rgba(210, 105, 30, 0.8);
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        letter-spacing: 10px;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 4px;
    }
}

@keyframes lineGrow {
    0% {
        height: 0%;
    }
    100% {
        height: 120%;
    }
}

.word-1 {
    animation-delay: 0s;
    font-size: 38px;
}

.word-1::before {
    animation-delay: 0.2s;
}

.word-2 {
    animation-delay: 0.2s;
}

.word-2::before {
    animation-delay: 0.4s;
}

.word-3 {
    animation-delay: 0.4s;
}

.word-3::before {
    animation-delay: 0.6s;
}

.word-4 {
    animation-delay: 0.6s;
    font-size: 38px;
}

.word-4::before {
    animation-delay: 0.8s;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.line-1 {
    font-size: 42px;
    color: var(--white);
    animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.subtitle-fr {
    color: var(--white);
}

.subtitle-ar {
    color: var(--white);
    font-size: 16px;
}

.separator {
    color: var(--primary-orange);
    font-size: 12px;
}

.hero-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8),
                 0 4px 30px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.hero-split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 0 40px 0;
    align-items: flex-start;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 30px;
    padding-left: 20px;
    margin-left: 0;
}

.hero-left .hero-title {
    text-align: left;
    margin-bottom: 0;
}

.hero-left .hero-subtitle {
    justify-content: flex-start;
    margin-bottom: 0;
}

.hero-left .hero-description {
    text-align: left;
    margin-bottom: 0;
}

.hero-intro {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8),
                 0 3px 25px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.hero-right {
    padding-left: 20px;
    border-left: 2px solid rgba(210, 105, 30, 0.3);
    width: 100%;
    max-width: 100%;
}

.hero-services {
    width: 100%;
    max-width: 100%;
}

.hero-services-title {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 25px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.hero-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.hero-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-service-item:hover {
    background: rgba(210, 105, 30, 0.25);
    border-color: rgba(210, 105, 30, 0.5);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

.hero-service-item i {
    color: var(--primary-orange);
    font-size: 22px;
    min-width: 22px;
    width: 22px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.hero-service-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-gold);
}

.hero-service-item span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.4);
}

.btn-primary .fa-whatsapp {
    font-size: 20px;
    margin-right: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 12px;
    letter-spacing: 2px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.3s both;
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-orange), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

/* ===== HOME FEATURES SECTION ===== */
.home-features {
    background: var(--dark-secondary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.home-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.features-intro {
    text-align: center;
    margin-bottom: 70px;
}

.features-heading {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.features-subheading {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.2s both;
}

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

.home-feature-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 45px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    animation: fadeInUp 0.8s ease both;
    will-change: transform;
}

.home-feature-card:nth-child(1) { animation-delay: 0.1s; }
.home-feature-card:nth-child(2) { animation-delay: 0.2s; }
.home-feature-card:nth-child(3) { animation-delay: 0.3s; }
.home-feature-card:nth-child(4) { animation-delay: 0.4s; }

.home-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.home-feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.8s ease, height 0.8s ease;
}

.home-feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(210, 105, 30, 0.4),
                0 0 40px rgba(210, 105, 30, 0.2);
    border-color: rgba(210, 105, 30, 0.5);
}

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

.home-feature-card:hover::after {
    width: 400px;
    height: 400px;
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
}

.home-feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.6);
}

.home-feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.home-feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.home-feature-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: rgba(210, 105, 30, 0.1);
    transition: var(--transition);
}

.home-feature-card:hover .feature-number {
    color: rgba(210, 105, 30, 0.2);
    transform: scale(1.2);
}

/* ===== HOME STATS SECTION ===== */
.home-stats-section {
    background: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.home-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(210, 105, 30, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 163, 115, 0.03) 0%, transparent 50%);
}

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

.home-stat-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    animation: scaleIn 0.8s ease both;
}

.home-stat-card:nth-child(1) { animation-delay: 0.1s; }
.home-stat-card:nth-child(2) { animation-delay: 0.2s; }
.home-stat-card:nth-child(3) { animation-delay: 0.3s; }
.home-stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.home-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.home-stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(210, 105, 30, 0.4),
                0 0 40px rgba(210, 105, 30, 0.2);
    border-color: rgba(210, 105, 30, 0.5);
}

.home-stat-card:hover::before {
    opacity: 0.1;
}

.home-stat-icon {
    font-size: 45px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.home-stat-card:hover .home-stat-icon {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-gold);
}

.home-stat-content {
    position: relative;
    z-index: 1;
}

.home-stat-number {
    font-family: var(--font-secondary);
    font-size: 55px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    transition: var(--transition);
}

.home-stat-card:hover .home-stat-number {
    transform: scale(1.1);
}

.home-stat-label {
    font-size: 15px;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.home-stat-card:hover .home-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.home-stat-bar {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
    margin: 0 auto;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.home-stat-card:hover .home-stat-bar {
    width: 100%;
}

/* ===== HOME CTA SECTION ===== */
.home-cta {
    background: url('bgB.png') center center / cover no-repeat, #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(210, 105, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(212, 163, 115, 0.05) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

/* Dark buttons for white background CTA */
.home-cta .btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.home-cta .btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background: url('bgC.png') center center / cover no-repeat, 
                linear-gradient(135deg, #f5f5dc 0%, #fff8e7 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.05),
                inset 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatingOrb 25s ease-in-out infinite;
    filter: blur(60px);
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(144, 238, 144, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatingOrb 20s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes floatingOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
    }
    50% {
        transform: translate(30px, -60px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -40px) scale(1.05);
    }
}

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

.newsletter-text {
    color: var(--dark);
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d4a373 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: iconFloat 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3),
                0 0 0 10px rgba(210, 105, 30, 0.1),
                0 0 0 20px rgba(210, 105, 30, 0.05);
    position: relative;
}

.newsletter-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.newsletter-icon i {
    font-size: 36px;
    color: var(--white);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3),
                    0 0 0 10px rgba(210, 105, 30, 0.1),
                    0 0 0 20px rgba(210, 105, 30, 0.05);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
        box-shadow: 0 15px 40px rgba(210, 105, 30, 0.4),
                    0 0 0 15px rgba(210, 105, 30, 0.15),
                    0 0 0 25px rgba(210, 105, 30, 0.08);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.newsletter-text h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000000;
    position: relative;
    display: inline-block;
}

.newsletter-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
    border-radius: 2px;
    animation: lineGrow 2s ease-in-out infinite;
}

@keyframes lineGrow {
    0%, 100% {
        width: 80px;
        opacity: 1;
    }
    50% {
        width: 120px;
        opacity: 0.7;
    }
}

.newsletter-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #000000;
    font-weight: 400;
}

.newsletter-form-wrapper {
    position: relative;
}

.newsletter-form {
    transition: all 0.4s ease;
}

.form-group-inline {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 20px 30px;
    border: 3px solid rgba(210, 105, 30, 0.2);
    border-radius: 60px;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
                inset 0 2px 5px rgba(0, 0, 0, 0.02);
    position: relative;
}

.newsletter-input::placeholder {
    color: #666;
    font-weight: 400;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-orange);
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(210, 105, 30, 0.2),
                0 0 0 4px rgba(210, 105, 30, 0.1),
                inset 0 2px 5px rgba(0, 0, 0, 0.02);
    transform: translateY(-3px) scale(1.01);
}

.newsletter-input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(10px);
}

.newsletter-btn {
    padding: 20px 45px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d4a373 100%);
    color: var(--white);
    border: none;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 6px 25px rgba(210, 105, 30, 0.3),
                0 2px 10px rgba(210, 105, 30, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

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

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

.newsletter-btn:hover {
    background: linear-gradient(135deg, #d4a373 0%, var(--primary-orange) 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(210, 105, 30, 0.4),
                0 4px 15px rgba(210, 105, 30, 0.3);
}

.newsletter-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.newsletter-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-btn:hover i {
    transform: translateX(8px) rotate(15deg);
}

.newsletter-privacy {
    color: #000000;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    margin: 0;
}

.newsletter-privacy i {
    font-size: 12px;
    color: #000000;
}

.newsletter-success {
    display: none;
    text-align: center;
    position: relative;
}

.newsletter-success.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successZoomIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-success i {
    font-size: 80px;
    color: #28a745;
    position: relative;
    z-index: 3;
    animation: successIconPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 8px 25px rgba(40, 167, 69, 0.4));
}

.success-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid #28a745;
    border-radius: 50%;
    animation: successRing1 1s ease-out;
    opacity: 0;
}

.success-ring-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #28a745;
    border-radius: 50%;
    animation: successRing2 1s ease-out 0.2s;
    opacity: 0;
}

/* Success Animations */
@keyframes successZoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successIconPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    70% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes successRing1 {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes successRing2 {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
}

.section-number {
    font-size: 14px;
    color: var(--primary-orange);
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    padding: 8px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.section-title {
    font-family: var(--font-secondary);
    font-size: 50px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    margin: 0 auto;
    position: relative;
}

.section-line::before,
.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
}

.section-line::before {
    left: -20px;
}

.section-line::after {
    right: -20px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--dark-secondary);
    position: relative;
}

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

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

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-orange), var(--accent-gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.feature-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.3),
                0 0 30px rgba(210, 105, 30, 0.1);
    border-color: rgba(210, 105, 30, 0.3);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    font-size: 30px;
    color: var(--primary-orange);
    min-width: 50px;
}

.feature-text h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    will-change: transform;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.2), transparent);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    transform: translate(-50%, -50%) scale(3);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(210, 105, 30, 0.4),
                0 0 40px rgba(210, 105, 30, 0.2);
    border-color: rgba(210, 105, 30, 0.3);
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 50px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
    letter-spacing: 1px;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--dark-bg);
}

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

.service-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold));
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.3),
                0 0 40px rgba(210, 105, 30, 0.1);
    border-color: rgba(210, 105, 30, 0.3);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover::after {
    opacity: 1;
    animation: rotateGradient 10s linear infinite;
}

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

.service-icon,
.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-orange);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card:hover .service-icon {
    color: var(--white);
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.service-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 150px;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    transform: translate(-50%, -50%) scale(1);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--dark-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-bounce);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-orange), var(--accent-gold));
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn span {
    position: relative;
    z-index: 2;
}

.filter-btn:hover,
.filter-btn.active {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.4),
                0 0 20px rgba(210, 105, 30, 0.2);
    border-color: var(--primary-orange);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.8s ease;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-slow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-gold), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.portfolio-item:hover {
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.5),
                0 0 40px rgba(210, 105, 30, 0.2),
                inset 0 0 20px rgba(210, 105, 30, 0.1);
    transform: translateY(-10px) scale(1.02);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item.hide {
    display: none;
    animation: fadeOut 0.4s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.portfolio-item.show {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Staggered animation for portfolio items */
.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.portfolio-item:nth-child(7) { animation-delay: 0.35s; }
.portfolio-item:nth-child(8) { animation-delay: 0.4s; }
.portfolio-item:nth-child(9) { animation-delay: 0.45s; }
.portfolio-item:nth-child(n+10) { animation-delay: 0.5s; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(1);
    will-change: transform, filter;
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

/* Video Portfolio Items */
.portfolio-video {
    position: relative;
}

.portfolio-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    pointer-events: none !important;
}

/* Hide ALL video controls and buttons - All browsers */
.portfolio-video video::-webkit-media-controls {
    display: none !important;
    opacity: 0 !important;
}

.portfolio-video video::-webkit-media-controls-enclosure {
    display: none !important;
    opacity: 0 !important;
}

.portfolio-video video::-webkit-media-controls-panel {
    display: none !important;
    opacity: 0 !important;
}

.portfolio-video video::-webkit-media-controls-play-button {
    display: none !important;
    opacity: 0 !important;
}

.portfolio-video video::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
}

.portfolio-video video::-moz-media-controls {
    display: none !important;
}

/* Create an overlay to completely block native controls */
.portfolio-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.portfolio-video .portfolio-overlay,
.portfolio-video .video-play-icon,
.portfolio-video .view-btn {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.portfolio-video:hover video {
    transform: scale(1.05);
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 4;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.5);
    transition: var(--transition);
    pointer-events: none;
}

.video-badge i {
    font-size: 14px;
    animation: videoIconBounce 2s ease-in-out infinite;
}

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

.portfolio-video:hover .video-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.7);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(210, 105, 30, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 28px;
    z-index: 3;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
    animation: videoPulse 2s ease-in-out infinite;
}

@keyframes videoPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(210, 105, 30, 0.6), 0 0 0 10px rgba(210, 105, 30, 0.1);
    }
}

.portfolio-video:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(210, 105, 30, 1);
    animation: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.95), rgba(26, 26, 26, 0.95));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-orange);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.view-btn:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.3);
}

.lightbox-caption {
    text-align: center;
    color: var(--white);
    font-size: 18px;
    margin-top: 20px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.5);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(210, 105, 30, 0.3);
}

.video-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10001;
}

.video-modal-close:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.5);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--dark-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-top: 15px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.contact-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-info > p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-orange), var(--accent-gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.contact-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.3),
                0 0 30px rgba(210, 105, 30, 0.1);
    border-color: rgba(210, 105, 30, 0.3);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-icon {
    font-size: 28px;
    color: var(--primary-orange);
    min-width: 50px;
}

.contact-text h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-text a,
.contact-link {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
    font-size: 15px;
}

.contact-text a:hover,
.contact-link:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.contact-link i {
    margin-right: 5px;
}

.location-text {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-text p {
    color: var(--text-gray);
    margin: 5px 0;
}

.contact-hours {
    margin-top: 30px;
    padding: 25px;
    background: rgba(210, 105, 30, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary-orange);
}

.contact-hours h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-hours h4 i {
    color: var(--primary-orange);
}

.contact-hours p {
    color: var(--text-gray);
    margin: 8px 0;
    padding-left: 28px;
    font-size: 15px;
}

.contact-form-container {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.05) 0%, transparent 70%);
    animation: rotateGradient 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

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

.form-header {
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.form-header h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    color: var(--white);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--dark-tertiary);
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%23D2691E' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 35px;
    font-weight: 400;
    color: transparent;
    transition: var(--transition);
    text-align: left;
    padding-left: 5px;
}

.form-group select:valid {
    color: var(--white);
    text-align: left;
}

.form-group select:hover {
    border-bottom-color: var(--primary-orange);
}

.form-group select:focus {
    border-bottom-color: var(--primary-orange);
}

.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    min-height: 48px;
}

.form-group select option:hover {
    background: linear-gradient(90deg, rgba(210, 105, 30, 0.3) 0%, rgba(210, 105, 30, 0.2) 100%);
    color: var(--primary-orange);
}

.form-group select option:checked {
    background: linear-gradient(90deg, rgba(210, 105, 30, 0.4) 0%, rgba(210, 105, 30, 0.3) 100%);
    color: #ffffff;
    font-weight: 600;
}

.form-group select option[value=""] {
    display: none;
}

/* Custom service field - hidden by default */
#customServiceGroup.hidden {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

#customServiceGroup {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 35px;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
    animation: slideDown 0.4s ease;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--primary-orange);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-gray);
    font-size: 16px;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

/* Label for select behaves like other inputs */
.form-group select + label {
    top: 15px;
    font-size: 16px;
    color: var(--text-gray);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -20px;
    font-size: 12px;
    color: var(--primary-orange);
}

/* Select label moves up and turns orange on focus or when filled */
.form-group select:focus + label,
.form-group select:valid + label {
    top: -20px;
    font-size: 12px;
    color: var(--primary-orange);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.form-note i {
    color: var(--primary-orange);
}

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

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

.form-group select:valid ~ .form-line {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: url('bgFooter.png') center/cover no-repeat;
    position: relative;
    border-top: 2px solid rgba(210, 105, 30, 0.3);
}

.footer-main {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(210, 105, 30, 0.5));
    margin-bottom: 10px;
}

/* Footer Desktop logo - visible on large screens */
.footer-logo-desktop {
    display: block;
}

/* Footer Mobile logo - hidden on large screens */
.footer-logo-mobile {
    display: none;
}

.footer-description {
    color: #000;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-title {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), transparent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li a {
    color: #000;
    text-decoration: none;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-menu li a i {
    font-size: 12px;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--primary-orange);
    padding-left: 8px;
}

.footer-menu li a:hover i {
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    color: #000;
    font-size: 14.5px;
}

.footer-contact-list li i {
    color: var(--primary-orange);
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.footer-contact-list li div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-list li a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
    color: var(--primary-orange);
}

.footer-contact-list li span {
    color: #000;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(210, 105, 30, 0.1);
    border: 1px solid rgba(210, 105, 30, 0.3);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.social-link:hover::before {
    width: 120%;
    height: 120%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.5);
    border-color: var(--primary-orange);
    color: var(--white);
}

.footer-bottom {
    background: var(--dark-secondary);
    padding: 25px 0;
    border-top: 1px solid rgba(210, 105, 30, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.footer-credits {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.footer-credits i {
    color: #e74c3c;
    animation: heartBeat 1.5s infinite;
}

.footer-credits a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.footer-credits a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(210, 105, 30, 0.5);
}

.wiyzdev-logo {
    height: 16px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.wiyzdev-link:hover .wiyzdev-logo {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(100, 200, 255, 0.6));
    transform: translateY(-2px);
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container,
    .nav-container {
        padding: 0 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* ===== MODERN iPHONE OPTIMIZATIONS ===== */
/* iPhone 13, 14, 15, 16 Series - All Models */
@media (max-width: 430px) {
    /* Base container adjustments */
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        gap: 0;
        display: flex;
        align-items: center;
        margin-top: 8px;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        height: 60px;
    }
    
    .navbar-logo-image {
        height: 60px;
    }
    
    /* Hero section optimization */
    .hero-content {
        padding: 0 16px !important;
        padding-top: 120px !important;
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 12px !important;
        min-height: 0 !important;
    }
    
    .hero-title .word {
        font-size: 24px !important;
        letter-spacing: 1px;
    }
    
    .word-1 {
        font-size: 16px !important;
    }
    
    .hero-intro {
        font-size: 12px;
        line-height: 1.6;
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 10px;
        margin-bottom: 12px !important;
        gap: 6px !important;
    }
    
    .subtitle-fr {
        font-size: 10px !important;
    }
    
    .subtitle-ar {
        font-size: 12px !important;
    }
    
    /* Hero split content */
    .hero-split-content {
        gap: 20px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-left {
        gap: 12px !important;
    }
    
    /* Service items - Optimized for iPhone */
    .hero-service-item {
        padding: 10px 14px !important;
        gap: 10px;
    }
    
    .hero-service-item i {
        font-size: 15px !important;
        min-width: 15px !important;
    }
    
    .hero-service-item span {
        font-size: 11px !important;
        line-height: 1.4;
    }
    
    /* Buttons optimized for thumb reach */
    .btn {
        font-size: 12px;
        padding: 11px 22px;
        min-height: 44px; /* iOS recommended touch target */
    }
    
    .hero-buttons {
        gap: 10px;
        padding: 0 8px;
        margin-top: 15px;
    }
    
    /* Portfolio filters - Better spacing */
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 0 10px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 10px 16px;
        min-height: 44px; /* iOS touch target */
    }
    
    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 8px;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* Features grid */
    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact form */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Prevent iOS zoom */
        min-height: 44px;
    }
    
    .newsletter-input {
        font-size: 16px !important;
        min-height: 48px;
    }
    
    /* Section spacing */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Stats animation */
    .stat-item {
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    /* Footer optimization */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-menu li a {
        font-size: 14px;
    }
}

/* iPhone Pro Max Models (13/14/15/16 Pro Max, Plus) */
@media (min-width: 428px) and (max-width: 430px) {
    .hero-title {
        font-size: 26px !important;
    }
    
    .hero-title .word {
        font-size: 26px !important;
    }
    
    .word-1 {
        font-size: 18px !important;
    }
    
    .hero-intro {
        font-size: 13px;
    }
    
    .hero-service-item span {
        font-size: 12px !important;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* iPhone Standard/Pro Models (13/14/15/16, Pro) */
@media (min-width: 390px) and (max-width: 393px) {
    .hero-title {
        font-size: 24px !important;
    }
    
    .hero-title .word {
        font-size: 24px !important;
    }
    
    .word-1 {
        font-size: 16px !important;
    }
    
    .hero-intro {
        font-size: 12px !important;
    }
    
    .container {
        padding: 0 18px;
    }
}

/* iPhone 13 mini and smaller */
@media (max-width: 375px) {
    .hero-title {
        font-size: 22px !important;
    }
    
    .hero-title .word {
        font-size: 22px !important;
    }
    
    .word-1 {
        font-size: 15px !important;
    }
    
    .hero-intro {
        font-size: 11px;
    }
    
    .hero-subtitle {
        font-size: 9px !important;
    }
    
    .subtitle-fr {
        font-size: 9px !important;
    }
    
    .subtitle-ar {
        font-size: 11px !important;
    }
    
    .hero-service-item {
        padding: 10px 12px !important;
    }
    
    .hero-service-item span {
        font-size: 11px !important;
    }
    
    .btn {
        font-size: 12px;
        padding: 11px 22px;
    }
    
    .filter-btn {
        font-size: 10px;
        padding: 8px 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* iPhone Landscape Orientation */
@media (max-height: 430px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 20px 16px !important;
    }
    
    .hero-title {
        font-size: 24px !important;
        margin-bottom: 10px;
    }
    
    .hero-title .word {
        font-size: 24px !important;
    }
    
    .hero-intro {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .hero-split-content {
        gap: 20px;
    }
    
    .hero-service-item {
        padding: 8px 12px !important;
    }
    
    .hero-service-item span {
        font-size: 10px !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn {
        font-size: 11px;
        padding: 9px 18px;
        min-height: 38px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

/* Safe Area Insets for iPhone with Notch */
@supports (padding: max(0px)) {
    .hero-content {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .navbar {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .footer {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Touch Optimization - Larger tap targets */
@media (pointer: coarse) and (max-width: 768px) {
    /* All interactive elements */
    .btn,
    .filter-btn,
    .nav-link,
    .social-link,
    .view-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Portfolio items */
    .portfolio-item {
        min-height: 200px;
    }
    
    /* Service cards */
    .service-card {
        min-height: 250px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(210, 105, 30, 0.2);
    }
    
    /* Form inputs */
    .form-group input,
    .form-group textarea,
    .form-group select,
    .newsletter-input {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Buttons hover states on touch */
    .btn:active,
    .filter-btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* Additional iPhone-specific responsive improvements */
@media (max-width: 430px) {
    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .about-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-icon i {
        font-size: 28px;
    }
    
    .feature-text h4 {
        font-size: 15px;
    }
    
    .feature-text p {
        font-size: 13px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Newsletter Section */
    .newsletter-content {
        padding: 40px 20px;
        gap: 25px;
    }
    
    .newsletter-text h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .newsletter-text p {
        font-size: 13px;
    }
    
    .newsletter-icon i {
        font-size: 40px;
    }
    
    .newsletter-form-wrapper {
        width: 100%;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 14px 16px;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    /* Home Features Section */
    .features-heading {
        font-size: 26px;
    }
    
    .features-subheading {
        font-size: 14px;
    }
    
    .home-feature-card h3 {
        font-size: 18px;
    }
    
    .home-feature-card p {
        font-size: 13px;
    }
    
    .feature-card-icon i {
        font-size: 38px;
    }
    
    /* CTA Section */
    .home-cta {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Contact Section */
    .contact-info h3 {
        font-size: 24px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .contact-item {
        padding: 18px;
    }
    
    .contact-icon i {
        font-size: 22px;
    }
    
    .contact-text h4 {
        font-size: 14px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 13px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .form-header p {
        font-size: 13px;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide on mobile to save space */
    }
    
    /* Lightbox on iPhone */
    .lightbox-content {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-caption {
        font-size: 13px;
        padding: 12px;
    }
    
    /* Video Modal */
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .video-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    /* Hero Slideshow Controls */
    .hero-slide-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-slide-prev {
        left: 10px;
    }
    
    .hero-slide-next {
        right: 10px;
    }
    
    /* Section Numbers */
    .section-number {
        font-size: 50px;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        font-size: 12px;
    }
    
    .scroll-indicator span {
        font-size: 11px;
    }
}

/* ===== TABLET & iPAD SPECIFIC STYLES ===== */
/* iPad Pro 12.9" Portrait & Landscape + All iPads */
@media (min-width: 769px) and (max-width: 1366px) {
    /* Hero services for all tablets and iPads */
    .hero-split-content {
        gap: 30px;
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-right {
        padding-left: 15px;
        border-left: 2px solid rgba(210, 105, 30, 0.3);
        width: 100%;
        max-width: 100%;
    }
    
    .hero-services {
        width: 100%;
    }
    
    .hero-services-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        width: 100%;
    }
    
    .hero-service-item {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-service-item i {
        color: var(--primary-orange);
        font-size: 20px;
        min-width: 20px;
        width: 20px;
        flex-shrink: 0;
    }
    
    .hero-service-item span {
        font-size: 14px !important;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        line-height: 1.5 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        flex: 1;
        display: block;
    }
    
    .hero-intro {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* iPad Pro Portrait Specific (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
    .hero-split-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-service-item {
        padding: 14px 18px;
    }
    
    .hero-service-item span {
        font-size: 15px !important;
    }
}

/* iPad Landscape Specific */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-split-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
    
    .hero-service-item span {
        font-size: 14px !important;
    }
}

/* iPad Mini & iPad Air Portrait (768px - 834px) */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    .hero-split-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-right {
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 2px solid rgba(210, 105, 30, 0.3);
    }
    
    .hero-service-item {
        padding: 14px 20px;
    }
    
    .hero-service-item span {
        font-size: 15px !important;
    }
}

/* Catch-all for all touch devices between tablet and desktop sizes */
@media (min-width: 768px) and (max-width: 1400px) {
    .hero-services {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-right .hero-services .hero-services-list {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-right .hero-services .hero-services-list .hero-service-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible;
    }
    
    .hero-right .hero-services .hero-services-list .hero-service-item span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal !important;
    }
}

@media (max-width: 968px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        gap: 0;
        display: flex;
        align-items: center;
        margin-top: 8px;
    }
    
    /* Switch to mobile logo */
    .navbar-logo-desktop {
        display: none;
    }
    
    .navbar-logo-mobile {
        display: block;
    }
    
    /* Footer logos */
    .footer-logo-desktop {
        display: none;
    }
    
    .footer-logo-mobile {
        display: block;
    }
    
    .navbar-logo-image {
        height: 90px;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1002;
        position: relative;
        padding: 0;
        margin: 0;
        height: 90px;
    }
    
    .hamburger span {
        width: 30px;
        height: 5px;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(210, 105, 30, 0.3);
    }
    
    .hamburger.active span {
        background: var(--primary-orange);
    }
    
    /* Modern Mobile Menu with Glassmorphism */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        -webkit-backdrop-filter: blur(40px) saturate(200%);
        backdrop-filter: blur(40px) saturate(200%);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        padding: 80px 40px 40px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                    opacity 0.4s ease;
        border-left: 1px solid rgba(210, 105, 30, 0.3);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8),
                    inset 1px 0 0 rgba(210, 105, 30, 0.2);
        z-index: 1001;
        opacity: 0;
        overflow-y: auto;
    }
    
    /* Add decorative gradient overlay */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(210, 105, 30, 0.1) 0%,
            transparent 20%,
            transparent 80%,
            rgba(210, 105, 30, 0.05) 100%
        );
        pointer-events: none;
        z-index: 0;
    }
    
    /* Add animated border accent */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 0%;
        background: linear-gradient(
            180deg,
            transparent,
            var(--primary-orange),
            var(--accent-gold),
            transparent
        );
        transition: height 0.8s ease 0.3s;
        box-shadow: 0 0 20px rgba(210, 105, 30, 0.8);
    }
    
    .nav-menu.active {
        right: 0;
        opacity: 1;
    }
    
    .nav-menu.active::after {
        height: 100%;
    }
    
    /* Add backdrop overlay */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
        pointer-events: none;
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Prevent scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Modern Nav Links */
    .nav-menu li {
        width: 100%;
        position: relative;
        z-index: 1;
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-link {
        font-size: 20px;
        font-weight: 600;
        padding: 16px 20px 16px 0;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
        border-radius: 12px;
        position: relative;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Add icon before each link */
    .nav-link::before {
        content: '▸';
        font-size: 20px;
        color: var(--primary-orange);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 20px;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Animated underline */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 20px;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-orange), var(--accent-gold));
        border-radius: 2px;
        box-shadow: 0 0 15px rgba(210, 105, 30, 0.6);
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Active state styling for mobile - simple underline only */
    .nav-link.active {
        color: var(--primary-orange);
    }
    
    .nav-link:hover {
        color: var(--primary-orange);
        text-shadow: 0 0 20px rgba(210, 105, 30, 0.6);
        transform: translateX(8px);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: calc(100% - 20px);
    }
    
    /* Add ripple effect on tap */
    .nav-link:active {
        transform: translateX(8px) scale(0.98);
    }
    
    .hero-title .line-1 {
        font-size: 36px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 100px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .contact-info h3 {
        font-size: 28px;
    }
    
    .contact-hours {
        padding: 20px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* Contact form select - tablet optimized */
    .form-group select {
        font-size: 16px;
        padding: 15px 0;
        padding-left: 5px;
        padding-right: 35px;
        text-align: left;
    }
    
    .form-group select option {
        padding: 16px 16px;
        font-size: 16px;
        text-align: left;
        min-height: 48px;
    }
    
    .form-group select:valid {
        text-align: left;
    }
    
    /* Home sections responsive */
    .features-heading,
    .cta-content h2 {
        font-size: 36px;
    }
    
    .home-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-logo-image {
        height: 100px;
    }
    
    .hamburger {
        height: 100px;
    }
    
    .footer-logo-image {
        height: 70px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links .footer-menu li a,
    .footer-services .footer-menu li a {
        justify-content: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    section {
        padding: 80px 0;
    }
    
    .container,
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 0 20px !important;
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Force center all hero left content on mobile */
    .hero .hero-content .hero-split-content .hero-left {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left * {
        text-align: center !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title {
        justify-content: center !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title .word-container {
        justify-content: center !important;
        padding-left: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title .word-container .word::before {
        display: none !important;
        opacity: 0 !important;
        width: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-subtitle {
        justify-content: center !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-intro {
        text-align: center !important;
    }
    
    /* Hero slideshow mobile */
    .hero-slide-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .hero-slide-prev {
        left: 15px;
    }
    
    .hero-slide-next {
        right: 15px;
    }
    
    .hero-slide-indicators {
        bottom: 80px;
        padding: 10px 20px;
        gap: 10px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-title .line-1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .subtitle-fr {
        font-size: 13px;
    }
    
    .subtitle-ar {
        font-size: 15px;
    }
    
    .separator {
        display: none;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-split-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 0;
        margin: 0 auto 40px;
        max-width: 100%;
    }
    
    .hero-left {
        padding-right: 0;
        padding-left: 0;
        gap: 18px;
        align-items: center;
        text-align: center !important;
        max-width: 100%;
    }
    
    .hero-left .hero-title {
        text-align: center !important;
        justify-content: center !important;
        min-height: 60px;
    }
    
    .word-container {
        gap: 9px;
        justify-content: center !important;
        padding-left: 0 !important;
        flex-wrap: wrap;
    }
    
    .word {
        font-size: 32px;
        letter-spacing: 2px;
    }
    
    .word::before {
        display: none !important;
    }
    
    .word-1,
    .word-4 {
        font-size: 24px;
        margin-top: 5px;
    }
    
    .hero-left .hero-title {
        justify-content: center;
    }
    
    .hero-left .hero-subtitle {
        justify-content: center !important;
    }
    
    .hero-left .hero-description {
        text-align: center !important;
    }
    
    .hero-intro {
        font-size: 15px;
        line-height: 1.75;
        text-align: center !important;
        max-width: 100%;
        padding: 0 5px;
        margin: 0 auto;
    }
    
    .hero-right {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-top: 2px solid rgba(210, 105, 30, 0.3);
        padding-top: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-services-title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .hero-services-list {
        gap: 12px;
        padding: 0 5px;
        width: 100%;
    }
    
    .hero-service-item {
        padding: 14px 18px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-service-item i {
        font-size: 22px;
        min-width: 22px;
        flex-shrink: 0;
    }
    
    .hero-service-item span {
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
        flex: 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 10px;
        margin-top: 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 14px 30px;
    }
    
    .section-header {
        margin-bottom: 90px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 8px;
        padding: 0 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-item {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .video-play-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .video-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 11px;
        gap: 6px;
    }
    
    .video-badge i {
        font-size: 12px;
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 20px;
        right: 20px;
    }
    
    /* Home sections mobile */
    .home-features,
    .home-stats-section,
    .home-cta {
        padding: 60px 0;
    }
    
    .features-heading,
    .cta-content h2 {
        font-size: 28px;
    }
    
    .features-intro {
        margin-bottom: 50px;
    }
    
    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .home-feature-card {
        padding: 35px 25px;
    }
    
    .home-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .home-stat-number {
        font-size: 45px;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter {
        padding: 70px 0;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .newsletter-icon {
        margin: 0 auto 25px;
        width: 70px;
        height: 70px;
    }
    
    .newsletter-icon i {
        font-size: 30px;
    }
    
    .newsletter-text h2 {
        font-size: 36px;
    }
    
    .newsletter-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .newsletter-text p {
        font-size: 16px;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-input {
        padding: 18px 25px;
    }
    
    .newsletter-btn {
        justify-content: center;
        width: 100%;
        padding: 18px 40px;
    }
    
    .newsletter-privacy {
        justify-content: center;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        gap: 0;
        display: flex;
        align-items: center;
        margin-top: 8px;
    }
    
    .navbar-logo-image {
        height: 100px;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
        height: 60px;
    }
    
    .footer-logo-image {
        height: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .hero-content {
        padding: 0 15px !important;
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Force center all hero left content on small mobile */
    .hero .hero-content .hero-split-content .hero-left {
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left * {
        text-align: center !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title {
        justify-content: center !important;
    }
    
    /* Modern select for mobile - iPhone optimized */
    .form-group select {
        font-size: 17px !important; /* 17px for better readability */
        padding: 16px 0;
        padding-left: 5px !important;
        padding-right: 40px !important;
        text-align: left !important;
        background-position: right 12px center;
        background-size: 16px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        min-height: 54px;
    }
    
    .form-group select:valid {
        text-align: left !important;
    }
    
    .form-group select option {
        padding: 20px 18px !important;
        font-size: 17px !important; /* Larger for better touch */
        text-align: left !important;
        line-height: 1.8;
        background-color: #1a1a1a !important;
        color: #ffffff !important;
        min-height: 54px;
        border: none;
    }
    
    .form-group select option:hover {
        background: linear-gradient(90deg, rgba(210, 105, 30, 0.3) 0%, rgba(210, 105, 30, 0.2) 100%) !important;
        color: var(--primary-orange) !important;
    }
    
    .form-group select option:checked {
        background: linear-gradient(90deg, rgba(210, 105, 30, 0.4) 0%, rgba(210, 105, 30, 0.3) 100%) !important;
        color: #ffffff !important;
        font-weight: 600;
    }
    
    .form-group select + label {
        font-size: 13px;
    }
    
    /* All inputs on mobile - prevent iOS zoom */
    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        padding: 14px 0;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    /* Custom service field on mobile */
    #customServiceGroup input {
        font-size: 16px !important; /* Prevent iOS zoom */
    }
    
    /* Contact grid layout */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title .word-container {
        justify-content: center !important;
        padding-left: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-title .word-container .word::before {
        display: none !important;
        opacity: 0 !important;
        width: 0 !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-subtitle {
        justify-content: center !important;
    }
    
    .hero .hero-content .hero-split-content .hero-left .hero-intro {
        text-align: center !important;
    }
    
    .hero-title .line-1 {
        font-size: 22px;
    }
    
    .section-header {
        margin-bottom: 70px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    /* Hero text content small mobile */
    .hero-split-content {
        gap: 25px;
        padding: 0;
    }
    
    .hero-title {
        min-height: 55px;
    }
    
    .hero-left {
        text-align: center !important;
        max-width: 100%;
        padding: 0;
    }
    
    .hero-left .hero-title {
        text-align: center !important;
        justify-content: center !important;
    }
    
    .word-container {
        gap: 7px;
        justify-content: center !important;
        padding-left: 0 !important;
        flex-wrap: wrap;
    }
    
    .word {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .word::before {
        display: none !important;
    }
    
    .word-1,
    .word-4 {
        font-size: 20px;
        margin-top: 4px;
    }
    
    .hero-left .hero-subtitle {
        justify-content: center !important;
    }
    
    .hero-left .hero-description {
        text-align: center !important;
    }
    
    .hero-intro {
        font-size: 14px;
        line-height: 1.7;
        text-align: center !important;
        max-width: 100%;
        padding: 0 8px;
        margin: 0 auto;
    }
    
    .hero-right {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-services-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .hero-services-list {
        gap: 10px;
        padding: 0 8px;
        width: 100%;
    }
    
    .hero-service-item {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-service-item i {
        font-size: 20px;
        min-width: 20px;
        flex-shrink: 0;
    }
    
    .hero-service-item span {
        font-size: 13px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
        flex: 1;
    }
    
    /* Hero slideshow small mobile */
    .hero-slide-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-slide-prev {
        left: 10px;
    }
    
    .hero-slide-next {
        right: 10px;
    }
    
    .hero-slide-indicators {
        bottom: 70px;
        padding: 8px 15px;
        gap: 8px;
    }
    
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
    
    /* Home sections small mobile */
    .features-heading,
    .cta-content h2 {
        font-size: 24px;
    }
    
    .features-subheading {
        font-size: 15px;
    }
    
    .home-feature-card {
        padding: 30px 20px;
    }
    
    .feature-card-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    
    .home-feature-card h3 {
        font-size: 19px;
    }
    
    .feature-number {
        font-size: 50px;
    }
    
    .home-stat-number {
        font-size: 38px;
    }
    
    .home-stat-icon {
        font-size: 35px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== PERFORMANCE OPTIMIZATIONS FOR ANIMATIONS ===== */
/* Reduce animations on devices with reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Use transform and opacity for better performance */
@media (prefers-reduced-motion: no-preference) {
    /* Only apply heavy animations if user doesn't prefer reduced motion */
}

/* ===== ADVANCED ANIMATIONS ===== */

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Slide Up with Fade */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up-fade {
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards;
}

/* Rotate In Animation */
@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-200deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Flip In Animation */
@keyframes flipIn {
    0% {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    40% {
        transform: perspective(400px) rotateY(-10deg);
    }
    70% {
        transform: perspective(400px) rotateY(10deg);
    }
    100% {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

.flip-in {
    animation: flipIn 1s ease-out;
}

/* Zoom In Animation */
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

/* Slide In From Bottom */
@keyframes slideInBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-bottom {
    animation: slideInBottom 0.8s ease-out;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(210, 105, 30, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(210, 105, 30, 0.8), 0 0 30px rgba(210, 105, 30, 0.6);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* Text Reveal Animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.text-reveal {
    opacity: 0;
    animation: textReveal 0.8s ease forwards;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Swing Animation */
@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.swing {
    transform-origin: top center;
    animation: swing 1s ease-in-out;
}

/* Blur Fade In */
@keyframes blurFadeIn {
    0% {
        opacity: 0;
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.blur-fade-in {
    animation: blurFadeIn 1s ease-out;
}

/* Slide Rotate */
@keyframes slideRotate {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.slide-rotate {
    animation: slideRotate 0.8s ease-out;
}

/* Light Speed In */
@keyframes lightSpeedIn {
    0% {
        opacity: 0;
        transform: translateX(100%) skewX(-30deg);
    }
    60% {
        opacity: 1;
        transform: skewX(20deg);
    }
    80% {
        transform: skewX(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0);
    }
}

.light-speed-in {
    animation: lightSpeedIn 1s ease-out;
}

/* Elastic In */
@keyframes elasticIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.elastic-in {
    animation: elasticIn 1s ease-out;
}

/* Typewriter Effect */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-orange);
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(210, 105, 30, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 1.5s ease-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(210, 105, 30, 0.3);
}

/* Hover Glow Effect */
.hover-glow {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hover-glow:hover::before {
    width: 300%;
    height: 300%;
}

/* Stagger Delay Classes */
.stagger-1 { animation-delay: 0.1s !important; }
.stagger-2 { animation-delay: 0.2s !important; }
.stagger-3 { animation-delay: 0.3s !important; }
.stagger-4 { animation-delay: 0.4s !important; }
.stagger-5 { animation-delay: 0.5s !important; }
.stagger-6 { animation-delay: 0.6s !important; }
.stagger-7 { animation-delay: 0.7s !important; }
.stagger-8 { animation-delay: 0.8s !important; }

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(210, 105, 30, 0.3);
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.5);
}

/* ===== HIGH RESOLUTION SUPPORT ===== */
@media (min-width: 2560px) {
    .container,
    .nav-container {
        max-width: 2200px;
    }
    
    .hero-title .line-1 {
        font-size: 80px;
    }
    
    .hero-title .line-2 {
        font-size: 50px;
    }
    
    .section-title {
        font-size: 60px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #D2691E 0%, #d4a373 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(210, 105, 30, 0.5),
                0 0 0 0 rgba(210, 105, 30, 0.7);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: whatsappEntrance 1s ease-out 1.5s both,
               whatsappFloat 3s ease-in-out 2.5s infinite;
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D2691E, #d4a373);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 40px rgba(210, 105, 30, 0.7),
                0 0 0 15px rgba(210, 105, 30, 0.15);
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1.05);
}

.whatsapp-icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float i {
    font-size: 36px;
    color: #ffffff;
    z-index: 2;
    animation: whatsappIconPulse 2s ease-in-out infinite;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.4);
    z-index: 1;
    animation: whatsappPulseAnimation 2s ease-out infinite;
}

.whatsapp-tooltip {
    position: absolute;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: linear-gradient(135deg, #D2691E 0%, #d4a373 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #D2691E transparent transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* WhatsApp Animations */
@keyframes whatsappEntrance {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-180deg) scale(0);
    }
    60% {
        transform: translateX(10px) rotate(20deg) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(1);
    }
}

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

@keyframes whatsappPulseAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes whatsappIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Shake animation for attention */
@keyframes whatsappShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float i {
        font-size: 30px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float i {
        font-size: 26px;
    }
}

/* Special attention animation (triggers periodically) */
.whatsapp-float.attention {
    animation: whatsappShake 0.5s ease-in-out,
               whatsappFloat 3s ease-in-out infinite;
}

