 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: "Noto Sans", serif;
            line-height: 1.6;
        }
       /* General header styles */
header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2.5rem;
    background: #fff;
    color: #555;
}

/* Logo styles */
.logo a {
    font-size: 1.9rem;
    font-weight: bold;
    text-decoration: none;
    color: #555; /* Primary color */
    transition: color 0.5s ease;
    font-family: "Sour Gummy", serif;
}

.logo a span {
    color: #0853FF; /* Secondary color */
    transition: color 0.5s ease;
}

/* Logo hover effect */
.logo a:hover {
    color: #e74c3c; /* Switch primary to secondary */
}

.logo a:hover span {
    color: #3498db; /* Switch secondary to primary */
}

/* Menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Navigation styles */
nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight:bold;
    font-size:16px;
}

nav a:hover {
    color: #3498db;
}

/* Spinner */
.spinner {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border: 5px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: spin 1.5s linear infinite;
}

.spinner i {
    font-size: 2rem;
    color: #333;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
    }
    nav.active {
        display: flex;
    }
}

        .hero {
            background: linear-gradient(to right, #6a11cb, #2575fc);
            color: #fff;
            text-align: center;
            padding: 3rem 2rem 5rem 2rem;
        }
        .hero h1 {
            font-size: 3rem;
        }
        .tool-section {
            padding: 2rem;
            text-align: center;
        }
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            padding: 2rem;
            background: #f4f4f4;
        }
        .features .feature-box {
            background: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .features .feature-box i {
            font-size: 2rem;
            color: #2575fc;
        }
        .features .feature-box h3 {
            margin-top: 1rem;
        }
        .contenta {
            padding: 5rem;
        }
        .faq {
            padding: 5rem;
            background: #f4f4f4;
        }
        .faq h2 {
            text-align: center;
            margin-bottom: 2rem;
        }
        .faq-item {
            margin-bottom: 1rem;
            padding:2rem;
            border-radius:8px;
        }
        .footer {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5rem;
            background: #333;
            color: #fff;
        }
        .footer-menu a {
            color: #fff;
            text-decoration: none;
            margin-right: 1rem;
        }
        .footer-menu {
            margin-bottom: 1rem;
        }
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            nav {
                display: none;
                flex-direction: column;
                gap: 0.5rem;
                background: #333;
                position: absolute;
                top: 60px;
                right: 0;
                width: 200px;
                padding: 1rem;
                border-radius: 0 0 8px 8px;
                box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            }
            nav.active {
                display: flex;
            }
        }
        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }
            .features {
                grid-template-columns: 1fr;
            }
        }
        /* Style the button */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0853FF;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: none; /* Initially hidden */
  transition: opacity 0.3s, transform 0.3s;
}

/* Button hover effects */
#backToTopBtn:hover {
  background-color: #333;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  #backToTopBtn {
    font-size: 16px; /* Smaller font for mobile */
    width: 50px; /* Maintain size */
    height: 50px; /* Maintain size */
  }
}

@media (max-width: 480px) {
  #backToTopBtn {
    font-size: 14px; /* Smaller font for smaller screens */
    width: 50px; /* Maintain size */
    height: 50px; /* Maintain size */
  }
}
.containerx {
        max-width: 94%;
        margin-left: auto;
        margin-right:auto;
        margin-top:-60px;
        margin-bottom:5rem;
        padding: 20px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        gap: 20px;
        border:1px solid #ddd;
    }

    .spinner-column {
        flex: 0 0 60%; /* 60% for the spinner column */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .options-column {
        flex: 0 0 40%; /* 40% for the options column */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

   
    .wheel-container {
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
        padding: 22px;
    }

    .arrow {
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translate(-55%, -60%) rotate(180deg);
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 40px solid #0E80C9;
    }

    #clickToSpin {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        color: #000;
        font-weight: bold;
        background:white;
        padding:12px;
        border-radius:100%;
        cursor:pointer;
    }

    button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        margin: 10px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    button:hover {
        background-color: #0056b3;
    }

    textarea {
        width: 425px;
        height: 100px;
        margin-top: 20px;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
        font-size: 16px;
    }

    #result {
        font-size: 20px;
        font-weight: bold;
        margin-top: 20px;
        background:#f5f5fa;
        padding:10px;
        border-radius:5px;
    }

    .control-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .confetti {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

   /* Responsive Styles */
@media screen and (max-width: 768px) {
    .containerx {
        flex-direction: column; /* Stack spinner and options vertically on smaller screens */
        align-items: center;
        justify-content: center; /* Ensure center alignment */
        text-align: center; /* Center text */
    }

    .spinner-column, .options-column {
        flex: 1 1 100%; /* Take up full width for each column */
        width: 100%;
    }

    /* Center the spinner and ensure its size */
    .wheel-container {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 80%; /* Limit width to 80% on mobile */
        height: auto;
        padding: 10px;
        margin-bottom: 20px; /* Space below spinner */
    }

    /* Set canvas size for mobile */
    #wheelCanvas {
        width: 300px; /* Set canvas width to 300px for mobiles */
        height: 300px; /* Set canvas height to 300px for mobiles */
    }

    /* Style for the Spin button and text */
    #clickToSpin {
        font-size: 16px; /* Adjust text size for mobile */
        padding: 12px;
        
        cursor: pointer;
        display: inline-block;
    }

    #clickToSpin .arrow {
        font-size: 18px; /* Adjust arrow size */
        margin-left: 10px;
    }

    /* Adjust the size of the buttons on small screens */
    button {
        width: 100%; /* Make buttons 100% width for better mobile experience */
        font-size: 14px;
    }

    /* Adjust the size of the textarea for mobile */
    textarea {
        width: 100%; /* Make the textarea responsive */
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    /* Further adjustments for very small mobile devices */
    .wheel-container {
        max-width: 90%; /* Wheel container slightly smaller */
        padding: 5px; /* Reduce padding */
        margin-bottom: 15px;
    }

    /* Set canvas size for small mobile */
    #wheelCanvas {
        width: 200px; /* Set canvas width to 200px for small mobiles */
        height: 200px; /* Set canvas height to 200px for small mobiles */
    }

    /* Style for the Spin button and text */
    #clickToSpin {
        font-size: 14px; /* Further reduce font size for small screens */
        padding: 10px;
        
        display: inline-block;
    }

    #clickToSpin .arrow {
        font-size: 16px; /* Adjust arrow size for small devices */
        margin-left: 8px;
    }

    button {
        font-size: 12px; /* Smaller font size for buttons */
    }

    textarea {
        width: 100%; /* Full width for textarea */
        font-size: 12px;
    }

    /* Adjust result display for mobile */
    #result {
        font-size: 16px; /* Smaller font size for result */
    }
}


    #spinButton {
        display: none;
    }
    .features-header{
        text-align:center;
        padding:50px;
        background:#f4f4f4;
    }
    .page{
        padding:5rem;
    }
     .contact-us {
        padding: 2rem;
        background-color: #f4f4f4;
        color: #333;
        text-align: center;
    }
    .contact-us h2 {
        margin-bottom: 2rem;
    }
    .contact-info {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    .contact-item {
        background-color: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 250px;
        text-align: center;
    }
    .contact-item i {
        font-size: 2rem;
        color: #0853FF;
        margin-bottom: 1rem;
    }
    .contact-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    .contact-item p {
        font-size: 1rem;
        color: #555;
    }
    .contact-item a {
        color: #0853FF;
        text-decoration: none;
    }
    .contact-item a:hover {
        text-decoration: underline;
    }
        .privacy-policy {
        padding: 2rem;
        background-color: #f4f4f4;
        color: #333;
        font-family: Arial, sans-serif;
    }
    .privacy-policy h2 {
        text-align: center;
        margin-bottom: 1rem;
    }
    .privacy-policy .policy-content {
        max-width: 800px;
        margin: 0 auto;
    }
    .privacy-policy h3 {
        margin-top: 1.5rem;
        font-size: 1.2rem;
        font-weight: bold;
    }
    .privacy-policy p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .privacy-policy ul {
        list-style: none;
        padding-left: 1.5rem;
    }
    .privacy-policy ul li {
        margin-bottom: 0.5rem;
    }
    .privacy-policy a {
        color: #0853FF;
        text-decoration: none;
    }
    .privacy-policy a:hover {
        text-decoration: underline;
    }
        .error-404 {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background-color: #f4f4f4;
        color: #333;
        font-family: Arial, sans-serif;
    }
    .error-container {
        text-align: center;
    }
    .error-container h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #ff4040;
    }
    .error-container p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    .error-actions {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    .error-actions a {
        padding: 10px 20px;
        background-color: #0853FF;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    .error-actions a:hover {
        background-color: #333;
    }
    .back-home-btn {
        background-color: #28a745;
    }
    .back-home-btn:hover {
        background-color: #218838;
    }