* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', 'Nunito', sans-serif;
}

body {
    background: url('../images/HCC_WebsiteBG.png');
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/HCC_WebsiteBG.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    color: #4a6fa5;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #6b8cbc;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.intro {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #ff9e7d;
}

.intro h2 {
    color: #ff7b54;
    margin-bottom: 15px;
}

.quiz-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #7db9ff;
}

.quiz-section h2 {
    color: #4a6fa5;
    margin-bottom: 20px;
    text-align: center;
}

.question {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    border: 2px dashed #a8d8ff;
    position: relative;
}

.question.unanswered {
    border-color: #ff6b6b;
    background-color: #fff5f5;
}

.question h3 {
    color: #4a6fa5;
    margin-bottom: 15px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    background-color: white;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #c2e0ff;
}

.option:hover {
    background-color: #e6f2ff;
    transform: translateY(-2px);
}

.option.selected {
    background-color: #c2e0ff;
    border-color: #4a6fa5;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

button {
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #3a5a80;
    transform: translateY(-2px);
}

.resources {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #c2f0c2;
}

.resources h2 {
    color: #4caf50;
    margin-bottom: 15px;
}

.resources ul {
    padding-left: 20px;
}

.resources li {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

footer a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #6a1cb3;
}



/* Welcome Modal */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    color: #4a6fa5;
    margin-bottom: 15px;
}

.modal p {
    margin-bottom: 20px;
    color: #555;
}

.modal input {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border: 2px solid #c2e0ff;
    border-radius: 10px;
    font-size: 1rem;
}

.validation-error {
    color: #f44336;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: left;
    display: none;
}

.modal button {
    width: 100%;
}

.welcome-message {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: none;
}

.question-validation {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

/* Thank You Modal */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.thank-you-content {
    background: linear-gradient(135deg, #a8d8ff, #c2f0c2);
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 8px solid white;
    animation: bounceIn 0.8s ease-out;
}

.thank-you-content h2 {
    color: #4a6fa5;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.thank-you-content p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .logo-container {
        flex-direction: column;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* .btn-light {
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    background-color: #f0f8ff;
} */