/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color: #444;
}

p {
  line-height: 2rem;
}


.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-list li {
  display: flex;
  justify-content: space-between; /* Pushes first span left, last span right */
  align-items: center;            /* Vertically centers items */
  padding: 3px 0;                 /* Optional: add vertical spacing */
}

/* Optional: style the highlight class */
.highlight {
  font-weight: bold;
  color: #007bff;
}

/* Optional: ensure first span doesn’t shrink too much */
.schedule-list li > span:first-child {
  flex-shrink: 0;
}



.sidenav-trigger {
  color: #26a69a;
}

.parallax-container {
  min-height: 380px;
  border-radius: 20px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

footer.page-footer {
  margin: 0;
}

        .cta-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }


        .btn {
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1rem;
            transition: transform 0.3s, box-shadow 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary {
            background-color: var(--safety-red);
            color: #0F0F0F;
            box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
            border: 2px solid var(--rubber-black);

        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(211, 47, 47, 0.6);
            background-color: #007bff;
        }


        .btn-secondary {
            background-color: var(--rubber-black);
            color: var(--primary-tan);
            box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);

            border: 2px solid var(--rubber-black);
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            background-color: #007bff;
            color: var(--rubber-black);
        }


        .tire-swirl-container {
            position: absolute;
            width: 60vw;
            height: 60vh;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1;
            pointer-events: none;
        }
        /* The Swirling effect behind the tire */
        .swirl-motion {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 5px dashed var(--safety-red);
            animation: swirl 20s infinite linear;
            opacity: 0.9;
        }

        .inner-swirl {
            position: absolute;
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            border-radius: 50%;
            border: 2px solid rgba(255,250,240,0.6);
            border-top-color: transparent;
            animation: spin-slow 15s infinite linear;
        }


    /* Road container */
    .road-container {
      position: relative;
      width: 100%;
      max-width: 800px;
      height: 115px;
      background: #FFFFFF;
      overflow: hidden;
      border-radius: 6px;
      margin: 20px auto;
    }

    /* Road markings */
    .road-container::before {
      content: '';
      position: absolute;
      top: 50%;
      width: 100%;
      height: 3px;
      transform: translateY(-50%);
    }

    /* The tire wrapper (moves left → right) */
    .tire-wrapper {
      position: absolute;
      bottom: 15px;
      left: -70px; /* Start off-screen left */
      
      /* CRITICAL: combine forward + rotation */
      animation: 
        rollForward 12s linear infinite,
        tireSpin 1.2s linear infinite;
    }

    /* The SVG tire */
    .tire-svg {
      width: 101px;  /* Must match viewBox width (or scale as needed) */
      height: 101px;
      /* Ensure SVG scales uniformly */
      display: block;
    }

    /* Animations */
    @keyframes rollForward {
      0%   { left: -70px; }
      100% { left: 100%; }
    }

    @keyframes tireSpin {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Respect reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .tire-wrapper { animation: none; }
    }


        @keyframes swirl {
            0% { transform: rotate(0deg) scale(1.2); border-color: transparent var(--safety-red) transparent var(--safety-red); }
            50% { transform: rotate(180deg) scale(1.5); border-color: var(--safety-red) transparent var(--safety-red) transparent; }
            100% { transform: rotate(360deg) scale(1.2); border-color: transparent var(--safety-red) transparent var(--safety-red); }
        }

        @keyframes spin-slow {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(-360deg); }
        }

