/* Footer Main Container */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    gap: 0.8rem;
    background: #1a1a2e;
}

/* Left side - Social Icons Container */
.footer-left {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
    flex-shrink: 0;
}

/* Social Icon Links */
.f-social-icon {
    width: clamp(40px, 3vw, 44px);
    height: clamp(40px, 3vw, 44px);
    border: 1.5px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
}

.f-social-icon:hover {
    background: #e0e0e0;
    color: #1a1a2e;
}

.f-social-icon svg {
    width: clamp(18px, 1.2vw, 21px);
    height: clamp(18px, 1.2vw, 21px);
}

/* Right side - Legal Links Container */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(0.2rem, 0.4vh, 0.35rem);
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
    max-width: 60%;
}

/* Footer Links Wrapper */
.footer-links-normal {
    display: flex;
    align-items: center;
    gap: clamp(0.3rem, 0.6vw, 0.5rem);
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Footer Link Anchors */
.footer-links-normal {
    color:  #e0e0e0;
    text-decoration: none;
    font-size: clamp(0.68rem, 0.85vw, 0.85rem);
    transition: color 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.footer-links-normal:hover {
    color: #2181ff;
    text-decoration: underline;
}

/* Footer Separator */
.footer-separator {
    color: #999;
    font-size: clamp(0.68rem, 0.85vw, 0.85rem);
    line-height: 1.2;
}

/* Footer Copyright */
.footer-copyright-normal {
    color:  #ffffff;
    font-size: clamp(0.64rem, 0.8vw, 0.8rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.2;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Screens (2K, 4K monitors) - 1920px and above */
@media (min-width: 1920px) {
    .footer {
        padding: 1.5rem 5rem;
        gap: 1.2rem;
    }

    .footer-left {
        gap: 1.5rem;
    }

    .f-social-icon {
        width: 48px;
        height: 48px;
    }

    .f-social-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-link-normal {
        font-size: 0.95rem;
    }

    .footer-separator {
        font-size: 0.95rem;
    }

    .footer-copyright-normal {
        font-size: 0.9rem;
    }
}

/* Standard Desktop (Full HD) - 1440px to 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .footer {
        padding: 1.2rem 4rem;
    }

    .footer-left {
        gap: 1.2rem;
    }

    .f-social-icon {
        width: 44px;
        height: 44px;
    }

    .f-social-icon svg {
        width: 21px;
        height: 21px;
    }
}

/* Laptop Half Screen / Small Desktop - 1024px to 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    .footer {
        padding: 1rem 2.5rem;
        gap: 1rem;
    }

    .footer-left {
        gap: 1rem;
    }

    .f-social-icon {
        width: 42px;
        height: 42px;
    }

    .f-social-icon svg {
        width: 20px;
        height: 20px;
    }

    .footer-right {
        max-width: 55%;
    }
}

/* Tablet (Portrait & Landscape) - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer {
        padding: 1rem 2rem;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-left {
        gap: 0.9rem;
    }

    .f-social-icon {
        width: 40px;
        height: 40px;
    }

    .f-social-icon svg {
        width: 19px;
        height: 19px;
    }

    .footer-right {
        max-width: 50%;
        gap: 0.3rem;
    }

    .footer-link-normal {
        font-size: 0.75rem;
    }

    .footer-separator {
        font-size: 0.75rem;
    }

    .footer-copyright-normal {
        font-size: 0.7rem;
    }
}

/* Standard Phones - 481px to 767px */
@media (min-width: 481px) and (max-width: 767px) {
    .footer {
        flex-direction: column;
        padding: 1.2rem 1.5rem;
        gap: 1.2rem;
        text-align: center;
    }

    .footer-left {
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .f-social-icon {
        width: 44px;
        height: 44px;
    }

    .f-social-icon svg {
        width: 20px;
        height: 20px;
    }

    .footer-right {
        align-items: center;
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        gap: 0.5rem;
    }

    .footer-links-normal {
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-link-normal {
        font-size: 0.8rem;
        white-space: normal;
    }

    .footer-separator {
        font-size: 0.8rem;
    }

    .footer-copyright-normal {
        font-size: 0.75rem;
    }
}

/* Small Phones - 320px to 480px */
@media (max-width: 480px) {
    .footer {
        flex-direction: column;
        padding: 1rem 1rem;
        gap: 1rem;
        text-align: center;
    }

    .footer-left {
        gap: 0.8rem;
        justify-content: center;
        width: 100%;
    }

    .f-social-icon {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }

    .f-social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-right {
        align-items: center;
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        gap: 0.4rem;
    }

    .footer-links-normal {
        justify-content: center;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .footer-link-normal {
        font-size: 0.75rem;
        white-space: normal;
    }

    .footer-separator {
        font-size: 0.75rem;
    }

    .footer-copyright-normal {
        font-size: 0.7rem;
        white-space: normal;
    }
}

/* Extra Small Phones - Below 320px */
@media (max-width: 319px) {
    .footer {
        padding: 0.8rem 0.8rem;
        gap: 0.8rem;
    }

    .footer-left {
        gap: 0.6rem;
    }

    .f-social-icon {
        width: 36px;
        height: 36px;
    }

    .f-social-icon svg {
        width: 16px;
        height: 16px;
    }

    .footer-link-normal {
        font-size: 0.7rem;
    }

    .footer-separator {
        font-size: 0.7rem;
    }

    .footer-copyright-normal {
        font-size: 0.65rem;
    }
}