/* ============================================================
   3. NAVIGATION HEADER
   ============================================================ */
.sc-header {
    background: var(--sc-header-bg);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sc-border);
}

.sc-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sc-logo-img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.sc-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.sc-nav-links a {
    text-decoration: none;
    color: var(--sc-text-main);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sc-nav-links a:hover {
    color: var(--sc-primary);
}

.sc-nav-icon {
    font-size: 12px;
    transition: 0.3s;
}

/* ============================================================
   4. SERVICES MEGA MENU (DESKTOP)
   ============================================================ */
.sc-dropdown-item {
    position: static;
}

.sc-mega-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--sc-white);
    border-bottom: 1px solid var(--sc-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    padding: 40px 0;
}

.sc-dropdown-item:hover .sc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sc-dropdown-item:hover .sc-nav-icon {
    transform: rotate(180deg);
}

.sc-mega-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.sc-mega-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sc-mega-card {
    background: var(--sc-bg-light);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    border: 1px solid transparent;
}

.sc-mega-card:hover {
    border-color: var(--sc-primary);
    background: var(--sc-white);
    box-shadow: var(--sc-shadow);
}

.sc-mega-icon {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.color-it { background: #f0f7ff; color: #8e44ad; }
.color-digital { background: #fff0f0; color: #e74c3c; }
.color-web { background: #f0fff4; color: #2ecc71; }

.sc-mega-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--sc-text-muted);
}

.sc-mega-info h4 {
    font-size: 16px;
    color: var(--sc-text-main);
    margin-top: 2px;
}

.sc-mega-title {
    font-size: 22px;
    color: var(--sc-text-main);
    margin-bottom: 25px;
    font-weight: 700;
}

.sc-mega-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
    list-style: none;
}

.sc-mega-list a {
    font-size: 14px;
    color: var(--sc-text-muted);
    font-weight: 400;
    transition: 0.2s;
    padding: 5px 0;
}

.sc-mega-list a:hover {
    color: var(--sc-primary);
    padding-left: 5px;
}

.sc-view-all {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b0235f;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

/* ============================================================
   5. PACKAGES MEGA MENU
   ============================================================ */
.sc-packages-mega .sc-mega-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.sc-mega-column { padding: 10px; }

.sc-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--sc-bg-light);
    padding-bottom: 15px;
}

.sc-column-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sc-text-main);
}

.sc-column-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
}

.color-1 { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.color-2 { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
.color-3 { background: linear-gradient(135deg, #00b09b, #96c93d); }
.color-4 { background: linear-gradient(135deg, #f2994a, #f2c94c); }

.sc-column-list { list-style: none; }
.sc-column-list li { margin-bottom: 12px; }

.sc-column-list a {
    color: var(--sc-text-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: 0.3s;
}

.sc-column-list a:hover {
    color: var(--sc-primary) !important;
    padding-left: 5px;
}

/* ============================================================
   6. UI ACTIONS & TOGGLES
   ============================================================ */
.sc-nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sc-theme-toggle {
    cursor: pointer;
    font-size: 20px;
    color: var(--sc-text-main);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sc-bg-light);
}

.sc-btn-whatsapp {
    background: var(--sc-whatsapp-color);
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.sc-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--sc-text-main);
}

/* ============================================================
   7. RESPONSIVE MENU (MOBILE VIEW)
   ============================================================ */
@media (max-width: 992px) {
    .sc-menu-toggle { display: block; }
    
    .sc-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--sc-header-bg);
        padding: 0;
        border-bottom: 1px solid var(--sc-border);
        align-items: flex-start;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    .sc-nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--sc-border);
    }

    .sc-nav-links > li > a {
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .sc-mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        padding: 0 20px 20px;
        background: var(--sc-bg-light);
    }

    .sc-dropdown-item.open .sc-mega-menu { display: block; }

    .sc-mega-container { grid-template-columns: 1fr; gap: 30px; }
    .sc-mega-list { grid-template-columns: 1fr; }
    .sc-packages-mega .sc-mega-container { grid-template-columns: 1fr; }

    .sc-dropdown-item.open .sc-nav-icon { transform: rotate(180deg); }
}

@media (max-width: 768px) {
    .sc-btn-whatsapp span { display: none; }
    .sc-logo-img { height: 35px; }
}