.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.course-header {
    background: linear-gradient(135deg, #000000 0%, #022847 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    position: relative;    
}
.course-title { 
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: white;
}

.course-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.9;
}

.course-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 40px;
}

.main-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 25px;
    background-color: #f8f9fa; /* boş yerlərdə fon olsun */
    display: block;
}



.course-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1em;
    line-height: 1.7;
}


.course-features {
    list-style: none;
    margin-bottom: 30px;
}

.course-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.course-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.sidebar {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.course-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* textlər üstündən hizalansın */
    gap: 12px;                 /* arada boşluq saxla */
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;           /* çox uzun olanda alt sətrə düşsün */
}

.info-label {
    font-weight: 600;
    color: #666;

}

.info-value {
    flex: 1 1 auto;            /* sağ hissə qalan yeri alsın */
    color: #333;
    font-weight: 500;
    word-break: break-word;    /* çox uzun sözlər də sətirdən kəsilsin */
    overflow-wrap: anywhere;
}

.info-value-apx {
    background-color: #022847; 
    color: #fff;              
    padding: 4px 8px;         
    border-radius: 10px;       
    display: inline-block;    
}



.price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    margin: 20px 0;
}

.enroll-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.instructor-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.instructor-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.instructor-title {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .course-content {
        grid-template-columns: 1fr;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .main-content, .sidebar {
        padding: 20px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: rgb(255, 255, 255);
    text-decoration: none;
}


.similar-courses{ }
.similar-courses ul{ }

.sc-card{
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(160,233,255,0));
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 12px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sc-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgb(1, 32, 123);
}
.sc-title{
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--sc-text);
  font-weight: 700;
}
.sc-title::after{
  content: "↗";
  opacity: 0;
  transform: translateX(-4px);
  transition: transform .18s ease, opacity .18s ease;
  color: var(--sc-accent-2);
}
.sc-card:hover .sc-title::after{
  opacity: 1;
  transform: translateX(2px);
}
.sc-meta{
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  color: var(--sc-muted);
}
.sc-empty{
  padding: 10px;
  color: var(--sc-muted);
  background: rgba(160,233,255,.04);
  border: 1px dashed var(--sc-border);
  border-radius: 10px;
}

.sc-card:hover .sc-title {
  color: #001b7c;
}

.similar-courses ul {
  list-style: none;   
  margin: 0;          
  padding: 0;         
}

