/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    overflow: hidden;
    color: #333;
    direction: rtl;
    text-align: right;
    unicode-bidi: embed;
}

.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    overflow: hidden;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.logo-container {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logo-container:hover .logo {
    transform: scale(1.05);
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 5px 0;
}

.coming-soon-section {
    max-width: 800px;
    width: 100%;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f8f9fa;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.description {
    font-size: 1.1rem;
    color: #e9ecef;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Services Preview */
.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.service-item h3 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.service-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0;
}



/* Footer */
.footer {
    text-align: center;
    margin-top: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    direction: rtl;
    flex-direction: row-reverse;
}

.footer-text a {
    color: #ff6b6b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-text a:hover {
    color: #ff4757;
    text-shadow: 0 0 15px rgba(255, 71, 87, 0.8);
    transform: scale(1.05);
}

/* Fix for mixed content direction */
a[href*="http"], a[href*="www"], a[href*=".com"], a[href*=".org"], a[href*=".net"] {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    display: inline-block;
    text-align: left;
}

/* Specific fix for Evored link */
.footer-text a {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    text-align: left;
}

.footer-text span {
    direction: rtl;
    unicode-bidi: embed;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 8px;
    }
    
    .header {
        margin-bottom: 15px;
    }
    
    .logo-container {
        padding: 15px;
    }
    
    .logo {
        max-width: 140px;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .services-preview {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .service-item {
        padding: 15px 10px;
    }
    
    .service-item i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .service-item h3 {
        font-size: 0.8rem;
    }
    
    .service-item p {
        font-size: 0.7rem;
    }
    
    .footer {
        margin-top: 15px;
    }
    
    .social-links {
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .header {
        margin-bottom: 10px;
    }
    
    .logo-container {
        padding: 12px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .services-preview {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .service-item {
        padding: 12px 8px;
    }
    
    .service-item i {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    
    .service-item h3 {
        font-size: 0.7rem;
    }
    
    .service-item p {
        font-size: 0.65rem;
    }
    
    .footer {
        margin-top: 10px;
    }
    
    .social-links {
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-text {
        font-size: 0.7rem;
    }
}
