/* =============================
   SIMPLE HERO
============================= */
.simple-hero {
    background: #0b2c3d;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}
.simple-hero h1 {
    font-size: 38px;
    font-weight: 800;
}
.simple-hero p {
    margin-top: 10px;
    font-size: 18px;
    opacity: .9;
}


/* =============================
   LEADERS SECTION
============================= */
.leaders {
    padding: 60px 0;
}
.section-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.leader-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.leader-card img {
    width: 160px;          /* 🔥 kattaroq – rahbarligi bilinadi */
    height: 200px;         /* 🔥 portret format */

    object-fit: contain;   /* ❗ qirqilmaydi */
    background: #f4f6f8;
    padding: 8px;          /* rasm nafas oladi */

    border-radius: 12px;   /* 🔹 yumshoq to‘rtburchak */
    border: 2px solid #e1e5ea;

    margin-bottom: 14px;
}

}
.leader-card h3 {
    font-size: 20px;
    font-weight: 700;
}
.role {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.divider {
    width: 60%;
    height: 2px;
    margin: 10px auto 0;
    background: #eee;
}


/* =============================
   ABOUT TEXT
============================= */
.ordinatura-about {
    padding: 40px 0;
}
.ordinatura-about h2 {
    font-size: 26px;
    margin-bottom: 12px;
}
.ordinatura-about p {
    margin-bottom: 18px;
    line-height: 1.7;
}


/* =============================
   STUDENTS TABLE
============================= */
.students-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.students-table th {
    background: #0b2c3d;
    color: white;
    padding: 12px;
}
.students-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}
.students-table tr:nth-child(even) {
    background: #f9f9f9;
}


/* =============================
   LESSON PHOTOS
============================= */
.lessons {
    padding: 50px 0 80px;
}
.lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.lesson-card img {
    width: 100%;
    border-radius: 16px;
    height: 180px;
    object-fit: cover;
}
.lesson-card p {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}




/* ============================
   GLOBAL CONTAINER IMPROVED
============================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ============================
   ABOUT SECTION BEAUTY FIX
============================= */
.ordinatura-about {
    padding: 60px 0;
    background: #f8fafc;
    border-radius: 18px;
    margin-top: 20px;
}

.ordinatura-about h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #0b2c3d;
}

.ordinatura-about p {
    font-size: 17px;
    color: #333;
    line-height: 1.75;
    margin-bottom: 20px;
    text-align: justify;
}


/* ============================
   STUDENTS TABLE — CENTERED PREMIUM STYLE
============================= */
.students {
    padding: 50px 0;
}

.students h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #0b2c3d;
    text-align: center;
}

.students-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;     /* ⭐ O‘RTAGA TUSHIRADI */
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0,0,0,0.08);
}

.students-table th {
    background: #0b2c3d;
    color: #fff;
    padding: 14px;
    font-size: 16px;
    text-align: left;
}

.students-table td {
    padding: 14px;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #eee;
}

.students-table tr:hover {
    background: #f3f6fa;
}

/* Last row border removal */
.students-table tr:last-child td {
    border-bottom: none;
}



/* ======================================
   LESSON GALLERY – SCROLL SLIDER
====================================== */
.lesson-gallery {
    margin: 70px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.lesson-gallery h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #0b2c3d;
    margin-bottom: 25px;
}

/* Scroll section */
.lesson-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
}

.lesson-scroll::-webkit-scrollbar {
    height: 8px;
}

.lesson-scroll::-webkit-scrollbar-thumb {
    background: #cfd6dd;
    border-radius: 10px;
}

/* Cards */
.lesson-card {
    min-width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.08);
    overflow: hidden;
    scroll-snap-align: start;
    text-align: center;
    transition: 0.25s ease;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.lesson-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.lesson-card p {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0 15px;
    color: #0b2c3d;
}






