/* Global styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #b6ffcc;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.description{
margin-top: -25px
}
/* Container styles */
.container {
    max-width: 700px;
    margin: 30px auto;
    padding: 10px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-top: -10px;
    margin-bottom: 25px;
}

h1 {
    text-align: center;
    color: #00cb3d;
    font-size: 2.5rem;
    margin-bottom: 5vh;
}

.careersalaryexplorer {
    display: block;
    max-width: 55%;  /* Ensures the image is responsive */
    height: auto;     /* Maintains the aspect ratio */
    margin: 10px auto; /* Adds spacing and centers the image */
    margin-top: -20px;
    margin-bottom: 20px;
}

/* Question and label styles */
.question {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}


label {
    display: block;
    margin: 8px 0;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

label:hover {
    background-color: #d1f7d6;
}

/* Button styles */
button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(140deg, #1fe700, #257701);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(135deg, #78fea0, #adfec6);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Result message styles */
.result {
    margin-top: 20px;
    padding: 0px;
    background-color: #e0f7fa;
    border-radius: 6px;
    border: 1px solid #b3e0ff;
    line-height: 1.6;
    text-align: center;
    font-size: 1.2em;
    color: #007acc;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#intro {
margin-top: 0px;
padding-left: 10px;
padding-right: 10px;
}

p {
font-size: 19px;
text-align: center;

}

#career-quiz {
    padding-left: 0vw;
    font-size: 19px;
}

.career-option {
    padding: 3px 0px;
}

#salaryText {
    font-size: 21px;
    color: #004916;
}

#salaryDetails {
    font-size: 21px;
    color: #004916;
}


/* Centering the Article */
.salary-explorer-article {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto; /* Centers horizontally */
    margin-top: -10px;
    margin-bottom: 4vh;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 57%; /* Limits the width of the article */
    text-align: left; /* Ensures text is aligned properly inside */
}

.salary-explorer-article h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #00d404;
    text-align: center;
}

.salary-explorer-article h3 {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #35d500;
    text-align: center;
}

.salary-explorer-article p {
    margin-bottom: 15px;
    padding-left: 50px;
    padding-right: 30px;
    text-align: left;
    line-height: 1.7;
}

.salary-explorer-article ul, 
.salary-explorer-article ol {
    margin: 15px 0;
    padding-left: 80px;
    padding-right: 10px;
    font-size: 19px;
}

.salary-explorer-article ul li, 
.salary-explorer-article ol li {
    margin-bottom: 8px;
    line-height: 1.5;

}

.salary-explorer-article strong {
    color: #333;
}

/* Mobile Responsiveness (Up to 768px) */
@media (max-width: 1024px) {
 /* Container Adjustments */
    .container {
        padding: 25px;
        margin: 20px;
    }

    h1 {
        font-size: 35px;
        line-height: 1.3;
        margin-bottom: 3vh;
    }

    h2 {
        line-height: 1.5;
    }

    button {
        font-size: 1.2rem;
    }

    #intro {
        padding-left: 0px;
        padding-right: 0px;
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .container {
        padding: 18px; /* Further reduce padding for small screens */
        margin-top: -20px; /* Reset margin-top to remove any unwanted spacing */
        margin-left: 5px;
        margin-right: 5px;
    }

    .careersalaryexplorer {
        display: block;
        max-width: 100%; /* Ensures the image is responsive */
        height: auto; /* Maintains the aspect ratio */
        margin: 10px auto; /* Adds spacing and centers the image */
        margin-top: -10px;
        margin-bottom: 20px;
    }

    .career-option {
        padding: 2px 0px;
    }

    .salary-explorer-article {
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding-left: 0px;
        padding-top: 0px;
        margin-bottom: 4vh;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 100%;
        text-align: left; /* Ensures text is aligned properly inside */
    }

    .salary-explorer-article p {
        margin-bottom: 15px;
        padding-left: 40px;
        padding-right: 20px;
        text-align: left;
        line-height: 1.8;
    }

    .salary-explorer-article h3 {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 25px;
        margin-bottom: -10px;
        line-height: 1.5;
    }

    .salary-explorer-article ul li {
        line-height: 1.6;
    }

    .salary-explorer-article ol li {
        line-height: 1.6;
    }

    .salary-explorer-article h2 {
        font-size: 28px;
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: -10px;
    }

    .salary-explorer-article ul {
        font-size: 21px;
        padding-left: 60px;
        padding-right: 40px;
        margin-bottom: -10px;
    }

    .salary-explorer-article ol {
        font-size: 21px;
        line-height: 1.7;
        padding-left: 60px;
        padding-right: 40px;
        margin-bottom: -10px;
    }

    ul li {
        line-height: 1;
    }

    #salaryText {
        font-size: 22px;
        color: #005f1d;
    }

    #salaryDetails {
        font-size: 20px;
        padding