body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #f5f5f5, #e0e0e0);
    margin: 0;
    padding: 0;
  }
  
  .header {
    text-align: center;
    margin-top: 20px;
  }
  
  .logo {
    width: 150px;
  }
  
  .tagline {
    font-size: 1.5rem;
    color: #555;
  }
  
  .hero {
    text-align: center;
    padding: 50px 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    color: #222;
  }
  
  .start-quiz-btn {
    background-color: #ff8800;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .callouts {
    margin-top: 20px;
    text-align: center;
    color: #666;
  }
  
  .footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
  }
  /* Button Hover Animation */
.start-quiz-btn:hover {
    box-shadow: 0px 0px 15px 5px #ff8800;
    transition: box-shadow 0.3s ease-in-out;
  }
  
  /* Hero Section Refinement */
  .hero {
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Footer Link Enhancements */
  .footer a {
    color: #ff8800;
    text-decoration: underline;
  }
  
  .footer a:hover {
    text-decoration: none;
  }
  
  /* Typography Improvements */
  body {
    font-family: 'Roboto', sans-serif;
  }
  
  h1, h2 {
    font-weight: 700;
  }
  
  p, a {
    font-weight: 400;
  }
  
  /* Background Accent */
  body {
    background-image: url('assets/background-pattern.png');
    background-size: cover;
    background-position: center;
  }
  
  .logo {
    max-width: 300px; /* Adjust to fit the page */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the logo */
    display: block; /* Ensures proper alignment */
  }
  .quiz-container {
    text-align: center;
    padding: 20px;
  }
  
  .calculation-screen .splash {
    font-size: 3rem;
    animation: splashAnimation 0.5s ease-in-out;
  }
  
  .calculation-screen .calculating {
    font-size: 1.5rem;
    margin-top: 20px;
  }
  
  @keyframes splashAnimation {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
  }
  .quiz-container {
    display: none; /* Hide initially */
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
  }
  
  .quiz-timer {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff8800;
    margin-bottom: 20px;
    transition: color 0.3s ease;
  }

  .timer-area {
    margin-bottom: 10px;
  }

  .extra-time-container {
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
  }

  .extra-time-text {
    font-size: 0.85rem;
  }

  .extra-time-btn {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .extra-time-btn:hover {
    box-shadow: 0px 0px 10px 2px rgba(76, 175, 80, 0.6);
  }

  .grace-message {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    margin-bottom: 10px;
  }

  .quiz-timer.warning {
    color: #ff0000;
    animation: pulse 1s infinite;
  }

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

  .option {
    margin: 10px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .option.correct {
    background-color: #4CAF50;
    color: white;
    border-color: #45a049;
  }

  .option.incorrect {
    background-color: #f44336;
    color: white;
    border-color: #da190b;
  }

  .option:disabled {
    cursor: not-allowed;
    opacity: 0.7;
  }

  .progress-container {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin: 20px 0;
  }

  .progress-bar {
    height: 100%;
    background-color: #ff8800;
    border-radius: 5px;
    transition: width 0.3s ease;
  }

