﻿/* ==============================================
   1.footer
   ============================================== */
/* ================= Footer Base ================= */
.custom-footer {
    background: #fff;
    color: #000;
    padding: 20px;
    margin-bottom: 50px;
}

/* ================= Footer Top ================= */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-logo-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.footer-logo {
    width: 220px;
    height: auto;
}

.footer-text-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
    width: 800px;
}

    .footer-text-column p {
        margin: 0;
        font-size: 1rem;
        font-weight: bold;
        text-align: justify;
    }

/* ================= Single Footer Logo ================= */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .footer-logos img {
        width: 280px;
        height: auto;
        object-fit: contain;
    }

/* ================= Footer Links ================= */
.footer-links-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
/*    padding: 0 50px;*/

}

    .footer-links a {
        text-decoration: none;
        color: #333;
        font-size: 1.3rem;
        font-weight: bold;
        transition: color 0.2s ease, font-size 0.2s ease;
    }

        .footer-links a:hover {
            color: #085A72;
            font-size: 1.35rem;
        }

.footer-links-right {
    text-align: right;
}

.footer-links-left {
    text-align: left;
}

/* ================= Footer Info Section ================= */
.footer-info-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 25px 0;
}

.footer-info-column {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #fff;
}

    .footer-info-column h5 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        font-weight: bold;
    }

/* ================= Contact ================= */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.contact-label {
    font-weight: bold;
}

.contact-link {
    text-decoration: none;
    color: #000;
    text-align: left;
    transition: color 0.2s ease;
}

    .contact-link:hover {
        color: #085A72;
    }

/* ================= Newsletter ================= */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

    .newsletter-form input {
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        text-align: right;
        font-size: 0.95rem;
    }

    .newsletter-form p {
        margin: 0;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 10px;
        border-radius: 8px;
        border: none;
        background: #085A72;
        color: #fff;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        .newsletter-form button:hover {
            background: #06606d;
        }

/* ================= Responsive ================= */
@media (max-width: 768px) {
    .footer-content,
    .footer-links-section,
    .footer-info-section {
        flex-direction: column;
        /*align-items: center;*/
        margin-right: 10px;
        gap: 15px;
    }

    .footer-text-column {
        text-align: center;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-logos img {
        width: 250px;
    }

    .footer-links {
        padding: 0;
        text-align: center;
    }

    .footer-info-column,
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-logo-column {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .footer-text-column {
        flex: 0 0 100%;
        order: 3;
        margin-top: 15px;
    }

    .footer-logos {
        flex: 0 0 100%;
        order: 2;
    }
}


/* ==============================================
   2.MOOBILE footer
   ============================================== */
.glass {
    background: rgba(255,255,255,1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}


/* ==============================================
   3.category
   ============================================== */

/* دسته‌های اصلی Accordion */
.accordion-button {
    background: #fff;
    color: #085A72;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

    .accordion-button:hover {
        background: #f8f9fa;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

    .accordion-button:focus {
        box-shadow: none;
    }

    /* دسته باز شده */
    .accordion-button:not(.collapsed) {
        background: #E6F7FA;
        color: #085A72;
    }

    /* آیکون chevron */
    .accordion-button::after {
        transition: transform 0.3s ease;
    }

    /* دسته‌های لینک مستقیم */
    .accordion-button.direct-link {
        background: #fff;
        color: #085A72;
        font-weight: 600;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        display: flex;
        align-items: center;
        text-decoration: none;
        padding: 12px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .accordion-button.direct-link:hover {
            background: #f8f9fa;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        }

        .accordion-button.direct-link::after {
            display: none;
        }

/* زیرمنوها */
.accordion-body {
    padding: 0;
    transition: all 0.3s ease;
}

    .accordion-body a {
        display: block;
        background: #f9f9f9;
        margin-top: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
        color: #085A72;
        font-size: 0.95rem;
        text-decoration: none;
        transition: background 0.3s, color 0.3s;
    }

        .accordion-body a:hover,
        .accordion-body a.active {
            background: #E6F7FA;
            color: #085A72;
        }

/* فاصله بین دسته‌ها */
.accordion-item {
    margin-bottom: 8px;
}

/* آیکون سمت چپ */
.accordion-button i {
    font-size: 1rem;
    color: #085A72;
}
