/* /ptc/css/pages/home/hero.css */

/* --- Hero Section --- */
.homepage-hero {
    color: var(--dark-color);
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 2rem;
    background-color: #f0f3ff;
    background-image: radial-gradient(#dbe2ff 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e7ff;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #555;
}

/* --- uiverse.io Buttons (Light Mode & Fixed) --- */
.hero-actions .btn {
  font-family: inherit;
  font-size: 18px;
  background: linear-gradient(to right, var(--primary-color-hover), var(--primary-color));
  color: white;
  padding: 0.8em 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  text-decoration: none;
  min-width: 200px;
  gap: 8px; /* Use gap for spacing between text and icon */
}

.hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn:hover svg {
  transform: translateX(4px); /* Animate the icon on hover */
}

.hero-actions .btn:active {
  transform: translateY(1px);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn svg {
    transition: transform 0.3s ease;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem; /* Smaller title on mobile */
    }

    .homepage-hero {
        padding: 4rem 1rem; /* Less padding on mobile */
    }

    .hero-actions {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;   /* Center the stacked buttons */
        gap: 1rem;             /* Reduce space between buttons */
    }
}