:root {
    --accent-purple: #A020F0;
    --nav-height: 90px;
}

/* Base Nav */
.agile-nav {
    height: var(--nav-height);
    background: #ffffff;
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    border-bottom: 1px solid #f0f0f0;
    display: flex; align-items: center;
    transition: 0.3s ease;
}

.nav-container {
    width: 90%; max-width: 1400px;
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo img { height: 40px; }

/* Desktop Links */
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-item {
    text-decoration: none; color: #333; font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; gap: 8px; white-space: nowrap; transition: 0.3s;
}
.nav-arrow { font-size: 0.7rem; transition: 0.4s ease; }

/* Dropdown Hovers */
.dropdown-standard:hover .nav-item, .dropdown-mega:hover .nav-item { color: var(--accent-purple); }
.dropdown-standard:hover .nav-arrow, .dropdown-mega:hover .nav-arrow { transform: rotate(180deg); color: var(--accent-purple); }

/* STANDARD DROPDOWN (What we are / Resources) */
.dropdown-standard { position: relative; }
.std-menu {
    position: absolute; top: 100%; left: 0;
    background: #fff; min-width: 220px; list-style: none;
    padding: 15px 0; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-purple);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: 0.3s;
}
.dropdown-standard:hover .std-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.std-menu li a { 
    display: block; padding: 12px 25px; color: #555; text-decoration: none; 
    font-size: 0.85rem; transition: 0.3s; 
}
.std-menu li a:hover { background: #f9f9f9; color: var(--accent-purple); padding-left: 30px; }

/* MEGA MENU (Services) */
.dropdown-mega { position: static; }
.mega-panel {
    position: absolute; top: var(--nav-height); left: 0; width: 100%;
    background: #fff; border-top: 1px solid #f0f0f0; padding: 50px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: 0.3s;
}
.dropdown-mega:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-grid { width: 90%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 50px; }
.mega-title { font-size: 1rem; color: #000; margin-bottom: 25px; }
.mega-list { list-style: none; }
.mega-list li { margin-bottom: 15px; position: relative; padding-left: 25px; }

/* Bullet Connectors from Reference */
.mega-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: #ddd; }
.mega-list li::after { content: ''; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; border: 1px solid #ddd; border-radius: 50%; transform: translateY(-50%); }
.mega-list a { text-decoration: none; color: #666; font-size: 0.85rem; transition: 0.3s; }
.mega-list a:hover { color: var(--accent-purple); padding-left: 5px; }

.promo-box { background: #f9f9f9; padding: 25px; border-radius: 8px; }
.promo-link { display: inline-block; margin-top: 15px; font-weight: bold; color: #000; text-decoration: none; border-bottom: 2px solid var(--accent-purple); }
.expert-text { margin-top: 20px; font-size: 0.8rem; color: #999; line-height: 1.4; }

/* CTA Button */
.btn-get-started {
    background: #000; color: #fff; padding: 12px 25px; border-radius: 50px;
    text-decoration: none; font-size: 0.85rem; font-weight: bold; display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-get-started:hover { background: var(--accent-purple); box-shadow: 0 10px 20px rgba(160,32,240,0.2); }

/* MOBILE LOGIC */
.hamb-trigger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamb-trigger span { width: 25px; height: 2px; background: #000; transition: 0.3s; }

.mobile-drawer { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: #fff; z-index: 10001; transition: 0.4s; padding: 40px; }
.mobile-drawer.active { right: 0; }
.drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; display: none; }
.drawer-overlay.active { display: block; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.close-btn { font-size: 2rem; cursor: pointer; }
.mobile-list { list-style: none; }
.mobile-list li { margin-bottom: 20px; }
.mobile-list a { text-decoration: none; color: #000; font-size: 1.1rem; font-weight: 600; }

@media (max-width: 1024px) {
    .nav-menu-wrapper, .btn-get-started { display: none !important; }
    .hamb-trigger { display: flex !important; }
}

body { padding-top: var(--nav-height); }
.mobile-dropdown-item {
    border-bottom: 1px solid #f0f0f0;
}

.m-drop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-family: 'Audiowide';
    font-size: 1.1rem;
    cursor: pointer;
    color: #000;
}

.m-drop-header i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.m-drop-content {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.m-drop-content.active {
    max-height: 500px; /* Big enough to show all services */
    padding-bottom: 20px;
}

.m-sub-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin: 15px 0 10px 10px;
}

.m-drop-content li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: block;
}

/* Rotate icon when active */
.m-drop-header.active i {
    transform: rotate(45deg);
    color: var(--accent-purple);
}