/* HEADER */

.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo a {
    display: flex;              /* THIS fixes your issue */
    align-items: center;        /* vertically center */
    gap: 8px;                   /* space between logo and text */
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.company-text {
    color: var(--primary);   /* Vieva color */
    line-height: 1;
    white-space: nowrap;
}

.accent-text {
    color: var(--accent);    /* InTech color */
}


.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text);
    transition: 0.3s;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


.nav a:hover,
.nav a.active {
    color: var(--accent);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 900;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

/* Animate to X */
.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(6px, -6px);
}


/* FOOTER */

.footer {
    background: var(--primary);
    color: #ffffff;
    margin-top: 4rem;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0.3rem;
    align-items: start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer p {
    color: #cbd5e1;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #cbd5e1;
    transition: 0.3s ease;
}

.footer ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 0.5rem;
    background: #0b1220;
    font-size: 0.7rem;
    color: #94a3b8;
}

/* SOCIAL MEDIA ICONS */

.social-icons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}




/* RESPONSIVE */

@media (max-width: 768px) {

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
        transition: 0.4s ease;
        padding-top: 5rem;
        display: flex;
        flex-direction: column;
        border-radius: 20px 0 0 0px;
        overflow: hidden;
    }

    .nav ul {
        flex-direction: column;
        gap: 2rem;
        padding-left: 2rem;
    }

    .nav.active {
        right: 0;
    }

        .logo img {
        height: 32px;
    }

    .logo a {
        font-size: 1.2rem;
    }


    .hamburger {
        display: flex;
        margin-right: 1rem;
    }

    .footer-wrapper {
    padding: 1rem 0.3rem;
    gap: 0rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    font-size: 13px;
}
.footer-bottom {
    padding: 0.4rem;
    font-size: 0.5rem;
}



}

