/* ========== GLOBAL ========== */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f6fa;
    scroll-behavior: smooth;
}

/* ========== NAVBAR (matches homepage) ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(227, 209, 248);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #5700e3;
}

.navbar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #2a2727;
    font-weight: 500;
}

.navbar nav a:hover {
    color: #6200ee;
}

/* ========== HEADER SECTION ========== */
.ats-header {
    padding: 140px 10% 60px;
    text-align: center;
    background: linear-gradient(to bottom right, #6200ee, #8e2de2);
    color: white;
}

.ats-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.ats-header p {
    font-size: 18px;
    max-width: 750px;
    margin: auto;
    opacity: 0.95;
}

/* ========== UPLOAD SECTION ========== */
.upload-box {
    background: white;
    width: 60%;
    margin: 50px auto;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.upload-box h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.upload-title {
    display: block;
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="file"] {
    padding: 12px;
    background: #f0f0f0;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 100%;
}

textarea {
    width: 100%;
    height: 140px;
    padding: 15px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    resize: none;
}

.ats-btn {
    background: #f7ea5f;
    color: black;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    border: none;
    margin-top: 25px;
    transition: 0.3s ease;
}

.ats-btn:hover {
    background: #d6c600;
}

/* ========== RESULT SECTION ========== */
.result-box {
    width: 60%;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    display: none;
}

.score {
    font-size: 48px;
    color: #6200ee;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.suggestion-list {
    font-size: 17px;
    line-height: 1.7;
    padding-left: 20px;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 20px;
    background: #eee;
    margin-top: 40px;
}

/* ========== SCROLL ANIMATION ========== */
.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease-out;
}
.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}
