@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Hind+Siliguri:wght@300;400;500;600;700&family=Pacifico&family=Satisfy&family=Tiro+Bangla:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #004341;
    --hover-color: #009b6f4d;
    --border-color: #d2d2d2;
    --secondary-color: #c3e31f;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
    --shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-hover: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Tiro Bangla', serif;
    line-height: 1.6;
    color: var(--text-color);

    user-select: none;
    -webkit-user-select: none;  /* Safari */
    -ms-user-select: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* app container */
.as-app-container {height: 100vh; background-color: #fff}
.as-app-body {height: 92vh; overflow-y: auto; scroll-behavior: smooth}
.as-app-body-content {width: 90%; margin: 0 auto; padding-top: 10px;}
.as-app-body-content-full {width: 100%; margin: 0 auto;}
.as-app-cursor{cursor: pointer;}

.as-app-body::-webkit-scrollbar {
    width: 5px !important;
    height: 3px !important;
}
.as-app-body::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color)  !important;
    border-radius: 5px  !important;
}
.as-app-body::-webkit-scrollbar-track {
    background-color: var(--primary-color)  !important;
}

/* navbar */
.as-app-navbar {
    background-color: #fff;
    box-shadow: var(--shadow);
    height: 8vh;
    overflow: hidden;
}
.as-app-navbar-content {
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    font-size: 1.5rem;
}
.as-app-navbar-name {
    /*color: var(--navbar-name-color);*/
    font-weight: bold;
    font-size: 23px;
}

a{text-decoration: none; color: var(--primary-color)}
button{outline: none !important; font-family: 'Tiro Bangla', serif; font-size: 16px !important;}
.as-list-style-none{list-style: none;}
.as-divider{
    height: 1px;
    background-color: #e7e7e7;
    margin: 10px 0px;
}
/* splide conf */
.splide__arrow {width: 1.5em !important; height: 3em !important;}
.splide__arrow--prev {left: 0px !important; border-radius: 0px 5px 5px 0px !important;}
.splide__arrow--next {right: 0px !important; border-radius: 5px 0px 0px 5px !important;}
.splide__pagination {bottom: 2em !important;}
.splide__pagination__page {background: #000000 !important; opacity: .4 !important;}
.splide__pagination__page.is-active {background: #ffffff !important;}

.as-responsive-container{width: 70%; margin: 0 auto; padding: 20px;}
.as-responsive-container img{width: 70%; border-radius: 5px;}

.as-none{display: none;}
.as-block{display: block; !important;}

.as-btn{
    text-align: center;
    background-color: var(--primary-color);
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    color: white !important;
    transition: .3s;
}
.as-btn:hover{background-color: var(--secondary-color); color: var(--primary-color) !important;}

.as-list-hover:hover{transition: .3s; background-color: #dadada;}

/* position */
.as-fixed {position: fixed;}
.as-absolute {position: absolute;}
.as-relative {position: relative;}
.as-top-50{top: 50%}
.as-left-50{left: 50%}
.as-bottom-0{bottom: 0;}
.as-left-0{left: 0;}
.as-absolute-center{top: 50%; left: 50%; transform: translate(-50%, -50%) }

/* width and height */
.as-w-28{width: 28%;}
.as-w-30{width: 30%;}
.as-w-50{width: 50%;}
.as-w-70{width: 70%;}
.as-w-90{width: 90%;}
.as-w-95{width: 95%;}
.as-w-100 {width: 100%;}

.as-w-30px{width: 30px;}
.as-w-50px{width: 50px;}
.as-w-80px{width: 80px;}
.as-w-100px{width: 100px;}
.as-w-300px{width: 300px;}
.as-w-400px{width: 400px;}

.as-h-100 {height: 100%;}

.as-h-30px {height: 30px;}
.as-h-50px {height: 50px;}
.as-h-80px {height: 80px;}
.as-h-100px {height: 100px;}
.as-h-200px {height: 200px;}
.as-h-235px {height: 235px;}
.as-h-240px {height: 240px;}
.as-h-245px {height: 245px;}
.as-h-250px {height: 250px;}

.as-h-100vh {height: 100vh;}

.as-w-fit{width: fit-content}

.as-mw-1280px{max-width: 1280px;}
.as-mw-768px{max-width: 768px;}

/* margin */
.as-m-10px {margin: 10px;}
.as-m-15px {margin: 15px;}
.as-mt-10px {margin-top: 10px;}
.as-mt-15px {margin-top: 15px;}
.as-mt-20px {margin-top: 20px;}
.as-m-0-auto {margin: 0 auto;}
.as-mr-10px{margin-right: 10px;}
.as-mr-15px{margin-right: 15px;}
.as-mr-20px{margin-right: 20px;}
.as-ml-10px{margin-left: 10px;}
.as-ml-20px{margin-left: 20px;}
.as-mb-10px{margin-bottom: 10px;}
.as-mb-15px{margin-bottom: 15px;}
.as-mb-20px{margin-bottom: 20px;}
.as-mb-30px{margin-bottom: 30px;}
.as-mb-40px{margin-bottom: 40px;}
.as-mb-76px{margin-bottom: 76px;}

/* padding */
.as-p-5px {padding: 5px;}
.as-p-7px {padding: 7px;}
.as-p-10px {padding: 10px;}
.as-p-15px {padding: 15px;}
.as-p-20px {padding: 20px;}
.as-p-30px {padding: 30px;}
.as-p-40px {padding: 40px;}
.as-p-t-b-10px {padding: 10px 0;}
.as-p-t-b-40px {padding: 40px 0;}
.as-p-l-r-10px {padding: 0 10px;}

.as-section-title{
    padding: 20px 0px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

/* color */
.as-color-primary {
    color: var(--primary-color);
}
.as-color-secondary {
    color: var(--secondary-color);
}
.as-color-white{
    color: white !important;
}
.as-color-yellow {color: #ffc107;}

/*background*/
.as-bg-primary{
    background-color: var(--primary-color);
}
.as-bg-secondary{
    background-color: var(--secondary-color);
}

.as-bg-text{
    background-color: var(--text-color);
}
.as-bg-white-transparent {
    background-color: rgba(255, 255, 255, 0.7);
}
.as-bg-white{
    background-color: white;
}
.as-section-bg{
    background: var(--section-bg);
}
.as-transparent-black{
    background-color: rgba(0, 0, 0, 0.77);
}
.as-bg-cancel{
    background-color: #c42d2d;
}

.as-bg-red{
    background-color: #c42d2d;
}
/* border */
.as-brr-5px{border-radius: 5px;}
.as-brr-50{border-radius: 50%;}
.as-br-0px{border: 0px}
.as-br-1px{border: 1px solid var(--border-color)}
.as-border-box{box-sizing: border-box !important;}

/* text */
.as-f-bengali{font-family: 'Tiro Bangla', serif;}
.as-f-15px{font-size: 15px;}
.as-f-16px{font-size: 16px;}
.as-f-17px{font-size: 17px;}
.as-f-18px{font-size: 18px;}
.as-f-19px{font-size: 19px;}
.as-f-20px{font-size: 20px;}
.as-f-21px{font-size: 21px;}
.as-f-25px{font-size: 25px;}
.as-f-30px{font-size: 30px;}
.as-f-35px{font-size: 35px;}
.as-f-40px{font-size: 40px;}

.as-title{font-size: 20px; font-weight: bold; margin: 10px 0}
.as-date{font-size: 14px; color: #6b7280}
.as-f-fade{font-size: 14px; color: #6b7280}

.as-text-center {text-align: center;}
.as-text-right{text-align: right;}

.as-text-decoration-none {text-decoration: none;}

.as-f-bold{font-weight: bold}

.as-lineclamp-2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.as-lineclamp-1{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* blur */
.as-blur-10 {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* shadow */
.as-shadow-lw {box-shadow: var(--shadow);}
.as-shadow-lw-up {box-shadow: -4px 13px 17px #123;}

/* z-index */
.as-z-1000 {
    z-index: 1000;
}

/* transition */
.as-transition {
    transition: all 0.3s ease;
}

/* flex */
.as-flex {display: flex;}
.as-flex-center{align-items: center; justify-content: center;}
.as-align-center {align-items: center;}
.as-justify-center {justify-content: center;}
.as-justify-end {justify-content: end;}
.as-align-end {text-align: end;}
.as-justify-space-between {justify-content: space-between;}
.as-flex-col {flex-direction: column;}

/* image */
.as-image-fit {
    display: block;
}
.as-image-70{
    width: 70%;
}

/*input*/
.as-input {
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.as-input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: var(--shadow);
}

/*modal*/
.as-modal{
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.77);
}
.as-modal .as-modal-child{
    max-height: 500px !important;
    overflow-y: auto;
}
.as-modal .as-modal-child::-webkit-scrollbar {
    width: 5px;
    height: 3px;
}
.as-modal .as-modal-child::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

.as-overflow-y-auto{overflow-y: auto;}
.as-overflow-hidden{overflow: hidden;}

/*select*/
.as-select{
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('https://mycom.netlify.app/icons/down-arrow.svg') no-repeat 99%;
    padding: 14px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    outline: none;
    background-color: #f7f7f7;
    color: #707070;
}

/*grid*/
.as-grid-250px {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.as-card{
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.as-card ul{
    padding-left: 30px;
}
.as-responsive-card{
    display: flex;
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.as-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.as-responsive-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* app side bar */
.as-app-sidebar-background{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
}
.as-app-sidebar{
    position: fixed;
    z-index: 11000;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    color: white;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: .5s;
    overflow-y: auto;
}

.as-app-sidebar-menu li{
    padding: 10px;
    border-radius: 5px;
    list-style-type: none;
}
.as-app-sidebar-menu li:hover{
    background: var(--hover-color);
    transition: all 0.3s ease;
}
.as-app-sidebar-menu a{
    text-decoration: none;
    color: var(--primary-color);
}
.as-app-sidebar-menu i{
    margin-right: 10px;
}

/*gallery*/
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    box-shadow: 0 0 20px black;
}

/*checkbox*/
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: white;
    transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
}

/*progress bar*/
.tutorialview-progress-bar {
    width: 200px;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.tutorialview-progress {
    height: 100%;
    background-color: #1a73e8;
    border-radius: 4px;
}

.tutorialview-course-progress span {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.footer {
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-contact-info {
    margin-top: 1.5rem;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-info-item i {
    font-size: 1.2rem;
    color: var(--background);
}

.footer-info-item p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* responsive design */
@media screen and (max-width: 480px) {
    .featured-course-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    }
}

@media screen and (max-width: 768px) {
    .md\:as-w-95{width: 95%}
    .md\:as-w-90{width: 90%}
    .md\:as-none{display: none}
    .md\:as-block{display: block}
    .md\:as-w-100{width: 100%}
    .md\:as-mb-76px{margin-bottom: 85px;}
    .md\:as-w-350px{width: 350px;}
    .md\:as-flex-col{flex-direction: column}
    .md\:as-fixed{position: fixed}
    .md\:as-mt-15px{margin-top: 15px}
    .md\:as-mb-15px{margin-bottom: 15px}

    .as-app-cursor{cursor: default;}

    .splide__arrow:hover{
        cursor: default !important;
    }

    .splide__arrow:active{
        cursor: default !important;
    }

    .as-responsive-container{
        width: 100%;
    }
    .as-responsive-container img{
        width: 100%;
    }

    .as-show-desktop{
        display: none;
    }
    .as-responsive-card{
        flex-direction: column;
        background-color: white;
        border-radius: 5px;
        box-shadow: var(--shadow);
    }
    .as-responsive-card .image{
        width: 100% !important;
    }

    /*menu*/
    #menu-desktop{display: none}
    #menu-icon{display: block}
}

@media screen and (min-width: 1280px) {
    .dt\:as-mw-1280px{max-width: 1280px}
}
