/* General Styles */
.ptb-120 {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Card Styles */
.card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  height:257px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.card-text {
  color: #7f8c8d;
  font-size: 0.9rem;
  /* text-align: justify; */
}

/* Owl Carousel Styles */
.owl-carousel {
  /* margin: 0 50px; */
  margin: 0;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.owl-nav button {
  pointer-events: auto;
  background: rgba(223, 138, 11, 0.9) !important;
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 20px !important;
  font-weight: bold !important;
  color: #ffffff !important;
}

.owl-nav button:hover {
  background: #3498db !important;
  color: white !important;
}

.owl-prev {
  position: absolute;
  left: -10px;
}

.owl-next {
  position: absolute;
  right: -10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .owl-carousel {
      margin: 0; 
  }
  
  .owl-nav {
      display: none;
  }
  
  .card-title {
      font-size: 1.1rem;
  }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .owl-carousel .owl-nav {
    display: flex !important;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
  }
  
  .owl-carousel .owl-prev,
  .owl-carousel .owl-next {
    position: absolute;
    margin: 10px;
    width: 25px;
    height: 25px;
    background: rgba(223, 138, 11, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .owl-carousel .owl-prev {
    left: 5px !important;
  }
  
  .owl-carousel .owl-next {
    right: 5px !important;
  }
  
  .owl-carousel .owl-nav button:hover {
    background: #007bff !important;
    color: white !important;
  }
}
