:root {
  --primary-orange: #ff6b35;
  --dark-navy: #1e3a5f;
  --teal: #26c6da;
  --light-gray-bg: #f5f7fa;
  --text-gray: #6c757d;
  --dark-footer: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-navy);
  background: var(--light-gray-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-orange) !important;
}

.navbar-nav .nav-link {
  color: var(--dark-navy);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange);
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--primary-orange);
  border-radius: 20px;
  color: var(--primary-orange);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--primary-orange);
  color: white;
}

/* Breadcrumb */
.breadcrumb-section {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
  margin: 0;
  background: transparent;
}

.breadcrumb-item a {
  color: var(--text-gray);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--primary-orange);
}

/* Course Header */
.course-header {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #2c4a6f 100%);
  color: white;
  padding: 60px 0;
}

.course-badge {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.course-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.course-meta-header {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-item i {
  color: var(--primary-orange);
  font-size: 1.2rem;
}

.rating {
  color: #ffc107;
}

/* Main Content */
.course-content {
  padding: 60px 0;
}

.content-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
  color: var(--dark-navy);
  margin-bottom: 25px;
  font-size: 1.75rem;
}

.content-section h3 {
  color: var(--dark-navy);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.content-section p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section ul li {
  color: var(--text-gray);
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
}

.content-section ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-orange);
}

/* Curriculum */
.curriculum-item {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.curriculum-item:hover {
  border-color: var(--primary-orange);
}

.curriculum-header {
  background: var(--light-gray-bg);
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.curriculum-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark-navy);
}

.curriculum-header span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.curriculum-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.curriculum-content.active {
  max-height: 500px;
  padding: 20px 25px;
}

.lesson-item {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
}

.lesson-item:last-child {
  border-bottom: none;
}

.lesson-item i {
  color: var(--primary-orange);
  margin-right: 10px;
}

/* Instructor Card */
.instructor-card {
  background: var(--light-gray-bg);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.instructor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
}

.instructor-info h4 {
  margin-bottom: 5px;
  color: var(--dark-navy);
}

.instructor-info p {
  color: var(--text-gray);
  margin-bottom: 15px;
}

.instructor-stats {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.stat {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.stat i {
  color: var(--primary-orange);
  margin-right: 5px;
}

.view-profile-btn {
  background: var(--primary-orange);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.view-profile-btn:hover {
  background: #e55a2a;
  color: white;
}

/* Sidebar */
.course-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.course-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
}

.price-tag {
  font-size: 2.5rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 25px;
}

.enroll-btn {
  background: var(--primary-orange);
  color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.enroll-btn:hover {
  background: #e55a2a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
  color: white;
}

.sidebar-info {
  list-style: none;
  padding: 0;
}

.sidebar-info li {
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
}

.sidebar-info li:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-gray);
}

.info-value {
  color: var(--dark-navy);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--dark-footer);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@media (max-width: 768px) {
  .course-header h1 {
    font-size: 1.75rem;
  }

  .course-sidebar {
    position: relative;
    top: 0;
    margin-top: 30px;
  }

  .instructor-card {
    flex-direction: column;
    text-align: center;
  }
}
