/* ================================
   NAVIGATION & FOOTER SHARED STYLES
   Used across all pages for consistency
   ================================ */

/* NAVIGATION BAR */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #14171a;
    padding: 15px 0;
    z-index: 1000;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Menu Dropdown */
.menu-dropdown {
    position: relative;
}

.menu-btn {
    background: transparent;
    border: 2px solid rgba(29, 209, 161, 0.3);
    color: #e6f4ef;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-btn::after {
    content: '▾';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.menu-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(29, 209, 161, 0.6);
    background: rgba(29, 209, 161, 0.05);
    box-shadow: 0 4px 12px rgba(29, 209, 161, 0.15);
}

.menu-btn.active::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #14171a;
    border: 1px solid rgba(29, 209, 161, 0.2);
    border-radius: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(29, 209, 161, 0.1);
    padding: 8px 0;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #e6f4ef;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(29, 209, 161, 0.08);
    border-left-color: #1dd1a1;
    color: #1dd1a1;
    padding-left: 24px;
}

/* Get Started Button */
.cta-btn-nav {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #0b1a14;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(29, 209, 161, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.cta-btn-nav:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(29, 209, 161, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e6f4ef;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* FOOTER */
.footer {
    background: #14171a;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(29, 209, 161, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #1dd1a1;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-brand p {
    color: #e6f4ef;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-col h4 {
    color: #e6f4ef;
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: #e6f4ef;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 8px;
}

.footer-col a:hover {
    opacity: 1;
    color: #1dd1a1;
    border-left-color: #1dd1a1;
    padding-left: 12px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #e6f4ef;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #14171a;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-dropdown {
        width: 100%;
    }

    .menu-btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(29, 209, 161, 0.1);
        border-radius: 0;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu.active {
        max-height: 400px;
    }

    .cta-btn-nav {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .logo-img {
        height: 35px;
    }

    /* Compact Mobile Footer */
    .footer {
        padding: 30px 20px 20px;
    }

    .footer-content {
        display: block;
        margin-bottom: 0;
    }

    /* Hide all footer columns except Services on mobile */
    .footer-col {
        display: none;
    }

    /* Show only the Services column with collapsible menu */
    .footer-col.footer-services {
        display: block;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .footer-col.footer-services h4 {
        cursor: pointer;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        font-size: 0.85rem;
        font-weight: 400;
        opacity: 0.6;
        border: none;
    }

    .footer-col.footer-services h4::after {
        content: '▾';
        font-size: 0.75rem;
        transition: transform 0.3s ease;
        color: #1dd1a1;
    }

    .footer-col.footer-services h4.active::after {
        transform: rotate(180deg);
    }

    .footer-services-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-top: 0;
    }

    .footer-services-menu.active {
        max-height: 300px;
        padding-top: 8px;
    }

    .footer-services-menu a {
        font-size: 0.85rem;
        padding: 6px 0;
        display: block;
    }

    .footer-brand {
        margin-bottom: 12px;
    }

    .footer-brand h3 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .footer-brand p {
        display: none;
    }

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

    .footer-bottom p {
        margin-bottom: 6px;
        line-height: 1.5;
    }
}
