/* Modern Panda Digital V3 Styles - Minimalistic Design */

:root {
  --primary-color: #ffcb3b;
  --primary-dark: #ffcb3b;
  --primary-light: #ffcb3b;
  --secondary-color: #5f4594;
  --secondary-dark: #4a3675;
  --secondary-light: #7a5bb8;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --light-color: #f8fafc;
  --dark-color: #1e293b;
  --gray-color: #64748b;
  --gray-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* User Dashboard Styles */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  background: white;
  color: var(--secondary-color);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #e9ecef;
  border-top: 3px solid var(--primary-color);
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  background: white;
}

.sidebar-brand {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.sidebar-brand:hover {
  color: var(--secondary-color);
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
}

.sidebar-user {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.user-avatar {
  margin-bottom: 10px;
}

.user-info h6 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.user-info small {
  color: #6c757d;
}

.sidebar-nav {
  padding: 20px 0;
  flex: 1;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 5px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
}

.nav-link i {
  width: 20px;
  margin-right: 12px;
  text-align: center;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e9ecef;
  background: white;
}

.sidebar-footer .nav-link {
  color: var(--secondary-color);
  padding: 10px 0;
}

.sidebar-footer .nav-link:hover {
  color: var(--primary-color);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 280px;
  background: #f8f9fa;
  min-height: 100vh;
  transition: all 0.3s ease;
}

/* Top Navigation Bar */
.top-navbar {
  background: white;
  padding: 15px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-left {
  display: flex;
  align-items: center;
}

.page-title {
  color: var(--secondary-color);
  font-weight: 600;
  margin-left: 15px;
}

.nav-right .user-dropdown .btn {
  color: var(--secondary-color);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(95, 69, 148, 0.1);
  border: none;
}

.nav-right .user-dropdown .btn:hover {
  background: rgba(95, 69, 148, 0.2);
}

/* Content Wrapper */
.content-wrapper {
  padding: 30px;
}

/* Dashboard specific styles */
.welcome-section {
  margin-bottom: 2rem;
}

.quick-actions {
  margin-bottom: 2rem;
}

.action-btn {
  display: block;
  padding: 20px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.action-btn:hover {
  border-color: var(--primary-color);
  background: rgba(255, 188, 59, 0.05);
  color: var(--secondary-color);
  text-decoration: none;
}

.stats-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-2px);
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Statistics Cards - ONLY TOP BORDERS, NO FILLED BACKGROUNDS */
.stats-card {
  background: white !important;
  color: var(--secondary-color) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef !important;
  border-top: 3px solid var(--primary-color) !important;
}

.stats-card.success {
  background: white !important;
  color: var(--secondary-color) !important;
  border: 1px solid #e9ecef !important;
  border-top: 3px solid var(--secondary-color) !important;
}

.stats-card.info {
  background: white !important;
  color: var(--secondary-color) !important;
  border: 1px solid #e9ecef !important;
  border-top: 3px solid var(--primary-color) !important;
}

.stats-card.warning {
  background: white !important;
  color: var(--secondary-color) !important;
  border: 1px solid #e9ecef !important;
  border-top: 3px solid var(--primary-color) !important;
}

/* Buttons */
.btn-primary-custom {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--primary-color);
  color: black;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary-custom {
  background: white;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dashboard Course Cards */
.dashboard-container .course-image {
  background: white;
  border: 1px solid #e9ecef;
  border-top: 3px solid var(--primary-color);
  width: 100px;
  height: 100px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  overflow: hidden;
}

.dashboard-container .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.dashboard-container .course-placeholder {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border-radius: 6px;
  color: #6c757d;
}

/* User Dashboard Course Images (for user/courses.php) */
.dashboard-container .course-image {
  background: white;
  border: 1px solid #e9ecef;
  border-top: 3px solid var(--primary-color);
  width: 100%;
  height: 350px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.dashboard-container .course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dashboard-container .course-card:hover .course-image img {
  transform: scale(1.05);
}

.dashboard-container .course-placeholder {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

/* Courses Page Specific Styles */
.dashboard-container.courses-page .course-card {
  flex-direction: column;
  align-items: stretch;
}

.dashboard-container.courses-page .course-image {
  margin-bottom: 0;
}

.dashboard-container.courses-page .course-body {
  padding: 1rem;
}

.dashboard-container.courses-page .course-footer {
  padding: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Progress Bars */
.progress-bar {
  background-color: var(--primary-color) !important;
}

/* Activity Items */
.activity-item {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.activity-item h6 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.activity-item p {
  color: #6c757d;
  margin-bottom: 5px;
}

.activity-item small {
  color: #adb5bd;
}

/* Course Cards */
.course-card {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.dashboard-container .course-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.course-body {
  flex: 1;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

.course-body h6 {
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.course-body p {
  color: #6c757d;
  margin-bottom: 0;
}

.course-footer {
  padding: 0;
  margin-top: auto;
}

/* Welcome Section */
.welcome-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  border-top: 3px solid var(--primary-color);
}

.welcome-section h1 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.welcome-section p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Quick Actions */
.quick-actions {
  margin-bottom: 30px;
}

.quick-actions h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.action-btn {
  display: block;
  padding: 20px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 2px solid var(--primary-color);
}

.action-btn:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: var(--secondary-color);
}

.action-btn span {
  display: block;
  margin-bottom: 5px;
}

.action-btn small {
  color: #6c757d;
}

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-header {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 20px;
}

.card-header h5 {
  color: var(--secondary-color);
  margin-bottom: 0;
}

.card-body {
  padding: 20px;
}

/* Progress Circle */
.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  border: 8px solid #e9ecef;
  background: white;
}

.progress-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Buttons */
.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: black;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 1000;
  }

  .sidebar.collapsed {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 15px !important;
  }

  .dashboard-container.sidebar-collapsed .main-content {
    margin-left: 0 !important;
  }

  /* Fix container margins on mobile */
  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Fix card margins on mobile */
  .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Fix form margins on mobile */
  .form-control,
  .form-select {
    margin-bottom: 15px !important;
  }

  /* Fix page header margins on mobile */
  .page-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 15px !important;
  }
}

/* Additional mobile fixes for smaller screens */
@media (max-width: 768px) {
  .main-content {
    padding: 10px !important;
  }

  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .page-header {
    padding: 10px !important;
  }

  /* Fix category grid on mobile */
  .category-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  /* Fix priority badges on mobile */
  .priority-badge {
    display: block !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 5px !important;
  }

  .container-fluid {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .page-header {
    padding: 5px !important;
  }

  /* Fix form spacing on very small screens */
  .mb-4 {
    margin-bottom: 1rem !important;
  }

  .card-body {
    padding: 1rem !important;
  }
}

@media (min-width: 992px) {
  .sidebar-toggle {
    display: none;
  }
}

/* User Dashboard Specific Mobile Fixes */
@media (max-width: 991.98px) {
  /* Fix dashboard container on mobile */
  .dashboard-container {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Fix sidebar positioning on mobile */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 1000;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  /* Fix main content positioning on mobile */
  .main-content {
    position: relative;
    z-index: 1;
  }

  /* Fix form layouts on mobile */
  .feedback-card,
  .stats-card,
  .course-card {
    margin: 10px 0 !important;
    border-radius: 10px !important;
  }

  /* Fix input groups on mobile */
  .input-group {
    margin-bottom: 15px !important;
  }

  /* Fix button groups on mobile */
  .btn-group {
    display: flex !important;
    flex-direction: column !important;
  }

  .btn-group .btn {
    margin-bottom: 5px !important;
    border-radius: 5px !important;
  }

  /* Fix dashboard grid layout on mobile */
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .col-md-3,
  .col-md-6,
  .col-lg-8,
  .col-lg-4 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Fix stats cards on mobile */
  .stats-card {
    margin-bottom: 15px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  /* Fix action buttons on mobile */
  .action-btn {
    min-width: 0 !important;
    padding: 15px 10px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  /* Fix progress section on mobile */
  .progress-circle {
    max-width: 150px !important;
    margin: 0 auto !important;
  }

  /* Fix content wrapper on mobile */
  .content-wrapper {
    padding: 15px !important;
    overflow-x: hidden !important;
  }

  /* Fix welcome section on mobile */
  .welcome-section {
    padding: 15px 0 !important;
  }

  /* Fix quick actions on mobile */
  .quick-actions {
    padding: 15px 0 !important;
  }

  /* Fix cards on mobile */
  .card {
    margin-bottom: 15px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    min-width: 0 !important;
  }

  .card-body {
    padding: 15px !important;
  }
}

/* Additional mobile fixes for smaller screens */
@media (max-width: 768px) {
  /* Force single column layout on mobile */
  .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .col-lg-8,
  .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Fix action buttons layout */
  .quick-actions .row {
    margin: 0 !important;
  }

  .quick-actions .col-md-3 {
    padding: 0 15px !important;
    margin-bottom: 10px !important;
  }

  /* Fix stats cards spacing */
  .stats-card {
    margin: 5px 0 !important;
  }

  /* Fix content wrapper */
  .content-wrapper {
    padding: 10px !important;
  }

  /* Force all dashboard elements to fit mobile */
  .dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Fix any remaining horizontal issues */
  .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .content-wrapper {
    padding: 5px !important;
  }

  .col-md-3,
  .col-md-6,
  .col-lg-8,
  .col-lg-4 {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .stats-card {
    margin: 2px 0 !important;
  }

  .card-body {
    padding: 10px !important;
  }

  /* Ultra-aggressive mobile fixes */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding: 5px !important;
  }

  .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .col-md-3,
  .col-md-6,
  .col-lg-8,
  .col-lg-4,
  .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 10px !important;
    margin: 0 !important;
  }

  .card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
    overflow: hidden !important;
  }

  .stats-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
  }

  .action-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
  }
}

/* Override Bootstrap Colors */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--black-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--black-color) !important;
}

.btn-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white-color) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: var(--white-color) !important;
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--black-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Top Bar */
.top-bar {
  font-size: 0.875rem;
  background: var(--primary-color) !important;
}

.top-bar a {
  text-decoration: none;
  transition: var(--transition);
}

.top-bar a:hover {
  opacity: 0.8;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Minimalistic Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--secondary-color) !important;
}

.navbar-brand img {
  height: 45px;
  transition: var(--transition);
}

.navbar-nav {
  margin-left: auto;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.15rem;
  font-size: 0.9rem;
  text-transform: none;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(255, 188, 59, 0.1);
}

.navbar-nav .nav-link:hover::before {
  width: 60%;
}

.navbar-nav .nav-link.active {
  color: #ffbc3b !important;
  background: #5f4594 !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(95, 69, 148, 0.3);
}

/* Override any Bootstrap or conflicting styles */
.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active:hover,
.navbar-nav .nav-item .nav-link.active:focus {
  color: #ffbc3b !important;
  background: #5f4594 !important;
  border-color: #5f4594 !important;
}

/* Force override with maximum specificity */
body .navbar .navbar-nav .nav-item .nav-link.active,
body .navbar .navbar-nav .nav-item .nav-link.active:hover,
body .navbar .navbar-nav .nav-item .nav-link.active:focus,
body .navbar .navbar-nav .nav-item .nav-link.active:visited {
  color: #ffbc3b !important;
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  border-color: #5f4594 !important;
}

/* Additional specificity for Bootstrap overrides */
html body .navbar .navbar-nav .nav-item .nav-link.active {
  color: #ffbc3b !important;
  background: #5f4594 !important;
  background-color: #5f4594 !important;
}

/* Ensure active state is always visible */
.navbar-nav .nav-link[class*="active"] {
  color: #ffbc3b !important;
  background: #5f4594 !important;
  background-color: #5f4594 !important;
}

/* Force background color override */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover,
.navbar-nav .nav-link.active:focus,
.navbar-nav .nav-link.active:visited {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  background-image: none !important;
  background-clip: border-box !important;
}

/* Ensure navbar background doesn't interfere */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-nav .nav-link {
  background: transparent !important;
}

.navbar-nav .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
}

/* Additional override for any remaining conflicts */
.navbar-nav .nav-link.active,
.navbar-nav .nav-item .nav-link.active,
.navbar .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Final override for maximum compatibility */
.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active:hover,
.navbar-nav .nav-item .nav-link.active:focus,
.navbar-nav .nav-item .nav-link.active:visited,
.navbar-nav .nav-item .nav-link.active:active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
  border: none !important;
  outline: none !important;
}

/* Dropdown toggle active state */
.navbar-nav .nav-item .dropdown-toggle.active,
.navbar-nav .nav-item .dropdown-toggle.active:hover,
.navbar-nav .nav-item .dropdown-toggle.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Desktop navbar specific overrides - maximum specificity */
.navbar .navbar-nav .nav-item .nav-link.active,
.navbar .navbar-nav .nav-item .nav-link.active:hover,
.navbar .navbar-nav .nav-item .nav-link.active:focus,
.navbar .navbar-nav .nav-item .nav-link.active:visited,
.navbar .navbar-nav .nav-item .nav-link.active:active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  background-image: none !important;
  color: #ffbc3b !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(95, 69, 148, 0.3) !important;
}

/* Additional desktop specificity */
.navbar.navbar-expand-lg .navbar-nav .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Force override for any remaining desktop conflicts */
.navbar.navbar-expand-lg .navbar-nav .nav-item .nav-link.active,
.navbar.navbar-expand-lg .navbar-nav .nav-item .nav-link.active:hover,
.navbar.navbar-expand-lg .navbar-nav .nav-item .nav-link.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Target the specific navbar structure */
.navbar.sticky-top .navbar-nav .nav-item .nav-link.active,
.navbar.navbar-light .navbar-nav .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Bootstrap override - maximum specificity */
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active:hover,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Target any possible Bootstrap active states */
.navbar-nav .nav-item .nav-link.active.show,
.navbar-nav .nav-item .nav-link.active.collapsed,
.navbar-nav .nav-item .nav-link.active.expanded {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Force background with inline-style level specificity */
.navbar-nav .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  background-image: none !important;
  background-clip: border-box !important;
  background-origin: border-box !important;
  background-size: auto !important;
  background-repeat: repeat !important;
  background-attachment: scroll !important;
  color: #ffbc3b !important;
}

/* Additional specificity for the exact navbar structure */
.navbar.navbar-expand-lg .navbar-nav .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Target the exact navbar structure from header.php */
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active:hover,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .nav-link.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
  border: none !important;
  outline: none !important;
}

/* Target the specific collapse structure */
.navbar-collapse .navbar-nav .nav-item .nav-link.active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Target dropdown-toggle active state specifically */
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .dropdown-toggle.active,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .dropdown-toggle.active:hover,
.navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-nav
  .nav-item
  .dropdown-toggle.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Additional dropdown active state targeting */
.navbar-nav .nav-item .dropdown-toggle.active,
.navbar-nav .nav-item .dropdown-toggle.active:hover,
.navbar-nav .nav-item .dropdown-toggle.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

/* Maximum specificity override - should definitely work */
html
  body
  .navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-collapse
  .navbar-nav
  .nav-item
  .nav-link.active,
html
  body
  .navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-collapse
  .navbar-nav
  .nav-item
  .nav-link.active:hover,
html
  body
  .navbar.navbar-expand-lg.navbar-light.sticky-top
  .navbar-collapse
  .navbar-nav
  .nav-item
  .nav-link.active:focus {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(95, 69, 148, 0.3) !important;
}

/* Force override for any remaining conflicts */
.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active:hover,
.navbar-nav .nav-item .nav-link.active:focus,
.navbar-nav .nav-item .nav-link.active:visited,
.navbar-nav .nav-item .nav-link.active:active {
  background: #5f4594 !important;
  background-color: #5f4594 !important;
  color: #ffbc3b !important;
}

.navbar-nav .nav-link.active::before {
  width: 60%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 41, 59, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--border-radius);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Professional Hero Section - Software Engineer Design */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--secondary-dark) 100%
  );
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/banner/new-banner.jpg") center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0.15;
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(95, 69, 148, 0.2) 0%,
    rgba(74, 54, 117, 0.15) 100%
  );
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  color: white;
  padding: 4rem 0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  padding: 1.25rem 2.5rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
  left: 100%;
}

.hero-buttons .btn-primary {
  background: var(--primary-color);
  color: var(--black-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
}

.hero-buttons .btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-light {
  background: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  font-weight: 700;
}

.hero-buttons .btn-outline-light:hover {
  background: var(--white-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
  color: white;
}

.hero-stat-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.hero-stat {
  text-align: center;
  color: white;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: white;
}

.scroll-down i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* About Section */
.about-section {
  padding: 8rem 0;
  background: white;
}

.about-content {
  padding: 2rem 0;
}

.about-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.about-text {
  font-size: 1.1rem;
  color: var(--gray-color);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-video {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-video iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Features Section */
.features-section {
  padding: 8rem 0;
  background: var(--light-color);
}

.feature-block {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.feature-block:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-block:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-description {
  color: var(--gray-color);
  line-height: 1.6;
  font-size: 1rem;
}

.feature-image {
  margin-bottom: 1.5rem;
}

.feature-image img {
  border-radius: var(--border-radius);
  transition: var(--transition);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-block:hover .feature-image img {
  transform: scale(1.05);
}

.opportunity-meta {
  margin-bottom: 1rem;
}

.opportunity-meta small {
  color: var(--gray-color);
  font-size: 0.875rem;
}

/* News Section */
.news-section {
  padding: 8rem 0;
  background: white;
}

.news-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-content {
  padding: 2rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-color);
}

.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.4;
}

.news-excerpt {
  color: var(--gray-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Partners Section */
.partners-section {
  padding: 6rem 0;
  background: var(--light-color);
}

.partner-logo {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* Section Titles */
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-color);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  background: var(--light-color);
}

.stat-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gray-color);
  font-weight: 500;
}

/* Courses Section */
.courses-section {
  padding: 8rem 0;
  background: var(--light-color);
}

.course-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.course-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.course-content {
  padding: 2rem;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.course-instructor {
  color: var(--gray-color);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.course-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.125rem;
}

.course-rating {
  color: var(--secondary-color);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  padding: 8rem 0;
  background: white;
}

.testimonial-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  position: relative;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--gray-color);
  line-height: 1.6;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--gray-color);
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  padding: 0.875rem 1.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Modern Professional Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Geometric dots pattern */ radial-gradient(
      circle at 25% 25%,
      rgba(255, 188, 59, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 188, 59, 0.1) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 50% 10%,
      rgba(255, 188, 59, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 10% 50%,
      rgba(255, 188, 59, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(255, 188, 59, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(255, 188, 59, 0.08) 1px,
      transparent 1px
    ),
    /* Hexagon pattern */
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    /* Subtle grid lines */
      linear-gradient(rgba(255, 188, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 188, 59, 0.05) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 200px 200px, 200px 200px,
    200px 200px, 200px 200px, 60px 60px, 50px 50px, 50px 50px;
  background-position: 0 0, 50px 50px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  z-index: 1;
  animation: footerPattern 20s linear infinite;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Floating geometric shapes */ url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 0L36.18 20L20 40L3.82 20Z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Ccircle cx='15' cy='15' r='15'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 40px 40px, 30px 30px;
  background-position: 20px 20px, 80px 60px;
  z-index: 1;
  animation: footerShapes 15s ease-in-out infinite;
}

@keyframes footerPattern {
  0% {
    background-position: 0 0, 50px 50px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: -100px -100px, -50px -50px, -200px -200px,
      -200px -200px, -200px -200px, -200px -200px, -60px -60px, -50px -50px,
      -50px -50px;
  }
}

@keyframes footerShapes {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-main {
  margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
  padding-right: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Footer Sections */
.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 15px;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--black-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 188, 59, 0.3);
  border-color: var(--primary-color);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 188, 59, 0.1);
  color: var(--primary-color);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-details span,
.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.copyright,
.credits {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.team-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.team-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0 0;
}

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

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

.breadcrumb-item a:hover {
  color: white;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

/* Opportunity Details */
.opportunity-details {
  background: #f8f9fa;
}

.opportunity-main {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.opportunity-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.opportunity-meta {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.meta-item i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.opportunity-content h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.description-content,
.requirements-content,
.benefits-content {
  line-height: 1.8;
  color: #4a5568;
  font-size: 1rem;
}

.opportunity-actions {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

/* Sidebar */
.opportunity-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sidebar-card .card-title {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.sidebar-card .card-title i {
  color: var(--primary-color);
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.contact-info .contact-item i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.contact-info .contact-item a {
  color: #4a5568;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info .contact-item a:hover {
  color: var(--primary-color);
}

/* Related Opportunities */
.related-opportunities {
  max-height: 400px;
  overflow-y: auto;
}

.related-item {
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.related-item:hover {
  background: #f8f9fa;
}

.related-title a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.related-title a:hover {
  color: var(--primary-color);
}

.related-item img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .opportunity-main {
    padding: 1.5rem;
  }

  .opportunity-image img {
    height: 250px;
  }

  .opportunity-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

/* Blog Details */
.blog-details {
  background: #f8f9fa;
}

.blog-main {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-meta {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
}

.blog-content h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.content-text {
  line-height: 1.8;
  color: #4a5568;
  font-size: 1rem;
}

.blog-tags {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-actions {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

.social-share {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 2rem;
}

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

.recent-posts {
  max-height: 400px;
  overflow-y: auto;
}

.recent-item {
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.recent-item:hover {
  background: #f8f9fa;
}

.recent-title a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.recent-title a:hover {
  color: var(--primary-color);
}

.recent-item img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.newsletter-form .form-control {
  border-radius: 25px 0 0 25px;
  border: 1px solid #e2e8f0;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  border: 1px solid var(--primary-color);
}

/* Responsive for Blog */
@media (max-width: 768px) {
  .blog-main {
    padding: 1.5rem;
  }

  .blog-image img {
    height: 250px;
  }

  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }

  .social-share {
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-brand {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .footer-title {
    margin-top: 1rem;
  }

  .contact-item {
    gap: 0.75rem;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .navbar-nav {
    text-align: center;
  }

  .top-bar .social-links {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-video iframe {
    height: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .stat-card,
  .feature-block,
  .course-card,
  .testimonial-card,
  .news-card {
    margin-bottom: 2rem;
  }

  .about-video iframe {
    height: 250px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

.rounded-custom {
  border-radius: var(--border-radius);
}

.rounded-custom-lg {
  border-radius: var(--border-radius-lg);
}

/* Footer Decorative Elements */
.footer-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 188, 59, 0.1),
    rgba(255, 188, 59, 0.05)
  );
  border: 1px solid rgba(255, 188, 59, 0.2);
  backdrop-filter: blur(5px);
}

.element-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation: floatElement1 8s ease-in-out infinite;
}

.element-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation: floatElement2 12s ease-in-out infinite;
}

.element-3 {
  width: 40px;
  height: 40px;
  top: 30%;
  right: 30%;
  animation: floatElement3 10s ease-in-out infinite;
}

.element-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation: floatElement4 15s ease-in-out infinite;
}

@keyframes floatElement1 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.1);
  }
}

@keyframes floatElement2 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-15px) rotate(-180deg) scale(0.9);
  }
}

@keyframes floatElement3 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-25px) rotate(90deg) scale(1.2);
  }
}

@keyframes floatElement4 {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-30px) rotate(-90deg) scale(0.8);
  }
}

/* Responsive adjustments for floating elements */
@media (max-width: 768px) {
  .floating-element {
    display: none;
  }
}

/* Course Categories Section */
.categories-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.category-title {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.category-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Featured Courses Section */
.featured-courses-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.course-content {
  padding: 1.5rem;
}

.course-meta {
  margin-bottom: 1rem;
}

.course-title a {
  color: var(--dark-color);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* User Dashboard Course Card Title Styling */
.dashboard-container .course-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.dashboard-container .course-card .card-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.course-title a:hover {
  color: var(--primary-color);
}

.course-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
}

.course-instructor {
  font-size: 0.85rem;
}

.course-details {
  font-size: 0.85rem;
}

.course-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-top: 1rem;
}

.course-price {
  font-size: 1.1rem;
  font-weight: 700;
}

.course-students {
  font-size: 0.85rem;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.benefit-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.benefit-title {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.benefit-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-card,
  .benefit-card {
    margin-bottom: 1rem;
  }

  .course-card {
    margin-bottom: 1.5rem;
  }

  .course-image {
    height: 180px;
  }
}

/* Opportunity Cards */
.opportunity-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.opportunity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.opportunity-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.opportunity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.opportunity-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.opportunity-content {
  padding: 1.5rem;
}

.opportunity-meta {
  margin-bottom: 1rem;
}

.opportunity-title a {
  color: var(--dark-color);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.opportunity-title a:hover {
  color: var(--primary-color);
}

.opportunity-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
}

.opportunity-company {
  font-size: 0.85rem;
}

.opportunity-details {
  font-size: 0.85rem;
}

.opportunity-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-top: 1rem;
}

.opportunity-type {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Article Cards */
.article-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.article-content {
  padding: 1.5rem;
}

.article-meta {
  margin-bottom: 1rem;
}

.article-title a {
  color: var(--dark-color);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: var(--primary-color);
}

.article-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
}

.article-author {
  font-size: 0.85rem;
}

.article-details {
  font-size: 0.85rem;
}

.article-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-top: 1rem;
}

.article-likes {
  font-size: 0.85rem;
}

/* Step Cards */
.step-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  margin-bottom: 1rem;
}

.step-number .badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-title {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.step-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.newsletter-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter-title {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.5rem;
}

.newsletter-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
}

.newsletter-form .form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

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

.newsletter-note {
  font-size: 0.85rem;
}

/* News Ticker Section */
.news-ticker-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #e6a800 100%);
}

.news-ticker {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}

.ticker-content span {
  display: inline-block;
  margin-right: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive adjustments for new components */
@media (max-width: 768px) {
  .opportunity-card,
  .article-card {
    margin-bottom: 1.5rem;
  }

  .opportunity-image,
  .article-image {
    height: 180px;
  }

  .step-card {
    margin-bottom: 1rem;
  }

  .newsletter-card {
    padding: 2rem !important;
  }

  .news-ticker-section .col-md-3 {
    margin-bottom: 1rem;
  }
}

/* Course Overview Page Styles */
.course-overview-page .course-header {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-color);
}

.course-overview-page .course-preview-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-color);
}

.course-overview-page .course-main-image img,
.course-overview-page .course-main-image-placeholder {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.course-overview-page .course-preview-video {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.course-overview-page .video-preview-container {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-overview-page .course-title {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.course-overview-page .course-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-color);
}

.course-overview-page .stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--primary-color);
  transition: var(--transition);
}

.course-overview-page .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.course-overview-page .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.course-overview-page .stat-label {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-overview-page .content-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary-color);
  margin-bottom: 2rem;
}

.course-overview-page .card-title {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.course-overview-page .card-content {
  color: var(--gray-color);
  line-height: 1.7;
  font-size: 1rem;
}

.course-overview-page .lessons-list {
  max-height: 500px;
  overflow-y: auto;
}

.course-overview-page .lesson-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: var(--transition);
  background: white;
}

.course-overview-page .lesson-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.course-overview-page .lesson-number {
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.course-overview-page .lesson-content {
  flex: 1;
}

.course-overview-page .lesson-title {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.course-overview-page .lesson-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course-overview-page .lesson-type {
  background: var(--light-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.course-overview-page .lesson-status.completed {
  background: var(--success-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.course-overview-page .course-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-overview-page .feature-item {
  padding: 1rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: var(--transition);
  text-align: center;
}

.course-overview-page .feature-item:hover {
  background: white;
  box-shadow: var(--shadow);
}

.course-overview-page .feature-text {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.course-overview-page .course-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-overview-page .info-item {
  padding: 0.75rem;
  background: var(--light-color);
  border-radius: 8px;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.course-overview-page .no-lessons {
  text-align: center;
  padding: 2rem;
  color: var(--gray-light);
}

.course-overview-page .btn-primary {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.course-overview-page .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.course-overview-page .btn-outline-secondary {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.course-overview-page .btn-outline-secondary:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive adjustments for course overview */
@media (max-width: 768px) {
  .course-overview-page .course-title {
    font-size: 2rem;
  }

  .course-overview-page .course-header {
    padding: 1.5rem;
  }

  .course-overview-page .course-preview-section {
    padding: 1.5rem;
  }

  .course-overview-page .content-card {
    padding: 1.5rem;
  }

  .course-overview-page .stat-card {
    margin-bottom: 1rem;
  }

  .course-overview-page .lesson-item {
    flex-direction: column;
    text-align: center;
  }

  .course-overview-page .lesson-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .course-overview-page .course-preview-video {
    margin-top: 1rem;
  }

  .course-overview-page .course-main-image img,
  .course-overview-page .course-main-image-placeholder {
    height: 200px !important;
  }
}

/* Enrollment Page Styles */
.enrollment-details .info-item {
  padding: 0.75rem;
  background: var(--light-color);
  border-radius: 8px;
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.enrollment-benefits ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.enrollment-benefits ul li:last-child {
  border-bottom: none;
}

.course-preview {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.course-image-small img,
.course-placeholder-small {
  border: 2px solid var(--border-color);
}

/* Success/Error Message Styles */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1rem 1.5rem;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--danger-color);
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid var(--info-color);
}

/* Certificate Page Styles */
.certificate-preview {
  background: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow-x: auto;
}

.certificate-container {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 3px solid var(--primary-color);
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  width: 210mm;
  height: 297mm;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  max-width: 100%;
}

/* Certificate Background Pattern */
.certificate-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(255, 188, 59, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(95, 69, 148, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(255, 188, 59, 0.02) 50%,
      transparent 52%
    );
  pointer-events: none;
  z-index: 1;
}

/* Logo Watermark */
.logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.12;
}

.logo-circle {
  width: 280px;
  height: 280px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 188, 59, 0.08);
  overflow: hidden;
}

.watermark-logo {
  width: 85%;
  height: 85%;
  object-fit: contain;
  opacity: 0.4;
}

/* Certificate Header */
.certificate-header {
  position: relative;
  z-index: 3;
  margin-bottom: 2rem;
  text-align: center;
}

.certificate-title h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.certificate-title .subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  margin: 0.5rem 0 0 0;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Certificate Body */
.certificate-body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.award-text {
  margin-bottom: 1rem;
}

.award-text p {
  font-size: 1.1rem;
  color: var(--gray-color);
  margin: 0.5rem 0;
}

.student-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.course-section {
  margin: 1.5rem 0;
}

.course-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 1rem 0;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--light-color), white);
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
}

.course-description {
  font-size: 1rem;
  color: var(--gray-color);
  font-style: italic;
  margin-top: 0.5rem;
}

.completion-details {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .completion-details {
    padding: 1rem;
  }
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 2rem;
}

@media (max-width: 768px) {
  .detail-row {
    flex-direction: column;
    gap: 1rem;
  }
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-item {
  flex: 1;
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.detail-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.certificate-number {
  color: var(--primary-color);
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}

/* Certificate Footer */
.certificate-footer {
  position: relative;
  z-index: 3;
  margin-top: 2rem;
}

.signature-section {
  margin-bottom: 1.5rem;
}

.signature-line {
  width: 150px;
  height: 2px;
  background: var(--primary-color);
  margin: 0 auto 1rem auto;
}

.signature-title {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin: 0;
  font-weight: 500;
}

.signature-name {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin: 0.5rem 0 0 0;
  font-weight: 600;
}

.certificate-validity {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.certificate-validity p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.validity-note {
  color: var(--gray-light) !important;
  font-style: italic;
  font-size: 0.8rem !important;
}

/* Certificate Border */
.certificate-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 4;
}

.border-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--primary-color);
}

.border-corner.top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.border-corner.top-right {
  top: 20px;
  right: 20px;
  border-left: none;
  border-bottom: none;
}

.border-corner.bottom-left {
  bottom: 20px;
  left: 20px;
  border-right: none;
  border-top: none;
}

.border-corner.bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .certificate-container {
    width: 100% !important;
    height: auto !important;
    min-height: 500px;
    padding: 1.5rem;
    margin: 0;
  }

  .certificate-title h2 {
    font-size: 1.8rem;
  }

  .student-name {
    font-size: 1.3rem;
  }

  .course-name {
    font-size: 1.2rem;
    padding: 0.8rem;
  }

  .detail-row {
    flex-direction: column;
    gap: 1rem;
  }

  .detail-item {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .logo-circle {
    width: 120px;
    height: 120px;
  }

  .watermark-logo {
    width: 80%;
    height: 80%;
  }

  .certificate-preview {
    padding: 1rem;
  }

  .content-card {
    padding: 1rem;
  }

  /* Course summary on mobile */
  .course-summary .col-4 {
    margin-bottom: 1rem;
  }

  .summary-item {
    padding: 1rem 0.5rem;
  }

  .summary-number {
    font-size: 1.5rem;
  }

  .summary-label {
    font-size: 0.9rem;
  }

  /* Download actions on mobile */
  .download-actions .btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .download-actions .btn i {
    margin-right: 0.5rem;
  }

  /* Course images on mobile */
  .dashboard-container .course-image {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .certificate-container {
    padding: 1rem;
    min-height: 400px;
  }

  .certificate-title h2 {
    font-size: 1.5rem;
  }

  .student-name {
    font-size: 1.2rem;
  }

  .course-name {
    font-size: 1.1rem;
    padding: 0.6rem;
  }

  .logo-circle {
    width: 100px;
    height: 100px;
  }

  .summary-item {
    padding: 0.8rem 0.3rem;
  }

  .summary-number {
    font-size: 1.3rem;
  }

  .summary-label {
    font-size: 0.8rem;
  }

  .download-actions .btn {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .download-actions .btn i {
    margin-right: 0.3rem;
  }

  .content-card {
    padding: 0.8rem;
  }

  .certificate-preview {
    padding: 0.8rem;
  }
}

/* Print Styles */
@media print {
  .sidebar,
  .top-navbar,
  .download-actions,
  .course-summary,
  .download-actions {
    display: none !important;
  }

  .certificate-container {
    width: 210mm !important;
    height: 297mm !important;
    border: 3px solid #000 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    border-radius: 0 !important;
  }

  .certificate-bg-pattern {
    display: none;
  }

  .logo-watermark {
    opacity: 0.2;
  }

  .border-corner {
    border-color: #000;
  }

  .main-content {
    margin: 0 !important;
    padding: 0 !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  @page {
    size: A4;
    margin: 0;
  }
}

/* Course Summary Styles */
.course-summary {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.summary-item {
  padding: 1rem;
}

.summary-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.summary-label {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Download Actions */
.download-actions {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Course Learning Page Styles */
.course-learning-page .course-header {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
  margin-bottom: 2rem;
}

.course-learning-page .course-title {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.course-learning-page .video-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
}

.course-learning-page .video-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.course-learning-page .video-placeholder {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
}

.course-learning-page .video-info h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.course-learning-page .quiz-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
  margin-top: 1.5rem;
}

.course-learning-page .question-item {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color) !important;
}

.course-learning-page .question-text {
  color: var(--secondary-color);
  font-weight: 600;
}

.course-learning-page .course-navigation {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--primary-color);
  position: sticky;
  top: 2rem;
}

.course-learning-page .lessons-list {
  max-height: 600px;
  overflow-y: auto;
}

.course-learning-page .lesson-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.course-learning-page .lesson-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-learning-page .lesson-item.active {
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.1);
}

.course-learning-page .lesson-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.course-learning-page .lesson-number {
  background: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.course-learning-page .lesson-title {
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.course-learning-page .lesson-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.course-learning-page .lesson-type {
  color: #6c757d;
}

.course-learning-page .lesson-status.completed {
  color: #28a745;
  font-weight: 600;
}

.course-learning-page .progress-info {
  text-align: center;
}

.course-learning-page .progress {
  height: 8px;
  border-radius: 4px;
}

.course-learning-page .progress-bar {
  background-color: var(--primary-color);
}

/* Payment Modal Styles */
.mobile-provider {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.mobile-provider:hover {
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.1);
}

.mobile-provider.selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.mobile-provider img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.payment-status {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.payment-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.payment-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.payment-status.processing {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.countdown {
  font-size: 1.2rem;
  color: var(--secondary-color);
  text-align: center;
  margin: 1rem 0;
}

/* Majibu Yangu Page Styles */
.page-header {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.page-header h1 {
  color: var(--secondary-color);
  font-weight: 700;
}

.page-header .lead {
  color: var(--gray-color);
  font-size: 1.1rem;
}

.stats-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.stats-card:hover .stats-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.stats-card.success .stats-icon {
  background: var(--success-color);
}

.stats-card.info .stats-icon {
  background: var(--info-color);
}

.stats-card.warning .stats-icon {
  background: var(--warning-color);
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  border: 8px solid var(--primary-color);
}

.progress-circle::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
}

.progress-text {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

/* Table Enhancements */
.table th {
  background: #f8f9fa;
  border-bottom: 2px solid var(--border-color);
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table td {
  vertical-align: middle;
  border-color: var(--border-color);
}

.table-hover tbody tr:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
  transition: var(--transition);
}

/* Badge Enhancements */
.badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.badge.bg-success {
  background: var(--success-color) !important;
}

.badge.bg-warning {
  background: var(--warning-color) !important;
}

.badge.bg-danger {
  background: var(--danger-color) !important;
}

.badge.bg-info {
  background: var(--info-color) !important;
}

.badge.bg-primary {
  background: var(--primary-color) !important;
}

/* Chart Container */
canvas#performanceChart {
  max-height: 300px;
}

/* Empty State Styling */
.text-center.py-4 {
  padding: 3rem 1rem;
}

.text-center.py-4 i {
  opacity: 0.3;
}

.text-center.py-4 h5 {
  margin-top: 1rem;
  font-weight: 600;
}

.text-center.py-4 p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

/* Google OAuth styling */
.google-auth-section {
  text-align: center;
}

.google-auth-section .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
  transition: all 0.3s ease;
}

.google-auth-section .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.google-auth-section hr {
  border-color: #dee2e6;
  opacity: 0.5;
}

.google-auth-section .text-muted {
  background: white;
  padding: 0 15px;
  font-size: 0.9rem;
}

/* Admin Panel Styles */
.admin-container {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

.admin-container .sidebar {
  width: 280px;
  min-width: 280px;
  background: white;
  border-right: 1px solid var(--border-color);
  transition: all 0.3s ease;
  z-index: 1000;
}

.admin-container .sidebar.collapsed {
  transform: translateX(-100%);
}

.admin-container .main-content {
  flex: 1;
  background: #f8f9fa;
  min-height: calc(100vh - 70px);
  margin-top: 70px;
}

.admin-container .page-header {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-container .page-title {
  color: var(--secondary-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.admin-container .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 8px 0 0 0;
}

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

.admin-container .breadcrumb-item.active {
  color: var(--gray-color);
}

.admin-container .page-content {
  padding: 30px 20px 20px 20px;
}

/* Admin Sidebar Styles */
.admin-container .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--primary-color);
  color: white;
}

.admin-container .sidebar-brand {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  justify-content: center;
}

.admin-container .sidebar-user {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: #f8f9fa;
}

.admin-container .sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.admin-container .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-container .nav-item {
  margin-bottom: 5px;
}

.admin-container .nav-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.admin-container .nav-link:hover,
.admin-container .nav-link.active {
  background: rgba(102, 46, 145, 0.1);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.admin-container .nav-link i {
  width: 20px;
  margin-right: 12px;
  font-size: 0.9rem;
}

.admin-container .nav-link.has-submenu {
  justify-content: space-between;
}

.admin-container .submenu-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.admin-container .nav-link[aria-expanded="true"] .submenu-arrow {
  transform: rotate(180deg);
}

.admin-container .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
}

.admin-container .submenu li a {
  display: block;
  padding: 10px 20px 10px 52px;
  color: var(--gray-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.admin-container .submenu li a:hover {
  background: rgba(102, 46, 145, 0.05);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.admin-container .sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #f8f9fa;
}

.admin-container .logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: var(--danger-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admin-container .logout-btn:hover {
  background: #c82333;
  color: white;
  transform: translateY(-1px);
}

.admin-container .logout-btn i {
  margin-right: 8px;
}

/* Admin Top Navigation */
.admin-container .navbar {
  background: white;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.admin-container .navbar-brand {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.admin-container .navbar-brand .brand-logo {
  width: 32px;
  height: 32px;
}

.admin-container .navbar-nav .nav-link {
  color: var(--secondary-color);
  padding: 8px 16px;
  transition: all 0.3s ease;
}

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

.admin-container .user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Admin Dashboard Cards */
.admin-container .stats-card {
  background: white;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-container .stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-container .stats-card .card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(102, 46, 145, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.admin-container .stats-card .card-title {
  color: var(--gray-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 60px;
}

.admin-container .stats-card .card-value {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  margin-right: 60px;
}

/* Responsive Admin Design */
@media (max-width: 991.98px) {
  .admin-container .sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    height: calc(100vh - 70px);
    transform: translateX(-100%);
  }

  .admin-container .sidebar.collapsed {
    transform: translateX(0);
  }

  .admin-container .main-content {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .admin-container .page-header {
    padding: 15px 0;
  }

  .admin-container .page-title {
    font-size: 1.5rem;
  }

  .admin-container .page-content {
    padding: 0 15px 15px 15px;
  }
}

/* Admin Dashboard Activity Items */
.activity-list {
  max-height: 400px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  margin-right: 16px;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-content h6 {
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.activity-content p {
  margin: 0 0 4px 0;
  font-size: 0.8rem;
}

.activity-content small {
  font-size: 0.75rem;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  border-left: 3px solid var(--primary-color);
}

.action-btn:hover {
  background: rgba(102, 46, 145, 0.05);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn i {
  font-size: 1.2rem;
  margin-right: 12px;
  color: var(--primary-color);
}

.action-btn span {
  font-weight: 500;
}

/* Top Performers */
.top-performers {
  max-height: 400px;
  overflow-y: auto;
}

.performer-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.performer-rank {
  width: 40px;
  margin-right: 16px;
  text-align: center;
  flex-shrink: 0;
}

.performer-rank i {
  font-size: 1.2rem;
}

.performer-rank .rank-number {
  width: 32px;
  height: 32px;
  background: var(--gray-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.performer-info {
  flex: 1;
}

.performer-info h6 {
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.performer-info p {
  margin: 0;
  font-size: 0.8rem;
}

.performer-score {
  margin-left: 16px;
}

/* Chart Container Styling */
.card canvas {
  max-height: 300px;
}
