:root {
    --gradient-start: rgb(65, 83, 139);
    --gradient-middle: rgb(86, 109, 181);
    --gradient-end: rgb(170, 179, 206);
    --white: rgb(255, 255, 255);
    --light-grey: rgb(239, 243, 246);
}

.header {
    position: relative;
    width: 100%;
    height: 28.125rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50.07%, var(--gradient-end) 100%);
    overflow: hidden;
}

.container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.625rem;
}

.logo-container {
    display: flex;
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

.main-nav {
    margin-right: 0.5rem;
}

.main-nav ul {
    display: flex;
    gap: 1.875rem;
}

.nav-item {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    color: var(--white);
    position: relative;
    font-weight: 400;
}

.nav-item.active {
    font-weight: 700;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -0.5625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.375rem;
    height: 0.0625rem;
    background-color: var(--white);
}

.nav-item:not(.active) {
    color: var(--light-grey);
    font-weight: 400;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1.125rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 0.125rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    padding-top: 4.375rem;
    max-width: 36.1875rem;
    position: absolute;
    top: 8.125rem;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.375rem;
    line-height: 1.2;
}

.hero-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.5;
    max-width: 36.1875rem;
}

.hero-image {
    position: absolute;
    top: 6.5rem;
    right: 0;
    width: 41.75625rem;
    height: 21.625rem;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 767px) {
    .header {
        height: 18rem;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: 1.5rem;
        position: relative;
        z-index: 10;
    }
    
    .header-top {
        justify-content: space-between;
        padding: 1.5rem 0 0;
        position: relative;
        z-index: 10;
    }
    
    .logo-container {
        max-width: 65%;
    }
    
    .logo-container img {
        max-width: 75%;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content {
        padding-top: 0;
        top: 6rem;
        max-width: 100%;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--gradient-start);
        z-index: 9;
        transition: right 0.3s ease;
        padding-top: 5rem;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .header {
        height: 16rem;
    }
    
    .hero-content {
        top: 5.5rem;
    }
}

@media screen and (max-width: 375px) {
    .header {
        height: 15rem;
    }
    
    .hero-content {
        top: 5rem;
    }
} 