html, body {
    margin: 0;
    padding: 0;
    gap: 0;
    font-family: "Space Grotesk", sans-serif;
    background: #f5f5f5;
    overflow-x: hidden;
}

header {
    padding: 20px;
}

.main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 85px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    border: none;
    border-radius: 0 0 10px 10px;
    backdrop-filter: blur(12px); /* frosted glass */
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.15); /* semi-transparent glass */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 98px;
}

.logo span {
    font-size: 1.7rem;
    font-weight: 800;
    color: #35807e;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: 10px;
}

.nav-links a {
    display: flex;
    flex-direction: row;
    font-size: 1.15rem;
    text-decoration: none;
    color: #35807e;
    font-weight: 550;
    transition: all 0.3s ease;
}

#CTO {
    padding: 12px;
    border-radius: 10px;
    background-color: #35807e;
    color: #ffffff;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

#CTO:hover {
    background: #ffffff;
    color: #35807e;
    transform: scale(1.1);
}

.icon {
    display: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 1100;
    color: #35807e;
}

.icon i {
    font-size: 22px;
    text-decoration: none;
    margin: 0 8px;
}

.careerpath {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    height: 90vh;
    gap: 40px;
    margin-top: 85px;
    background: url(../ASSETS/career/careerpath.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

.careerpath h2 {
    font-size: 4.4rem;
    color: #ffffff;
    font-family: "Carattere", cursive;
}

.careerpath p {
    font-size: 2.3rem;
    text-align: center;
    background: #f5f5f59c;
    color: #35807e;
    
}

.about-contact {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.about-contact a {
    padding: 12px;
    text-decoration: none;
    color: #35807e;
    border: 3.2px solid #000000;
    border-radius: 15px;
    text-align: center;
    font-size: 1.3rem;
    transition: all 0.3s ease-in-out;
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.career-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 500px;
}

.info-cards h2 {
    font-size: 2rem;
    color: #35807e;
    margin: 0;
}

.info-cards p {
    font-size: 2.2rem;
    color: #555555;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 600px;
}

.contact-form h3 {
    font-size: 2rem;
    color: #35807e;
    text-align: center;
    margin: 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Space Grotesk", sans-serif;
}

.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Space Grotesk", sans-serif;
    width: 100%;
}

.contact-form p {
    color:#f5f5f5;
}

.contact-form a {
    text-decoration: underline;
    color:#ffffff;
    font-weight: bold;
}

.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    color:#35807e;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-form {
    flex: 1;
    padding: 40px;
    border-radius: 12px;
    background:#35807e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .logo span {
        font-size: 1.5rem;
        font-weight: 900;
    }
    
    .icon {
        display: block; /* Show hamburger */
        color: #35807e;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 95px;
        left: -270px; /* start hidden off screen */
        height: 100vh;
        width: 260px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
        border-radius: 0 8px 8px 0;
        background: rgb(0, 0, 0);
        color: #ffffff;
        transition: left 0.3s ease-in-out; /* smooth slide */
        z-index: 1;
    }

    .nav-links.show {
        left: 0; /* slide into view */
    }

    .nav-links {
        color: #ffffff;
        padding: 8px 0;
        font-size: 0.8rem;
        text-decoration: none
    }

    .career-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
        width: 100%;
    }

    .contact-form {
       padding: 20px;
    }

    .contact-form h3 {
        font-size: 1.8rem;
        color: #35807e;
        text-align: center;
        margin: 0;
    }

    .contact-form p {
        text-align: center;
        font-size: 1.2rem;
    }
}




@media (max-width: 480px) {
    .logo {
        width: 95%;
    }

    .logo span {
        font-size: 1.3rem;
        font-weight: 900;
    }
    
    .icon {
        display: block; /* Show hamburger */
        color:#35807e;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 95px;
        left: -270px; /* start hidden off screen */
        height: 100vh;
        width: 260px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
        border-radius: 0 8px 8px 0;
        background: rgb(0, 0, 0);
        color: #ffffff;
        transition: left 0.3s ease-in-out; /* smooth slide */
        z-index: 1;
    }

    .main-header, .nav-links {
        max-width: 100%;
    }

    .nav-links.show {
        left: 0; /* slide into view */
    }

    .nav-links {
        color: #ffffff;
        padding: 8px 0;
        font-size: 0.8rem;
        text-decoration: none
    }

    .careerpath h2 {
        font-size: 3rem;
    }

    .careerpath p {
        font-size: 1.5rem;
    }

    .about-contact {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .about-contact a {
        font-size: 0.9rem;
    }

    .contact-form {
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }

    .contact-form p {
        font-size: 1rem;
    }

    .form-group input, .form-group button {
        padding: 10px;
    }
    
    .info {
        display: flex;
        flex-direction: column;
    }

    .info-cards {
        width: 100%;
    }
    
    .info-cards h2 {
        font-size: 1.2rem;
    }

    .info-cards p {
        font-size: 1.8rem;
    }
}