/* === HOME PAGE STYLES === */

.hero {
    background-image: url("../assets/images/work.jpg");
    background-size: cover;
    background-position: center;
    height: 70vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-overlay {
    background-color: rgba(76, 47, 47, 0.4);
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    color: rgb(69, 208, 239);
    margin-bottom: 1rem;
  }
  
  .hero-text .btn-primary {
    margin-top: 1.5rem;
  }
  
  /* Gallery Section */
  .image-gallery {
    text-align: center;
  }
  
  .image-gallery h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #675b5b;
  }
  
  .carousel-container {
    overflow: hidden;
    position: relative;
  }
  
  .carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex: 0 0 calc(33.333% - 0.67rem);
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(124, 43, 194, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
  }
  
  .carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }
  /* Card container */
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Grid layout for program cards */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Placeholder image styles */
.placeholder-img {
  background: linear-gradient(135deg, #e0e0e0, #cfcfcf);
  border-radius: 0.75rem;
  height: 180px;
  margin-bottom: 1rem;
}

.placeholder-img.small {
  height: 120px;
}

.card-content {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
