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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0a0a0f;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,217,102,0.2);
    border-top: 3px solid #FFD966;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,217,102,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD966, #00E5FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD966;
    transition: 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, #FFD966, #00E5FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(90deg, #FFD966, #00E5FF);
    color: #0a0a0f;
    box-shadow: 0 0 10px rgba(255,217,102,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,217,102,0.4);
}

.btn-outline {
    border: 1px solid #FFD966;
    color: #FFD966;
}

.btn-outline:hover {
    background: #FFD966;
    color: #0a0a0f;
}

/* Stats */
.stats {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    margin: 2rem 0;
    border-radius: 60px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
    padding: 2rem 0;
}

.stat span {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD966;
    display: block;
}

.stat p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD966, #00E5FF);
}

/* About */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1rem;
    color: #ddd;
}

.about-text ul {
    list-style: none;
    margin-top: 1rem;
}

.about-text li {
    margin: 0.5rem 0;
}

.about-image {
    flex: 1;
    text-align: center;
}

.image-placeholder {
    font-size: 8rem;
    background: rgba(255,217,102,0.1);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(15,15,26,0.7);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(255,217,102,0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #FFD966;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #FFD966;
}

/* Work */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.work-item {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    border-radius: 20px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.work-overlay {
    background: rgba(0,0,0,0.7);
    width: 100%;
    padding: 1rem;
    transition: 0.3s;
    transform: translateY(100%);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    color: #FFD966;
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

form {
    flex: 1;
    min-width: 260px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,217,102,0.3);
    border-radius: 30px;
    color: #fff;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact-info {
    flex: 1;
    min-width: 260px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.contact-info a {
    color: #FFD966;
    text-decoration: none;
}

.contact-info p {
    margin: 1rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #050507;
    font-size: 0.9rem;
    color: #888;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #FFD966;
    color: #0a0a0f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10,10,15,0.95);
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }
    nav ul.show {
        display: flex;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .stats-grid {
        flex-direction: column;
        gap: 1rem;
    }
}
حطه في style.css بعد متفسخ لي قبلو