/* ==============================
   Global & Structural Styles
   ============================== */
   html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  body {
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  main {
    flex: 1;
  }
  body, p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* Header & Footer */
  :root {
    --header-footer-bg: #f1f3f5;
  }
  header, .navbar, footer {
    background-color: var(--header-footer-bg);
  }
  
  /* Basic Button Hover */
  .btn-primary {
    transition: background-color 0.2s ease;
  }
  .btn-primary:hover {
    background-color: #0056b3;
  }

  .navbar-brand img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
  }
  
  /* ==============================
     Hero Section
     ============================== */
  /* 
     Unified hero style: merges `.hero-section-home` and `.hero-custom`.
     Adjust the background image & gradient as desired.
  */
  .hero-custom {
    background: url('/storage/images/home-background.webp') no-repeat center center;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 60px 0;
    position: relative;
  }
  .hero-custom .hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;  /* ensures overlay doesn’t block clicks */
    z-index: 1;
  }
  .hero-custom .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 20px;
  }
  .hero-custom .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
  }
  .hero-custom .hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
  }
  .hero-custom .hero-benefits {
    font-size: 1rem;
    color: #333;
  }
  .hero-custom .hero-benefits ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
  }
  .hero-custom .hero-benefits li {
    margin-bottom: 5px;
  }

  /* Media query to remove the background image on smaller devices */
@media (max-width: 768px) {
  .hero-custom {
    /* Hide only the image portion, keep the gradient or fallback color */
    background-image: none;
    background-color: #f0f9ff; /* or whichever color you prefer */
    min-height: auto; /* Let the hero shrink based on content */
    padding: 40px 0;
  }
}
  
  /* ==============================
     Metrics / Success Section
     ============================== */
  .metrics-section {
    background: #fff;
    padding: 20px 0;
  }
  .metric-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
  }
  
  /* ==============================
     Benefits Section
     ============================== */
  .benefits-section {
    background: #fff;
    padding: 40px 0;
  }
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
  }
  .benefits-list {
    font-size: 1rem;
    color: #333;
    margin: 0 auto;
    max-width: 700px;
  }
  .benefits-list li {
    margin-bottom: 10px;
  }
  
  /* ==============================
     About / Learn More Page
     ============================== */
  .about-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
  }
  
  /* How It Works */
  .how-it-works {
    margin-bottom: 40px;
  }
  .how-it-works img {
    max-width: 100%;
    border-radius: 8px;
  }
  .how-it-works h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #333;
  }
  .how-it-works p {
    font-size: 1rem;
    color: #555;
  }
  .how-it-works ul {
    font-size: 1rem;
    color: #333;
  }
  .how-it-works li {
    margin-bottom: 0.5rem;
  }
  
  /* Success Stories / Metrics */
  .success-stories {
    margin-bottom: 40px;
    border-radius: 8px;
  }
  .success-stories h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #333;
  }
  .success-stories p {
    font-size: 1rem;
    color: #555;
  }
  
  /* Pricing Section */
  .pricing-section {
    margin-bottom: 40px;
  }
  .pricing-section h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #333;
  }
  .pricing .card {
    border-radius: 8px;
  }
  .pricing .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
  }
  .pricing p {
    font-size: 1rem;
    color: #555;
  }
  
  /* ==============================
     Featured Courses Section
     ============================== */
  .featured-courses-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* ensures container doesn't exceed parent */
  }
  .courses-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -ms-overflow-style: none;   /* hide scrollbar in IE/Edge */
    scrollbar-width: none;      /* hide scrollbar in Firefox */
  }
  .courses-scroll-container::-webkit-scrollbar {
    display: none; /* hide scrollbar in Chrome/Safari */
  }
  .courses-scroll-container .course-card {
    flex: 0 0 auto;
    width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .courses-scroll-container .course-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
  }
  .courses-scroll-container .course-card .course-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 120px);
  }
  .courses-scroll-container .course-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .courses-scroll-container .course-card .tagline {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: auto;
  }
  .courses-scroll-container .course-card .btn {
    margin-top: 10px;
  }
  
  /* Arrow Buttons */
  .arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .arrow-btn:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.05);
  }
  .arrow-btn-left {
    left: 0;
  }
  .arrow-btn-right {
    right: 0;
  }
  .arrow-icon {
    font-size: 1.8rem;
    color: #333;
  }
  .arrow-btn:hover .arrow-icon {
    color: #007bff;
  }

  .course-card-soft {
    background-color: #fefefe; 
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .course-card-soft:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  /* Soft Primary Button */
  .btn-soft-primary {
    background-color: #e8f0fe;
    color: #0056b3;
    border: none;
  }
  .btn-soft-primary:hover {
    background-color: #d7e3fd;
    color: #003e84;
  }
  
  /* Disabled "View Plan" for pending */
  .btn-soft-secondary:disabled {
    background-color: #e2e3e5;
    color: #777;
    border: none;
  }
  
  
  /* ==============================
     Testimonials Section
     ============================== */
     /* Wrapper for all testimonials */
.testimonial-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* The scrollable container */
.testimonials-scroll {
  display: flex;
  gap: 1rem;
  animation: scrollTestimonials 30s linear infinite;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scroll-snap-type: x mandatory;      /* Snap to cards */
}

/* Each testimonial card */
.testimonial-card {
  flex: 0 0 auto;
  width: 280px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  scroll-snap-align: start; /* Snap each card to start */
}

/* Circle initial styling */
.user-initial {
  width: 50px;
  height: 50px;
  background-color: #999;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animation for continuous leftward scrolling (desktop) */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause the animation on hover (desktop) */
.testimonials-scroll:hover {
  animation-play-state: paused;
}

/* Responsive: disable animation on mobile for manual swipe */
@media (max-width: 768px) {
  .testimonials-scroll {
    animation: none;       /* Disable automatic scrolling on mobile */
    overflow-x: auto;      /* Allow user to swipe horizontally */
    scroll-snap-type: x mandatory;
  }
}

  /* ==============================
     Dashboard & Cards
     ============================== */
  .dashboard-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  }
  .dashboard-card .card-body {
    padding: 20px;
  }
  .dashboard-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  /* ==============================
     Profile Editing & Avatars
     ============================== */
  .profile-edit-container {
    max-width: 600px;
    margin: 0 auto;
  }
  .profile-edit-container .card {
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .profile-edit-container .card-body {
    padding: 20px;
  }
  
  /* Avatars */
  .profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
  }
  .default-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #999;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 50%;
    margin: 0 auto; /* centers horizontally */
  }
  
  /* ==============================
     Contact Page
     ============================== */
  .container.my-5 {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  ul.list-unstyled {
    padding-left: 0;
    list-style-type: none;
  }
  ul.list-unstyled li {
    margin-bottom: 0.5rem;
  }
  .contact-info .contact-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
  }
  .contact-info .contact-item i {
    font-size: 1.2rem;
    color: #007bff;
  }
  .contact-info a {
    color: #007bff;
    text-decoration: none;
  }
  .contact-info a:hover {
    text-decoration: underline;
  }
  
  /* ==============================
     Footer
     ============================== */
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #777;
    font-size: 0.85rem;
  }
  .footer-link {
    color: inherit;
    text-decoration: none;
  }
  .separator {
    margin: 0 5px;
    color: inherit;
  }
  @media (max-width: 576px) {
    .footer-content {
      flex-direction: column;
    }
    .separator {
      display: none;
    }
  }
  
  /* ==============================
     Responsive Adjustments
     ============================== */
  @media (max-width: 768px) {
    .hero-custom {
      padding: 60px 0;
    }
    .hero-custom .hero-content {
      padding: 15px;
      max-width: 90%;
    }
  }
  
  .seminar-cover img {
    max-height: 300px; /* Keep the cover image from getting too tall */
    object-fit: cover;  /* Crop to fill the area */
    width: 100%;
  }
  
  /* Optional: Card hover effect for the event details */
  .card.shadow-sm.border-0:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.2s;
  }
  
  /* Icons can be styled to stand out more if desired */
  .text-primary {
    color: #007bff !important;
  }

  /* Common styling for both buttons */
  .btn-explore,
  .btn-win {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 30px; /* Rounded, pill-shaped buttons */
    text-decoration: none;
    color: #000; /* Black text */
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 220px; /* Ensure equal minimum width */
  }

  /* Darker light gray pastel gradient for Explore Courses */
  .btn-explore {
    background: linear-gradient(90deg, #cccccc 0%, #e0e0e0 100%);
  }

  /* Darker pastel light pink gradient for Win Job! */
  .btn-win {
    background: linear-gradient(90deg, #ffcccc 0%, #ffb3b3 100%);
  }

  /* Hover effect for both buttons */
  .btn-explore:hover,
  .btn-win:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }



  
