/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.main-title {
    font-size: 2.8em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

a {
    text-decoration: none;
    color: #4a90e2;
    transition: color 0.3s ease;
}

a:hover {
    color: #2a6fc9;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2a6fc9;
}

.hidden {
    display: none;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
}

nav ul li a:hover {
    color: #4a90e2;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin-bottom: 5px;
    border-radius: 3px;
}

/* Main Content Styles */
main {
    padding-top: 80px; /* Account for fixed header */
}

/* Hero Section */
.hero {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Test Section */
.test-section {
    padding: 20px 0;
    background-color: #fff;
}

.test-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.8em;
}

.test-section p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.question {
    margin-bottom: 0;
    background-color: #f8f9fa;
    /* padding: 20px; */
    border-radius: 8px;
}
.question p {
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    padding-left: 0;
    margin-left: 0;
}
.options {
    display: flex;
    flex-direction: column;
}

.option {
    margin-bottom: 10px;
}

.option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.option label:hover {
    background-color: #d0e0f0;
}

.option input {
    margin-right: 10px;
}

.submit-container {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.about-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.8em;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Results Section */
.results-section {
    padding: 20px 0;
    background-color: #fff;
}

.results-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.8em;
}

.result-score {
    text-align: center;
    margin-bottom: 40px;
}

.result-level {
    font-size: 24px;
    font-weight: 700;
    color: #4a90e2;
    margin-top: 15px;
}

.result-comparison {
    margin-bottom: 40px;
}

.result-comparison h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.translation {
    color: #888;
    font-size: 14px;
    margin-left: 5px;
}

.result-meaning {
    margin-bottom: 40px;
}

.result-meaning h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.retake-test {
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

/* Why Choose Our Free Maturity Test? Section */
.why-choose-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.why-choose-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align items to the top */
    min-height: 320px; /* Ensure consistent height */
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.why-choose-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    object-fit: contain; /* Ensure images fit within their bounds */
}

.why-choose-item h3 {
    font-size: 1.4em;
    color: #007bff; /* A vibrant blue for headings */
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    flex-grow: 1; /* Allow paragraph to take available space */
}

/* Responsive adjustments for why-choose section */
@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 2.2em;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .why-choose-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
        min-height: unset; /* Remove fixed height on very small screens */
    }

    .why-choose-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-choose-item h3 {
        font-size: 1.2em;
    }

    .why-choose-item p {
        font-size: 0.9em;
    }
}

/* FAQ Section */
.faq-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 32px;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    background-color: #f9f9f9;
    border-color: #007bff;
}

.faq-item h3 {
    cursor: pointer;
    color: #333;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item p {
    display: none;
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active p {
    display: block;
}

.faq-item a {
    color: #007bff;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

.faq-item:last-child {
    /* margin-bottom: 0; */
    /* padding-bottom: 0; */
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    color: #4a90e2;
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    display: none; /* Hidden by default */
}

.faq-item.active p {
    display: block; /* Show when active */
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 32px;
}

.contact-section p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

#contact-form button {
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

footer p {
    color: #666;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .test-section h2,
    .about-section h2,
    .results-section h2,
    .contact-section h2 {
        font-size: 26px;
    }

    .result-level {
        font-size: 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .test-section h2,
    .about-section h2,
    .results-section h2,
    .contact-section h2 {
        font-size: 22px;
    }

    .question h3 {
        font-size: 16px;
    }

    .result-level {
        font-size: 18px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 8px;
        font-size: 12px;
    }
}.highlight-text {
    color: #003366 !important; /* Even darker blue for text */
    background-color: #cceeff !important; /* Lighter, more vibrant blue background */
    font-weight: bold !important;
    padding: 10px 15px; /* Increased padding */
    border-radius: 8px; /* More rounded corners */
    font-size: 1.1em; /* Slightly larger font size */
    border: 1px solid #99ccff; /* Subtle border */
}

.submit-btn, .retake-test {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #4CAF50; /* Green for Submit */
    border: none;
    border-radius: 10px;
    box-shadow: 0 9px #388E3C; /* Deeper shadow for 3D effect */
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
}

.retake-test {
    background-color: #f44336; /* Red for Retake */
    box-shadow: 0 9px #d32f2f; /* Deeper shadow for 3D effect */
}

.submit-btn:hover, .retake-test:hover {
    background-color: #45a049;
    box-shadow: 0 7px #388E3C;
    transform: translateY(2px);
}

.retake-test:hover {
    background-color: #e53935;
    box-shadow: 0 7px #d32f2f;
}

.submit-btn:active, .retake-test:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #388E3C;
    transform: translateY(4px);
}

.retake-test:active {
    background-color: #c62828;
    box-shadow: 0 5px #d32f2f;
}

/* Card Design */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 0px;
}

.testimonials-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #343a40;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes author info to the bottom */
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-author h4 {
    font-size: 1.2em;
    color: #343a40;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9em;
    color: #6c757d;
    display: block;
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 0.85em;
    color: #6c757d;
    margin: 0;
    font-style: normal;
}

@media (max-width: 992px) {
    .testimonials-section h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .testimonial-item p {
        font-size: 1em;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-author h4 {
        font-size: 1.1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-item p {
        font-size: 0.95em;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-author h4 {
        font-size: 1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.75em;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-item p {
        font-size: 0.9em;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-author h4 {
        font-size: 0.9em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.7em;
    }
}

/* Responsive adjustments for why-choose section */
@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 2.2em;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .why-choose-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
        min-height: unset; /* Remove fixed height on very small screens */
    }

    .why-choose-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-choose-item h3 {
        font-size: 1.2em;
    }

    .why-choose-item p {
        font-size: 0.9em;
    }
}

.how-it-works-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.how-it-works-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.how-it-works-item h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.how-it-works-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.how-it-works-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }

    .how-it-works-item {
        padding: 25px;
    }

    .how-it-works-item h3 {
        font-size: 1.3em;
    }

    .how-it-works-item p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8em;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.how-it-works-item ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2em;
    }
}

/* All Quiz Results */
.all-quiz-results {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.all-quiz-results h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.result-label {
    flex: 1;
    margin-right: 10px;
    color: #555;
}

.progress-container {
    width: 70%;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    height: 25px;
    position: relative;
}

.progress-bar {
    background-color: #4CAF50;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.retake-test {
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 20px 0;
    background-color: #f8f9fa;
}

/* Why Choose Our Free Maturity Test? Section */
.why-choose-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.why-choose-section h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.why-choose-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align items to the top */
    min-height: 320px; /* Ensure consistent height */
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.why-choose-item img {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    object-fit: contain; /* Ensure images fit within their bounds */
}

.why-choose-item h3 {
    font-size: 1.4em;
    color: #007bff; /* A vibrant blue for headings */
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
    flex-grow: 1; /* Allow paragraph to take available space */
}

/* Responsive adjustments for why-choose section */
@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 2.2em;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .why-choose-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
        min-height: unset; /* Remove fixed height on very small screens */
    }

    .why-choose-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-choose-item h3 {
        font-size: 1.2em;
    }

    .why-choose-item p {
        font-size: 0.9em;
    }
}

.how-it-works-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 0px;
}

.testimonials-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #343a40;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes author info to the bottom */
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-author h4 {
    font-size: 1.2em;
    color: #343a40;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9em;
    color: #6c757d;
    display: block;
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 0.85em;
    color: #6c757d;
    margin: 0;
    font-style: normal;
}

@media (max-width: 992px) {
    .testimonials-section h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .testimonial-item p {
        font-size: 1em;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-author h4 {
        font-size: 1.1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-item p {
        font-size: 0.95em;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-author h4 {
        font-size: 1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.75em;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-item p {
        font-size: 0.9em;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-author h4 {
        font-size: 0.9em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.7em;
    }
}

/* Responsive adjustments for why-choose section */
@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 2.2em;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .why-choose-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
        min-height: unset; /* Remove fixed height on very small screens */
    }

    .why-choose-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-choose-item h3 {
        font-size: 1.2em;
    }

    .why-choose-item p {
        font-size: 0.9em;
    }
}

.how-it-works-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 0px;
}

.testimonials-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #343a40;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes author info to the bottom */
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-author h4 {
    font-size: 1.2em;
    color: #343a40;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9em;
    color: #6c757d;
    display: block;
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 0.85em;
    color: #6c757d;
    margin: 0;
    font-style: normal;
}

@media (max-width: 992px) {
    .testimonials-section h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .testimonial-item p {
        font-size: 1em;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-author h4 {
        font-size: 1.1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-item {
        padding: 20px;
    }

    .testimonial-item p {
        font-size: 0.95em;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .testimonial-author h4 {
        font-size: 1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.75em;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-item p {
        font-size: 0.9em;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }

    .testimonial-author h4 {
        font-size: 0.9em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.7em;
    }
}

/* Responsive adjustments for why-choose section */
@media (max-width: 768px) {
    .why-choose-section h2 {
        font-size: 2.2em;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
        min-height: 300px; /* Adjust height for smaller screens */
    }

    .why-choose-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
        min-height: unset; /* Remove fixed height on very small screens */
    }

    .why-choose-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .why-choose-item h3 {
        font-size: 1.2em;
    }

    .why-choose-item p {
        font-size: 0.9em;
    }
}

.how-it-works-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 0px;
}

.testimonials-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #343a40;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes author info to the bottom */
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-author h4 {
    font-size: 1.2em;
    color: #343a40;
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.9em;
    color: #6c757d;
    display: block;
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 0.85em;
    color: #6c757d;
    margin: 0;
    font-style: normal;
}

@media (max-width: 992px) {
    .testimonials-section h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .testimonial-item {
        padding: 25px;
    }

    .testimonial-item p {
        font-size: 1em;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-author h4 {
        font-size: 1.1em;
    }

    .testimonial-author span,
    .testimonial-author p {
        font-size: 0.8em;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
}
