* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7ff;
    color: #172033;
}

/* Navbar */

.navbar {
    height: 75px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid #e8eaf2;
}

.logo {
    font-size: 26px;
    font-weight: bold;
}

.logo span {
    color: #635bff;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #555b6e;
    font-weight: 500;
}

.nav-links a:hover {
    color: #635bff;
}

.nav-btn,
.primary-btn {
    border: none;
    background: #635bff;
    color: white;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.nav-btn:hover,
.primary-btn:hover {
    background: #4c45d9;
}


/* Hero */

.hero {
    min-height: 600px;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    max-width: 600px;
}

.tag {
    color: #635bff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 65px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #635bff;
}

.description {
    font-size: 19px;
    line-height: 1.7;
    color: #666d80;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    font-size: 16px;
    padding: 16px 25px;
}

.secondary-btn {
    background: white;
    border: 1px solid #dfe2ed;
    padding: 16px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}


/* AI Card */

.ai-card {
    width: 380px;
    background: white;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(60, 65, 100, 0.12);
}

.ai-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeecff;
    border-radius: 18px;
    font-size: 32px;
    margin-bottom: 20px;
}

.ai-card h2 {
    margin-bottom: 10px;
}

.ai-card > p {
    color: #70778a;
    line-height: 1.5;
    margin-bottom: 30px;
}

.progress-box {
    background: #f7f7fb;
    padding: 18px;
    border-radius: 15px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.progress-text strong {
    color: #635bff;
}

.progress {
    height: 9px;
    background: #dddff0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    width: 92%;
    height: 100%;
    background: #635bff;
}

.career-result {
    margin-top: 20px;
    padding: 18px;
    background: #f1f0ff;
    border-radius: 15px;
}

.career-result span {
    display: block;
    color: #635bff;
    font-size: 13px;
    margin-bottom: 8px;
}

.career-result strong {
    font-size: 18px;
}


/* Features */

.features-section {
    padding: 90px 8%;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading p {
    color: #635bff;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 40px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 30px;
    border: 1px solid #e8eaf2;
    border-radius: 18px;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(50, 55, 90, 0.1);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: #70778a;
    line-height: 1.6;
}


/* About */

.about {
    text-align: center;
    padding: 90px 20px;
}

.about > p:first-child {
    color: #635bff;
    font-weight: bold;
    font-size: 13px;
}

.about h2 {
    font-size: 40px;
    margin: 15px 0;
}

.about p:last-child {
    max-width: 650px;
    margin: auto;
    color: #70778a;
    line-height: 1.7;
}


/* Footer */

footer {
    text-align: center;
    padding: 25px;
    background: #171b2d;
    color: white;
}


/* Mobile */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .buttons {
        justify-content: center;
    }

    .ai-card {
        width: 100%;
        max-width: 380px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }

    .buttons {
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 30px;
    }
}
/* AI Career Analysis */

.analysis-section {
    padding: 90px 8%;
    background: #f5f7ff;
}

.analysis-form {
    max-width: 650px;
    margin: auto;
    padding: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(50, 55, 90, 0.10);
}

.analysis-form label {
    display: block;
    margin: 18px 0 8px;
    font-weight: bold;
}

.analysis-form input,
.analysis-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #dfe2ed;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.analysis-form input:focus,
.analysis-form select:focus {
    border-color: #635bff;
}

.analysis-form button {
    width: 100%;
    margin-top: 25px;
}

.result-box {
    max-width: 650px;
    margin: 30px auto 0;
}
/* AI Chat Assistant */

.chat-section {
    padding: 90px 8%;
    background: white;
}

.chat-box {
    max-width: 750px;
    margin: auto;
    background: #f5f7ff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(50, 55, 90, 0.10);
}

.chat-messages {
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.bot-message,
.user-message {
    max-width: 80%;
    padding: 14px 18px;
    margin: 12px 0;
    border-radius: 15px;
    line-height: 1.5;
}

.bot-message {
    background: white;
    margin-right: auto;
}

.user-message {
    background: #635bff;
    color: white;
    margin-left: auto;
}

.chat-input {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border: 1px solid #dfe2ed;
    border-radius: 10px;
    outline: none;
}

.chat-input button {
    border: none;
    background: #635bff;
    color: white;
    padding: 0 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}