.selection-container {
    background: #ffffff; /* Light background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    padding: 20px;
    margin: 0 auto;
}

.motorcycle-card {
    background: #f9f9f9; /* Lighter grey background */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Lighter shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.motorcycle-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.motorcycle-card h2 {
    font-size: 1.6rem;
    color: #333; /* Dark grey for text */
    margin-bottom: 10px;
}

.motorcycle-card p {
    margin: 5px 0;
    color: #666; /* Lighter grey for content */
    font-size: 1rem;
    line-height: 1.5;
}

.spinner {
    display: none;
    text-align: center;
}

.spinner img {
    width: 50px;
}

.motorcycle-facts-section {
    padding: 50px;
    text-align: center;
}

.motorcycle-facts-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.motorcycle-facts-header p {
    font-size: 1.1rem;
    color: #555;
}

.motorcycle-facts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Fact Cards - Circle Shape with Larger Size */
.fact-card {
    background-color: #fff;
    border-radius: 50%;
    width: 300px;  /* Larger Circle Size */
    height: 300px; /* Larger Circle Size */
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fact-card:hover {
    transform: translateY(-10px);
}

.fact-card i {
    font-size: 3rem;
    color: #1b0b44; /* Same color as before */
}

.fact-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 15px 0;
}

.fact-card p {
    font-size: 1.1rem;
    color: #555;
}

.read-more-btn {
    background-color: #1b0b44;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #1b0b44;
}

/* Cloud Shaped Popup */
.fact-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.fact-popup.show {
    display: block;
    opacity: 1;
}

/* Popup Content */
.popup-content {
    position: relative;
    text-align: center;
}

.popup-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.popup-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Close button outside the popup */
.close-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #b103a2;
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-popup:hover {
    background-color: #8a0072;
}

/* Animations */
@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-360deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .motorcycle-facts {
        flex-direction: column;
        align-items: center;
    }
    .fact-card {
        width: 300px;  /* Keeping the larger circle size for mobile */
        height: 300px; /* Keeping the larger circle size for mobile */
    }
}

.highlight {
    font-weight: bold;
    color: black;
    padding: 0.1em;
}





/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}
/* Section Styling */
.perfect-motorcyclist {
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    font-size: 2.5rem;
    color: #1b0b44;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-in-out;
}

.header p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-in-out;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.product-card {
    background: linear-gradient(145deg, #e8ecf8, #c2cde4);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 280px;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: zoomIn 0.8s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1b0b44;
    margin-bottom: 15px;
    animation: bounceIn 0.8s ease-in-out;
}

.product-card h2 {
    font-size: 1.3rem;
    color: #1b0b44;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
}

/* Explore Button */
.explore-button {
    padding: 15px 40px;
    background-color: #1b0b44;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    animation: fadeInUp 1.2s ease-in-out;
}

.explore-button:hover {
    background-color: #ffffff;
    color: #1b0b44;
    transform: scale(1.1) translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .header p {
        font-size: 1rem;
    }
    .product-card img {
        width: 120px;
        height: 120px;
    }
    .explore-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    .header p {
        font-size: 0.9rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .product-card {
        padding: 15px;
        max-width: 100%;
    }
    .product-card img {
        width: 100px;
        height: 100px;
    }
    .explore-button {
        font-size: 0.9rem;
        padding: 10px 25px;
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 32px;
    font-weight: bold;
}

.header p {
    font-size: 18px;
    margin-top: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Grid Layout */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.personality-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.personality-card:hover {
    transform: translateY(-5px);
}

.personality-card img {
    width: 100%;
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
}

.personality-card h2 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: bold;
}

.personality-card p {
    font-size: 16px;
    margin: 10px 0;
}

.read-more-btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

/* Fade Out Animation */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}



/* Modal Fade Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .close-btn {
        font-size: 24px;
    }
}
