
/* =========================================
   IMMIGRATION FOOTER
========================================= */

.imm-footer,
.imm-footer * {
    box-sizing: border-box;
}

.imm-footer {
    --footer-gap: 24px;

    position: relative;
    margin-top: 120px;
    padding-top: 1px;

    background: var(--imm-footer-bg);
    color: var(--imm-footer-text);

    direction: rtl;
    font-family: var(--imm-font);
    font-size: 16px;
    line-height: 1.9;
}

.imm-footer-container {
    width: min(
        calc(100% - 48px),
        var(--imm-footer-container)
    );

    margin-inline: auto;
}

.imm-footer a {
    color: inherit;
    text-decoration: none;
}

.imm-footer a:hover {
    color: var(--imm-footer-heading);
}

.imm-footer h2,
.imm-footer h3,
.imm-footer p {
    margin-top: 0;
}

.imm-footer h2,
.imm-footer h3 {
    color: var(--imm-footer-heading);
}

.imm-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =========================================
   NEWSLETTER
========================================= */

.imm-newsletter {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    width: 100%;
    min-height: 216px;

    margin-top: -100px;
    margin-bottom: 35px;
    padding: 35px 38px;

    border-radius: var(--imm-footer-radius);
    background: var(--imm-footer-panel);
    box-shadow: var(--imm-footer-shadow);
}

.imm-newsletter-info {
    display: flex;
    align-items: center;
    gap: 24px;

    flex: 1 1 45%;
    min-width: 0;
}

.imm-newsletter-icon {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;
    background: var(--imm-footer-newsletter-icon-bg);
    box-shadow: 0 5px 24px rgba(255, 255, 255, .12);
}

.imm-newsletter-icon svg {
    width: 43px;
    height: 43px;

    fill: none;
    stroke: var(--imm-footer-input-text);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.imm-newsletter-copy {
    min-width: 0;
}

.imm-newsletter-copy h2 {
    margin: 0 0 5px;

    color: var(--imm-footer-heading);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.7;
}

.imm-newsletter-copy p {
    margin: 0;

    color: var(--imm-footer-text);
    font-size: 16px;
    line-height: 1.9;
}


/* فرم اشتراک */

.imm-newsletter-form {
    flex: 1 1 48%;
    min-width: 0;

    display: flex;
    align-items: stretch;

    direction: rtl;

    margin: 0;
    padding: 0;
    gap: 0;
}

.imm-newsletter-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 51px;

    padding: 0 16px;

    border: 2px solid var(--imm-footer-input-text);
    border-radius: 0;

    background: var(--imm-footer-input-bg);
    color: var(--imm-footer-input-text);

    font-family: var(--imm-font);
    font-size: 15px;

    box-shadow: none;
    outline-offset: -3px;
}

.imm-newsletter-form input[type="email"]::placeholder {
    color: var(--imm-footer-input-text);
    opacity: 1;
}

.imm-newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--imm-primary);
    outline-offset: 2px;
}

.imm-newsletter-form button {
    order: 2;
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 118px;
    min-height: 51px;

    padding: 0 18px;

    border: 0;
    border-radius: 28px 0 0 28px;

    background: var(--imm-footer-input-text);
    color: #FFFFFF;

    font-family: var(--imm-font);
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;
    transition: background .2s ease;
}

.imm-newsletter-form button:hover {
    background: var(--imm-primary-hover);
}

.imm-newsletter-form button svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   MAIN FOOTER COLUMNS
========================================= */

.imm-footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(0, .9fr)
        minmax(0, .9fr)
        minmax(0, 1.4fr);

    gap: 38px;

    padding-top: 0;
    padding-bottom: 65px;
}

.imm-footer-main > div {
    min-width: 0;
}


/* تیتر ستون‌ها */

.imm-footer-main h3 {
    margin: 0 0 18px;

    color: var(--imm-footer-heading);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.7;
}


/* =========================================
   BRAND COLUMN
========================================= */

.imm-footer-brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.imm-footer-brand-logo img {
    display: block;

    width: 190px;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}

.imm-footer-brand p {
    margin: 0 0 24px;

    color: var(--imm-footer-text);
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
}

.imm-footer-brand p:last-child {
    margin-bottom: 0;
}


/* =========================================
   FOOTER LINK COLUMNS
========================================= */

.imm-footer-column ul,
.imm-footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.imm-footer-column li {
    margin: 0;
    padding: 0;
}

.imm-footer-column li a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;

    color: var(--imm-footer-text);
    font-size: 16px;
    line-height: 1.8;

    transition:
        color .2s ease,
        transform .2s ease;
}

.imm-footer-column li a::before {
    content: "";

    display: inline-block;
    flex: 0 0 9px;

    width: 9px;
    height: 9px;

    border: 1.5px solid currentColor;
    border-radius: 50%;

    transform: translateY(-1px);
}

.imm-footer-column li a:hover {
    color: var(--imm-footer-heading);
    transform: translateX(-3px);
}


/* =========================================
   CONTACT COLUMN
========================================= */

.imm-footer-contact ul {
    gap: 13px;
}

.imm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    color: var(--imm-footer-text);
    font-size: 15px;
    line-height: 1.8;
}

.imm-footer-contact li > svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;

    margin-top: 6px;

    fill: currentColor;
    stroke: none;
}

.imm-footer-contact li span {
    flex: 1;
    min-width: 0;
}

.imm-footer-contact li a {
    overflow-wrap: anywhere;
}

.imm-footer-contact li strong {
    display: block;

    color: var(--imm-footer-heading);
    font-weight: 700;
}


/* =========================================
   SOCIALS & LICENSE PANELS
========================================= */

.imm-footer-bottom-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;

    padding-bottom: 24px;
}

.imm-footer-panel {
    min-width: 0;
    min-height: 162px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 28px;

    border: 1px solid var(--imm-footer-panel-border);
    border-radius: var(--imm-footer-radius);

    background: var(--imm-footer-panel);
}

.imm-footer-panel h3 {
    flex: 0 0 auto;

    margin: 0;

    color: var(--imm-footer-heading);
    font-size: 18px;
    font-weight: 800;
}


/* =========================================
   LICENSES
========================================= */

.imm-footer-licenses {
    justify-content: space-between;
}

.imm-license-items {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 18px;
}

.imm-license-item {
    min-width: 0;
    flex: 1 1 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    text-align: center;
    color: var(--imm-footer-heading);

    font-size: 13px;
    line-height: 1.6;
}

.imm-license-item img {
    display: block;

    width: 66px;
    height: 66px;

    max-width: 100%;

    border-radius: 12px;

    transition: transform .2s ease;
}

.imm-license-item:hover img {
    transform: translateY(-3px);
}

.imm-license-item span {
    color: var(--imm-footer-heading);
}


/* =========================================
   SOCIAL LINKS
========================================= */

.imm-footer-socials {
    direction: rtl;
}

.imm-social-links {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;

    direction: ltr;
}

.imm-social-link {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;

    transition: transform .2s ease;
}

.imm-social-link:hover {
    transform: translateY(-3px);
}

.imm-social-link svg {
    display: block;
    width: 27px;
    height: 27px;
}

.imm-linkedin {
    color: #0A9BD7 !important;
}

.imm-social-orange {
    color: #FF8A00 !important;
    font-size: 34px;
}

.imm-social-pink {
    color: #F52B68 !important;
    font-size: 34px;
}

.imm-youtube {
    color: #080B12 !important;
}

.imm-youtube svg {
    fill: currentColor;
}

.imm-youtube .imm-social-play {
    fill: #FFFFFF;
}

.imm-whatsapp {
    color: #16C96A !important;
}

.imm-whatsapp svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.imm-instagram {
    color: #F43C88 !important;
}

.imm-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.imm-telegram {
    color: #31B5E8 !important;
}

.imm-telegram svg {
    fill: currentColor;
}

.imm-telegram svg path:last-child {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 1;
}


/* =========================================
   COPYRIGHT
========================================= */

.imm-footer-copyright {
    min-height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 24px;

    border-top: 1px solid rgba(255, 255, 255, .09);
    background: var(--imm-footer-bg-deep);

    text-align: center;
}

.imm-footer-copyright p {
    margin: 0;

    color: var(--imm-footer-text);
    font-size: 16px;
    line-height: 1.9;
}

.imm-footer-copyright a {
    color: var(--imm-footer-heading);
    font-weight: 800;
}


/* =========================================
   RESPONSIVE — LAPTOP
========================================= */

@media (max-width: 1200px) {

    .imm-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 35px;
    }

    .imm-newsletter {
        gap: 24px;
        padding: 30px;
    }

    .imm-newsletter-info {
        gap: 16px;
    }

    .imm-newsletter-icon {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
        border-radius: 20px;
    }

    .imm-newsletter-copy h2 {
        font-size: 20px;
    }

    .imm-newsletter-copy p {
        font-size: 14px;
    }

    .imm-footer-panel {
        padding: 20px;
        gap: 15px;
    }

    .imm-footer-panel h3 {
        font-size: 16px;
    }

}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 900px) {

    .imm-footer {
        margin-top: 90px;
    }

    .imm-footer-container {
        width: calc(100% - 36px);
    }

    .imm-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;

        margin-top: -70px;
        margin-bottom: 45px;

        padding: 28px;
    }

    .imm-newsletter-info {
        flex: 1 1 auto;
    }

    .imm-newsletter-form {
        flex: 1 1 auto;
        width: 100%;
    }

    .imm-footer-main {
        gap: 36px 26px;
        padding-bottom: 45px;
    }

    .imm-footer-bottom-panels {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .imm-footer-panel {
        min-height: 145px;
    }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 600px) {

    .imm-footer {
        margin-top: 75px;
        font-size: 14px;
    }

    .imm-footer-container {
        width: calc(100% - 28px);
    }

    .imm-newsletter {
        margin-top: -55px;
        margin-bottom: 36px;

        gap: 20px;
        padding: 23px 18px;

        border-radius: 18px;
    }

    .imm-newsletter-info {
        align-items: flex-start;
        gap: 13px;
    }

    .imm-newsletter-icon {
        width: 53px;
        height: 53px;
        flex-basis: 53px;
        border-radius: 15px;
    }

    .imm-newsletter-icon svg {
        width: 28px;
        height: 28px;
    }

    .imm-newsletter-copy h2 {
        margin-bottom: 5px;
        font-size: 17px;
    }

    .imm-newsletter-copy p {
        font-size: 12px;
        line-height: 1.9;
    }

    .imm-newsletter-form input[type="email"] {
        height: 45px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .imm-newsletter-form button {
        min-width: 88px;
        min-height: 45px;
        padding-inline: 12px;
        gap: 6px;
        font-size: 13px;
    }

    .imm-newsletter-form button svg {
        width: 16px;
        height: 16px;
    }

    .imm-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }

    .imm-footer-main h3 {
        margin-bottom: 14px;
        font-size: 17px;
    }

    .imm-footer-brand-logo img {
        width: 155px;
    }

    .imm-footer-brand p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .imm-footer-column ul,
    .imm-footer-contact ul {
        gap: 9px;
    }

    .imm-footer-column li a {
        font-size: 14px;
    }

    .imm-footer-contact li {
        font-size: 13px;
        gap: 9px;
    }

    .imm-footer-bottom-panels {
        gap: 14px;
        padding-bottom: 18px;
    }

    .imm-footer-panel {
        min-height: auto;

        flex-direction: column;
        align-items: stretch;
        gap: 20px;

        padding: 22px 16px;

        border-radius: 18px;
    }

    .imm-footer-panel h3 {
        text-align: center;
        font-size: 16px;
    }

    .imm-license-items {
        gap: 10px;
    }

    .imm-license-item img {
        width: 55px;
        height: 55px;
    }

    .imm-license-item {
        font-size: 11px;
    }

    .imm-social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 17px;
    }

    .imm-footer-copyright {
        min-height: 75px;
        padding: 18px 14px;
    }

    .imm-footer-copyright p {
        font-size: 12px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .imm-newsletter {
        padding-inline: 13px;
    }

    .imm-newsletter-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .imm-newsletter-copy h2 {
        font-size: 15px;
    }

    .imm-newsletter-copy p {
        font-size: 11px;
    }

    .imm-license-items {
        gap: 6px;
    }

    .imm-license-item img {
        width: 45px;
        height: 45px;
    }

}


/***********************      شروع شبکه اجتماعی شناور     ********************************/
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.image-social{
    padding-left: 7px;
}
.social-menu {
    position: fixed;
    bottom: 100px;
    right: 30px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.social-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bale {
    background: linear-gradient(135deg, #f09433, #e1306c, #833ab4);
}

.telegrami {
    background:#1d87bb;
}

.whatsapp {
    background: #25D366;
}

.social-icon{
    width: 32px;
    height: 32px;
    display: block;
}

.social-item i{
    font-size: 32px;
}
@media (max-width: 768px) {
    .social-menu {
        right: 33px;
        bottom: 90px;
        gap: 8px;
margin-bottom: 5px;
    }
    
    .social-item {
        width: 55px !important;
        height: 55px !important;
    }
    
   .image-social {
        width: 36px !important;
        height: 30px !important;
        padding-left: 7px !important;
        flex-shrink: 0 !important;
    }
    
  
}
overflow-x{
display:hidden;
}


/***********************  پایان  شبکه اجتماعی شناور    ********************************/

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 12px;
        left: 12px;
        right: 12px;

        height: 70px;
        background: #fff;
        border-radius: 22px;

        box-shadow: 0 3px 25px rgba(0,0,0,.12);

        justify-content: space-around;
        align-items: center;

        z-index: 999999;
        direction: rtl;
    }

    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        text-decoration: none !important;
        color: #777;
        font-size: 11px;
        font-weight: 500;
    }

    .mobile-nav-icon {
        font-size: 23px;
        line-height: 1;
    }

    .mobile-nav-item.active {
        color: #2563eb;
    }

    body {
        padding-bottom: 100px !important;
    }
}

/* Bottom Navigation */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-bottom-nav {
        display: flex !important;

        position: fixed;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;

        height: 68px;
        padding: 4px;

        background: #fff;
        border-radius: 22px;

        box-shadow: 0 4px 25px rgba(0,0,0,.12);

        justify-content: space-around;
        align-items: center;

        direction: rtl;
        z-index: 9997;
    }

    .mobile-bottom-nav .mobile-nav-item {
        flex: 1;
        height: 100%;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 5px;

        border: none;
        background: transparent;
        padding: 0;

        color: #777;
        text-decoration: none !important;

        font-family: inherit;
        font-size: 11px;
        font-weight: 500;

        cursor: pointer;
        line-height: 1.3;
    }

    .mobile-bottom-nav .nav-icon {
        font-size: 23px;
        font-style: normal;
        line-height: 1;
    }

    .mobile-bottom-nav .mobile-menu-btn {
        border-radius: 0;
    }

    .mobile-bottom-nav .mobile-nav-item:active {
        color: var(--primary);
    }

    body {
        padding-bottom: 100px !important;
    }

}

@media (max-width: 768px) {

    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;
        height: 68px;
        padding: 4px;
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 4px 25px rgba(0,0,0,.12);
        justify-content: space-around;
        align-items: center;
        direction: rtl;
        z-index: 9997;
    }

    .mobile-bottom-nav .mobile-nav-item {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #777;
        font-family: inherit;
        font-size: 11px;
        text-decoration: none !important;
        cursor: pointer;
    }

    .mobile-bottom-nav .mobile-menu-btn {
        background: transparent !important;
        color: #777 !important;
        padding: 0 !important;
        border: none !important;
    }

    .mobile-bottom-nav .mobile-nav-item .nav-icon,
    .mobile-bottom-nav .mobile-menu-btn i {
        font-size: 23px;
        font-style: normal;
        line-height: 1;
        padding: 0;
        background: transparent;
        color: inherit;
    }

    .mobile-bottom-nav .mobile-nav-item.active {
        color: var(--primary);
    }

    /* مخفی کردن دکمه منوی قدیمی در هدر */
    .mobile-header .mobile-menu-btn {
        display: none !important;
    }

    body {
        padding-bottom: 100px !important;
    }
}

@media (max-width: 768px) {

    .mobile-bottom-nav .nav-icon {
        width: 23px;
        height: 23px;
        display: block;
        flex-shrink: 0;
        color: currentColor;
        transition: transform .2s ease;
    }

    .mobile-bottom-nav .mobile-nav-item {
        color: #777;
        transition: color .2s ease;
    }

    .mobile-bottom-nav .mobile-nav-item.active {
        color: var(--primary);
    }

    .mobile-bottom-nav .mobile-nav-item.active .nav-icon {
        transform: translateY(-2px);
    }

    .mobile-bottom-nav .mobile-menu-btn {
        color: #777 !important;
    }

    .mobile-bottom-nav .mobile-menu-btn .nav-icon {
        stroke: currentColor;
    }

    .mobile-bottom-nav .mobile-nav-item span {
        font-size: 11px;
        font-weight: 500;
    }
}
