/* Header */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Ensure z-index context */
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    /* Allow wrapping for mobile menu */
}

.logo img {
    height: 60px;
}

/* Mobile Menu Button - Hidden by default */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navbar Modernization */
.top-nav {
    display: flex;
    align-items: center;
}

.top-nav a {
    text-decoration: none;
    color: #4B5563;
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s ease;
}

.top-nav a:hover {
    color: var(--primary-blue);
}

.top-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--tech-blue);
    transition: width 0.3s ease;
}

.top-nav a:hover::after {
    width: 100%;
}

/* Social Icons */
/* Social Icons */
/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border initially */
    background: transparent;
    /* Clean background */
}

.social-icon:hover {
    transform: translateY(-2px);
    color: #fff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Brand Specific Neon Styles */

/* Facebook */
/* Facebook */
.social-icon.fb {
    background: #1877f2;
    border-color: transparent;
    box-shadow: 0 0 5px rgba(24, 119, 242, 0.3);
}

.social-icon.fb svg {
    fill: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.social-icon.fb:hover {
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.8) !important;
    transform: translateY(-2px) scale(1.1);
}

/* Instagram */
.social-icon.insta {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 0 5px rgba(214, 36, 159, 0.3);
}

.social-icon.insta svg {
    fill: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.social-icon.insta:hover {
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.8) !important;
    transform: translateY(-2px) scale(1.1);
}

/* WhatsApp */
.social-icon.whatsapp {
    background: #25d366;
    border-color: transparent;
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
}

.social-icon.whatsapp svg {
    fill: #fff;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.social-icon.whatsapp:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.8) !important;
    transform: translateY(-2px) scale(1.1);
}


@media (max-width: 900px) {
    /* Header */
    /* Header Inner */
    .header-inner {
        position: relative;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        padding: 0 20px;
    }

    /* Reduce Logo Size */
    .logo img {
        height: 35px;
        /* Smaller logo for mobile */
        width: auto;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }

    .social-icons {
        display: flex;
        /* Show in mobile menu */
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
        flex-direction: row;
        gap: 15px;
    }

    .social-icons a {
        width: 35px !important;
        /* Override top-nav a 90% width */
        margin: 0 !important;
        /* Override top-nav a margin */
        border-bottom: none !important;
        /* Override top-nav a border */
        padding-bottom: 0 !important;
        display: flex !important;
    }

    .top-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        text-align: center;
        z-index: 1001;
        border-top: 1px solid #f0f0f0;
    }

    .top-nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .top-nav a {
        margin: 15px 0;
        display: block;
        font-size: 1.2rem;
        border-bottom: 1px solid #f9f9f9;
        padding-bottom: 15px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}
