/* ============================================
   AVGOON FOOTER - Enterprise Design
   Brand Gradient Background
   ============================================ */

.avgoon-footer {
    background: #0F172A;
    color: #fff;
    font-family: 'Estedad', 'Vazirmatn', system-ui, -apple-system, sans-serif;
    direction: rtl;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.avgoon-footer *,
.avgoon-footer *::before,
.avgoon-footer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==================== BACKGROUND EFFECTS ==================== */
.avgoon-footer-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.avgoon-footer-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.avgoon-footer-orb-left {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 69, 153, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.avgoon-footer-orb-right {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    bottom: -50px;
    right: -80px;
}

/* ==================== INNER ==================== */
.avgoon-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 32px 0;
}

/* ==================== TOP SECTION ==================== */
.avgoon-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==================== BRAND COLUMN ==================== */
.avgoon-footer-brand {}

.avgoon-footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.avgoon-footer-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.avgoon-footer-logo-text {
    line-height: 1.3;
}

.avgoon-footer-logo-text strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

.avgoon-footer-logo-text span {
    font-size: 11px;
    color: #3A4599;
    letter-spacing: 3px;
    font-weight: 600;
}

.avgoon-footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
    margin-bottom: 24px;
    max-width: 320px;
}

.avgoon-footer-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(to left, #3A4599, transparent);
    margin-bottom: 24px;
}

/* Social Icons */
.avgoon-footer-socials {
    display: flex;
    gap: 10px;
}

.avgoon-footer-social {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.avgoon-footer-social:hover {
    border-color: #3A4599;
    background: #3A4599;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(58, 69, 153, 0.3);
}

/* ==================== COLUMN TITLES ==================== */
.avgoon-footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avgoon-footer-col-title i {
    color: #3A4599;
    font-size: 14px;
}

.avgoon-footer-col-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== CONTACT ITEMS ==================== */
.avgoon-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.avgoon-footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.avgoon-footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(58, 69, 153, 0.15);
    border: 1px solid rgba(58, 69, 153, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #3A4599;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.avgoon-footer-contact-item:hover .avgoon-footer-contact-icon {
    background: #3A4599;
    color: #fff;
    border-color: #3A4599;
}

.avgoon-footer-contact-info {}

.avgoon-footer-contact-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
}

.avgoon-footer-contact-value {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    direction: ltr;
    display: inline-block;
    transition: color 0.3s;
}

a.avgoon-footer-contact-value:hover {
    color: #3A4599;
}

/* ==================== LINKS ==================== */
.avgoon-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.avgoon-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.3s ease;
}

.avgoon-footer-links a i {
    font-size: 10px;
    color: #3A4599;
    transition: all 0.3s ease;
}

.avgoon-footer-links a:hover {
    color: #fff;
    transform: translateX(-5px);
}

.avgoon-footer-links a:hover i {
    color: #fff;
}

/* ==================== ADDRESS ==================== */
.avgoon-footer-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2.2;
}

.avgoon-footer-address i {
    color: #3A4599;
    margin-left: 8px;
    width: 20px;
    text-align: center;
}

/* ==================== BOTTOM BAR ==================== */
.avgoon-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    position: relative;
    z-index: 1;
}

.avgoon-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.avgoon-footer-copyright i {
    color: #3A4599;
    font-size: 12px;
}

.avgoon-footer-credit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.avgoon-footer-credit a {
    color: #3A4599;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
}

.avgoon-footer-credit a:hover {
    opacity: 0.8;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .avgoon-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .avgoon-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .avgoon-footer-inner {
        padding: 60px 24px 0;
    }
}

@media (max-width: 640px) {
    .avgoon-footer {
        background: linear-gradient(180deg, #0F172A 0%, #1E2466 100%);
    }
    
    .avgoon-footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .avgoon-footer-inner {
        padding: 60px 20px 0;
    }
    
    .avgoon-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .avgoon-footer-copyright {
        justify-content: center;
    }
}