/* Asosiy fon (moviy + oq kombinatsiya) */
body {
    background-color: #023535;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Umumiy container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Yuqori header */
.header {
    background-color: #023535;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
    word-break: break-word;
}

.header p {
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 100%;
}

/* Qalqib chiqqan oq kartochkalar */
.section-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

/* Kurs bo‘limlari ajratilgan stil */
.course-section {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #F8F9FA;
}

/* List-group ichidagi elementlarni chiroyli qilish */
.list-group-item {
    border: none;
    background: white;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    flex-wrap: wrap;
}

/* Tugmalar styling */
.btn-dark {
    font-size: 14px;
    font-weight: bold;
    background-color: #023535;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
}

/* Ikon va matn joylashuvi */
.icon-text {
    display: flex;
    align-items: center;
}

.icon-img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.text-item {
    white-space: nowrap;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .section-card {
        margin: 20px auto;
        max-width: 900px;
        width: 100%;
    }

    .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-dark {
        width: 100%;
        margin-top: 10px;
    }

    .text-item {
        white-space: normal;
    }

    .icon-text {
        margin-bottom: 5px;
    }

    .course-section h4 {
        font-size: 1.2rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6rem;
    }

    .header p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 10px;
    }
}
