/* Main Styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --success-color: #4cc9f0;
  --warning-color: #f72585;
  --info-color: #4895ef;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Utility Classes */
.bg-light-blue {
  background-color: rgba(67, 97, 238, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-light-green {
  background-color: rgba(76, 201, 240, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-light-orange {
  background-color: rgba(247, 37, 133, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-light-purple {
  background-color: rgba(72, 149, 239, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
}

.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Features Section */
.feature-card {
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Partners Section */
.partner-logo {
  max-height: 40px;
  max-width: 120px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Testimonials Section */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.rating {
  font-size: 0.9rem;
}

/* Contact Section */
.form-control {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
}

.social-icons a {
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.8;
}

/* Courses Page */
.courses-header {
  padding: 60px 0 30px;
}

.nav-pills .nav-link {
  color: #333;
  background-color: transparent;
  border: 1px solid #dee2e6;
  margin-right: 10px;
  padding: 0.5rem 1.5rem;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Course Detail Page */
.course-header {
  padding: 60px 0;
}

.instructor-avatar img {
  border: 3px solid var(--primary-color);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(67, 97, 238, 0.1);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(67, 97, 238, 0.1);
}

.tab-content {
  padding: 20px 0;
}

.nav-tabs .nav-link {
  color: #495057;
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0;
    text-align: center;
  }
  
  .hero-section .btn-group {
    justify-content: center;
  }
  
  .feature-card, .testimonial-card {
    margin-bottom: 20px;
  }
  
  .course-header {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .nav-pills .nav-link {
    margin-bottom: 10px;
  }
}