body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #d9ecff 0%, #ffe8d6 100%);
    color: #333;
}

/* Header */
.main-header {
    position: sticky;               /* stays at the top */
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;

    background: rgba(255, 255, 255, 0.4);  /* semi-transparent for glass effect */
    backdrop-filter: blur(10px);           /* frosted glass effect */
    -webkit-backdrop-filter: blur(10px);   /* Safari support */

    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);         /* gentle shadow */
    
    z-index: 100; /* stays above content */
}

.logo {
    height: 65px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 12px;
    border-radius: 6px;
}

.navbar a:hover,
.navbar a.active {
    color: #007bff;
    background-color: rgba(0, 119, 255, 0.1);
}
/* ================= HAMBURGER - HIDDEN ON DESKTOP ================= */
.hamburger {
    display: none;          /* Hidden on desktop by default */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    margin-left: auto;      /* Push to right when shown */
}

@media (max-width: 700px) {
    .hamburger {
        display: block;      /* show hamburger */
        margin-left: auto;   /* push to right */
        font-size: 28px;
        cursor: pointer;
    }

    .navbar ul {
        display: none;       /* hide menu initially */
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;           /* dropdown below header */
        right: 0;            /* align to right */
        background: rgba(255, 255, 255, 0.82); /* glass effect */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 20px;
        border-radius: 0 0 12px 12px;
        z-index: 99;
    }

    .navbar ul.show {
        display: flex;       /* show menu when toggled */
    }

    .main-header {
        flex-direction: row;  /* logo left, hamburger right */
        align-items: center;
        padding: 15px 20px;
    }
}

.sign-btn {
    padding: 6px 14px;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff !important;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.sign-btn:hover {
    background-color: #0056b3;
}
/* ================= CAREER SURVEY ================= */
.career-survey {
    background: #fff;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.career-survey h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
}

.survey-step label {
    display: block;
    margin: 0.5rem 0;
    cursor: pointer;
}

.btn-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

button {
    padding: 0.75rem 1.5rem;
    background-color: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #3730a3;
}

#surveyResult {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .career-survey {
        padding: 1rem;
        width: 90%;
    }

    .btn-container {
        flex-direction: column;
        gap: 1rem;
    }

    button {
        width: 100%;
    }
}
footer {
    background: #f8f9fa;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
}

footer > div {
    flex: 1;
    min-width: 220px;
}

footer img {
    height: 45px;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    color: #0077cc;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact p {
    margin: 4px 0;
    color: #555;
}

