/* ==================================================
   FOOTER STYLES
   ================================================== */

.custom-education-theme-footer {
    background: var(--footer-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    padding: 50px 24px 24px;
    margin-top: 40px;
}

.custom-education-theme-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.custom-education-theme-footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.custom-education-theme-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    border-radius: 3px;
}

.custom-education-theme-footer-col p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.custom-education-theme-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.custom-education-theme-footer-col ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-education-theme-footer-col ul li a:hover { color: var(--accent); transform: translateX(-5px); }
[dir="rtl"] .custom-education-theme-footer-col ul li a:hover { transform: translateX(5px); }
.custom-education-theme-footer-col ul li a i { font-size: 0.75rem; color: var(--accent); }

.custom-education-theme-footer-social { display: flex; gap: 10px; margin-top: 16px; }

.custom-education-theme-footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.custom-education-theme-footer-social a:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px var(--accent-glow-35);
}

.custom-education-theme-trust-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.custom-education-theme-trust-badge {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    cursor: pointer;
    padding: 8px;
    text-decoration: none;
}

.custom-education-theme-trust-badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--accent);
}

.custom-education-theme-trust-badge i { font-size: 1.6rem; color: var(--accent); }
.custom-education-theme-trust-badge span {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
}

.custom-education-theme-footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============ FOOTER RESPONSIVE ============ */
@media (max-width: 1100px) {
    .custom-education-theme-footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .custom-education-theme-footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .custom-education-theme-trust-badge { width: 75px; height: 75px; }
    .custom-education-theme-trust-badge i { font-size: 1.3rem; }
    .custom-education-theme-trust-badge span { font-size: 0.58rem; }

    .custom-education-theme-trust-badges { justify-content: center; width: 100%; }
    .custom-education-theme-footer-social { justify-content: center; width: 100%; }
    .custom-education-theme-footer-col { text-align: center; }
    .custom-education-theme-footer-col h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 60px;
    }
    .custom-education-theme-footer-col ul li a { justify-content: center; }
}