/* --- DESIGN SYSTEM - LIGHT CLEAN MODE --- */
:root {
    --primary: #0077c2; /* Clear, professional blue */
    --accent: #27ae60;  /* Clean green */
    --text-main: #1a202c; /* Stronger dark text */
    --text-muted: #4a5568; /* Much clearer gray */
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 119, 194, 0.1);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-weight: 300; /* Default Light Font */
    color: var(--text-main);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
    overflow-x: hidden;
}

/* Background Image & Overlay */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero.png');
    background-size: cover;
    background-position: center;
    filter: brightness(1.1) grayscale(0.1);
    z-index: -2;
    animation: pan-slow 60s infinite linear;
}

.light-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.94) 0%, rgba(255, 255, 255, 0.6) 100%);
    z-index: -1;
}

/* Perspective & 3D Effect */
.perspective-container {
    perspective: 1200px;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-card {
    max-width: 600px;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    z-index: 1;
    transform: rotateX(8deg);
    transition: var(--transition);
    animation: floating 8s infinite ease-in-out;
}

.content-card:hover {
    transform: rotateX(0deg) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 119, 194, 0.12);
}

/* Icons & Typography */
.icon-3d {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    filter: drop-shadow(0 5px 15px rgba(0, 119, 194, 0.2));
    animation: rotate3D 15s infinite ease-in-out;
}

.company-name {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400; /* Regular for prominence */
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.tagline {
    font-size: clamp(1rem, 4vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Badge */
.status-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: rgba(0, 119, 194, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 119, 194, 0.2);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

/* Countdown */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    padding: 15px 5px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 1);
}

.countdown-item .number {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 200; /* Light Font */
    color: var(--primary);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 8px;
    opacity: 0.8;
}

/* Mission Text */
.mission-section h3 {
    font-weight: 300;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.mission-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Contact Footer */
.contact-info {
    margin-top: clamp(2rem, 6vw, 4rem);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.contact-info i {
    color: var(--primary);
    margin-left: 0.5rem;
}

/* --- ANIMATIONS --- */

@keyframes pan-slow {
    0% { transform: scale(1.05) translate(0, 0); }
    50% { transform: scale(1.15) translate(-1%, -1%); }
    100% { transform: scale(1.05) translate(0, 0); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotateX(8deg); }
    50% { transform: translateY(-15px) rotateX(4deg); }
}

@keyframes rotate3D {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes fade-down {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-down { animation: fade-down 1s forwards; }
.animate-fade-up { animation: fade-up 1s 0.2s forwards; opacity: 0; }
.animate-fade-up-delay { animation: fade-up 1s 0.4s forwards; opacity: 0; }
.animate-fade-in { animation: fade-in 1s 0.6s forwards; opacity: 0; }
.animate-fade-in-slow { animation: fade-in 1.2s 0.8s forwards; opacity: 0; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .content-card {
        padding: 2rem 1rem;
        border-radius: 30px;
    }
    .status-badge {
        margin-bottom: 2rem;
    }
}

@media (max-height: 700px) {
    body {
        align-items: flex-start;
        padding-top: 2rem;
    }
    .content-card {
        margin-bottom: 2rem;
    }
}
