﻿.modern-footer {
    background-color: #061b3c;
    color: #ffffff;
    padding: clamp(40px, 5vh, 72px) 5% clamp(18px, 2.5vh, 28px) 5%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(18px, 2.5vh, 32px);
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    gap: 28px;
}

.footer-vision h2 {
    font-family: 'Avenir Next Arabic', sans-serif;
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 500;
    margin: 0 0 12px 0;
    letter-spacing: -2px;
    line-height: 0.95;
}

.footer-copy-divider {
    width: min(100%, 1120px);
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 0 0 18px;
}

.footer-vision p {
    font-family: 'Avenir Next Arabic', sans-serif;
    font-size: 15px;
    line-height: 1.45;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.magnetic-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.footer-circle-btn {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background-color: #061b3c;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-circle-btn:hover {
    background-color: #fff;
    color: #061b3c;
    border-color: #061b3c;
}

.footer-links-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    padding: clamp(28px, 4vh, 42px) 0 0;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin: 0 0 18px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col li:last-child {
    margin-bottom: 0;
}

.footer-col a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.footer-col a i {
    font-size: 10px;
    transform: rotate(-45deg);
    opacity: 0.5;
}

.footer-col a:hover {
    color: var(--accent-color, #b5d7e9);
}

.hq-info {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 8px;
}

.hq-location {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}

.copyright-text {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.footer-bottom-giant {
    width: 100%;
    text-align: center;
    margin-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.giant-footer-text {
    font-family: 'Avenir Next Arabic', sans-serif;
    font-weight: 700;
    font-size: min(8vw, 112px);
    line-height: 0.82;
    margin: 0;
    color: #ffffff;
    opacity: 0.07;
    white-space: nowrap;
    letter-spacing: 0.03em;
    user-select: none;
    display: flex;
    justify-content: center;
}

.giant-footer-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    will-change: transform, opacity;
}

@media (max-width: 900px) {
    .modern-footer {
        gap: 22px;
    }

    .footer-links-row {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        height: auto;
        min-height: auto;
        max-height: none;
        overflow: visible;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-circle-btn {
        width: 120px;
        height: 120px;
    }

    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px 0;
    }

    .giant-footer-text {
        font-size: 14vw;
    }
}


