/* By Nhat

/* Font Face Declarations */
@font-face {
    font-family: 'eduma-icon';
    src: url('../fonts/eduma-icon.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/awesome-5x/fa-solid-900.woff2') format('woff2'),
        url('../fonts/awesome-5x/fa-solid-900.woff') format('woff'),
        url('../fonts/awesome-5x/fa-solid-900.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/awesome-5x/fa-regular-400.woff2') format('woff2'),
        url('../fonts/awesome-5x/fa-regular-400.woff') format('woff'),
        url('../fonts/awesome-5x/fa-regular-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/awesome-5x/fa-brands-400.woff2') format('woff2'),
        url('../fonts/awesome-5x/fa-brands-400.woff') format('woff'),
        url('../fonts/awesome-5x/fa-brands-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    max-width: 100%;
    /* Keep vertical scrollbar for system - handled by html usually */
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 50%;
}

.hero-right {
    flex: 1;
    max-width: 50%;
}

/* Hero Title */
.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: #356DF1;
}

/* Hero Subtitle */
.hero-subtitle {
    margin-bottom: 32px;
}

.hero-subtitle p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #356DF1;
    color: white;
    border-color: #356DF1;
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #356DF1;
    border-color: #356DF1;
}

.btn-secondary:hover {
    background-color: #356DF1;
    color: white;
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle p {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Popular Courses Section */
.popular-courses-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden !important;
}

.popular-courses-section .container {
    overflow: visible;
    max-width: 1320px;
    /* Reset về width chuẩn như các section khác */
    padding: 0 20px;
    /* Add padding to prevent edge clipping */
}

/* GLOBAL SCROLLBAR HIDING FOR SLIDER AREA */
.popular-courses-section * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.popular-courses-section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.section-title .highlight {
    color: #356DF1;
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.see-more-btn:hover {
    color: #356DF1;
}

.see-more-btn i {
    font-size: 14px;
}

/* Courses Slider - FORCE HIDE SCROLLBAR */
.courses-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
}

.courses-slider {
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible !important;
    width: 100%;
}

.courses-container {
    overflow: hidden !important;
    /* Hide overflow to show only 4 items */
    width: 1125px;
    /* Exact width for 4 items: 4*270 + 3*15 = 1125px */
    max-width: 100%;
    margin: 0 auto;
    /* Center the container */
    position: relative;
    padding: 10px 0;
}

.courses-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Courses Grid */
.courses-grid {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: max-content;
    /* Let it be as wide as needed */
    align-items: stretch;
    /* Add a clip-path to hide items outside viewport */
    position: relative;
}

.courses-grid .course-item {
    flex: 0 0 270px;
    /* Back to fixed width */
    min-width: 270px;
    width: 270px;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #374151;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    pointer-events: none;
}

.slider-nav:hover {
    background: #374151;
    color: white;
    border-color: #374151;
    transform: translateY(-50%) scale(1.05);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav:disabled,
.slider-nav[style*="pointer-events: none"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-nav:disabled:hover,
.slider-nav[style*="pointer-events: none"]:hover {
    background: white;
    color: #374151;
    border-color: #374151;
    transform: translateY(-50%);
}

/* Fallback for browsers that don't support SVG */
.slider-nav-prev::before {
    content: "‹";
    font-size: 24px;
    font-weight: bold;
    display: none;
}

.slider-nav-next::before {
    content: "›";
    font-size: 24px;
    font-weight: bold;
    display: none;
}

/* Show fallback if SVG is not supported */
.no-svg .slider-nav svg {
    display: none;
}

.no-svg .slider-nav-prev::before,
.no-svg .slider-nav-next::before {
    display: block;
}

.slider-nav-prev {
    left: 0;
}

.slider-nav-next {
    right: 0;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-bullet {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-bullet.active {
    background: #356DF1;
    transform: scale(1.1);
}

.pagination-bullet:hover {
    background: #356DF1;
    opacity: 0.8;
}




/* Course Item */
.course-item {
    background: #f5f7f8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    /* Ensure border-radius is not clipped */
    transform: translateZ(0);
    /* Force hardware acceleration */
}

.course-item:hover {
    border-color: #356df1;
}

/* Course Item */
.course-item {
    background: #f5f7f8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    /* Ensure border-radius is not clipped */
    transform: translateZ(0);
    /* Force hardware acceleration */
}

.course-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.category-tag {
    background: #FF971A;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.course-item:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
}

.course-title {
    margin: 0 0 12px 0;
}

.course-title a {
    color: #212427;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.course-title a:hover {
    color: #356DF1;
}

.course-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-instructor {
    margin-bottom: 12px;
}

.instructor-name {
    color: #356DF1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.instructor-name:hover {
    color: #000000;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.course-lessons,
.course-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 14px;
}

.course-lessons svg,
.course-location svg {
    flex-shrink: 0;
}

.course-price {
    margin-bottom: 20px;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

/* Giá giảm (sale price) - màu xanh, bold, lớn hơn */
.course-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #28a745;
}

/* Giá gốc (original price) - màu đỏ, gạch ngang, không bold */
.course-price .old-price {
    font-size: 1rem;
    font-weight: 400;
    color: #dc3545;
    text-decoration: line-through;
}

/* Ẩn phần trăm giảm */
.course-price .discount {
    display: none;
}

.price-prefix,
.price-suffix {
    font-size: 14px;
    color: #6B7280;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #356DF1;
    margin: 0 4px;
}

.course-button {
    text-align: center;
}

.btn-start-learning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: #356DF1;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-start-learning:hover {
    background: #000000;
    transform: translateY(-1px);
}

.btn-start-learning i {
    font-size: 12px;
}

/* Icon Fonts */
.tk {
    font-family: 'eduma-icon', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tk-arrow-right:before {
    content: "\e900";
}

.tk-arrow-left:before {
    content: "\e901";
}

/* FontAwesome Icons */
.fas {
    font-family: 'FontAwesome';
    font-weight: 900;
}

.fa-play:before {
    content: "\f04b";
}

.btn-start-learning i.fas.fa-play {
    transform: none;
    font-style: normal;
}

/* Responsive Design for Popular Courses */
@media (max-width: 1024px) {
    .popular-courses-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .courses-grid {
        gap: 25px;
    }

    .courses-grid .course-item {
        flex: 0 0 250px;
        /* Fixed width for consistency */
        min-width: 250px;
        width: 250px;
    }

    .slider-nav {
        width: 45px;
        height: 45px;
    }

    .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .courses-slider {
        padding: 0 60px;
    }

    .slider-nav-prev {
        left: 10px;
    }

    .slider-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .popular-courses-section {
        padding: 50px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .courses-slider {
        margin: 0;
        padding: 0 45px;
    }

    .courses-grid {
        gap: 20px;
    }

    .courses-grid .course-item {
        flex: 0 0 100%;
        /* Mobile: 1 item per view */
        min-width: auto;
        width: 100%;
    }

    .slider-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .slider-nav-prev {
        left: 2px;
    }

    .slider-nav-next {
        right: 2px;
    }

    .course-image img {
        height: 200px;
    }

    /* Show more pagination bullets on mobile for single item navigation */
    .pagination-bullet {
        width: 25px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .popular-courses-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .course-content {
        padding: 15px;
    }

    .course-title a {
        font-size: 16px;
    }

    .course-excerpt {
        font-size: 13px;
    }

    .courses-slider {
        padding: 0 40px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .slider-nav svg {
        width: 16px;
        height: 16px;
    }

    .slider-nav-prev {
        left: 2px;
    }

    .slider-nav-next {
        right: 2px;
    }

    .pagination-bullet {
        width: 20px;
        height: 5px;
        gap: 6px;
    }

    .slider-pagination {
        gap: 6px;
    }
}



/* By Nhat

/* Outstanding Categories Section */
.elementor-section.elementor-element-2932ede {
    padding: 80px 0;
    background-color: #ffffff;
}

.elementor-section.elementor-element-2932ede .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section - Same style as Popular Courses */
.elementor-section.elementor-element-2932ede .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.elementor-section.elementor-element-2932ede .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.elementor-section.elementor-element-2932ede .section-title .highlight {
    color: #356DF1;
}

.elementor-section.elementor-element-2932ede .see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.elementor-section.elementor-element-2932ede .see-more-btn:hover {
    color: #356DF1;
}

/* Categories Grid */
.thim-widget-course-categories-grid {
    width: 100%;
}

.thim-widget-course-categories-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.thim-widget-course-categories-grid li {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.thim-widget-course-categories-grid li:hover {
    transform: translateY(-5px);
}

.thim-widget-course-categories-grid li a {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.thim-widget-course-categories-grid li img {
    width: 100%;
    height: 126px;
    object-fit: cover;
    display: block;
}

.thim-widget-course-categories-grid li .category-title {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    margin: 0;
}

.thim-widget-course-categories-grid li .count-course {
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

/* Overlay effect */
.thim-widget-course-categories-grid li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.thim-widget-course-categories-grid li .category-title,
.thim-widget-course-categories-grid li .count-course {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elementor-section.elementor-element-2932ede {
        padding: 60px 0;
    }

    .elementor-section.elementor-element-2932ede .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .elementor-section.elementor-element-2932ede {
        padding: 50px 0;
    }

    .thim-widget-course-categories-grid ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .elementor-section.elementor-element-2932ede .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .elementor-section.elementor-element-2932ede .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .elementor-section.elementor-element-2932ede {
        padding: 40px 0;
    }

    .elementor-section.elementor-element-2932ede .section-title {
        font-size: 24px;
    }

    .thim-widget-course-categories-grid li .category-title {
        font-size: 18px;
        bottom: 35px;
    }

    .thim-widget-course-categories-grid li .count-course {
        font-size: 13px;
        bottom: 12px;
    }
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.mission-section .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.mission-section .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.mission-section .section-title .highlight {
    color: #356DF1;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-item {
    text-align: center;
    padding: 40px 20px;
    background: #f5f7f8;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #356DF1 0%, #4F46E5 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-item:hover::before {
    transform: scaleX(1);
}

/* Mission Icon */
.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53, 109, 241, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mission-item:hover .mission-icon {
    background: rgba(53, 109, 241, 0.15);
    transform: scale(1.1);
}

.mission-icon svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.mission-item:hover .mission-icon svg {
    transform: scale(1.1);
}

/* Mission Title */
.mission-title {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 16px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.mission-item:hover .mission-title {
    color: #356DF1;
}

/* Mission Description */
.mission-description {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0;
    transition: color 0.3s ease;
}

.mission-item:hover .mission-description {
    color: #4B5563;
}

/* Responsive Design for Mission Section */
@media (max-width: 1024px) {
    .mission-section {
        padding: 60px 0;
    }

    .mission-section .section-title {
        font-size: 32px;
    }

    .mission-grid {
        gap: 30px 25px;
    }

    .mission-item {
        padding: 35px 15px;
    }

    .mission-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .mission-icon svg {
        width: 35px;
        height: 35px;
    }

    .mission-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .mission-section {
        padding: 50px 0;
    }

    .mission-section .section-header {
        margin-bottom: 40px;
    }

    .mission-section .section-title {
        font-size: 28px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }

    .mission-item {
        padding: 30px 20px;
    }

    .mission-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .mission-icon svg {
        width: 30px;
        height: 30px;
    }

    .mission-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .mission-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mission-section {
        padding: 40px 0;
    }

    .mission-section .section-title {
        font-size: 24px;
    }

    .mission-item {
        padding: 25px 15px;
    }

    .mission-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .mission-icon svg {
        width: 25px;
        height: 25px;
    }

    .mission-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .mission-description {
        font-size: 12px;
    }
}

/* New Release Section - Same styling as Popular Courses */
.new-release-section {
    padding: 80px 0;
    background-color: #ffffff;
    /* Remove overflow:hidden to show arrows at edges */
}

.new-release-section .container {
    overflow: visible;
    max-width: 1320px;
    padding: 0 20px;
}

/* GLOBAL SCROLLBAR HIDING FOR SLIDER AREA */
.new-release-section * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.new-release-section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.new-release-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.new-release-section .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.new-release-section .section-title .highlight {
    color: #356DF1;
}

.new-release-section .see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.new-release-section .see-more-btn:hover {
    color: #356DF1;
}

/* New Release Slider */
.new-release-section .courses-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
    margin: 0 auto;
}

.new-release-section .courses-slider {
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible !important;
    width: 100%;
}

.new-release-section .courses-container {
    overflow: hidden !important;
    width: 1125px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.new-release-section .courses-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.new-release-section .courses-grid {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: max-content;
    align-items: stretch;
    position: relative;
}

.new-release-section .courses-grid .course-item {
    flex: 0 0 270px;
    min-width: 270px;
    width: 270px;
    display: flex;
    flex-direction: column;
}

.new-release-section .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #374151;
}

.new-release-section .slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    pointer-events: none;
}

.new-release-section .slider-nav:hover {
    background: #374151;
    color: white;
    border-color: #374151;
    transform: translateY(-50%) scale(1.05);
}

.new-release-section .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.new-release-section .slider-nav:disabled,
.new-release-section .slider-nav[style*="pointer-events: none"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.new-release-section .slider-nav:disabled:hover,
.new-release-section .slider-nav[style*="pointer-events: none"]:hover {
    background: white;
    color: #374151;
    border-color: #374151;
    transform: translateY(-50%);
}

.new-release-section .slider-nav-prev {
    left: 0;
}

.new-release-section .slider-nav-next {
    right: 0;
}

.new-release-section .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.new-release-section .pagination-bullet {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-release-section .pagination-bullet.active {
    background: #356DF1;
    transform: scale(1.1);
}

.new-release-section .pagination-bullet:hover {
    background: #356DF1;
    opacity: 0.8;
}

/* Show navigation arrows for New Release section */
.new-release-section .slider-nav {
    display: flex;
}

/* Responsive Design for New Release */
@media (max-width: 1024px) {
    .new-release-section {
        padding: 60px 0;
    }

    .new-release-section .section-title {
        font-size: 32px;
    }

    .new-release-section .courses-grid {
        gap: 25px;
    }

    .new-release-section .courses-grid .course-item {
        flex: 0 0 250px;
        min-width: 250px;
        width: 250px;
    }

    .new-release-section .slider-nav {
        width: 45px;
        height: 45px;
    }

    .new-release-section .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .new-release-section .courses-slider {
        padding: 0 60px;
    }

    .new-release-section .slider-nav-prev {
        left: 10px;
    }

    .new-release-section .slider-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .new-release-section {
        padding: 50px 0;
    }

    .new-release-section .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 40px;
    }

    .new-release-section .section-title {
        font-size: 28px;
    }

    .new-release-section .courses-slider {
        margin: 0;
        padding: 0 45px;
    }

    .new-release-section .courses-grid {
        gap: 20px;
    }

    .new-release-section .courses-grid .course-item {
        flex: 0 0 100%;
        min-width: auto;
        width: 100%;
    }

    .new-release-section .slider-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .new-release-section .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .new-release-section .slider-nav-prev {
        left: 2px;
    }

    .new-release-section .slider-nav-next {
        right: 2px;
    }

    .new-release-section .course-image img {
        height: 200px;
    }

    .new-release-section .pagination-bullet {
        width: 25px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .new-release-section {
        padding: 40px 0;
    }

    .new-release-section .section-title {
        font-size: 24px;
    }

    .new-release-section .course-content {
        padding: 15px;
    }

    .new-release-section .course-title a {
        font-size: 16px;
    }

    .new-release-section .course-excerpt {
        font-size: 13px;
    }

    .new-release-section .courses-slider {
        padding: 0 40px;
    }

    .new-release-section .slider-nav {
        width: 35px;
        height: 35px;
    }

    .new-release-section .slider-nav svg {
        width: 16px;
        height: 16px;
    }

    .new-release-section .slider-nav-prev {
        left: 2px;
    }

    .new-release-section .slider-nav-next {
        right: 2px;
    }

    .new-release-section .pagination-bullet {
        width: 20px;
        height: 5px;
        gap: 6px;
    }

    .new-release-section .slider-pagination {
        gap: 6px;
    }
}

/* Customer Says Section */
.customer-says-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden !important;
}

.customer-says-section .container {
    overflow: visible;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GLOBAL SCROLLBAR HIDING FOR SLIDER AREA */
.customer-says-section * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.customer-says-section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible !important;
    width: 100%;
}

.testimonials-container {
    overflow: hidden !important;
    width: 1125px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.testimonials-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.testimonials-grid {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: max-content;
    align-items: stretch;
    position: relative;
}

.testimonial-item {
    flex: 0 0 1125px;
    min-width: 1125px;
    width: 1125px;
    display: flex;
    flex-direction: column;
}

.testimonial-container {
    background: white;
    border-radius: 12px;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
}

.testimonial-content {
    flex: 1;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    right: 0;
    opacity: 0.1;
    z-index: 1;
}

.quote-icon svg {
    width: 60px;
    height: 60px;
}

.testimonial-text {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.testimonial-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    font-style: italic;
}

.customer-info {
    position: relative;
    z-index: 2;
}

.customer-name {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 5px 0;
}

.customer-position {
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
}

.customer-avatar {
    flex: 0 0 200px;
    text-align: center;
}

.customer-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f5f9;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #374151;
}

.testimonial-nav:hover {
    background: #374151;
    border-color: #374151;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav:disabled,
.testimonial-nav[style*="pointer-events: none"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonial-nav:disabled:hover,
.testimonial-nav[style*="pointer-events: none"]:hover {
    background: white;
    color: #374151;
    border-color: #374151;
    transform: translateY(-50%);
}

.testimonial-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    pointer-events: none;
}

.testimonial-nav-prev {
    left: 0;
}

.testimonial-nav-next {
    right: 0;
}

/* Pagination Dots */
.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-dot {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #356DF1;
    transform: scale(1.1);
}

.pagination-dot:hover {
    background: #356DF1;
    opacity: 0.8;
}

/* Responsive Design for Customer Says */
@media (max-width: 1024px) {
    .customer-says-section {
        padding: 60px 0;
    }

    .testimonial-item {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
    }

    .testimonials-container {
        width: 100%;
    }

    .testimonial-container {
        padding: 60px 40px;
        gap: 40px;
        width: 100%;
    }

    .customer-avatar {
        flex: 0 0 160px;
    }

    .customer-avatar img {
        width: 160px;
        height: 160px;
    }

    .testimonial-text p {
        font-size: 16px;
    }

    .testimonial-nav {
        width: 45px;
        height: 45px;
    }

    .testimonial-nav svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-slider {
        padding: 0 60px;
    }

    .testimonial-nav-prev {
        left: 10px;
    }

    .testimonial-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .customer-says-section {
        padding: 50px 0;
    }

    .testimonial-item {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
    }

    .testimonials-container {
        width: 100%;
    }

    .testimonial-container {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 30px;
        width: 100%;
    }

    .customer-avatar {
        flex: none;
        order: -1;
    }

    .customer-avatar img {
        width: 120px;
        height: 120px;
    }

    .testimonial-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .quote-icon {
        top: -15px;
        right: 50%;
        transform: translateX(50%);
    }

    .testimonial-slider {
        margin: 0;
        padding: 0 45px;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    .testimonial-nav svg {
        width: 18px;
        height: 18px;
    }

    .testimonial-nav-prev {
        left: 2px;
    }

    .testimonial-nav-next {
        right: 2px;
    }

    .pagination-dot {
        width: 25px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .customer-says-section {
        padding: 40px 0;
    }

    .testimonial-item {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
    }

    .testimonials-container {
        width: 100%;
    }

    .testimonial-container {
        padding: 40px 20px;
        gap: 25px;
        width: 100%;
    }

    .customer-avatar img {
        width: 100px;
        height: 100px;
    }

    .testimonial-text p {
        font-size: 14px;
    }

    .customer-name {
        font-size: 15px;
    }

    .customer-position {
        font-size: 13px;
    }

    .testimonial-slider {
        padding: 0 40px;
    }

    .testimonial-nav {
        width: 35px;
        height: 35px;
    }

    .testimonial-nav svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-nav-prev {
        left: 2px;
    }

    .testimonial-nav-next {
        right: 2px;
    }

    .pagination-dot {
        width: 20px;
        height: 5px;
    }

    .testimonial-pagination {
        gap: 6px;
        margin-top: 30px;
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden !important;
}

.upcoming-events-section .container {
    overflow: visible;
    max-width: 1320px;
    padding: 0 20px;
}

/* GLOBAL SCROLLBAR HIDING FOR SLIDER AREA */
.upcoming-events-section * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.upcoming-events-section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.upcoming-events-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.upcoming-events-section .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.upcoming-events-section .section-title .highlight {
    color: #356DF1;
}

.upcoming-events-section .see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.upcoming-events-section .see-more-btn:hover {
    color: #356DF1;
}

.upcoming-events-section .section-subtitle {
    margin-bottom: 50px;
}

.upcoming-events-section .section-subtitle p {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

/* Events Slider */
.events-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
    margin: 0 auto;
}

.events-slider {
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible !important;
    width: 100%;
}

.events-container {
    overflow: hidden !important;
    width: 1125px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.events-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.events-grid {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: max-content;
    align-items: stretch;
    position: relative;
}

.events-grid .event-item {
    flex: 0 0 360px;
    min-width: 360px;
    width: 360px;
    display: flex;
    flex-direction: column;
}

.upcoming-events-section .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #374151;
}

.upcoming-events-section .slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    pointer-events: none;
}

.upcoming-events-section .slider-nav:hover {
    background: #374151;
    color: white;
    border-color: #374151;
    transform: translateY(-50%) scale(1.05);
}

.upcoming-events-section .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.upcoming-events-section .slider-nav:disabled,
.upcoming-events-section .slider-nav[style*="pointer-events: none"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.upcoming-events-section .slider-nav:disabled:hover,
.upcoming-events-section .slider-nav[style*="pointer-events: none"]:hover {
    background: white;
    color: #374151;
    border-color: #374151;
    transform: translateY(-50%);
}

.upcoming-events-section .slider-nav-prev {
    left: 0;
}

.upcoming-events-section .slider-nav-next {
    right: 0;
}

.upcoming-events-section .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.upcoming-events-section .pagination-bullet {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upcoming-events-section .pagination-bullet.active {
    background: #356DF1;
    transform: scale(1.1);
}

.upcoming-events-section .pagination-bullet:hover {
    background: #356DF1;
    opacity: 0.8;
}

/* Event Item */
.event-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    transform: translateZ(0);
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #356DF1;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    z-index: 5;
    min-width: 60px;
}

.event-date-badge .date {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.event-item:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
}

.event-title {
    margin: 0 0 12px 0;
}

.event-title a {
    color: #212427;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #356DF1;
}

.event-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 14px;
}

.event-time svg,
.event-location svg {
    flex-shrink: 0;
}

/* Responsive Design for Upcoming Events */
@media (max-width: 1024px) {
    .upcoming-events-section {
        padding: 60px 0;
    }

    .upcoming-events-section .section-title {
        font-size: 32px;
    }

    .events-grid {
        gap: 25px;
    }

    .events-grid .event-item {
        flex: 0 0 320px;
        min-width: 320px;
        width: 320px;
    }

    .upcoming-events-section .slider-nav {
        width: 45px;
        height: 45px;
    }

    .upcoming-events-section .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .events-slider {
        padding: 0 60px;
    }

    .upcoming-events-section .slider-nav-prev {
        left: 10px;
    }

    .upcoming-events-section .slider-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .upcoming-events-section {
        padding: 50px 0;
    }

    .upcoming-events-section .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 15px;
    }

    .upcoming-events-section .section-title {
        font-size: 28px;
    }

    .upcoming-events-section .section-subtitle {
        margin-bottom: 40px;
        text-align: center;
    }

    .events-slider {
        margin: 0;
        padding: 0 45px;
    }

    .events-grid {
        gap: 20px;
    }

    .events-grid .event-item {
        flex: 0 0 100%;
        min-width: auto;
        width: 100%;
    }

    .upcoming-events-section .slider-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .upcoming-events-section .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .upcoming-events-section .slider-nav-prev {
        left: 2px;
    }

    .upcoming-events-section .slider-nav-next {
        right: 2px;
    }

    .event-image img {
        height: 180px;
    }

    .upcoming-events-section .pagination-bullet {
        width: 25px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .upcoming-events-section {
        padding: 40px 0;
    }

    .upcoming-events-section .section-title {
        font-size: 24px;
    }

    .upcoming-events-section .section-subtitle p {
        font-size: 14px;
    }

    .event-content {
        padding: 15px;
    }

    .event-title a {
        font-size: 16px;
    }

    .event-excerpt {
        font-size: 13px;
    }

    .events-slider {
        padding: 0 40px;
    }

    .upcoming-events-section .slider-nav {
        width: 35px;
        height: 35px;
    }

    .upcoming-events-section .slider-nav svg {
        width: 16px;
        height: 16px;
    }

    .upcoming-events-section .slider-nav-prev {
        left: 2px;
    }

    .upcoming-events-section .slider-nav-next {
        right: 2px;
    }

    .upcoming-events-section .pagination-bullet {
        width: 20px;
        height: 5px;
        gap: 6px;
    }

    .upcoming-events-section .slider-pagination {
        gap: 6px;
    }

    .event-date-badge {
        top: 12px;
        left: 12px;
        padding: 6px 10px;
        min-width: 50px;
    }

    .event-date-badge .date {
        font-size: 16px;
    }

    .event-date-badge .month {
        font-size: 11px;
    }
}
/* Latest News Section */
.latest-news-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden !important;
}

.latest-news-section .container {
    overflow: visible;
    max-width: 1320px;
    padding: 0 20px;
}

/* GLOBAL SCROLLBAR HIDING FOR SLIDER AREA */
.latest-news-section * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.latest-news-section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.latest-news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.latest-news-section .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin: 0;
}

.latest-news-section .section-title .highlight {
    color: #356DF1;
}

.latest-news-section .see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.latest-news-section .see-more-btn:hover {
    color: #356DF1;
}

/* News Slider */
.news-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
    margin: 0 auto;
}

.news-slider {
    position: relative;
    margin: 0 auto;
    padding: 0;
    overflow: visible !important;
    width: 100%;
}

.news-container {
    overflow: hidden !important;
    width: 1125px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}

.news-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.news-grid {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    width: max-content;
    align-items: stretch;
    position: relative;
}

.news-grid .news-item {
    flex: 0 0 360px;
    min-width: 360px;
    width: 360px;
    display: flex;
    flex-direction: column;
}

.latest-news-section .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #374151;
}

.latest-news-section .slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
    pointer-events: none;
}

.latest-news-section .slider-nav:hover {
    background: #374151;
    color: white;
    border-color: #374151;
    transform: translateY(-50%) scale(1.05);
}

.latest-news-section .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.latest-news-section .slider-nav:disabled,
.latest-news-section .slider-nav[style*="pointer-events: none"] {
    opacity: 0.3;
    cursor: not-allowed;
}

.latest-news-section .slider-nav:disabled:hover,
.latest-news-section .slider-nav[style*="pointer-events: none"]:hover {
    background: white;
    color: #374151;
    border-color: #374151;
    transform: translateY(-50%);
}

.latest-news-section .slider-nav-prev {
    left: 0;
}

.latest-news-section .slider-nav-next {
    right: 0;
}

.latest-news-section .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.latest-news-section .pagination-bullet {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.latest-news-section .pagination-bullet.active {
    background: #356DF1;
    transform: scale(1.1);
}

.latest-news-section .pagination-bullet:hover {
    background: #356DF1;
    opacity: 0.8;
}

/* News Item */
.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    transform: translateZ(0);
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-title {
    margin: 0 0 12px 0;
}

.news-title a {
    color: #212427;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #356DF1;
}

.news-excerpt {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.news-category,
.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    font-size: 14px;
}

.news-category svg,
.news-date svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.category-link {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #356DF1;
}

.news-read-more {
    text-align: left;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #356DF1;
}

.read-more-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
    transform: translateX(2px);
}

/* Responsive Design for Latest News */
@media (max-width: 1024px) {
    .latest-news-section {
        padding: 60px 0;
    }

    .latest-news-section .section-title {
        font-size: 32px;
    }

    .news-grid {
        gap: 25px;
    }

    .news-grid .news-item {
        flex: 0 0 320px;
        min-width: 320px;
        width: 320px;
    }

    .latest-news-section .slider-nav {
        width: 45px;
        height: 45px;
    }

    .latest-news-section .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .news-slider {
        padding: 0 60px;
    }

    .latest-news-section .slider-nav-prev {
        left: 10px;
    }

    .latest-news-section .slider-nav-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .latest-news-section {
        padding: 50px 0;
    }

    .latest-news-section .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 40px;
    }

    .latest-news-section .section-title {
        font-size: 28px;
    }

    .news-slider {
        margin: 0;
        padding: 0 45px;
    }

    .news-grid {
        gap: 20px;
    }

    .news-grid .news-item {
        flex: 0 0 100%;
        min-width: auto;
        width: 100%;
    }

    .latest-news-section .slider-nav {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .latest-news-section .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .latest-news-section .slider-nav-prev {
        left: 2px;
    }

    .latest-news-section .slider-nav-next {
        right: 2px;
    }

    .news-image img {
        height: 180px;
    }

    .latest-news-section .pagination-bullet {
        width: 25px;
        height: 6px;
    }

    .news-meta {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .latest-news-section {
        padding: 40px 0;
    }

    .latest-news-section .section-title {
        font-size: 24px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title a {
        font-size: 16px;
    }

    .news-excerpt {
        font-size: 13px;
    }

    .news-slider {
        padding: 0 40px;
    }

    .latest-news-section .slider-nav {
        width: 35px;
        height: 35px;
    }

    .latest-news-section .slider-nav svg {
        width: 16px;
        height: 16px;
    }

    .latest-news-section .slider-nav-prev {
        left: 2px;
    }

    .latest-news-section .slider-nav-next {
        right: 2px;
    }

    .latest-news-section .pagination-bullet {
        width: 20px;
        height: 5px;
        gap: 6px;
    }

    .latest-news-section .slider-pagination {
        gap: 6px;
    }

    .news-meta {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .news-category,
    .news-date {
        font-size: 13px;
    }

    .read-more-btn {
        font-size: 13px;
    }
}