body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.background {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('background.jpeg') no-repeat center center/cover;
    z-index: 0;
    width: 100vw;
    height: 100vh;
}

.overlay {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: rgba(30, 34, 40, 0.7); /* transparent blackish-greyish */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    display: flex;
    align-items: center;
    padding: 32px 48px 0 48px;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-emoji {
    font-size: 2.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-right: 2px;
}

.large-logo {
    font-size: 4.2rem;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

h1 {
    color: #2196f3; /* blue tone */
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.description {
    color: #e3eaf4;
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.illustration {
    margin-bottom: 32px;
    /* Placeholder for illustration or icons */
    min-height: 80px;
}

.start-quiz-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(90deg, #1976d2 0%, #64b5f6 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.2);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.start-quiz-btn:hover {
    background: linear-gradient(90deg, #1565c0 0%, #42a5f5 100%);
    transform: translateY(-2px) scale(1.03);
}

footer {
    color: #b0bec5;
    text-align: center;
    padding: 24px 0 16px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: transparent;
    margin-bottom: 56px; /* space for carousel bar */
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 72px;
    background: rgba(18, 22, 30, 0.92);
    position: sticky;
    top: 0;
    z-index: 10;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.nav-logo span {
    color: #18c0ff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(33, 150, 243, 0.12);
    color: #18c0ff;
}

.nav-btn {
    background: linear-gradient(90deg, #1976d2 0%, #18c0ff 100%);
    color: #fff !important;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 10px 28px;
    margin-left: 12px;
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.18);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.nav-btn:hover {
    background: linear-gradient(90deg, #1565c0 0%, #42a5f5 100%);
    transform: translateY(-2px) scale(1.03);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 80px 0 40px 0;
    text-align: center;
    gap: 24px;
}

.hero-title {
    color: #18c0ff;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px #18c0ff44;
    line-height: 1.1;
}

.description {
    color: #e3eaf4;
    font-size: 1.7rem;
    margin-bottom: 18px;
    max-width: 700px;
    font-weight: 500;
    line-height: 1.3;
}

.illustration {
    display: none; /* Hide illustration/emoji */
}

/* Adjust About and Features section spacing for new order */
.about-section {
    background: rgba(30, 34, 40, 0.92);
    padding: 64px 0 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
}

.features-section {
    background: rgba(30, 34, 40, 0.85);
    padding: 64px 0 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 32px;
    max-width: 1000px;
    width: 100%;
    justify-items: center; /* Center cards in each column */
    align-items: stretch;
    margin-left: 0; /* Remove left offset for perfect symmetry */
}

.feature-card {
    background: rgba(22, 26, 34, 0.96);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(33, 150, 243, 0.10);
    padding: 24px 18px;
    width: 290px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    animation: fadeUp 1s;
}

.feature-card h3 {
    color: #18c0ff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: #e3eaf4;
    font-size: 0.98rem;
    line-height: 1.45;
}

/* Footer - add margin to keep above carousel bar */
footer {
    color: #b0bec5;
    text-align: center;
    padding: 24px 0 16px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: transparent;
    margin-bottom: 56px; /* space for carousel bar */
}

/* Job Icon Carousel Bar */
.job-carousel-bar {
    width: 100vw;
    overflow: hidden;
    background: rgba(18, 22, 30, 0.97);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    height: 54px;
    border-top: 2px solid #18c0ff33;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 36px;
    animation: carousel-scroll 18s linear infinite;
    font-size: 2rem;
    white-space: nowrap;
    padding-left: 100vw;
}

@keyframes carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Titles */
.section-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 36px;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 24px #18c0ff33;
    animation: fadeInScale 1.2s;
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.92) translateY(30px);}
    100% { opacity: 1; transform: scale(1) translateY(0);}
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

.animate-fadein {
    animation: fadeIn 1.2s;
}
.animate-up {
    animation: fadeUp 1.2s;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .description {
        font-size: 1.1rem;
    }
    .carousel-track {
        font-size: 1.3rem;
        gap: 18px;
    }
    .features-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .description {
        font-size: 1rem;
    }
    .carousel-track {
        font-size: 1rem;
        gap: 10px;
    }
    .features-list {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 18px;
    }
}

.feature-card {
    background: rgba(22, 26, 34, 0.96);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(33, 150, 243, 0.10);
    padding: 24px 18px;
    width: 290px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    animation: fadeUp 1s;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.18);
}

.feature-emoji {
    font-size: 2.2rem;
    margin-bottom: 12px;
    animation: fadeIn 1.2s;
}

.feature-card h3 {
    color: #18c0ff;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: #e3eaf4;
    font-size: 1.02rem;
    line-height: 1.5;
}

/* About Section */
.about-section {
    background: rgba(30, 34, 40, 0.92);
    padding: 64px 0 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-title {
    font-size: 3rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 32px;
    text-shadow: 0 2px 24px #18c0ff33;
}

.large-about-text {
    font-size: 1.45rem;
    color: #e3eaf4;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 32px;
    font-weight: 500;
}

.about-text {
    color: #e3eaf4;
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-btn {
    margin-top: 8px;
    animation: fadeInScale 1.2s 0.2s backwards;
}

/* Footer */
footer {
    color: #b0bec5;
    text-align: center;
    padding: 24px 0 16px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: transparent;
    margin-bottom: 56px; /* space for carousel bar */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

.animate-fadein {
    animation: fadeIn 1.2s;
}
.animate-up {
    animation: fadeUp 1.2s;
}

/* Responsive Design */
@media (max-width: 900px) {
    .features-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .feature-card {
        width: 90vw;
        min-width: 0;
    }
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .about-text {
        font-size: 1rem;
        padding: 0 8px;
    }
    .navbar {
        flex-direction: column;
        padding: 0 8px;
    }
    .nav-links {
        gap: 12px;
    }
}
