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

body {
    font-family: Tahoma, sans-serif;
    background: #f5f5f5;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #00145B;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 24px;
    color: #F7C82C;
}

.logo p {
    font-size: 12px;
    color: #ddd;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

nav ul li a:hover {
    color: #F7C82C;
    transform: translateY(-2px);
}

.auth-buttons a {
    background: #F7C82C;
    color: #00145B;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s;
}

.auth-buttons a:hover {
    background: #ffd966;
    transform: scale(1.05);
}

main {
    min-height: 70vh;
    padding: 40px 0;
}

footer {
    background: #00145B;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* افکت اسکرول */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}