.glow-text {
  display: inline-block; /* Required for the scale effect */
  transition: transform 0.3s ease; /* Makes the zoom smooth */
}

.glow-text:hover {
  transform: scale(1.05); /* Increases size by 5% */
}

/* Target the button class */
.wp-block-button__link, .custom-btn {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backface-visibility: hidden; /* Keeps the text sharp during animation */
}

/* The hover effect */
.wp-block-button__link:hover, .custom-btn:hover {
  transform: scale(1.05); /* Increases size by 5% */
}

.urgency-text {
  display: block; /* Changes from inline to block to allow centering */
  text-align: center; /* Centers the text within its container */
  color: #e63946;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-urgency 1.2s infinite ease-in-out;
}

@keyframes pulse-urgency {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0px rgba(230, 57, 70, 0);
  }
  50% {
    transform: scale(1.03);
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
  }
}

/* Container for the whole section */
.ai-course-features {
  padding: 40px 20px;
  background: #f9f9f9; /* Light background to make cards pop */
  border-radius: 15px;
}

/* Individual Feature Item */
.feature-item {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #000080; /* Navy Blue accent */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  list-style-type: none;
}

/* Smooth Hover Lift */
.feature-item:hover {
  transform: translateY(-5px) scale(1.02);
  /* Deeper shadow with a hint of navy */
  box-shadow: 0 10px 20px rgba(0, 0, 128, 0.15); 
}
/* Container for the 2-Column Section */
.learn-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

/* Learning Card Style */
.learn-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: 5px solid #000080; /* Navy Blue Accent */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Hover Effect: Subtle Lift & Navy Glow */
.learn-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 128, 0.1);
  border-top-width: 8px; /* Slightly thicker on hover */
}

/* Bold Headings inside Cards */
.learn-card strong {
  color: #000080;
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Small text/details */
.learn-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* The container that hides the overflow */
.ai-scroll-container {
  overflow: hidden;
  padding: 20px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

/* The moving row */
.ai-scroll-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

/* Pause on hover */
.ai-scroll-container:hover .ai-scroll-track {
  animation-play-state: paused;
}

/* Individual Feature Cards */
.ai-feature-card {
  display: inline-block;
  background: #ffffff;
  border-left: 4px solid #000080; /* Your Navy Blue */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 0 15px;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.ai-feature-card:hover {
  transform: scale(1.1);
  color: #000080;
}

/* The Animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Scrolls half the width (the duplicated set) */
}
