* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Shabnam', 'Samim', sans-serif;
}

body {
    background-image: url('bg.png');
    background-size: cover;
    background-position: center 85px;
    /* 20px پایین‌تر از تیتر */
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    /* background-color: #d8d8d8; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    direction: rtl;
    color: #333;
    justify-content: center;
}

.container {
    max-width: 800px;
    /* padding: 10px; */
    text-align: center;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    /*margin-top: 25px;*/
    margin-bottom: 80px;
}

h1 {
    font-size: 2.5rem;
    color: #666;
    margin-top: 30px;
    /* margin-bottom: 120px; */
    animation: fadeIn 1s ease-in;
    /* background-color: #f5f5f5; برای پوشش پس‌زمینه */
    /* padding: 10px;
    display: inline-block;
    position: relative; */
}

/* h1::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #ccc;
} */


.header-line {
    width: 100%;
    height: 1px;
    background-color: #bbb;
    margin-top: 20px;
    margin-bottom: 90px;
    /* فاصله 10px از تیتر */
}
/* .lala-letter {
    -webkit-text-stroke: 3px #888;
} */

.card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    min-height: 200px;
    position: relative;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.button {
    display: inline-block;
    background: #e0e0e0;
    color: #333;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background: #d0d0d0;
    transform: translateX(-50%) scale(1.05);
}

footer {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px
}

/* .footer-logo {
   max-width: 100px;
   margin-bottom: 10px;
} */

.footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 100px;
    margin: 0 15px 0 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
}

.contact-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

footer .footer-links {
    margin: 10px 0;
}

footer .footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

footer .footer-links a:hover {
    color: #555;
    transform: scale(1.1);
}

footer .social-icons a {
    font-size: 1.2rem;
    color: #666;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: #333;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}