#owl-categories {
   padding: 0 !important;
   margin: 0 !important;
   transition: opacity 0.5s ease-in-out;
}

#owl-categories .item {
   transition: transform 0.3s ease-in-out;
}

#owl-categories .item:hover {
   transform: translateY(-10px);
}

.border-orange-teachers {
   border-bottom: 2px solid orange !important;
   border-top: 2px solid orange !important;
   padding: 5vh !important;
   min-height: 300px;
}

/* Card Styling */
.category-card {
   border-radius: 20px !important;
   overflow: hidden;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
   transition: all 0.3s ease;
   border: none;
   height: 100%;
   display: flex;
   flex-direction: column;
   background: #fff;
}

.category-card:hover {
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper with Overlay */
.card-img-wrapper {
   position: relative;
   overflow: hidden;
   height: 250px;
}

.card-img-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.5s ease;
}

.category-card:hover .card-img-wrapper img {
   transform: scale(1.1);
}

.card-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(
      135deg,
      rgba(1, 59, 75, 0.8),
      rgba(255, 165, 0, 0.6)
   );
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.category-card:hover .card-overlay {
   opacity: 1;
}

.card-overlay i {
   color: white;
   font-size: 3rem;
   animation: pulse 1.5s infinite;
}

@keyframes pulse {
   0%,
   100% {
      transform: scale(1);
   }
   50% {
      transform: scale(1.1);
   }
}

/* Card Body */
.category-card .card-body {
   flex: 1;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   padding: 2rem 1.5rem;
}

.category-card .card-title {
   color: #013b4b;
   font-weight: bold;
   font-size: 1.4rem;
   margin-bottom: 1rem;
}

.category-note {
   color: #ff9800;
   font-size: 0.95rem;
   margin-bottom: 0.8rem;
   font-weight: 500;
}

.category-note i {
   margin-left: 5px;
}

.category-price {
   color: #666;
   font-size: 1rem;
   margin-bottom: 1.2rem;
}

.category-price i {
   color: #ff9800;
   margin-left: 5px;
}

.price-value {
   color: #013b4b;
   font-weight: bold;
   font-size: 1.1rem;
}

/* Category Button */
.btn-category {
   background: linear-gradient(135deg, #013b4b 0%, #026d8a 100%);
   color: white !important;
   border: none;
   border-radius: 50px;
   padding: 12px 30px;
   font-weight: 600;
   font-size: 1rem;
   transition: all 0.3s ease;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   text-decoration: none;
   margin-top: auto;
}

.btn-category:hover {
   background: linear-gradient(135deg, #026d8a 0%, #013b4b 100%);
   transform: translateX(-5px);
   box-shadow: 0 5px 15px rgba(1, 59, 75, 0.3);
}

.btn-category i {
   font-size: 1.2rem;
   transition: transform 0.3s ease;
}

.btn-category:hover i {
   transform: translateX(-5px);
}

/* View All Button */
.btn-view-all {
   background: #013b4b !important;
   color: white !important;
   border: none;
   border-radius: 50px;
   padding: 15px 40px;
   font-weight: 600;
   font-size: 1.1rem;
   transition: all 0.3s ease;
   display: inline-flex;
   align-items: center;
   gap: 12px;
   text-decoration: none;
   box-shadow: 0 4px 15px rgba(1, 59, 75, 0.2);
}

.btn-view-all:hover {
   background: #ff9800 !important;
   transform: translateY(-3px);
   box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-view-all i {
   font-size: 1.3rem;
}

/* Loading Spinner Styles */
#categories-loader {
   min-height: 200px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.spinner-border {
   width: 3rem;
   height: 3rem;
   border-width: 0.3em;
   color: #013b4b !important;
}

/* Responsive */
@media (max-width: 768px) {
   .card-img-wrapper {
      height: 200px;
   }

   .category-card .card-title {
      font-size: 1.2rem;
   }

   .btn-category {
      padding: 10px 25px;
      font-size: 0.9rem;
   }
}
