/* News Thumb */
.news-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
.news-image{
  width: 100%;
}

/* News Item */
.news-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.news-content {
  flex: 1;
}

.news-content h4 {
  margin: 0 0 10px 0;
}

.news-content p {
  margin: 0;
  color: #666;
}

/* Responsive Design */
@media (max-width: 767.98px) {
  .news-item {
    flex-direction: column;
  }
  
  .news-thumb {
    height: 120px;
  }
}


/* Component Specific Styles */
.teacher-name {
  color: #6ca7ff;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 100px 0;
}

.testimonials-section h2 {
  color: var(--white);
}

.testimonials-section h2:after {
  background-color: var(--white);
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 40px;
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-text:before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -30px;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-info h5 {
  margin: 0;
  color: var(--white);
}

.testimonial-info p {
  margin: 0;
  opacity: 0.8;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 5%;
}

.carousel-control-next {
  right: 5%;
}

/* Course Cards */
.course-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.course-card.featured {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid var(--light-blue);
}

.course-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.course-header {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 20px;
  position: relative;
}

.course-header h3 {
  margin: 0;
  color: var(--white);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 10px;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-features {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
  flex: 1;
}

.course-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 25px;
}

.course-features li:last-child {
  border-bottom: none;
}

.course-features li:before {
  content: "✓";
  color: var(--light-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Form Controls */
.form-control {
  height: 50px;
  border-radius: var(--border-radius);
  border: 1px solid #ced4da;
  padding: 10px 15px;
}

.form-control:focus {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 0.25rem rgba(108, 167, 255, 0.25);
}


/* Schedule Table */
.table {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background-color: var(--dark-blue);
  color: var(--white);
  border: none;
}

.table td {
  vertical-align: middle;
  padding: 15px;
}

.class-info {
  font-size: 0.9rem;
}

.teacher {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin: 5px 0;
}

.badge {
  font-size: 0.7rem;
  padding: 5px 10px;
  margin: 5px 0;
  display: block;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .table {
    font-size: 0.8rem;
  }
  
  .class-info {
    font-size: 0.7rem;
  }
}