/* Hero Section */
.hero {
  text-align: center;
  padding: 0;
  background: #fff;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
}

.hero-slider {
  position: relative;
  max-width: 960px;
  height: 540px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0);
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 30px;
  color: #333;
  transition: background 0.3s;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 1);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Content Cards Section */
.content-cards {
  padding: 10px 0px;
  background: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 0;
}

.card-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.card-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.card-content a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  transition: color 0.3s;
  display: block;
}

.right-a {
  text-decoration: underline;
  font-size: 15px;
  transition: color 0.3s;
  display: block;
  text-align: right;
  
}

@media (max-width: 768px) {
  .cards-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-slider {
    aspect-ratio: 16 / 9; 
    width: 100%;
    height: auto;
  }
}
