/* تنظیمات کلی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 2s ease-in-out;
}

.header p {
    font-size: 1.2rem;
    animation: fadeInUp 2.5s ease-in-out;
}

/* Sections */
.section {
    padding: 60px 0;
    background-color: white;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.5s ease-in-out forwards;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #333;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.section ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.section ol {
    padding-left: 20px;
    margin-top: 10px;
}

.section li {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    animation: pulse 3s infinite ease-in-out;
}

.footer p {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .section p {
        font-size: 1rem;
    }
}




/* Cool Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1000;
  }
  
  .back-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .back-button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  
  .back-button:hover i {
    transform: translateX(-5px);
  }
  
  .back-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }