/********** Template CSS **********/
:root {
    --primary: #c04eb6;
    --light: #FFF5F3;
    --dark: #103741;
	--white:#ffffff;
}

body{
	background-color:var(--white);
	overflow-x:hidden;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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 {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    font-family: 'Google Sans', sans-serif;
    padding: 8px 16px;
    border-radius: 20px;
}

.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;
    border-radius: 50px;
}

.btn-primary{
	background: linear-gradient(90deg, #b174f0 60%, #d05be5 100%);
    border-color: #b174f0 !important;
}

.btn-primary:focus{
    background: linear-gradient(90deg, #b174f0 60%, #d05be5 100%);
    border-color: #b174f0 !important;
    box-shadow:unset;
}

a.btn.btn-primary.ripple-btn:focus,
a.btn.btn-primary.ripple-btn:active {
    outline: none;
    border: none;
    box-shadow: none;
}

.text-primary{
    color:var(--primary) !important;
}

.ripple-btn{
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.ripple-btn:active {
    transform: scale(0.98);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: ripple-animation 0.6s linear;
    transform: scale(0);
    pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Google Sans', sans-serif;
    font-weight: 400;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Google Sans', sans-serif;
}

.bg-primary{
	background-color:var(--primary) !important;
}

p{
    font-size: 21px;
    line-height: 27px;
    font-family:'Google Sans Text', sans-serif;
}


/*** Navbar ***/

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:unset;
}

.navbar-brand .logo-img{
    width: 75px;
    max-width: 100%;
}

.navbar .navbar-nav .nav-link {
    font-family: 'Google Sans', sans-serif;
    padding: 25px 30px;
    color: var(--dark);
    font-weight: 400;
    outline: none;
}

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

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

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

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

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

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

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

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


/*** Header ***/
.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header-carousel::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 80px;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}


.header-carousel .owl-stage-outer{
	height: 700px;
}

.header-carousel .owl-item img{
	display: block;
    width: 100%;
    height: 700px;
}

.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 74px;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/*** stats ***/
.stats{
	width: 1150px;
    margin: -70px auto 0;
	box-shadow: -1px 5px 7px -3px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
}

.stat-box{
    padding: 20px;
	position:relative;
	z-index: 10;
}

.stat-box .img-box{
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 100%;
    position:relative;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -70px;
}

.stat-box .img-box .inner-circle{
    background: linear-gradient(90deg, #b174f0 60%, #d05be5 100%);
    width: 130px;
    height: 130px;
    border-radius: 100%;
}

.stat-box .img-box img{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
}

.stat-box h3{
    font-size: 40px;
	margin-top: 15px;
}

/*** About ***/
.about h1{
    letter-spacing: -.025em;
    line-height: 115%;
}

.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}

/*** products-bg ***/
.products-caption{
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.products-caption .products-content{
	text-align:center;
}

.products-caption .products-content h1{
	font-size: 100px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.05em;
	margin-bottom:10px;
	font-family: 'Google Sans', sans-serif;
}

.products-caption .products-content p{
	font-size: 2.25rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: -.025em;
    line-height: 120%;
    font-family: 'Google Sans', sans-serif;
}

.products-caption .products-content .action-btn{
	/*background: linear-gradient(90deg,rgba(0, 136, 105, 1) 0%, rgba(0, 108, 92, 1) 39%);*/
	border: 2px solid #4CE7FF;
    background-color: transparent;
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 2rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.products-video video{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}

/** modal **/
.modal-content{
	border-radius: 8px;
}
.class-code__box{
	padding-bottom:40px;
}

.class-code__box .logo-img{
	text-align:center;
}
.class-code__box .logo-img a h1{
	color:var(--primary);
}

.class-code__content{
	text-align:center;
}

.class-code__content h2{
	text-align: center;
    margin-top: 20px;
	margin-bottom: 40px;
}

.action-container{
	display: inline-flex;
    flex-direction: column;
	row-gap: 15px;
}

.action-container .btn-link{
	border: 2px solid var(--primary);
    color: var(--primary);
    width: 300px;
    margin: 0 auto;
    border-radius: 50px;
    padding: 13px;
    font-size: 18px;
    font-weight: 700;
}

/*** Class code ***/
/*
.classcode__area {
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
*/

.classcode-box{
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.classcode-form{
	/*background-color:#003f44;*/
	width: 460px;
    border-radius: 8px;
    text-align: center;
	padding: 2.5rem 1.5rem 4rem;
    /*box-shadow: 0 1px 3px #2b476826;
    background-color: rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(6px);*/
}

.classcode-form img{
    width: 120px;
    max-width: 100%;
}

.classcode-form .head__content h2{
	margin-top:25px;
	margin-bottom: 0;
    font-size: 30px;
    font-weight: 700;
    color:#fff;
    line-height: 36px;
    font-family: 'Google Sans', sans-serif;
}

.classcode-form .head__content p{
    font-size: 16px;
	color: #fff;
	margin-top: 10px;
    margin-bottom: 20px;
}

.classcode-form .radio-label{
    font-size: 16px;
	color: #fff;
	margin-top: 10px;
    margin-bottom: 16px;
}

.classcode-form form{
	width: 370px;
    margin: 0 auto;
}

.classcode-form .form-group .form-control{
	height:40px;
	background: #D9D9D9;
    width: 150px;
    height: 40px;
    margin: 0 auto;
    border-radius: 13px;
}

.classcode-form .form-group .form-control:focus{
	box-shadow:unset;
	border-color:#D9D9D9;
}

.btn-go{
	width: 95px;
	margin: 0 auto;
    margin-top: 22px;
    border: none;
    padding: 5px 13px;
    border-radius: 13px;
    /*background: linear-gradient(90deg,rgba(0, 136, 105, 1) 0%, rgba(0, 108, 92, 1) 39%);
    box-shadow: 0px 0px 3px 2px gainsboro;*/
    color: #fff;
    border: 2px solid #4CE7FF;
    background-color: transparent;
}

.classcode-form .form-group .form-select{
    height:45px;
}

.classcode-form .form-group .form-select:focus{
	box-shadow:unset;
	border-color:#D9D9D9;
}

/*** subject ***/
.subject__area{
	height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.subject-container{
	display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
    height: 100vh;
	position: relative;
	width: 700px;
}

.subject-container h2{
    background-color: #006d58b5;
    border-radius: 50px;
    padding: 16px 40px;
    margin-bottom: 40px;
    box-shadow: 2px 2px 8px gainsboro;
    color: #fff;
}

.subject-grid{
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 25px;
}

.subject-circle__box a{
    font-size: 18px;
    font-weight: 400;
	line-height:22px;
    font-family: 'Google Sans', sans-serif;
}

.subject-grid .subject-circle__box a{
    padding: 20px;
    border-radius: 50px;
    box-shadow: 2px 2px 8px gainsboro;
    color: #fff;
	display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
    width:100%;
}

.subject-grid .subject-circle__box{
	animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Bubble base styles */
.bubble {
  position: absolute;
  bottom: 0px; 
  font-size: 24px;
  opacity: 0.6;
  animation: floatBubble 10s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Individual positioning */
.bubble.dot {
  left: 10%;
  font-size: 20px;
  color:skyblue;
  animation-delay: 0s;
}

.bubble.plus {
  left: 30%;
  font-size: 20px;
  color:orange;
  animation-delay: 2s;
}

.bubble.star {
  left: 60%;
  font-size: 20px;
  color:#FFD700;
  animation-delay: 4s;
  color: gold;
}

.bubble.wave {
  left: 85%;
  font-size: 20px;
  color:purple;
  animation-delay: 1s;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50vh) translateX(10px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) translateX(20px);
    opacity: 0;
  }
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    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;
    margin-right: 10px;
}

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

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.flow-blur span {
  font-size: 100px;
  font-weight: 800;
  color: #fff;
  animation: blurOneByOne 4s infinite;  
  animation-delay: calc(var(--i) * 0.6s);
}

@keyframes blurOneByOne {
  0%, 90%, 100% {
    filter: blur(0px);
    opacity: 1;
  }
  40% {
    filter: blur(2px);
    opacity: 0.5;
  }
}

/*** chapter sequence ***/
.chapter-sequence__area{
  
    padding-bottom: 50px;
    height: 100%;
}

.chapter-sequence__area .chapter-sequence__wrap{
    width: 100%;
}

.chapter-sequence__area .chapter-sequence__wrap .table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.chapter-sequence__area .chapter-sequence__wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 640px;
    background: white;
}

.chapter-sequence__area .chapter-sequence__wrap thead th {
    position: sticky;
    top: 0;
    background: #f9fafb;
    z-index: 1;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
}

.chapter-sequence__area .chapter-sequence__wrap tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

/* Drag handle + row controls */
.chapter-sequence__area .chapter-sequence__wrap .controls {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.chapter-sequence__area .chapter-sequence__wrap .handle {
    cursor: grab;
    user-select: none;
    font-size: 18px;
}

.chapter-sequence__area .chapter-sequence__wrap tr.dragging {
    opacity: 0.6;
    outline: 2px dashed #cbd5e1;
}

.chapter-sequence__area .chapter-sequence__wrap button.icon {
    border: 1px solid var(--line);
    background: #f9fafb;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

.chapter-sequence__area .chapter-sequence__wrap button.icon:active {
    transform: translateY(1px);
}

/* Inputs */
.chapter-sequence__area .chapter-sequence__wrap input[type="text"] {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
}

.chapter-sequence__area .chapter-sequence__wrap input[type="text"]:focus {
    outline: none;
    border-color: #4CE7FF;
    box-shadow: unset;
}

/* Footer actions */
.chapter-sequence__area .chapter-sequence__wrap .actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 18px;
}

.chapter-sequence__area .chapter-sequence__wrap .btn {
    padding: 10px 20px;
    border-radius: 13px;
    color: #022641;
    border: 2px solid #4CE7FF;
    background-color: transparent;
    font-weight: 500;
    cursor: pointer;
}

.chapter-sequence__area .chapter-sequence__wrap .btn:focus{
    box-shadow:unset;
}

.chapter-sequence__area .chapter-sequence__wrap .btn:active {
    transform: translateY(1px);
}

/* Helper chip showing order */
.chapter-sequence__area .chapter-sequence__wrap .order-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 12px;
}

.chapter-sequence__area .chapter-sequence__wrap .order-chip b {
    font-variant-numeric: tabular-nums;
}

.chapter-sequence__area .chapter-sequence__wrap .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.chapter-sequence__wrap .chapter-filter__box{
    display: flex;
    gap: 20px;
}

.chapter-sequence__wrap .subject-filter, .class-filter{
    margin-bottom: 20px;
}

.chapter-sequence__wrap .subject-filter .form-select, .class-filter .form-select{
    background-color: #013050;
    box-shadow: 0px 4px 4px 0px #00000040;
    border: 2px solid #4CE7FF;
    color: #022641;
    padding: 10px 13px;
    width: 170px;
}

.subject-filter select option, .class-filter select option {
    background-color: #013050;  
    color: #fff;   
    border:none;
}

.subject-filter select:focus, .class-filter select:focus {
    outline: none !important;
}

.subject-filter select option:hover, .class-filter select option:hover {
    background-color: #4CE7FF !important;
}

.chapter-sequence__wrap .subject-filter select.form-select, .class-filter select.form-select {
    background: transparent url(../img/down-chevron.svg) no-repeat right 0.75rem center / 12px 12px;
    cursor: pointer;
}
