/* ==========================
           استایل‌های هدر
        ========================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-img {
    width: 81px;
    height: auto;
}
nav ul {
    display: flex;
    list-style: none;
    flex-direction: row;
    text-align: right;
}
nav ul li {
    margin: 0 20px;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: bolder;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #007BFF;
}
.buttons {
    display: flex;
    gap: 15px;
}
.buttons button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.3s;
}
.login {
    background: #ddd;
}
.signup {
    background: #007BFF;
    color: white;
}
.signup:hover {
    background: #0056b3;
}
/* دکمه همبرگری */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger:focus {
    outline: none;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}
/* تبدیل به ضربدر در حالت فعال */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    .hamburger {
        display: flex;
    }
    nav,
    .buttons {
        display: none;
        width: 100%;
        margin-top: 10px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    nav.active,
    .buttons.active {
        display: flex;
        flex-direction: row;
        text-align: right;
    }
}

/* ==========================
   استایل‌های عمومی
========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
}
body {
    background-color: #F5F7F8;
    color: #333;
    text-align: center;
}

/* ==========================
   استایل صفحه "ارتباط با ما"
========================== */
.contact-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 5vh;
}
.contact-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}
.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}
.contact-form {
    background-color: #1c1e26;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.input-group input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    transition: box-shadow 0.3s;
}
.contact-form input,
.contact-form textarea {
    background-color: #2c2e3a;
    color: #fff;
}
.input-group input::placeholder,
textarea::placeholder {
    color: #ccc;
}
.input-group input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
textarea {
    height: 120px;
    resize: none;
    margin-bottom: 15px;
}
.send-btn {
    width: 100%;
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.send-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}
.contact-info {
    text-align: right;
    flex: 1;
    max-width: 400px;
    padding: 20px;
}
.info-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}
.info-item span {
    font-weight: bold;
}
.icon {
    width: 35px;
    height: 35px;
    background: #1c1e26;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}
.social-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 12px;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-icons a {
    font-size: 24px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #007BFF;
}
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .contact-form,
    .contact-info {
        width: 100%;
        text-align: center;
        max-width: none;
    }
    .info-item {
        justify-content: center;
    }
}
@media (max-width: 500px) {
    .input-group {
        flex-direction: column;
    }
}

/* ==========================
   استایل فوتر
========================== */
.footer-section {
    width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    background: #141929;
    border-radius: 16px;
    padding: 40px 20px;
    color: #fff;
    direction: rtl;
    font-family: sans-serif;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-col {
    flex: 1 1 150px;
    min-width: 130px;
}
.socialll{
    text-align: right;
}
.about-col {
    flex: 2 1 200px;
}
.footer-col h2,
.footer-col h3 {
    margin-bottom: 15px;
    font-weight: bold;
}
.about-col p {
    line-height: 1.7;
    color: #ccc;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-col ul li a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
}
.social-col ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.social-col img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    display: inline-block;
}