/* ========================================
   MODERN FLOATING HEADER & FOOTER CSS
   File: css/simple-header-footer.css
   ======================================== */


.simple-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 12px 24px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.simple-nav.scrolled {
    top: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1d26;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: none;
    color: #1a1d26;
}

.nav-logo img {
    height: 36px;
    width: auto;
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    text-decoration: none;
    color: #3e5f8a;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: #4f6ef7;
    background: rgba(79, 110, 247, 0.08);
}

.nav-menu .nav-cta {
    background: linear-gradient(135deg, #4f6ef7 0%, #7c5cff 100%);
    color: white !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 110, 247, 0.35);
    background: linear-gradient(135deg, #5a7af8 0%, #8a6bff 100%);
}


.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #1a1d26;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.mobile-nav {
    position: fixed;
    top: 80px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 4px;
}

.mobile-nav ul li a {
    display: block;
    text-decoration: none;
    color: #1a1d26;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: #4f6ef7;
    background: rgba(79, 110, 247, 0.08);
}

.mobile-nav .mobile-cta {
    background: linear-gradient(135deg, #4f6ef7 0%, #7c5cff 100%);
    color: white !important;
    text-align: center;
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(79, 110, 247, 0.25);
}

.mobile-nav .mobile-cta:hover {
    background: linear-gradient(135deg, #5a7af8 0%, #8a6bff 100%);
}


.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}


.simple-footer {
    background: linear-gradient(180deg, #1a1d26 0%, #12141a 100%);
    color: #a0aec0;
    padding: 64px 0 0;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}


.simple-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(79, 110, 247, 0.5) 50%, 
        transparent 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
}


.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 20px 0;
    color: #8892a6;
}


.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #8892a6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(79, 110, 247, 0.12);
    color: #4f6ef7;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}


.footer-col h4 {
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
}

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

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

.footer-col ul li a {
    color: #8892a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    color: #4f6ef7;
    flex-shrink: 0;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #5a6070;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #5a6070;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}


@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .simple-nav {
        top: 10px;
        width: calc(100% - 80px);
        max-width: none;
        padding: 10px 16px;
        border-radius: 14px;
        left: 50%;
        transform: translateX(-50%);
        
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(14px) saturate(180%);
        -webkit-backdrop-filter: blur(14px) saturate(180%);
    }

    .nav-container {
        gap: 16px;
        justify-content: space-between;
    }

    .nav-logo {
        font-size: 1rem;
        gap: 10px;
    }

    .nav-logo img {
        height: 30px;
    }

    .nav-toggle {
        padding: 8px;
        gap: 5px;
        margin-left: 0;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-nav {
    top: 65px;
    left: 40px;
    right: 40px;
    border-radius: 14px;
        
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }

    .mobile-nav ul {
        padding: 14px;
    }

    .mobile-nav ul li a {
        font-size: 1rem;
        padding: 12px 14px;
        border-radius: 10px;
    }

    
    .simple-footer {
        padding: 48px 0 0;
        margin-top: 80px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px 32px;
    }

    
    .footer-brand {
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .footer-social {
        justify-content: center;
    }

    
   .footer-col:first-of-type {
    text-align: center;
}

.footer-col:first-of-type ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col:first-of-type ul li {
    margin-bottom: 10px;
    text-align: center;
}

.footer-col:first-of-type ul li a {
    display: block !important;
    text-align: center !important;
    gap: 0 !important;
}

.footer-col:first-of-type ul li a:hover {
    transform: none;
    color: #4f6ef7;
}

    
.footer-col:nth-of-type(2) {
    text-align: center;
}

.footer-col h4 {
    text-align: center !important;
    display: block !important;
}

.footer-contact {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 100%;
}

.footer-contact li {
    margin-bottom: 0;
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}
    
    .footer-contact li a {
        font-size: 0.85rem;
    }
    
    .footer-contact li svg {
        width: 16px;
        height: 16px;
    }

    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 20px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
    
    .footer-legal a,
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .simple-nav {
        width: calc(100% - 48px);
        padding: 9px 14px;
    }

    .nav-logo {
        font-size: 0.95rem;
        gap: 8px;
    }

    .nav-logo img {
        height: 28px;
    }

    .nav-container {
        gap: 12px;
    }

    .mobile-nav {
        left: 24px;
        right: 24px;
    }

    .footer-container {
        padding: 0 16px 24px;
        gap: 28px;
    }
    
    .footer-brand {
        max-width: 260px;
    }
    
    






@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


html {
    scroll-behavior: smooth;
}
