
    /* --- ✨ Footer Styles --- */
    #footer-placeholder, #footer-container{
        --primary: #2563eb;
        --primary-dark: #1e40af;
        --text-main: #1e293b;
        --text-subtle: #94a3b8;
        --bg-footer: #0b2e59;
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #footer-placeholder .footer, #footer-container .footer{
        background: var(--bg-footer);
        color: #e2e8f0;
        padding: 80px 0 0 0;
        margin-top: 100px;
        font-family: 'Vazirmatn', sans-serif;
        direction: rtl;
    }

    #footer-placeholder .footer-container, #footer-container .footer-container{
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 4%;
    }

    #footer-placeholder .footer-main, #footer-container .footer-main{
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 60px;
        padding-bottom: 60px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #footer-placeholder .footer-about .logo, #footer-container .footer-about .logo{
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        text-decoration: none;
    }

    #footer-placeholder .footer-about .logo-img, #footer-container .footer-about .logo-img{
        height: 45px;
        width: auto;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    #footer-placeholder .footer-about .logo-text, #footer-container .footer-about .logo-text{
        font-size: 1.5rem;
        font-weight: 900;
        color: white;
    }

    #footer-placeholder .footer-about .logo-text span, #footer-container .footer-about .logo-text span{
        color: var(--primary);
    }

    #footer-placeholder .footer-about .tagline, #footer-container .footer-about .tagline{
        color: var(--text-subtle);
        font-size: 0.9rem;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    #footer-placeholder .social-links, #footer-container .social-links{
        display: flex;
        gap: 12px;
    }

    #footer-placeholder .social-link, #footer-container .social-link{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: #e2e8f0;
        text-decoration: none;
        transition: var(--transition);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #footer-placeholder .social-link i, #footer-container .social-link i{
        font-size: 1.2rem;
    }

    #footer-placeholder .social-link:hover, #footer-container .social-link:hover{
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
        border-color: var(--primary);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }

    #footer-placeholder .footer-title, #footer-container .footer-title{
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 12px;
    }

    #footer-placeholder .footer-title::after, #footer-container .footer-title::after{
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
    }

    #footer-placeholder .footer-links, #footer-container .footer-links{
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #footer-placeholder .footer-links li, #footer-container .footer-links li{
        margin-bottom: 12px;
    }

    #footer-placeholder .footer-links a, #footer-container .footer-links a{
        color: var(--text-subtle);
        text-decoration: none;
        font-size: 0.95rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #footer-placeholder .footer-links a i, #footer-container .footer-links a i{
        font-size: 0.9rem;
        color: var(--primary);
        opacity: 0;
        transform: translateX(10px);
        transition: var(--transition);
    }

    #footer-placeholder .footer-links a:hover, #footer-container .footer-links a:hover{
        color: white;
        padding-right: 8px;
    }

    #footer-placeholder .footer-links a:hover i, #footer-container .footer-links a:hover i{
        opacity: 1;
        transform: translateX(0);
    }

    #footer-placeholder .contact-item, #footer-container .contact-item{
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
        color: var(--text-subtle);
    }

    #footer-placeholder .contact-item i, #footer-container .contact-item i{
        font-size: 1.2rem;
        color: var(--primary);
        margin-top: 2px;
    }

    #footer-placeholder .contact-item span, #footer-container .contact-item span{
        font-size: 0.95rem;
        line-height: 1.6;
    }

    #footer-placeholder .contact-item a, #footer-container .contact-item a{
        color: var(--text-subtle);
        text-decoration: none;
        transition: var(--transition);
    }

    #footer-placeholder .contact-item a:hover, #footer-container .contact-item a:hover{
        color: var(--primary);
    }

    #footer-placeholder .footer-bottom, #footer-container .footer-bottom{
        padding: 25px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    #footer-placeholder .copyright, #footer-container .copyright{
        color: var(--text-subtle);
        font-size: 0.9rem;
    }

    #footer-placeholder .copyright a, #footer-container .copyright a{
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

    #footer-placeholder .copyright a:hover, #footer-container .copyright a:hover{
        text-decoration: underline;
    }

    #footer-placeholder .footer-bottom-links, #footer-container .footer-bottom-links{
        display: flex;
        gap: 25px;
        flex-wrap: wrap;
    }

    #footer-placeholder .footer-bottom-links a, #footer-container .footer-bottom-links a{
        color: var(--text-subtle);
        text-decoration: none;
        font-size: 0.9rem;
        transition: var(--transition);
    }

    #footer-placeholder .footer-bottom-links a:hover, #footer-container .footer-bottom-links a:hover{
        color: var(--primary);
    }

    #footer-placeholder .city-name, #footer-container .city-name{
        color: #60a5fa;
        font-weight: 600;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #footer-placeholder .footer-animate, #footer-container .footer-animate{
        animation: fadeInUp 0.6s ease forwards;
    }

    #footer-placeholder .footer-animate:nth-child(1), #footer-container .footer-animate:nth-child(1){ animation-delay: 0.1s; }
    #footer-placeholder .footer-animate:nth-child(2), #footer-container .footer-animate:nth-child(2){ animation-delay: 0.2s; }
    #footer-placeholder .footer-animate:nth-child(3), #footer-container .footer-animate:nth-child(3){ animation-delay: 0.3s; }
    #footer-placeholder .footer-animate:nth-child(4), #footer-container .footer-animate:nth-child(4){ animation-delay: 0.4s; }

    /* --- ریسپانسیو --- */
    @media (max-width: 1024px){
        #footer-placeholder .footer-main, #footer-container .footer-main{
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
    }

    @media (max-width: 768px){
        #footer-placeholder .footer, #footer-container .footer{
            padding: 60px 0 0 0;
        }

        #footer-placeholder .footer-main, #footer-container .footer-main{
            grid-template-columns: 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }

        #footer-placeholder .footer-bottom, #footer-container .footer-bottom{
            flex-direction: column;
            text-align: center;
        }

        #footer-placeholder .footer-bottom-links, #footer-container .footer-bottom-links{
            justify-content: center;
        }

        #footer-placeholder .social-links, #footer-container .social-links{
            justify-content: center;
        }

        #footer-placeholder .footer-about, #footer-container .footer-about{
            text-align: center;
        }

        #footer-placeholder .footer-about .logo, #footer-container .footer-about .logo{
            justify-content: center;
        }

        #footer-placeholder .footer-title::after, #footer-container .footer-title::after{
            right: 50%;
            transform: translateX(50%);
        }

        #footer-placeholder .footer-links a:hover, #footer-container .footer-links a:hover{
            padding-right: 0;
        }

        #footer-placeholder .footer-links a i, #footer-container .footer-links a i{
            display: none;
        }
    }

/* Extracted inline style from Footer.html */
#footer-placeholder #codex-extracted-style-e82cae1a-001, #footer-container #codex-extracted-style-e82cae1a-001{ color: #ef4444; }


/* Clearer contact block inside the shared dark-blue footer. */
#footer-placeholder .footer-contact .contact-item,
#footer-container .footer-contact .contact-item {
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(191, 219, 254, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  transition: background .2s ease, border-color .2s ease;
}
#footer-placeholder .footer-contact .contact-item:hover,
#footer-container .footer-contact .contact-item:hover {
  border-color: rgba(147, 197, 253, .38);
  background: rgba(255, 255, 255, .075);
}
#footer-placeholder .footer-contact .contact-item > i,
#footer-container .footer-contact .contact-item > i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 7px;
  background: rgba(96, 165, 250, .14);
  color: #93c5fd;
}
#footer-placeholder .footer-contact .contact-item span,
#footer-container .footer-contact .contact-item span {
  color: #dbeafe;
  font-size: .9rem;
  line-height: 1.85;
}
#footer-placeholder .footer-contact .city-name,
#footer-container .footer-contact .city-name {
  color: #bfdbfe;
  font-weight: 800;
}
#footer-placeholder .footer-contact .contact-item a,
#footer-container .footer-contact .contact-item a {
  color: #dbeafe;
  font-size: .9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#footer-placeholder .footer-contact .contact-item a:hover,
#footer-container .footer-contact .contact-item a:hover {
  color: #93c5fd;
}


/* Compact footer spacing while keeping all contact details readable. */
#footer-placeholder .footer, #footer-container .footer { padding-top: 58px; margin-top: 64px; }
#footer-placeholder .footer-main, #footer-container .footer-main { gap: 38px; padding-bottom: 40px; }
#footer-placeholder .footer-bottom, #footer-container .footer-bottom { padding: 18px 0; }
#footer-placeholder .footer-contact .contact-item, #footer-container .footer-contact .contact-item { gap: 9px; margin-bottom: 6px; padding: 6px 9px; }
#footer-placeholder .footer-contact .contact-item > i, #footer-container .footer-contact .contact-item > i { flex-basis: 28px; width: 28px; height: 28px; }
#footer-placeholder .footer-contact .contact-item span, #footer-container .footer-contact .contact-item span,
#footer-placeholder .footer-contact .contact-item a, #footer-container .footer-contact .contact-item a { font-size: .84rem; line-height: 1.65; }
@media (max-width: 1024px) {
  #footer-placeholder .footer-main, #footer-container .footer-main { gap: 30px; }
}
@media (max-width: 768px) {
  #footer-placeholder .footer, #footer-container .footer { padding-top: 42px; margin-top: 48px; }
  #footer-placeholder .footer-main, #footer-container .footer-main { gap: 26px; padding-bottom: 30px; }
  #footer-placeholder .footer-bottom, #footer-container .footer-bottom { padding: 15px 0; }
}
