/* Custom Styles & Animation for WILD STUDIO */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f6f8;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body.lang-en, body.lang-he {
    font-family: 'Heebo', sans-serif;
}

h1, h2, h3, .brand-font {
    font-family: 'Cairo', sans-serif;
}

body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en .brand-font,
body.lang-he h1, body.lang-he h2, body.lang-he h3, body.lang-he .brand-font {
    font-family: 'Heebo', sans-serif;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #fff;
    color: #495057;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 1rem;
    font-size: 16px;
}

.form-control:focus {
    border-color: #0056b3;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0,86,179,.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

/* Dropdown Animation */
#langDropdown {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.dropdown-hidden {
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
}

.dropdown-visible {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
}

/* Hero Section Animations */
.shapes-hero {
    background-color: #000;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    perspective: 500px;
    transform-style: preserve-3d;
    animation: gridMove 4s linear infinite;
    z-index: 0;
    opacity: 0.2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3b82f6, #1d4ed8);
    animation: wildMove 1.5s infinite alternate ease-in-out;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #8b5cf6, #5b21b6);
    animation: wildMoveReverse 2s infinite alternate ease-in-out;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #06b6d4, #0891b2);
    animation: pulseExplode 0.8s infinite alternate;
}

.laser-beam {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-45deg);
    animation: laserSweep 1s infinite linear;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.glass-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .glass-card {
        padding: 3.5rem;
        border-radius: 30px;
        width: auto;
        animation: cardFloat 6s ease-in-out infinite alternate;
    }
    .shape-1 { width: 500px; height: 500px; filter: blur(60px); }
    .shape-2 { width: 600px; height: 600px; filter: blur(60px); }
    .shape-3 { width: 400px; height: 400px; filter: blur(60px); }
}

@keyframes wildMove { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-100px, 80px) scale(1.3); } }
@keyframes wildMoveReverse { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, 60px) scale(1.3); } }
@keyframes pulseExplode { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 1; } }
@keyframes laserSweep { 0% { left: -150%; } 50% { left: 150%; } 100% { left: 150%; } }
@keyframes gridMove { 0% { transform: scale(1.1) translateY(0); } 100% { transform: scale(1.1) translateY(-20px); } }
@keyframes cardFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); } }

/* Seamless Seamless 100% Infinite Circular Marquee Loop */
.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
    position: relative;
    width: 100%;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex-shrink: 0;
    animation: marquee-infinite 35s linear infinite;
}

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

html[dir="rtl"] .marquee-track {
    animation: marquee-infinite-rtl 35s linear infinite;
}

@keyframes marquee-infinite-rtl {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Ensure uninterrupted movement on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: running !important;
}

/* Clean Extra Large Logo Item - NO Border / NO Stroke */
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    min-width: 260px;
    padding: 1rem;
    background: #ffffff;
    border: none !important;
    outline: none !important;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.logo-item img {
    max-height: 120px;
    max-width: 230px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    border: none !important;
    outline: none !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.logo-item:hover img {
    transform: scale(1.05);
}
