body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Cairo', sans-serif;
    background: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    overflow: hidden;
}

.maintenance-container {
    text-align: center;
    background: #ffffff;
    padding: 2rem;
    box-shadow: none;
    max-width: 700px;
    width: 90%;
    animation: fadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-container {
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.maintenance-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.maintenance-logo:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .maintenance-container {
        padding: 2rem;
    }
    h1 {
        font-size: 2rem;
    }
    .maintenance-logo {
        max-width: 200px;
    }
}

/* Countdown Styles */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.time-unit span {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.time-unit label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .countdown {
        gap: 10px;
    }
    .time-unit {
        min-width: 60px;
        padding: 10px;
    }
    .time-unit span {
        font-size: 1.5rem;
    }
    .time-unit label {
        font-size: 0.7rem;
    }
}

/* Typewriter Effect */
.typewriter-container {
    min-height: 150px; /* Prevent layout shift */
    margin-bottom: 2rem;
}

.typewriter-container h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
}

.typewriter-container p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: #333;
    animation: blink 0.7s infinite;
    margin-left: 2px;
    margin-right: 2px;
    height: 1em;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Language specific fonts */
.typewriter-container.am h1, 
.typewriter-container.am p {
    font-family: 'Segoe UI', 'Ebrima', sans-serif;
}

.typewriter-container.ar h1, 
.typewriter-container.ar p {
    font-family: 'Cairo', sans-serif;
}

/* Social Links */
.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Enhanced Countdown */
.time-unit {
    background: #1d5593;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    min-width: 90px;
    border-radius: 10px;
}

.time-unit span {
    color: #ffffff;
    font-weight: 600;
}

.time-unit label {
    color: #ffffff;
    opacity: 0.9;
}
