

/* Placement Section */
.placement-section {
    padding: 80px 20px;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    margin: 80px auto 40px;
    max-width: 1200px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.quiz{
    border:1px solid black;
    border-radius: 5px;
    margin-left: 50px;
    margin-right: 50px;
    height: 100%;
    width:90%;
    background-color: blanchedalmond;
    color: #1a0afa;
    padding-top: 20px;
    padding-left: 20px;
    font-size:28px;
    font-family:cursive;
}
.quiz p{
    color: #030a09;
    margin-bottom: 20px;

}
/* Background Effect */
.placement-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0));
    z-index: -1;
    opacity: 0.7;
}

h1 {
    font-size: 42px;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #10b981 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-text {
    margin-top: 10px;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.language-tabs {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 20px;
    margin: 10px;
    border: none;
    background-color: #1f2937;
    color: white;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background-color: #10b981;
    transform: translateY(-3px);
}

/* Floating Animated Search Bar */
.search-container {
    margin: 30px auto;
    width: 100%;
    max-width: 600px;
    position: relative;
    transform: translateY(-30px);
}

#search-input {
    width: 100%;
    padding: 16px;
    border-radius: 30px;
    border: 2px solid #d1d5db;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

#search-input:focus {
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Advanced Card Design for Questions */
.questions-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.question-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.question-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.question-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.question-category {
    font-size: 16px;
    font-weight: 500;
    color: #10b981;
    margin-bottom: 8px;
}

.question-difficulty {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.show-answer-btn {
    padding: 8px 12px;
    border: none;
    background-color: #10b981;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.show-answer-btn:hover {
    background-color: #0e9e7e;
}

.answer {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f3f4f7;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    transition: opacity 0.3s ease;
}

/* Floating Tooltip Effect on Card Hover */
.question-card:hover::before {
    content: 'Click to reveal the answer';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fbbf24;
    color: #1f2937;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #1f2937;
    padding: 20px;
    text-align: center;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}
