/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Light background */
    padding-top: 90px; /* Match padding for navbar height */
}

header {
    text-align: center;
    margin-bottom: 20px;
    background-color: #ff5722; /* Orange header */
    color: #fff;
    padding: 10px; /* Keep padding consistent */
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1.2em;
}

/* Questions section */
.questions-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Adjust spacing */
    padding: 20px; /* Ensure consistent padding */
    margin: auto;
}

.question-card {
    background-color: #ffffff; /* White background for cards */
    border: 2px solid #007bff; /* Blue border */
    border-radius: 8px;
    margin: 15px; /* Space between cards */
    padding: 20px; /* Internal padding */
    flex: 1 1 30%; /* Responsive flex item */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* For the effect */
}

.question-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #ff5722; /* Orange left border */
}

.question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.question-card h2 {
    color: #ff5722; /* Blue title */
    margin-bottom: 15px;
}

.question-card ul {
    list-style-type: none;
    padding: 0;
}

.question-card li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.question-card a {
    color: #007bff; /* Blue links */
    text-decoration: none;
    transition: color 0.2s;
}

.question-card a:hover {
    color: #ff5722; /* Orange hover effect */
    text-decoration: underline;
}

/* Media queries */
@media (max-width: 768px) {
    .question-card {
        flex: 1 1 45%; /* Adjust card width for tablets */
    }
}

@media (max-width: 480px) {
    .question-card {
        flex: 1 1 100%; /* Full width for mobile */
    }

    header h1 {
        font-size: 2em; /* Adjust header size for mobile */
    }

    header p {
        font-size: 1em; /* Adjust paragraph size for mobile */
    }
}
