
/* Root variables */
:root {
    --course-hero-gradient-start: var(--bs-primary);
    --course-hero-gradient-end: #0056b3;
    --course-card-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --course-card-hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    --course-border-radius: 24px;
    --course-animation-duration: 0.6s;
    --course-animation-timing: ease;
  }
  
  
  /* ===== COURSE HERO SECTION ===== */
  .course-hero-section {
    position: relative;
    padding: 80px 0 60px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--course-hero-gradient-start) 0%, var(--course-hero-gradient-end) 100%);
    margin-bottom: 60px;
  }
  
  .course-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  
  .course-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
      rgba(var(--bs-primary-rgb), 0.9) 0%, 
      rgba(var(--bs-secondary-rgb), 0.8) 50%,
      rgba(var(--bs-primary-rgb), 0.9) 100%);
  }
  
  .course-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .course-hero-particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
  }
  
  .course-hero-particles .particle:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
  }
  
  .course-hero-particles .particle:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    animation-delay: -2s;
  }
  
  .course-hero-particles .particle:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: -4s;
  }
  
  .course-hero-content {
    position: relative;
    z-index: 2;
  }
  
  /* Breadcrumb */
  .course-breadcrumb {
    animation: slideUp var(--course-animation-duration) var(--course-animation-timing);
  }
  
  .breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
  }
  
  .breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .breadcrumb-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
  }
  
  
  /* Course Hero Info */
  .course-hero-info {
    animation: slideUp var(--course-animation-duration) var(--course-animation-timing) 0.2s both;
  }
  
  
  .course-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  
  .course-hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 400;
  }
  
  /* Course Hero Stats */
  .course-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 500px;
  }
  
  .course-hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    min-width: 0; /* Prevent overflow */
  }
  
  .course-hero-stats .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .course-hero-stats .stat-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  
  .course-hero-stats .stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
  
  .course-hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    white-space: nowrap;
  }
  
  /* Course Thumbnail */
  .course-hero-visual {
    animation: slideUp var(--course-animation-duration) var(--course-animation-timing) 0.4s both;
  }
  
  .course-thumbnail-container {
    position: relative;
    border-radius: var(--course-border-radius);
    overflow: hidden;
    box-shadow: var(--course-card-shadow);
    transition: all 0.3s ease;
  }
  
  .course-thumbnail-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--course-card-hover-shadow);
  }
  
  .course-thumbnail {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-secondary-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .course-thumbnail-container:hover .thumbnail-overlay {
    opacity: 1;
  }
  
  /* ===== MAIN CONTENT ===== */
  .course-content-container {
    margin-top: -40px;
    position: relative;
    z-index: 3;
  }
  
  .course-main-content {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* ===== SIDEBAR - MODERN YANDEX PRAKTIKUM STYLE ===== */
  
  /* Enrollment Status */
  .enrollment-status-section {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08) 0%, rgba(var(--bs-secondary-rgb), 0.04) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.15);
    position: relative;
    overflow: hidden;
  }
  
  .enrollment-status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
  }
  
  .status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  .status-badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--bs-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
  }
  
  .status-badge-primary {
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
  }
  
  .status-badge-secondary {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--bs-secondary);
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
  }
  
  .status-percentage {
    font-size: 1.1rem;
    font-weight: 700;
  }
  
  /* Modern Progress Bar */
  .modern-progress-bar {
    position: relative;
  }
  
  .progress-track {
    height: 8px;
    background: var(--bs-border-color);
    border-radius: 4px;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
  }
  
  .progress-primary {
    background: linear-gradient(90deg, var(--bs-primary) 0%, #0056b3 100%);
  }
  
  .progress-success {
    background: linear-gradient(90deg, var(--bs-success) 0%, #059669 100%);
  }
  
  .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
  }
  
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* Action Buttons */
  .action-buttons-section {
    text-align: center;
  }
  
  .action-hint, .login-hint {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
  }
  
  /* Enrollment and Login Sections */
  .enrollment-section, .login-section {
    text-align: center;
  }
  
  .enrollment-message .message-card {
    background: rgba(var(--bs-info-rgb), 0.1);
    border: 1px solid rgba(var(--bs-info-rgb), 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: var(--bs-info);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
  }
  
  /* Course Info Section */
  .course-info-section {
    margin-top: 2rem;
  }
  
  .info-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bs-border-color), transparent);
  }
  
  .course-info-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }
  
  .info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  
  .info-content {
    flex: 1;
  }
  
  .info-label {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.1rem;
  }
  
  .info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
  }
  
  /* Organizations Section */
  .organizations-section {
    margin-top: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
    margin: 0;
  }
  
  .organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
  }
  
  .organization-card {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .organization-card:hover {
    background: rgba(var(--bs-primary-rgb), 0.1);
    transform: translateY(-2px);
  }
  
  .organization-logo {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 6px;
  }
  
  .organization-placeholder {
    width: 48px;
    height: 48px;
    background: var(--bs-border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--bs-secondary-color);
  }
  
  .organization-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-emphasis-color);
    line-height: 1.2;
  }
  
  /* ===== CONTENT SECTIONS ===== */
  .content-section {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    transition: none;
  }
  
  .content-section:hover {
    box-shadow: none;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--bs-emphasis-color);
    margin: 0;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border-radius: 2px;
  }
  
  /* Description Section */
  .description-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }
  
  .description-text {
    color: var(--bs-emphasis-color);
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
  }
  
  .description-text p {
    margin-bottom: 1.2rem;
  }
  
  .description-text p:last-child {
    margin-bottom: 0;
  }
  
  /* Video Section */
  .video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--course-card-shadow);
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
  }
  
  .video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Course Thumbnail Placeholder */
  .course-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-secondary-rgb), 0.1) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }
  
  .course-thumbnail-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
  }
  
  .placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 2rem;
  }
  
  .placeholder-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 200px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* Video Section */
  .video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--course-card-shadow);
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
  }
  
  .video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* ===== CURRICULUM SECTION - ENHANCED ===== */
  .curriculum-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  
  .curriculum-module {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: none;
    position: relative;
  }
  
  .curriculum-module::before {
    content: none;
  }
  
  .curriculum-module:hover {
    box-shadow: none;
    transform: none;
  }
  
  .curriculum-module:hover::before {
  }
  
  
  .module-header {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1.5rem;
  }
  
  
  .module-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .module-info {
    flex: 1;
  }
  
  .module-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bs-emphasis-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.35;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
  }
  
  .module-description {
    color: var(--bs-secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
  }
  
  .module-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }
  
  .module-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .module-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
  }
  
  .module-badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
  }
  
  .module-badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
  }
  
  .module-badge-secondary {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--bs-secondary);
  }
  
  .module-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
  }
  
  .module-stats .stat-item {
    color: var(--bs-secondary-color);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  /* ===== MODERN BUTTONS (from home.html) ===== */
  .btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--course-animation-timing);
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
  }
  
  .btn-modern::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;
    z-index: -1;
  }
  
  .btn-modern:hover::before {
    left: 100%;
  }
  
  .btn-modern.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(var(--bs-primary-rgb), 0.3);
  }
  
  .btn-modern.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(--bs-primary-rgb), 0.4);
    color: white;
    text-decoration: none;
  }
  
  .btn-modern.btn-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(var(--bs-success-rgb), 0.3);
  }
  
  .btn-modern.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(var(--bs-success-rgb), 0.4);
    color: white;
    text-decoration: none;
  }
  
  .btn-modern.btn-outline {
    background: transparent;
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
  }
  
  .btn-modern.btn-outline:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
  }
  
  .btn-modern.btn-outline-success {
    background: transparent;
    color: var(--bs-success);
    border: 2px solid var(--bs-success);
  }
  
  .btn-modern.btn-outline-success:hover {
    background: var(--bs-success);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
  }
  
  .btn-modern.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .btn-icon {
    font-weight: 400;
    transition: transform 0.3s var(--course-animation-timing);
  }
  
  .btn-modern:hover .btn-icon {
    transform: translateX(4px);
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 992px) {
    .course-hero-section {
      padding: 50px 0 30px 0;
    }
    
    .course-hero-stats {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 1rem;
      justify-items: center;
    }
    
    .course-content-container {
      margin-top: -20px;
    }
    
    .content-section {
      padding: 0;
      margin-bottom: 2rem;
      border-radius: 0;
    }
    
    .enrollment-status-section {
      padding: 1.25rem;
    }
    
    .section-header {
      margin-bottom: 1.5rem;
    }
    
    .module-header-content {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .module-meta {
      align-items: flex-start;
      width: 100%;
    }
    
    .module-stats {
      flex-direction: row;
      gap: 1rem;
      text-align: left;
    }
    
    .course-hero-title {
      font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
  }
  
  @media (max-width: 768px) {
    .course-hero-section {
      padding: 40px 0 30px 0;
    }
    
    .course-hero-stats {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
      max-width: 100%;
      justify-items: center;
    }
    
    .course-hero-stats .stat-item {
      flex-direction: column;
      text-align: center;
      gap: 0.5rem;
    }
    
    .course-hero-stats .stat-icon {
      width: 32px;
      height: 32px;
      font-size: 0.9rem;
    }
    
    .course-hero-stats .stat-number {
      font-size: 1.1rem;
    }
    
    .course-hero-stats .stat-label {
      font-size: 0.75rem;
    }
    
    .breadcrumb-modern {
      justify-content: center;
    }
    
    .course-hero-title {
      text-align: center;
    }
    
    .course-hero-description {
      text-align: center;
    }
    
    .organizations-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 576px) {
    .course-hero-section {
      padding: 30px 0 20px 0;
    }
    
    .course-hero-stats {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.5rem;
      max-width: 100%;
    }
    
    .course-hero-stats .stat-item {
      flex-direction: column;
      text-align: center;
      gap: 0.25rem;
      padding: 0.5rem;
    }
    
    .course-hero-stats .stat-icon {
      width: 28px;
      height: 28px;
      font-size: 0.8rem;
    }
    
    .course-hero-stats .stat-number {
      font-size: 1rem;
      font-weight: 600;
    }
    
    .course-hero-stats .stat-label {
      font-size: 0.7rem;
      line-height: 1.2;
    }
    
    .content-section {
      padding: 0;
      margin-bottom: 1.5rem;
      border-radius: 0;
    }
    
    .enrollment-status-section {
      padding: 1rem;
      border-radius: 12px;
    }
    
    .status-badge {
      padding: 8px 16px;
      font-size: 0.85rem;
    }
    
    .module-header {
      padding: 1.25rem;
    }
    
    .module-title {
      font-size: 1.05rem;
    }
    
    
    .btn-modern {
      padding: 14px 24px;
      font-size: 0.9rem;
    }
    
    .course-hero-title {
      font-size: clamp(1.3rem, 6vw, 1.8rem);
      text-align: center;
    }
    
    .course-hero-description {
      font-size: 1rem;
      text-align: center;
    }
    
    .description-content {
      padding: 1.75rem;
      border-radius: 14px;
    }
    
    .curriculum-module {
      border-radius: 0;
    }
    
    .description-text {
      font-size: 1rem;
    }
  }
  
  /* ===== ACCESSIBILITY ===== */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    
    .course-hero-particles .particle {
      animation: none;
    }
  }
  
  /* Focus styles for keyboard navigation */
  .btn-modern:focus,
  .breadcrumb-link:focus {
    outline: 3px solid rgba(var(--bs-primary-rgb), 0.5);
    outline-offset: 2px;
  }
  
  /* Additional hover states for touch devices */
  @media (hover: none) {
    .content-section:hover,
    .curriculum-module:hover {
      transform: none;
    }
    
    .content-section:hover::before,
    .curriculum-module:hover::before {
      opacity: 0.5;
      transform: scaleX(0.7);
    }
  }