/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.hero-header {
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
    ),
    url('../img/hero-banner.jpg') center center / cover no-repeat;
}
.about-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: #e9f2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.about-icon i {
    font-size: 26px;
    color: #0d6efd;
}

.about-feature-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.about-feature-card p {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}
.category-highlight {
    background: #f7fafc; /* light background */
}

.highlight-card {
    padding: 20px 15px;
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px dotted #ff5a5f; /* change to brand color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 28px;
    color: #ff5a5f; /* brand color */
}

.highlight-card h6 {
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.whatsapp-strip {
    background: linear-gradient(135deg, #0d6efd, #084298);
}

.whatsapp-icon {
    font-size: 42px;
    color: #25D366;
}

.whatsapp-strip .btn {
    color: #0d6efd;
    transition: all 0.3s ease;
}

.whatsapp-strip .btn:hover {
    background: #25D366;
    color: #ffffff;
}

.offer-banner {
    background: linear-gradient(90deg, #198754, #0f5132);
}

.offer-icon {
    font-size: 38px;
    line-height: 1;
}

.offer-product-img {
    max-width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.offer-banner .btn {
    color: #198754;
    transition: all 0.3s ease;
}

.offer-banner .btn:hover {
    background-color: #25D366;
    color: #fff;
}
.product-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.product-img {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
}

.product-img img {
    max-height: 180px;
    width: auto;
}

.product-body {
    padding: 18px;
    text-align: center;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}
}

.book-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-6px);
}

.book-img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 15px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.book-body {
    padding: 15px;
}

.book-title {
    font-size: 14px;
    font-weight: 600;
    min-height: 42px;
}

.price-box {
    margin: 10px 0;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
}

.old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
}

.btn-buy {
    background: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 0;
}

.btn-buy:hover {
    background: #1ebe5d;
    color: #fff;
}
.exam-card {
    transition: all 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-6px);
}

.exam-img {
    height: 220px;
    object-fit: cover;
}

.exam-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 112, 184, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.exam-card p {
    font-size: 14px;
    margin-bottom: 6px;
}
.book-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card {
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}
.title-line {
    width: 60px;
    height: 3px;
    background: #ff4d4f;
    border: none;
    margin-top: 6px;
}

.shop-card {
    padding: 20px 15px;
    border-radius: 12px;
    background: #f8fcff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shop-card.red {
    border: 2px dotted #ff4d4f;
}

.shop-card.blue {
    border: 2px dotted #1aa3a3;
}

.shop-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px dotted #ff4d4f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    background: #fff;
}

.shop-card.blue .shop-icon {
    border-color: #1aa3a3;
}

.shop-icon i {
    font-size: 26px;
    color: #ff4d4f;
}

.shop-card.blue .shop-icon i {
    color: #1aa3a3;
}

.shop-card h6 {
    font-weight: 700;
    margin-bottom: 15px;
}

.shop-card .btn {
    border-radius: 8px;
    font-weight: 600;
}

/* 8 columns on extra large screens */
@media (min-width: 1200px) {
    .col-xl-1-5 {
        flex: 0 0 auto;
        width: 12.5%;
    }
}

/* Book Card */
.exam-book-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.exam-book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.exam-book-card img {
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Text Content */
.exam-book-body {
    padding: 5px;
}

.exam-book-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.exam-book-desc {
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.exam-book-price {
    font-size: 15px;
    font-weight: 700;
    color: #dc3545;
}

.exam-book-price span {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 4px;
}
.books-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.books-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
}

.books-slider::-webkit-scrollbar {
    display: none;
}

.book-item {
    flex: 0 0 auto;
    width: 180px;
}

/* Book Card */
.exam-book-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.exam-book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.exam-book-card img {
    height: 170px;
    object-fit: contain;
    margin-bottom: 10px;
}

.exam-book-title {
    font-size: 14px;
    font-weight: 600;
}

.exam-book-desc {
    font-size: 12px;
    color: #777;
}

.exam-book-price {
    font-size: 15px;
    font-weight: 700;
    color: #dc3545;
}

.exam-book-price span {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
}

.slider-arrow.left {
    left: 5px;
}

.slider-arrow.right {
    right: 5px;
}

.slider-arrow:hover {
    background: #0d6efd;
    color: #fff;
}
