* {
    font-family: 'Museo Sans Regular', 'Roboto', sans-serif;
}

body {
    background-color: #fff;
}

header {
    background-color: #fff;
    box-shadow: 0 0 200px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-menu {
    display: flex;
    padding: 16px 0;
    align-items: center;
}

.header-menu a, .header-menu input {
    font-size: 0.9rem;
}

.header-menu > div {
    margin-right: 32px;
}

.header-menu .user-panel {
    margin-left: auto;
    font-weight: 500;
}

.user-panel ul, .slider-btn, .courses-tabs, .apps {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.user-panel {
    margin-right: 0 !important;
}

.user-panel ul {
    display: flex;
    align-items: center;
}

.user-panel li {
    margin-left: 8px;
}

.user-panel li > a {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 5px 5px 15px 0 rgba(99, 99, 99, 0.2);
    padding: 8px 16px;
}

.logo img {
    width: 160px;
}

.slider-btn {
    margin: 48px 0 0;
    display: flex;
}

.slider-btn .btn-secondary {
    padding: 16px 48px;
    margin-left: 8px;
    background: #ffffff;
    border-radius: 32px;
    color: #016BF3;
    border: none;
    font-weight: 600;
    box-shadow: 13px 22px 31px 0 rgba(99, 99, 99, 0.2);
}

.slider-btn .btn-play {
    margin-left: 48px;
    width: 56px;
    display: flex;
    height: 56px;
    background: #016BF3;
    border-radius: 28px;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 18px;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    box-shadow: 13px 22px 31px 0 rgba(99, 99, 99, 0.2);
}

.btn-play .fa {
    margin-right: -4px;
    padding: 0;
}

.sliders {
    /*background-image: url("/assets/img/slider_bg.png");*/
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    position: relative;
}

.slider-bg1 {
    width: 240px;
    height: 360px;
    position: absolute;
    left: -120px;
    top: -240px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23F6F7F9' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.slider-bg2 {
    width: 240px;
    height: 360px;
    position: absolute;
    right: 0;
    top: -100px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23F6F7F9' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.slider-bg3 {
    width: 240px;
    height: 360px;
    position: absolute;
    right: 200px;
    top: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='%23816AFF' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23816AFF' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.slider-bg4 {
    width: 240px;
    height: 360px;
    position: absolute;
    right: 80px;
    top: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%2324D7FF' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.sliders .container {
    position: relative;
}

.sliders .wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.sliders .slider-left {
    position: relative;
    flex: 1;
    padding: 150px 0;
}

.sliders .slider-right {
    flex: 1;
    align-self: flex-end;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.slider-right img {
    width: 100%;
}

.sliders h1 {
    font-weight: 700;
    font-size: 3rem;
}

.sliders h4 {
    font-weight: 300;
    color: #384251;
    font-size: 1.4rem;
}


.slider-scroll {
    background-image: url("../img/down.svg");
    position: absolute;
    bottom: 32px;
    font-size: 48px;
    display: none;
}


.search-bar input {
    background-color: #F6F7F9;
    border: none;
    width: 350px;
}


.courses-slider {
    background: #F6F7F9 url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23fff' stroke-width='40'/%3E%3C/svg%3E%0A") no-repeat;
    padding: 60px 0;
    text-align: center;
    background-position-x: 80%;
    background-position-y: 80%;
    position: relative;
}

.courses-tabs {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.courses-tabs li {
    margin: 0;
}

.courses-tabs li.hidden {
    display: none;
}

.courses-tabs li.hidden.show {
    display: block;
}

.courses-tabs a {
    color: #37414D;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 2px solid transparent;
    background: #f0f4f8;
    transition: all 0.3s;
    display: block;
}

.courses-tabs a:hover {
    background: #e3e9ef;
    text-decoration: none;
}

.courses-tabs a.active {
    color: #016BF3;
    background-color: #fff;
    border: 2px solid #24D7FF;
}

.courses-tabs .more-btn {
    background: #016BF3;
    color: #fff;
    cursor: pointer;
}

.courses-tabs .more-btn:hover {
    background: #0056cc;
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a56db 0%, #0d3b8c 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 24px;
    color: #fff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: #f8fafc;
}

.categories-section .title {
    text-align: center;
    margin-bottom: 30px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e8eef3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 107, 243, 0.12);
    border-color: #24D7FF;
    text-decoration: none;
    color: #333;
}

.category-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #016BF3, #24D7FF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 20px;
}

.category-card .info {
    flex: 1;
}

.category-card .info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.4;
    color: #333;
}

.category-card .info .count {
    font-size: 13px;
    color: #016BF3;
    font-weight: 500;
}

.category-card .arrow {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s;
}

.category-card:hover .arrow {
    color: #016BF3;
    transform: translateX(4px);
}

.show-all-wrapper {
    text-align: center;
    margin: 20px 0 30px;
}

.show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #016BF3;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.show-all-btn:hover {
    background: #0056cc;
    color: #fff;
    text-decoration: none;
}

.show-all-btn i {
    transition: transform 0.3s;
}

.show-all-btn.expanded i {
    transform: rotate(180deg);
}

.slick-courses {
    padding: 20px 0;
}

.slick-courses a {

}

.slick-courses img {
    width: 100%;
    /*margin-bottom: 16px;*/
    border-radius: 16px;
    box-sizing: border-box;
}

.slick-courses h3 {
    font-size: 1rem;
    color: #000;
}


.title {
    font-weight: 700;
    margin-bottom: 30px;
}

.course-question-bg {
    background-image: url("../img/ellipse_left.png");
    background-repeat: no-repeat;
    width: 70px;
    height: 360px;
    position: absolute;
    bottom: -270px;
}


/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.how-it-works .title {
    margin-bottom: 10px;
}

.how-it-works .subtitle {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
}

.step-item {
    flex: 1;
    max-width: 220px;
    padding: 20px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: #e0e7ff;
    color: #1a56db;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a56db 0%, #0d3b8c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}

.step-icon i {
    font-size: 32px;
    color: #fff;
}

.step-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    color: #d1d5db;
    font-size: 20px;
}

.how-it-works-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.how-it-works-cta .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.how-it-works-cta .btn-primary {
    background: linear-gradient(135deg, #1a56db 0%, #0d3b8c 100%);
    color: #fff;
    border: none;
}

.how-it-works-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.4);
}

.how-it-works-cta .btn-outline {
    background: transparent;
    color: #1a56db;
    border: 2px solid #1a56db;
}

.how-it-works-cta .btn-outline:hover {
    background: #1a56db;
    color: #fff;
}

@media (max-width: 992px) {
    .steps-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-connector {
        display: none;
    }

    .step-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .step-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .how-it-works-cta {
        flex-direction: column;
        align-items: center;
    }

    .how-it-works-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

.explore {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 200px 0;
    background: url("../img/course3.jpg") no-repeat #868f96;
    background-size: cover;
}

.explore-bg {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: rgba(134, 143, 150, 0.8);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
}

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

.explore a {
    z-index: 3;
    pointer-events: auto;
}

footer {
    overflow: hidden;
    position: relative;
    padding-top: 60px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #cbd5e1;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin: 10px 0;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-brand .footer-logo img {
    height: 40px;
}

.footer-brand .footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social li a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social li a:hover {
    background: #1a56db;
    transform: translateY(-3px);
}

.footer-social li a i {
    font-size: 16px;
    color: #fff;
}

.footer-links-group h4,
.footer-contact h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-group h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #1a56db;
}

.footer-links-group ul li a {
    font-size: 14px;
    display: inline-block;
    padding: 2px 0;
}

.footer-links-group ul li a:hover {
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer-contact ul li i {
    width: 16px;
    color: #1a56db;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom-content p {
    margin: 0;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

    .footer-links-group h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.slick-item {
    opacity: 0.5 !important;
    /*transition: opacity 1000ms !important;*/
}

.slick-item.active {
    opacity: 1 !important;
}

.slick-slide {
    margin-left: 27px;
}

/* the parent */
.slick-list {
    margin-left: -27px;
}

.slick-navigation {
    display: flex;
    justify-content: center;
}


.slick-navigation div {
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    justify-content: center;
    color: #0d95e8;
    background-color: #fff;
    margin: 8px 16px;
    box-shadow: 4px 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.apps-list {
    padding: 20px 0;
}

.apps-list .container {
    display: flex;
    position: relative;
}

.apps-list .apps-list-left {
    flex: 1;
    position: relative;
    justify-content: center;
    display: flex;
}

.apps-list .apps-list-right {
    flex: 1;
    padding: 160px 16px;
    justify-content: center;
}

.apps-list-bg1 {
    position: absolute;
    width: 240px;
    height: 360px;
    right: 180px;
    bottom: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect rx='80' x='20' y='20' width='200' height='320' stroke='%2324D7FF' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.apps-list-bg2 {
    position: absolute;
    width: 240px;
    height: 360px;
    right: 60px;
    bottom: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='%23816AFF' xmlns='http://www.w3.org/2000/svg'%3E%3Crect rx='80' x='20' y='20' width='200' height='320' stroke='%23816AFF' stroke-width='40'/%3E%3C/svg%3E%0A");
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.apps {
    justify-content: center;
}

.apps a {
    margin: 16px;
    display: block;
}

.apps img {
    width: 200px;
    height: auto;
}

.app-img {
    position: relative;
    -webkit-animation: bounceHero 3s infinite;
    animation: bounceHero 3s infinite;
    transform: scale(0.9);
}


@-webkit-keyframes bounceHero {
    0% {
        top: 0;
    }
    50% {
        top: 15px;
    }
    100% {
        top: 0;
    }
}

@keyframes bounceHero {
    0% {
        top: 0;
    }
    50% {
        top: 15px;
    }
    100% {
        top: 0;
    }
}

.partners {
    padding: 60px 0;
}

.partners .item {
    display: flex;
    align-items: center;
}

.partners .item img {
    width: 120px;
}

.social-links {
    display: flex;
    justify-content: flex-end;
}

.social-links li {
    margin-bottom: 0;
}

.social-links a {
    margin-left: 8px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #24D7FF;
    display: flex;
}

.footer-bg1 {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect rx='80' x='20' y='20' width='200' height='320' stroke='%2324D7FF' stroke-width='40'/%3E%3C/svg%3E%0A");
    top: -180px;
    right: -120px;
    width: 240px;
    height: 360px;
    animation: 6s ease -4.5s infinite alternate none running bg-animation;
}


.footer-bg2 {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect rx='80' x='20' y='20' width='200' height='320' stroke='%234B5360' stroke-width='40'/%3E%3C/svg%3E%0A");
    bottom: -180px;
    left: -120px;
    width: 240px;
    height: 360px;
    animation: 6s ease -4.5s infinite alternate none running bg-animation
}

.page-header {
    position: relative;
    padding: 80px 0;
}

.page-header .container {
    text-align: center;
    position: relative;
}

.page-header h3 {
    font-size: 2.4rem;
    font-weight: 700;
}

.page-header p {
    color: #AFB5BA;
}

main {
    overflow: hidden;
}

.page-header-bg1 {
    width: 240px;
    height: 360px;
    position: absolute;
    left: -80px;
    top: -200px;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23F6F7F9' stroke-width='40'/%3E%3C/svg%3E%0A");
}

.page-header-bg2 {
    width: 240px;
    height: 360px;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='%23816AFF' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%23816AFF' stroke-width='40'/%3E%3C/svg%3E%0A");
    bottom: -100px;
    right: -160px;
}

.page-header-bg3 {
    width: 240px;
    height: 360px;
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg width='240' height='360' viewBox='0 0 240 360' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='20' y='20' width='200' height='320' rx='80' stroke='%2324D7FF' stroke-width='40'/%3E%3C/svg%3E%0A");
    bottom: 60px;
    right: -100px;
}

.page-wrapper {
    background-color: #F0F1F6;
    padding: 30px 0;
}

.page-content {

}

.courses-list {
    display: flex;
    flex-wrap: wrap;
}

.course-item {
    flex-direction: column;
    display: flex;
    flex-basis: calc(33.3333333% - 10px);
    background-color: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.course-item:focus, .course-item a:focus {
    outline: 0 !important;
}

.courses-list .course-item:nth-child(3n + 2) {
    margin-left: 15px;
    margin-right: 15px;
}

.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.course-card-link:hover {
    text-decoration: none;
    color: inherit;
}

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

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

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

.course-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(26, 86, 219, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.course-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.course-card-meta {
    margin-bottom: 12px;
}

.course-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.course-card-rating .fa {
    color: #ffc107;
    font-size: 12px;
}

.course-card-rating .fa-star-o {
    color: #e0e0e0;
}

.course-card-rating span {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.course-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.course-card-lessons,
.course-card-duration {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-card-lessons .fa,
.course-card-duration .fa {
    color: #1a56db;
}

.course-item_cover {
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.course-item img {
    transition: all ease 400ms;
    width: 100%;
    border-radius: 16px;
}

.course-item a {
    color: #000;
}

.course-item a:hover {
    text-decoration: none;
    color: #016BF3;
}


.course-item:hover > .course-item_cover img {
    transform: scale(1.1);
}

.course-item h4 {
    font-size: 1rem;
    font-weight: 700;
}


.sidebar-card {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 8px;
}

.sidebar-card-header {
    color: #016BF3;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.sidebar-card-header:before {
    content: "";
    padding: 2px;
    width: 8px;
    height: 8px;
    display: block;
    background-color: #816AFF;
    border-radius: 50%;
    margin-right: 8px;
    margin-top: -2px;
}

/* Course Search Input */
.course-search-input {
    position: relative;
    margin-top: 12px;
}

.course-search-input i.fa-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.course-search-input input {
    padding-left: 38px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.course-search-input input:focus {
    border-color: #1e88e5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.courses-filter {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
}

.courses-filter li {
    margin-bottom: 8px;
}

.page-course-slider-item {
    display: flex;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 16px;
    align-items: flex-start;
}

.page-course-slider-item:hover img {
    transform: scale(1.1);
}

.page-course-slider-cover {
    width: 450px;
    margin-right: 16px;
    background-color: #FEFEFE;
    border-radius: 16px;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.page-course-slider-cover img {
    width: 100%;
    border-radius: 16px;
    padding: 8px;
    transition: all ease 400ms;
}

.page-course-slider-body {
    width: 100%;
    padding: 8px 0;
}

.page-course-slider-body a {
    color: #000;
}

.page-course-slider-body h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.ratings {
    margin: 4px 0;
    display: flex;
    align-items: center;
}

.ratings p {
    margin: 0 0 0 16px;
    color: #999;
    font-size: 0.8rem;
}

.ratings fieldset, .ratings label {
    margin: 0;
    padding: 0;
}

.ratings input {
    display: none;
}

.ratings label:before {
    margin: 2px;
    font-size: 0.9rem;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
    color: #ddd;
}

.ratings span {
    color: #ddd;
    float: right;
}

.ratings label.active:before {
    color: #F3CA21;
}

.rating-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-time time {
    font-weight: 600;
    font-size: 0.8rem;
}

.course-item a, .page-course-slider-item a {
    text-decoration: none;
}

.page-full-link {
    float: right;
    background-color: #F6F7F9;
    padding: 8px 16px;
    border-radius: 16px;
    color: #0363EF !important;
    font-weight: 600;
}

.page-course-slider-cover {
    position: relative;
    overflow: hidden;
}


.slick-prev:before, .slick-next:before {
    font-family: FontAwesome;
    font-size: 0.8rem;
    color: #0d95e8;
    z-index: 2;
}

.slick-prev:before {
    content: "\f053";
}

.slick-next:before {
    content: "\f054";
}

.slick-prev, .slick-next {
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    z-index: 50;
    justify-content: center;
    color: #0d95e8;
    background-color: #fff;
    margin: 8px 16px;
    box-shadow: 4px 8px 8px 0 rgba(0, 0, 0, 0.1);
    top: 45%;
}


.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: #0d95e8;
    background-color: #fff;
}

.slick-prev {
    left: -30px;
}

.slick-next {
    right: -30px;
}


.page-course-slider-body p {
    color: #5d5b5b;
    font-size: 0.9rem;
}


.page-pagination {
    display: flex;
    justify-content: center;
}

.page-link {
    margin: 0 8px;
    width: 36px;
    height: 36px;
    display: flex;
    padding: 4px 0 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #333;
}

.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 50%;
}

.page-contact .page-content {
    background-color: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 0 200px rgba(0, 0, 0, 0.1);
}

.page-contact .page-wrapper {
    background-color: #fff !important;
    padding-bottom: 0;
}

.page-contact .page-content label {
    font-weight: 600;
}

.page-course .page-header .container {
    text-align: left;
    justify-content: left;
    position: relative;
}

.course-media {
    padding: 16px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

.course-media img {
    width: 100%;
    border-radius: 16px;
}

.course-tabs {
    margin-bottom: 20px;
}

.nav-tabs {
    display: flex;
    border: none;
    justify-self: left;
    justify-items: left;
    justify-content: left;
    text-align: left;
}

.nav-tabs .nav-link {
    border-radius: 16px;
    border: 2px solid #fff;
    margin: 0 16px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #016BF1;
    color: #fff;
    border: 2px solid #016BF1;
}


@-webkit-keyframes bg-animation {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(18px, 11px, 19px);
        -ms-transform: translate3d(18px, 11px, 19px);
        transform: translate3d(18px, 11px, 19px);
    }
}

@keyframes bg-animation {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(18px, 11px, 19px);
        -ms-transform: translate3d(18px, 11px, 19px);
        transform: translate3d(18px, 11px, 19px);
    }
}

.fa-tiktok {
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fab' data-icon='tiktok' class='svg-inline--fa fa-tiktok fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%2324D7FF' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'%3E%3C/path%3E%3C/svg%3E");
    width: 14px;
    height: 16px;
    background-repeat: no-repeat;
    padding: 8px 0 0;
}

.social-links a:hover {
    text-decoration: none;
    background-color: #4B5360;
    color: #fff;
}

.social-links a:hover > .fa-tiktok {
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fab' data-icon='tiktok' class='svg-inline--fa fa-tiktok fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'%3E%3C/path%3E%3C/svg%3E");
}

.error-page {
    margin: 60px auto;
}

.custom-control-label {
    cursor: pointer;
    font-size: 0.9rem;
}

.custom-control-label:focus {
    outline: none;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #24D7FF;
    background-color: #24D7FF;
}

.pagination .page-link {
    padding-top: 0;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-custom {
    display: flex;
}

/* Header Menu Dropdown */
.header-menu-dropdown {
    position: relative;
}

.header-menu-dropdown .dropdown-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

/* Hide Bootstrap's automatic caret */
.header-menu-dropdown .dropdown-section::after {
    display: none;
}

.header-menu-dropdown .dropdown-section:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.header-menu-dropdown .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.header-menu-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.header-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    padding: 8px 0;
    border: 1px solid #e0e0e0;
}

.header-menu-dropdown.active .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.header-dropdown-item:hover {
    background: #f5f9ff;
    color: #1e88e5;
    text-decoration: none;
    border-left-color: #1e88e5;
    padding-left: 24px;
}

.header-dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* Old header-sections - hidden */
.header-sections {
    display: none;
}

.header-sections.active {
    display: none;
}

#courses-list {
    position: relative;
}

.page-loading {
    width: 100%;
    height: 100%;
    position: absolute;
    /*background-color: rgba(0, 0, 0, 0.1);*/
    background-color: #fff;
    opacity: 0;
    top: 0;
    z-index: 2;
    pointer-events: none;
}

.page-loading.active {
    opacity: .9;
}

.page-loading-svg {
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    margin-top: 48px;
    animation: loader-spin 800ms linear infinite;
}

@keyframes loader-spin {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}

.course-review {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 16px 0;
}

.course-review :last-child {
    border-bottom: none;
}

.review-avatar {
    width: 80px;
}

.review-body {
    width: 100%;
}

.avatar {
    text-transform: uppercase;
}

.review-avatar .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #fff;
}

.review-name {
    font-weight: 600;
}

.review-date {
    margin-bottom: 8px;
    color: #999;
    font-size: 13px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .fa {
    color: #ffc107;
    font-size: 12px;
}

.review-stars .fa-star-o {
    color: #ddd;
}

.review-comment {
    color: #4b5563;
    line-height: 1.6;
}

.review-form-wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.review-form-wrapper h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.star-rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rating-label {
    font-weight: 500;
    color: #374151;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.stars-input input {
    display: none;
}

.stars-input label {
    cursor: pointer;
    font-size: 24px;
    color: #ddd;
    transition: color 0.2s ease;
}

.stars-input label .fa {
    color: inherit;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
    color: #ffc107;
}

.review-form .form-control {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    resize: none;
}

.review-form .form-control:focus {
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.review-login-notice {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
}

.review-login-notice p {
    margin-bottom: 15px;
    color: #6b7280;
}

#accordionLessons .btn {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: #000;
    padding-left: 24px;
    position: relative;
}

#accordionLessons .btn:before {
    content: "\f107";
    font-family: FontAwesome;
    left: 0;
    position: absolute;
}

#accordionLessons .btn[aria-expanded=true]:before {
    content: "\f106";
    font-family: FontAwesome;
    left: 0;
    position: absolute;
}

#accordionLessons .btn span {
    font-weight: 400;
    color: #555;
}

#accordionLessons .btn:hover {
    text-decoration: none;
}

#accordionLessons .btn:focus {
    text-decoration: none;
    box-shadow: none;
}

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

.lessons a {
    color: #000;
    text-decoration: none;
}

.lessons a:hover > .lesson-item {
    background-color: #ddd;
}

.lessons li {
    margin-bottom: 12px;
}

.lessons li:last-child {
    margin-bottom: 0;
}

.lesson-item {
    display: flex;
}

.lesson-icon {
    width: 28px;
    color: #555;
}

.lesson-name {
    width: 100%;
    padding: 0 8px;
}

.lesson-minute {
    color: #555;
    font-size: 0.9rem;
    text-align: right;
}

.learn {
    display: flex;
}

.learn-content {
    padding: 32px 0;
    width: 75%;
}

.learn-sidebar {
    width: 25%;
}

.learn-lessons {
    height: 100%;
    overflow-x: hidden;
}

.breadcrumb {
    margin-bottom: 0;
}

.learn-sidebar h3 {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 0;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-right: 0;
}

.learn-sidebar h3 span {
    display: none;
}

.learn-lessons .card {
    border-radius: 0;
}

.learn-lessons .card-body {
    padding: 0;
}

.learn-lessons .lesson-item {
    padding: 16px 16px;
    margin: 0;
}

.learn-lessons li {
    margin-bottom: 0;
}


.learn-lessons #accordionLessons .btn {
    justify-content: flex-start;
    flex-direction: column;
    padding-left: 0;
}

.learn-lessons #accordionLessons .btn:before {
    right: 0;
    left: auto;
}

.learn-lessons #accordionLessons .btn[aria-expanded=true]:before {
    right: 0;
    left: auto;
}

.learn-lessons #accordionLessons .btn span {
    font-size: 0.8rem;
}

.lesson-complete {
    background-color: #e8fbff;
}

.lesson-current {
    background-color: #b9d8ff;
}

.guest {
    padding: 60px 0;
}

.guest .forgot-password-link {
    color: #1a56db;
    text-decoration: none;
    font-size: 14px;
}

.guest .forgot-password-link:hover {
    text-decoration: underline;
}

.dropdown-profile .dropdown-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.dropdown-profile .dropdown-toggle:after {
    margin-left: 0;
    border: 0;
}

.dropdown-profile .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.profile-page {
    padding: 60px 0;
}

.profile-header {
    padding-bottom: 20px;
    display: flex;
    align-items: center;
}

.profile-avatar {
    position: relative;
}

.profile-avatar .avatar {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-right: 16px;
    border-radius: 50%;
    font-size: 2rem;
}

.profile-avatar-btn {
    position: absolute;
    right: 16px;
    bottom: 6px;
    background-color: #007BFF;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    padding: 0;
    margin: 0;
    border: 1px solid #007BFF;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.profile-avatar-btn:hover {
    text-decoration: none;
    color: #007BFF;
    background-color: #fff;
}

#avatar-form {
    display: none;
}

.news-page {
    background-color: #F0F1F6;
    padding: 40px 0 60px;
}

.news-page .container, .page-wrapper .container {
    position: relative;
}

/* News Search Box */
.news-search-box {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.news-search-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.news-search-form:focus-within {
    border-color: #1e88e5;
    box-shadow: 0 2px 12px rgba(30, 136, 229, 0.15);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input-wrapper i.fa-search {
    position: absolute;
    left: 18px;
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 14px 40px 14px 46px;
    border: none;
    font-size: 14px;
    background: transparent;
    box-shadow: none;
}

.search-input-wrapper input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.search-input-wrapper input.form-control:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.search-input-wrapper input::placeholder {
    color: #aaa;
}

.search-clear {
    position: absolute;
    right: 8px;
    color: #999;
    padding: 6px;
    text-decoration: none;
}

.search-clear:hover {
    color: #333;
    text-decoration: none;
}

.news-search-form .btn-primary {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    margin: 4px;
}

.news__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.news_item {
    display: flex;
    padding: 15px;
    margin-bottom: 0;
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.news_item.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

/* News Card Styles */
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #1f2937;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #1f2937;
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-content time {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-content time i {
    color: #1a56db;
}

.news-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .read-more {
    font-size: 14px;
    font-weight: 500;
    color: #1a56db;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-card:hover .read-more {
    gap: 10px;
}

.news-card .read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .read-more i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .news_item,
    .news_item.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .news_item,
    .news_item.col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-card-image {
        height: 180px;
    }
}

/* News Pagination */
.news-pagination {
    margin-top: 40px;
    padding-top: 20px;
}

.news-pagination .pagination {
    margin: 0;
}

.news-pagination .page-item .page-link {
    border-radius: 8px;
    margin: 0 4px;
    border: none;
    color: #1a56db;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-pagination .page-item.active .page-link {
    background: #1a56db;
    color: #fff;
}

.news-pagination .page-item .page-link:hover {
    background: #1a56db;
    color: #fff;
}

.course-widget {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 8px;
}

.course-widget ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #777;
}

.course-widget a {
    display: flex;
    width: auto;
    justify-content: center;
}

.course-widget ul div {
    color: #000;
    font-weight: 500;
}

.course-widget li {
    padding: 8px 0;
}

/* Top Users Section */
.top-users-section {
    padding: 50px 0;
    background: #f8fafc;
}

.top-users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.top-users-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.top-users-header a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-users-header a:hover {
    text-decoration: underline;
}

.top-users-list {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.top-user-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

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

.top-user-item:hover {
    background: #f8fafc;
}

.user-rank {
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    margin-right: 15px;
}

.top-user-item:nth-child(1) .user-rank {
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
    color: #fff;
}

.top-user-item:nth-child(2) .user-rank {
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
    color: #fff;
}

.top-user-item:nth-child(3) .user-rank {
    background: linear-gradient(135deg, #cd7f32 0%, #d4a574 100%);
    color: #fff;
}

.user-avatar {
    margin-right: 15px;
}

.user-avatar .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.user-info {
    flex: 1;
}

.user-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: #1f2937;
}

.user-info p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.user-score {
    font-size: 20px;
    font-weight: 700;
    color: #1a56db;
}

@media (max-width: 576px) {
    .top-users-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .user-info p {
        max-width: 150px;
    }
}

/* Ratings Page */
.top-rating-list {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.top-rating-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

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

.top-rating-item:hover {
    background: #f8fafc;
}

.top-rating-item:nth-child(1) .user-rank {
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
    color: #fff;
}

.top-rating-item:nth-child(2) .user-rank {
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
    color: #fff;
}

.top-rating-item:nth-child(3) .user-rank {
    background: linear-gradient(135deg, #cd7f32 0%, #d4a574 100%);
    color: #fff;
}

.test_questions {
    margin: 0 0 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.test_questions > li {
    text-align: center;
    justify-content: center;
}

.test_questions > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
    padding: 0;
    font-weight: bold;
    height: 36px;
    font-size: 16px;
    background-color: #f4f4f4;
    color: #2e2e2e;
    border-radius: 8px;
    -webkit-transition: all .15s ease-in;
    -moz-transition: all .15s ease-in;
    -o-transition: all .15s ease-in
}

.test_question {
    width: 100%;
    display: flex;
    float: left;
    text-align: left;
    align-items: center;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
}

.test_question div, .test_question > span {
    display: inline-block;
    vertical-align: middle;
    float: left
}

.test_question > span {
    display: flex;
    width: 36px;
    height: 36px;
    position: relative;
    margin-right: 10px;
    background-color: #2196F3;
    border-radius: 50%;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.test_question div {
    width: 90%;
    line-height: 24px
}

.test_answers, .test_answers li, .test_answers li a {
    width: 100%;
    display: block
}

.test_answers {
    margin: 0;
    padding: 0;
    float: left;
    text-align: left
}

.test_answers li {
    float: left;
    padding: 10px;
    border-top: 1px dashed #ddd;
    vertical-align: middle
}

.test_answers li:last-child {
    border-bottom: none
}

.test_answers li:first-child {
    border-top: none
}

.test_answers li a {
    cursor: pointer
}

.test_answers li div, .test_answers li span {
    display: inline-block;
    vertical-align: middle;
    color: #2e2e2e
}

.test_answers li div {
    width: 30px;
    height: 30px;
    position: relative;
    margin-right: 10px;
    background-color: #ddd;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    -webkit-transition: all .15s ease-in;
    -moz-transition: all .15s ease-in;
    -o-transition: all .15s ease-in
}

.test_answers li span {
    width: 90%;
    transition: all .2s ease-in;
    -webkit-transition: all .15s ease-in;
    -moz-transition: all .15s ease-in;
    -o-transition: all .15s ease-in
}

.test_answers li:hover span {
    color: #2196F3
}

.test_answers li a:hover div, .test_answers li#active a:hover div {
    background-color: #2196F3;
    color: #FFF
}

.test_answers li#active div {
    background-color: #2196F3;
    color: #FFF
}

.test_answers li#danger div {
    background-color: #ea5f3e;
    color: #FFF
}

.test_answers li#warning div {
    background-color: #f0ad4e;
    color: #FFF
}

.test_questions > li.selected > a {
    background-color: #6ab8f7;
    color: #fff
}

.test_questions > li.active > a, .test_questions > li.active > a:focus, .test_questions > li.active > a:hover {
    background-color: #2196F3
}

@media (max-width: 768px) {
    .test_answers li span, .test_question div {
        width: 80%
    }

    .test_answers li {
        width: 100%
    }
}

.results {
    margin: 0;
    padding: 0
}

.results li {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    color: #000;
    font-weight: 600
}

.results li span {
    color: #000;
    font-weight: 400;
    width: 80px
}

.test-information {
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    background: #E2ECF2;
    padding: 4px 8px;
    font-weight: 600
}

.test-information > span {
    margin-right: 8px;
}

.test-finish {
    width: 100px;
    text-align: right;
    float: right
}


.test_answers li a:hover {
    text-decoration: none;
}

.test-page .tab-content {
    margin-bottom: 40px;
}

.test-analyze .text-center {
    display: flex;
    justify-content: center;
}

.test-page .nav-link {
    width: 36px;
    height: 36px;
    margin: 0 4px;
    border-radius: 50%;
    border: none !important;
}

.learn-progress {
    padding: 16px 0 8px;
    color: #555;
}

.course-item.slick-slide:not(.slick-active) {
    box-shadow: none;
}

.test-wrapper .learn-title {
    text-align: center;
}

.test-wrapper .learn-text {
    display: none;
}

.test_questions {
    justify-content: flex-start;
}

.test-footer {
    display: flex;
    justify-content: space-between;
}

::-webkit-scrollbar {
    width: 9px;
}

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

/* Handle */
::-webkit-scrollbar-thumb {
    background: #016BF3;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #016BF3;
}


#toTop {
    position: fixed;
    bottom: 30px;
    right: 20px;
    cursor: pointer;
    display: none;
    z-index: 10;
}

.btn-top {
    height: 36px;
    width: 36px;
    border-radius: 4px;
    text-align: center;
    line-height: 36px;
    color: #016BF3;
    border: 2px solid #016BF3;
}

#yii-debug-toolbar {
    display: none !important;
}

.learn-navigation {
    margin-top: 40px;

}

.learn-navigation .disabled {
    pointer-events: none;
    visibility: hidden;
}

.learn-navigation .container {
    display: flex;
    justify-content: space-between;
}

.learn-navigation-btn {
    color: #3c406f;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 16px;
    background-color: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 1px 2px -1px rgba(255 255 255 0.5) inset, 0 -2px 0 0 rgba(0 0 0 0.1) inset;
    cursor: pointer;
}

.learn-navigation-btn:hover {
    text-decoration: none;
}

.course-item-no-active {
    filter: grayscale(100%);
    cursor: none;
    pointer-events: none;
}

.test-result {
    display: flex;
    border: 1px solid #ddd;
    margin: 20px 0;
    justify-content: space-between;
    border-radius: 16px;
    align-content: center;
    align-items: center;
}

.test-result-img {
    display: flex;
}

.diagram {
    width: 120px;
    position: relative;
}

.test-result-item {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.test-result-item h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}


.test-result-img img {
    position: absolute;
    left: 0;
    right: 0;
    top: 30px;
    bottom: 0;
    width: 50px;
    margin: 0 auto;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

@media (max-width: 992px) {
    /* Hide desktop dropdown on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Header */
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .header-menu {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-menu > div.search-bar,
    .header-menu > div.language {
        display: none;
    }

    /* Mobile Navigation */
    .mobile-nav {
        display: none;
        width: 100%;
        order: 10;
        background: #fff;
        border-top: 1px solid #eee;
        margin-top: 12px;
        padding-top: 12px;
    }

    .header-menu.mobile-open .mobile-nav {
        display: block;
    }

    .mobile-nav-items {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-nav-link {
        display: block;
        padding: 12px 16px;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 15px;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: #f5f9ff;
        color: #1e88e5;
        text-decoration: none;
    }

    /* Search bar in mobile menu */
    .header-menu.mobile-open > div.search-bar {
        display: block;
        width: 100%;
        margin: 12px 0 0 0;
        order: 11;
    }

    .header-menu.mobile-open .search-bar input {
        width: 100%;
    }

    .user-panel {
        margin-left: auto;
        order: 2;
    }

    .user-panel ul {
        flex-wrap: wrap;
    }

    .user-panel li > a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* Slider Section */
    .sliders .wrapper {
        flex-direction: column;
    }

    .sliders .slider-left {
        padding: 60px 0 30px;
        text-align: center;
    }

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

    .sliders h4 {
        font-size: 1.1rem;
    }

    .slider-btn {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .slider-btn .btn-secondary {
        padding: 12px 30px;
        margin-left: 0;
    }

    .slider-btn .btn-play {
        margin-left: 15px;
    }

    .sliders .slider-right {
        display: none;
    }

    .slider-bg1, .slider-bg2, .slider-bg3, .slider-bg4 {
        display: none;
    }

    /* Courses Grid */
    .courses-list {
        justify-content: center;
    }

    .course-item {
        flex-basis: calc(50% - 10px);
    }

    .courses-list .course-item:nth-child(3n + 2) {
        margin-left: 0;
        margin-right: 0;
    }

    .courses-list .course-item:nth-child(odd) {
        margin-right: 10px;
    }

    .courses-list .course-item:nth-child(even) {
        margin-left: 10px;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0;
    }

    .page-header h3 {
        font-size: 1.8rem;
    }

    .page-header-bg1, .page-header-bg2, .page-header-bg3 {
        display: none;
    }

    /* Course View */
    .page-course .row {
        flex-direction: column;
    }

    .page-course .col-md-9,
    .page-course .col-md-3 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .page-course .sidebar {
        margin-top: 20px;
    }

    /* Nav Tabs */
    .nav-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-tabs .nav-link {
        margin: 0;
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Learn Page */
    .learn {
        flex-direction: column;
    }

    .learn-content {
        width: 100%;
        padding: 20px 15px;
    }

    .learn-sidebar {
        width: 100%;
        order: -1;
    }

    .learn-sidebar h3 {
        border: none;
        background: #f5f5f5;
        cursor: pointer;
    }

    .learn-sidebar h3 span {
        display: block;
    }

    .learn-lessons {
        max-height: 300px;
        display: none;
    }

    .learn-lessons.mobile-open {
        display: block;
    }

    /* Apps Section */
    .apps-list .container {
        flex-direction: column;
    }

    .apps-list .apps-list-right {
        padding: 40px 16px;
        text-align: center;
    }

    .apps {
        flex-wrap: wrap;
    }

    .apps img {
        width: 150px;
    }

    .apps-list-bg1, .apps-list-bg2 {
        display: none;
    }

    /* Explore Section */
    .explore {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    /* Course Grid - Single Column */
    .course-item {
        flex-basis: 100%;
    }

    .courses-list .course-item:nth-child(odd),
    .courses-list .course-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Guest/Login Pages */
    .guest {
        padding: 30px 0;
    }

    .guest .container {
        padding: 0 20px;
    }

    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar .avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }

    /* Course Slider */
    .page-course-slider-item {
        flex-direction: column;
    }

    .page-course-slider-cover {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    /* Review Form */
    .star-rating-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Slick Slider Navigation */
    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }

    /* Header Menu Dropdown - Tablet */
    .header-menu-dropdown .dropdown-section {
        padding: 8px 12px;
        font-size: 14px;
    }

    .header-dropdown-menu {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    /* Header Menu Dropdown - Mobile */
    .header-menu-dropdown {
        position: static;
    }

    .header-dropdown-menu {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-width: auto;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 16px;
        margin-top: 0;
    }

    .header-menu-dropdown.active .header-dropdown-menu {
        transform: translateY(0);
    }

    .header-dropdown-item {
        padding: 14px 20px;
        font-size: 15px;
    }

    /* News Search - Mobile */
    .news-search-form {
        flex-direction: column;
        max-width: 100%;
    }

    .news-search-form .btn-primary {
        width: 100%;
    }

    /* General Typography */
    body {
        font-size: 14px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* Container */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Header */
    .logo img {
        width: 120px;
    }

    .user-panel li > a {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    /* Slider */
    .sliders .slider-left {
        padding: 40px 0 20px;
    }

    .sliders h1 {
        font-size: 1.5rem;
    }

    .sliders h4 {
        font-size: 1rem;
    }

    .slider-btn .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slider-btn .btn-play {
        width: 44px;
        height: 44px;
    }

    /* Courses Section */
    .courses-slider {
        padding: 40px 0;
    }

    .courses-tabs {
        gap: 8px;
    }

    .courses-tabs a {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* Title */
    .title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    /* Course Card */
    .course-card-image {
        height: 140px;
    }

    .course-card-content {
        padding: 12px;
    }

    .course-card-title {
        font-size: 14px;
        min-height: auto;
    }

    /* Page Header */
    .page-header {
        padding: 30px 0;
    }

    .page-header h3 {
        font-size: 1.4rem;
    }

    /* Page Wrapper */
    .page-wrapper {
        padding: 20px 0;
    }

    /* Course Tabs */
    .course-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        min-width: max-content;
    }

    .nav-tabs .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Lessons Accordion */
    #accordionLessons .btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    .lesson-item {
        font-size: 0.9rem;
    }

    /* Reviews */
    .course-review {
        flex-direction: column;
    }

    .review-avatar {
        width: 100%;
        margin-bottom: 10px;
    }

    .review-avatar .avatar {
        width: 40px;
        height: 40px;
    }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Course Widget */
    .course-widget {
        padding: 12px;
    }

    .course-widget a {
        font-size: 0.9rem;
    }

    /* Partners */
    .partners {
        padding: 30px 0;
    }

    .partners .item img {
        width: 80px;
    }

    /* Learn Navigation */
    .learn-navigation-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Test Page */
    .test_question {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .test_question > span {
        margin-bottom: 10px;
    }

    .test_answers li {
        padding: 8px;
    }

    /* Pagination */
    .page-link {
        width: 32px;
        height: 32px;
        margin: 0 4px;
        font-size: 0.85rem;
    }
}

/* ===== NEWS DETAIL PAGE ===== */
.news-detail-page {
    background: #f8fafc;
}

.news-hero {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.news-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.news-hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.news-hero-content {
    color: #fff;
    max-width: 800px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.news-back-link:hover {
    color: #fff;
    text-decoration: none;
}

.news-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta i {
    font-size: 16px;
}

.news-content-section {
    padding: 50px 0 80px;
    margin-top: -30px;
}

.news-article {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.news-article-content p {
    margin-bottom: 20px;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
    color: #1f2937;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-article-content ul,
.news-article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.news-article-content li {
    margin-bottom: 8px;
}

.news-article-content blockquote {
    border-left: 4px solid #1a56db;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #6b7280;
}

/* Share Section */
.news-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 600;
    color: #374151;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #00a2e8);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #4fc3f7);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
}

/* News Sidebar */
.news-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a56db;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s;
}

.related-news-item:hover {
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
}

.related-news-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-info {
    flex: 1;
    min-width: 0;
}

.related-news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-date {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-news-date i {
    font-size: 11px;
    color: #1a56db;
}

/* News Detail Responsive */
@media (max-width: 992px) {
    .news-hero {
        height: 350px;
    }

    .news-hero-content h1 {
        font-size: 2rem;
    }

    .news-article {
        padding: 30px;
    }

    .news-sidebar {
        margin-top: 30px;
        position: static;
    }
}

@media (max-width: 576px) {
    .news-hero {
        height: 300px;
    }

    .news-hero .container {
        padding-bottom: 30px;
    }

    .news-hero-content h1 {
        font-size: 1.5rem;
    }

    .news-meta {
        flex-direction: column;
        gap: 10px;
    }

    .news-content-section {
        padding: 30px 0 50px;
    }

    .news-article {
        padding: 20px;
        border-radius: 12px;
    }

    .news-article-content {
        font-size: 15px;
    }

    .news-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .share-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .related-news-item {
        padding: 10px;
    }

    .related-news-image {
        width: 70px;
        height: 50px;
    }
}