.bg-white{
    background-color: #fff;
}

.bg-grey{
    background-color: #FBFBFB;
}

.bg-pink{
    background-color: #6371F1;
}

.btn-pink{
    background: #6371F1;
    border-radius: 50px;
    border: 0;
    color: #fff;
}

.border-gray{
    border-color: #B8B7BE!important;
}

.input-height{
    height: 50px;
}

@media (max-width: 991px){
    .input-height{
        height: 38px;
    }
}

.font-13{
    font-size: 13px;
}

#bg-glass{
	position: absolute;
	height: 100vh;
	width: 100vw;
	background: rgba(255,255,255, 0.5);
	display: none;
	z-index: 100000;
}

.btn-gray{
    background-color: #B8B7BE;
    border-radius: 50px;
    border: 0;
    color: #fff;
}

.gray-color{
    color: #B8B7BE;
}

.pink-color{
	color: #6371F1;
}

.border-radius-50{
    border-radius: 50px;
}

.border-radius-20{
    border-radius: 20px;
}

.icon-size{
    width: 30px;
}

.user-titles{
    font-size: 20px;
    font-weight: 700;
}

@media(max-width: 991px){
    .icon-size{
        width: 18px;
    }

    .user-titles{
        font-size: 16px;
    }
}

.btn-group-style{
    border: 1px solid #aaa!important;
    width: 100%!important;
}

.btn-pink-2{
	width: 196px;
	height: 45px;
	background: #6371F1;
	border-radius: 21px;
    border: 0;
	color: #fff;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
}


.main-bg{
    background: #fff;
    padding-bottom: 50px;
    overflow-x: hidden;
}

/* E-book image blocks (AS-06) */
.books-content img,
.ebook-image-block img,
.ebook-gallery img{
    max-width: 100%;
    height: auto;
}

.ebook-image-block{
    margin: 12px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.ebook-image-block img{
    width: auto;
    max-height: 420px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #fff;
}

.ebook-gallery{
    margin: 12px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.ebook-gallery img{
    width: 100%;
    height: 160px;
    max-height: 160px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #fff;
    object-fit: cover;
}

@media (max-width: 768px){
    .ebook-image-block img{
        max-height: 280px;
    }
    .ebook-gallery img{
        height: 140px;
        max-height: 140px;
    }
}

.bg-purple{
    z-index: -100;
    position: absolute;
    height: 200px;
    left: 0px;
    top: 0px;
    background: linear-gradient(271.61deg, rgba(99, 113, 241, 0.24) 26.67%, rgba(99, 113, 241, 0.168) 92.02%);
}

.gray-box{
	background: #FBFBFB;
	box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
	border-radius: 20px;
}

.main-box{
    margin-top: 15px;
    border-radius: 20px;
    box-shadow: 1px 1px 4px #ccc;
}

.content-section{
    margin-top: 0;
    padding-top: 10px;
}

@media(max-width: 767px){
    .content-section{
        padding-top: 70px;
        margin-left: 0;
    }

	.bg-purple{
		height: 250px;
	}
}

.desktop-menu{
    background-color: #FBFBFB;
    position: fixed;
    height: 100%;
    width: 12vw;
    text-align: left;
	z-index: 100000000;
}

.mobile-menu{
    display: none;
    width: 35vw;
    height: 70px;
    position: absolute;
	z-index: 100000000;
}

@media(max-width: 767px){
    .desktop-menu{
        display: none;
    }

    .mobile-menu{
        display: block;
    }
}

.mobile-menu-links{
    min-height: 100vh;
    background-color: #fff;
    display: none;
}

.mobile-menu-links>ul>li{
    list-style-type: none;
    padding-top: 10px;
    padding-bottom: 10px;
} 

.mobile-menu-links>ul>li>a{
    color: #B8B7BE;
    text-decoration: none;
} 

.menu{
    margin-top: 50px;
}

.menu>ul>li{
    padding-top: 10px;
    padding-bottom: 10px;
    list-style-type: none;
}

.menu>ul>li>a{
    color: #B8B7BE;
    text-decoration: none;
}

.label-span{
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    color: #fff;
    font-size: 12px!important;
}

.access-span{
    background-color: #B8B7BE;
}

.active-span{
    background-color: #5BBEB7;
}

.inactive-span{
    background-color: #EC645E;
}

.question-themes{
    background: #FFFFFF;
    box-shadow: 0px 12px 12px -9px rgba(0, 0, 0, 0.03), inset 30px 30px 60px -11px rgba(155, 153, 163, 0.09);
    border-radius: 20px;
    padding: 15% 25% 12% 25%;
}

.question-themes:hover{
    box-shadow: 0px 10px 20px 10px rgba(99, 113, 241, 0.1), inset 30px 30px 60px -11px rgba(155, 153, 163, 0.09);
}

.question-themes>p{
    margin-bottom: 0;
    font-size: 12px;
    margin-top: 10px;
}

@media(max-width: 767px){
    .question-themes{
        padding: 25% 25% 5% 25%;
    }

    .question-themes>p{
        margin-top: 0;
    }
}

#smart-booster{
    background: linear-gradient(118.87deg, rgba(255, 255, 255, 0.24) 25.85%, rgba(99, 113, 241, 0.045) 81.05%);
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(57px);
}

.smart-booster{
    padding-top: 25%;
    padding-bottom: 15%;
}

.muck-section{
    padding-top: 25%;
    padding-bottom: 15%!important;
}

.user-image>img{
    width: 64px;
    margin-top:34px;
    margin-left:34px;
    border-radius: 50px;
}

.user-profile-link{
    padding-top: 34px;
    padding-left:35px;
}

@media(max-width: 767px){
    .user-image>img{
		width: 30px;
        margin-left:15px;
		margin-top:15px;
    }

    .user-profile-link{
        width: 50vw!important;
        padding-left: 35px;
		padding-top: 10px;
		font-size: 12px;
    }
}

.desktop-sections{
    display: block;
}

.mobile-sections{
    display: none;
}

@media(max-width: 767px){
    .desktop-sections{
        display: none;
    }

    .mobile-sections{
        display: block;
    }
}

.smart-mobile{
	width: 100%;
    background: linear-gradient(118.87deg, rgba(255, 255, 255, 0.24) 25.85%, rgba(99, 113, 241, 0.045) 81.05%);
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(57px);
    border-radius: 20px;
}

.smart-mobile:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.muck-mobile{
	width: 100%;
    background: #fff;
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(57px);
    border-radius: 20px;
}

.muck-mobile:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.font-16{
    font-size: 16px!important;
}

.point-sections{
	float: left;
	text-align: center!important;
	margin-left: 5px;
	width: 100px;
	height: 150px;
	background: #FFFFFF;
	box-shadow: 0px 12px 12px -9px rgba(0, 0, 0, 0.03), inset 30px 30px 60px -11px rgba(155, 153, 163, 0.09);
	border-radius: 20px;
}

.point-circle{
	text-align: center;
	padding-top: 15px;
}

.point-circle>svg{
	width: 65px;
}

.answers{
	background: #FFFFFF;
	border: 1px solid #E5E4E9;
	box-shadow: 0px 5px 15px rgba(158, 158, 158, 0.15);
	border-radius: 13px;
	margin-top: 15px;
    width: 90%;
}

.answer-success{
    border: 1px solid #5BBEB7!important;
}

.answer-faile{
    border: 1px solid #EC645E!important;
}

.square-pink{
	position: absolute;
	width: 44%;
	background: #6371F1;
	border-radius: 20px;
	left: 28%;
}

.square-pink:after {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.slick-slide {
	padding: 5px!important;
}

.progress-section{
	margin-top: 30px;
	background: #fff;
	box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(57px);
	border-radius: 20px;
}

.form-profile input,
.form-profile select{
	background-color: #FBFBFB;
}


#btn-yellow-last-point{
    display: inline-block;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    padding: 5px 20px;
    background: #F6C142;
    border-radius: 21.5px;
}

.circle-box-chart{
    padding: 1rem !important;
}

@media (max-width: 767px){
    .circle-box-chart{
        padding: 1.5rem !important;
    }
}

#smart-booster-btn{
    background: #5850DA; 
    display: inline-block; 
    border-radius: 20px; 
    width:72px; 
    height: 72px;
    box-shadow: 0px 5px rgb(99 113 241 / 12%);
}

.profile-membership{
    border-radius: 20px;
    padding: 30px 15px;
    margin-top: 4rem;
}

@media(max-width: 991px){
    .profile-membership{
        height: 200px; 
        border-radius: 20px;
        padding: 0;
    }
}

.membership-text{
    padding-top: 3rem!important;
}

.glass-background{
    background: linear-gradient(118.87deg, rgba(255, 255, 255, 0.24) 25.85%, rgba(99, 113, 241, 0.045) 81.05%);
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(57px);
}

#progress-bar-pink{
    height: 4px;
    width: 40%; 
    background: #6371F1;
}

#smart-booster-ebook{
    display: none;
}

.message-mobile{
    display: none;
}

.message-desktop{
    display: block;
}

.topics-list{
    margin-top: 75px;
    background: #FBFBFB;
    padding: 1.5rem;
}

.topic-icons{
    width: 100px;
}

.topic-title{
    font-size: 2rem;
    padding-top: 30px;
    padding-left: 30px;
}

.topic-take-test{
    padding-top: 30px;
}

.reading-box{
    padding: 3rem!important;
    margin-top: 75px;
}

.message-box{
    margin-top: 75px;
}

@media (max-width: 991px) {
    #progress-bar-pink{
        height: 2px;
    }

    #smart-booster-ebook{
        display: block;
    }

    .message-mobile{
        display: block;
    }
    
    .message-desktop{
        display: none;
    }

    .topics-list{
        margin-top: 0;
        background: none;
        padding: 0;
    }

    .topics-list-title{
        display: none;
    }

    .topic-icons{
        width: 50px;
    }

    .topic-title{
        font-size: 1rem;
        padding-top: 0;
    }

    .topic-take-test{
        padding-top: 0;
    }

    .reading-box{
        padding: 0;
        margin-top: 0;
    }

    .message-box{
        margin-top: 0;
    }
}

/* -------------------------------------------------------------------------- */
/* Profile page (redesign)                                                    */
/* -------------------------------------------------------------------------- */

.profile-page {
    max-width: 1200px;
    margin-top: 28px;
    margin-bottom: 40px;
}

.profile-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ui-ink, #0c2b4b);
}

.profile-subtitle {
    margin: 6px 0 0;
    color: var(--ui-muted, #6b7280);
    font-weight: 500;
}

.profile-quick-actions {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-card {
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
    border-radius: 18px;
    box-shadow: var(--ui-shadow, 0 18px 40px rgba(12, 43, 75, 0.08));
    padding: 16px;
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.profile-card-title {
    font-weight: 800;
    color: var(--ui-ink, #0c2b4b);
    font-size: 1rem;
}

.profile-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ui-primary-soft, rgba(88, 80, 218, 0.14));
    color: var(--ui-primary-strong, #4a42c8);
    font-weight: 800;
    font-size: 0.8rem;
    white-space: nowrap;
}

.profile-btn {
    border-radius: 999px !important;
    font-weight: 800 !important;
    padding: 10px 14px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.profile-btn:hover {
    transform: translateY(-1px);
}

.profile-summary {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0 14px;
    border-bottom: 1px solid var(--ui-border, #e2e8f0);
    margin-bottom: 12px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(88, 80, 218, 0.08);
    border: 1px solid var(--ui-border, #e2e8f0);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-summary-name {
    font-weight: 900;
    color: var(--ui-ink, #0c2b4b);
    line-height: 1.2;
}

.profile-summary-email {
    color: var(--ui-muted, #6b7280);
    font-weight: 600;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.profile-summary-small {
    margin-top: 6px;
    font-size: 0.86rem;
    color: var(--ui-muted, #6b7280);
}

.profile-package-mini {
    background: rgba(88, 80, 218, 0.06);
    border: 1px solid rgba(88, 80, 218, 0.12);
    border-radius: 16px;
    padding: 14px;
}

.profile-mini-label {
    color: var(--ui-muted, #6b7280);
    font-weight: 700;
    font-size: 0.85rem;
}

.profile-mini-value {
    font-weight: 900;
    color: var(--ui-ink, #0c2b4b);
}

.profile-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}
.profile-status-badge.is-active {
    background: rgba(16, 185, 129, 0.14);
    color: #065f46;
}
.profile-status-badge.is-expired {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
}
.profile-status-badge.is-none {
    background: rgba(148, 163, 184, 0.22);
    color: #334155;
}

.profile-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.profile-mini-kpi {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 10px 12px;
}

.profile-mini-k {
    color: var(--ui-muted, #6b7280);
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-mini-v {
    margin-top: 2px;
    font-weight: 900;
    color: var(--ui-ink, #0c2b4b);
}

.profile-progress {
    margin-top: 12px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.profile-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ui-primary, #5850da) 0%, var(--ui-primary-strong, #4a42c8) 100%);
    transition: width 0.35s ease;
}

.profile-cta-row {
    margin-top: 12px;
}

.profile-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid var(--ui-border, #e2e8f0);
    background: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.profile-upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(12, 43, 75, 0.08);
}

.profile-upload-hint {
    color: var(--ui-muted, #6b7280);
    font-size: 0.88rem;
    font-weight: 600;
}

.profile-form .form-label {
    font-weight: 800;
    color: var(--ui-ink, #0c2b4b);
}

.profile-save {
    min-width: 170px;
}

.profile-toggles {
    padding-top: 8px;
}

.profile-soon {
    display: inline-flex;
    margin-left: 8px;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    color: #334155;
}

@media (max-width: 767px) {
    .profile-hero {
        flex-direction: column;
        align-items: stretch;
    }
    .profile-quick-actions {
        justify-content: flex-start;
    }
    .profile-mini-grid {
        grid-template-columns: 1fr;
    }
    .profile-save {
        width: 100%;
    }
}

.question-section{
    float: none;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.question-body{
    float: none;
    width: 700px;
    height: auto;
    margin: 0 auto;
    padding-top: 0;
}

.question-header-mobile{
    height: 70px;
    padding: 30px 15px 0 15px;
    display: none;
}

.question-header-dessktop{
    width: 500px;
    margin: auto;
}

@media (max-width: 991px){

    .question-section{
        width: 100%;
        overflow-x: hidden;
    }

    .question-body{
        width: 100%;
        padding-top: 0;
    }

    .question-header-dessktop{
        display: none;
    }

    .question-header-mobile{
        display: block;
    }

}

.question-image img{
    width: 700px;
    height: 400px;
}

.chart-div{
    position: absolute; 
    width:700px; 
    height:400px; 
    z-index:100;
}

.image-points{
    width:50px;
    height:50px;
    background: rgba(255,255,255,0.3);
    float:left;
}

.image-points-border{
    border:4px solid #fc0;
}

#mobile-header{
    display: none;
}

.next-btn-section{
    text-align: center;
}

@media (max-width: 991px){
    .question-image img{
        border-radius: 0;
        width:100%; 
        height: 200px;
    }

    .chart-div{
        width:100%; 
        height:200px;
    }

    .image-points{
        width:calc(100%/14);
        height:25px;
    }

    #mobile-header{
        display: block;
    }

    .next-btn-section{
        text-align: center;
    }

}


/********** Template CSS **********/
:root {
    --primary: #5850DA;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

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


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../main/img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../main/img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    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: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

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

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/* -------------------------------------------------------------------------- */
/* Books (student) redesign                                                   */
/* -------------------------------------------------------------------------- */

.ui-animate-in {
    animation: ui-fade-up 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes ui-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ui-animate-in {
        animation: none;
    }
}

.books-page {
    max-width: 1200px;
    margin-top: 26px;
    margin-bottom: 40px;
}

.books-hero {
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
    border-radius: 22px;
    box-shadow: var(--ui-shadow, 0 18px 40px rgba(12, 43, 75, 0.08));
    padding: 18px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

@media (min-width: 992px) {
    .books-hero {
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        padding: 22px 24px;
    }
}

.books-title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--ui-ink, #0c2b4b);
}

.books-subtitle {
    margin: 8px 0 0;
    color: var(--ui-muted, #6b7280);
    font-weight: 500;
    max-width: 64ch;
}

.books-hero-callout {
    border: 1px solid rgba(88, 80, 218, 0.18);
    background: linear-gradient(140deg, rgba(88, 80, 218, 0.14), rgba(255, 255, 255, 0.95));
    border-radius: 18px;
    padding: 12px 14px;
    color: var(--ui-ink, #0c2b4b);
}

.books-hero-callout-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.books-hero-callout-title img {
    width: 18px;
    height: 18px;
}

.books-hero-callout-sub {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--ui-muted, #6b7280);
    font-weight: 600;
}

.books-hero-callout-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(88, 80, 218, 0.14);
    color: var(--ui-primary-strong, #4a42c8);
    font-weight: 800;
    font-size: 0.85rem;
}

.books-card {
    --p: 0;
    display: block;
    text-decoration: none;
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(12, 43, 75, 0.06);
    padding: 16px 16px;
    min-height: 150px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: inherit;
    position: relative;
    overflow: hidden;
    animation: ui-fade-up 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: var(--d, 0ms);
}

.books-card::after {
    content: "";
    position: absolute;
    inset: -140px -120px auto auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at center, rgba(88, 80, 218, 0.12), rgba(255, 255, 255, 0));
    transform: rotate(18deg);
    pointer-events: none;
}

.books-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(12, 43, 75, 0.10);
    border-color: rgba(88, 80, 218, 0.30);
}

@media (prefers-reduced-motion: reduce) {
    .books-card {
        transition: none;
        animation: none;
    }
    .books-card:hover {
        transform: none;
    }
}

.books-card-top {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.books-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(88, 80, 218, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(88, 80, 218, 0.16);
}

.books-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.books-chapter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--ui-primary-strong, #4a42c8);
    background: rgba(88, 80, 218, 0.12);
    width: max-content;
    margin-bottom: 6px;
}

.books-name {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ui-ink, #0c2b4b);
    line-height: 1.15;
    font-size: 1.02rem;
}

.books-progress-ring {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: conic-gradient(var(--ui-primary, #5850da) calc(var(--p) * 1%), rgba(226, 232, 240, 0.95) 0);
    display: grid;
    place-items: center;
    position: relative;
    flex: none;
}

.books-progress-ring::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 999px;
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
}

.books-progress-ring span {
    position: relative;
    z-index: 1;
    font-weight: 900;
    font-size: 0.82rem;
    color: var(--ui-ink, #0c2b4b);
}

.books-card-bottom {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.books-progress-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.95);
    overflow: hidden;
}

.books-progress-fill {
    display: block;
    height: 100%;
    width: calc(var(--p) * 1%);
    background: linear-gradient(90deg, var(--ui-primary, #5850da), rgba(88, 80, 218, 0.70));
    border-radius: 999px;
    transition: width 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
    .books-progress-fill {
        transition: none;
    }
}

.books-open {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
    color: var(--ui-primary-strong, #4a42c8);
}

.books-open i {
    font-size: 1.15rem;
}

.books-detail-hero {
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
    border-radius: 22px;
    box-shadow: var(--ui-shadow, 0 18px 40px rgba(12, 43, 75, 0.08));
    padding: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.books-detail-hero::after {
    content: "";
    position: absolute;
    inset: -160px -140px auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at center, rgba(88, 80, 218, 0.14), rgba(255, 255, 255, 0));
    transform: rotate(12deg);
    pointer-events: none;
}

@media (min-width: 992px) {
    .books-detail-hero {
        padding: 20px 22px;
    }
}

.books-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ui-muted, #6b7280);
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--ui-border, #e2e8f0);
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    position: relative;
    z-index: 1;
}

.books-back:hover {
    color: var(--ui-primary-strong, #4a42c8);
    transform: translateY(-1px);
    border-color: rgba(88, 80, 218, 0.30);
}

@media (prefers-reduced-motion: reduce) {
    .books-back {
        transition: none;
    }
    .books-back:hover {
        transform: none;
    }
}

.books-alert {
    margin-top: 12px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.books-alert-title {
    font-weight: 900;
    margin-bottom: 2px;
}

.books-detail-head {
    margin-top: 14px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .books-detail-head {
        grid-template-columns: max-content minmax(0, 1fr) max-content;
        align-items: center;
    }
}

.books-icon-lg {
    width: 62px;
    height: 62px;
    border-radius: 20px;
}

.books-icon-lg img {
    width: 40px;
    height: 40px;
}

.books-detail-title {
    margin: 6px 0 0;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ui-ink, #0c2b4b);
}

.books-detail-intro {
    margin: 8px 0 0;
    color: var(--ui-muted, #6b7280);
    font-weight: 500;
    max-width: 80ch;
}

.books-progress-ring-lg {
    width: 66px;
    height: 66px;
}

.books-progress-ring-lg::before {
    inset: 7px;
}

.books-progress-ring-lg span {
    font-size: 0.9rem;
}

.books-progress-bar-lg {
    margin-top: 14px;
    height: 9px;
    position: relative;
    z-index: 1;
}

.books-detail-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.books-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 11px 14px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    user-select: none;
    white-space: nowrap;
}

.books-btn img {
    width: 16px;
    height: 16px;
}

.books-btn-primary {
    background: var(--ui-primary, #5850da);
    color: #fff;
    box-shadow: 0 16px 28px rgba(88, 80, 218, 0.22);
}

.books-btn-primary:hover {
    color: #fff;
    background: var(--ui-primary-strong, #4a42c8);
    transform: translateY(-1px);
}

.books-btn-soft {
    background: rgba(88, 80, 218, 0.10);
    color: var(--ui-primary-strong, #4a42c8);
    border-color: rgba(88, 80, 218, 0.18);
}

.books-btn-soft:hover {
    color: var(--ui-primary-strong, #4a42c8);
    border-color: rgba(88, 80, 218, 0.30);
    transform: translateY(-1px);
}

.books-btn-disabled {
    background: rgba(226, 232, 240, 0.75);
    color: rgba(107, 114, 128, 0.95);
    border-color: rgba(226, 232, 240, 0.95);
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .books-btn {
        transition: none;
    }
    .books-btn-primary:hover,
    .books-btn-soft:hover {
        transform: none;
    }
}

.books-panel {
    background: var(--ui-card, #fff);
    border: 1px solid var(--ui-border, #e2e8f0);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(12, 43, 75, 0.06);
    padding: 16px;
}

.books-panel-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--ui-ink, #0c2b4b);
    margin-bottom: 12px;
}

.books-toc {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.books-toc-item a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--ui-ink, #0c2b4b);
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(243, 246, 248, 0.55);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    font-weight: 700;
}

.books-toc-item.is-sub a {
    margin-left: 12px;
    font-weight: 650;
    font-size: 0.95rem;
}

html[dir="rtl"] .books-toc-item.is-sub a {
    margin-left: 0;
    margin-right: 12px;
}

.books-toc-item a:hover {
    background: rgba(88, 80, 218, 0.10);
    border-color: rgba(88, 80, 218, 0.22);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .books-toc-item a {
        transition: none;
    }
    .books-toc-item a:hover {
        transform: none;
    }
}

.books-content {
    color: var(--ui-ink, #0c2b4b);
    line-height: 1.65;
    font-weight: 500;
}

.books-content img,
.books-content video,
.books-content iframe {
    max-width: 100% !important;
    height: auto;
}

.books-content h2,
.books-content h3 {
    scroll-margin-top: 120px;
}

html[dir="rtl"] .books-open i,
html[dir="rtl"] .books-back i {
    transform: rotate(180deg);
}
