body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-weight: 700;
    font-size: 28px;
    color: #007bff !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin-left: 15px;
}

.nav-link:hover {
    color: #007bff !important;
}

/* BANNER */
.banner-section {
    margin-top: 80px;
    margin-bottom: 60px;
}

.banner-item {
    background-image: url("/assets/img/home/java_advanced.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    color: white;
    padding: 40px 50px;
    position: relative;
    min-height: 350px;
}

.banner-item.slide-2 {
    background-image: url("/assets/img/home/python.png");
}

.banner-content h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.banner-content {
    margin-left: 30px;
}

.btn-banner {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-banner:hover {
    background-color: white;
    color: #1a82a8;
}

.banner-image-placeholder {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px; /* Cách mép trái 20px */
}

.carousel-control-next {
    right: 20px; /* Cách mép phải 20px */
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.9); /* Sáng lên thành màu trắng */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Thêm bóng đổ */
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

.courses-section {
    margin-top: 0;
    padding: 60px 0 80px 0;
}

.section-title {
    text-align: left;
    font-weight: 800;
    color: #242424;
    margin-top: 0;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

.course-item {
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    font-size: 19px;
    font-weight: 700;
    color: white;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background-color: #ddd;
}

.course-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    border-radius: 16px;
    transition: 0.3s ease;
}

.course-item span {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.course-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.course-item:hover::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

/* Responsive */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .banner-image-col {
        display: none;
    }
    .banner-item {
        padding: 30px;
    }
    .banner-content h2 {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .section-title {
        margin-bottom: 65px;
    }
    /* mobile */
    .carousel-control-prev, .carousel-control-next {
        width: 35px;
        height: 35px;
        background-size: 50%;
    }
}