@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");


* {
    font-family: "Montserrat", sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Montserrat", sans-serif;
}

p, a, span, li, ul, ol, button, div, h1, h2, h3, h4, h5, h6, input, textarea, select, option, header{
     font-family: "Montserrat", sans-serif !important;
}

/* nav bar */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    font-family: "Montserrat", sans-serif !important;
}

.nav-item a {
    font-family: "Montserrat", sans-serif !important;
}

/* common */
.font-montserrat {
    font-family: "Montserrat", sans-serif !important;
}

.font-opensans {
    font-family: "Open Sans", sans-serif !important;
}

.padding-layout {
    padding: 10px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.padding-section { 
    padding: 40px 0px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Large desktops (1440px and up) */
@media (min-width: 1600px) {
    .padding-section {
        padding: 60px 0px;
        max-width: 1500px;
    }

    .padding-layout {
        padding: 10px 0px;
        max-width: 1500px;
        margin: 0 auto;
    }
}

/* Medium desktops and laptops */
@media (min-width: 1440px) and (max-width: 1599px) {
    .padding-section {
        padding: 60px 80px;
        max-width: 1360px;
    }

    .padding-layout {
        padding: 10px 0px;
        max-width: 1360px;
        margin: 0 auto;
    }
}

/* Medium desktops and laptops */
@media (min-width: 1024px) and (max-width: 1439px) {
    .padding-section {
        padding: 50px 70px;
    }

    .padding-layout {
        padding: 10px 70px;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .padding-section {
        padding: 30px 50px;
    }

    .padding-layout {
        padding: 10px 50px;
    }
}

/* Mobile phones */
@media (max-width: 767px) {
    .padding-section {
        padding: 30px 15px;
    }

    .padding-layout {
        padding: 10px 30px;
    }
}


/* home stat section */
.stats-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    background-color: white !important;
    border-radius: 1rem !important;
}

.stats-block:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}


/* explore swiper slider - home */
.syllabus-slide {
    width: 100% !important;
    height: 360px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.syllabus-slide .card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
    filter: brightness(0.75) !important;
}

.syllabus-slide:hover .card-img {
    transform: scale(1.05) !important;
}


.card-img-overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    padding-bottom: 20px !important;
}

.syllabus-btn {
    font-weight: 600 !important;
    background-color: #fff !important;
    color: #2c2b67 !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
}

/* recent - home */
.course-card {
    height: 100% !important;
    max-width: 300px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.course-card .card-img-top {
    height: 160px !important;
    object-fit: cover !important;
}

.course-card .card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 1rem !important;
}

.course-card .card-title {
    font-size: 1rem !important;
    font-weight: 600  !important;
    height: 48px !important; 
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-height: 1.2 !important;
}

.course-card .card-text {
    font-size: 0.85rem !important;
}

.course-card .btn-preview {
    margin-top: auto !important;
}
/* Position and shape */
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(44, 43, 103, 0.85) !important; /* Deep blue tone */
    color: #fff !important;
    border-radius: 50%!important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px!important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

/* Optional hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(44, 43, 103, 1) !important;
    transform: scale(1.1) !important;
}

/* Remove default arrow icons */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #fff !important;
}

/* Optional: shadow for better visibility */
.swiper-button-next,
.swiper-button-prev {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.custom-free-demo h2 {
    font-size: 2rem !important;
}

@media (max-width: 768px) {
    .custom-free-demo h2 {
        font-size: 1.5rem !important;
    }

    .custom-free-demo .btn {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .static-slider10 {
        height: auto !important;
        background-position: center center !important;
    }

    .static-slider10 h2 {
        font-size: 2rem !important;
    }

    .static-slider10 p {
        font-size: 1rem !important;
    }
}




/* footer */
.footer-section {
    background-color: #2c2b67;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding-top: 60px;
}

.footer-section a {
    color: #ffffffcc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-widget h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding-left: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-social-icon span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-social-icon a {
    font-size: 16px;
    margin-right: 15px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.footer-social-icon a:hover {
    transform: scale(1.2);
}

.subscribe-form .input-container {
    display: flex;
    /* background-color: #fff; */
    border-radius: 30px;
    overflow: hidden;
}

.subscribe-form input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.subscribe-form button {
    background-color: #036fc1;
    border: none;
    color: #fff;
    padding: 0 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #0254a0;
}

.footer-cta i {
    font-size: 24px;
    margin-right: 15px;
    color: #036fc1;
}

.cta-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-text span, .cta-text p {
    font-size: 15px;
    color: #ffffffcc;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-text p {
    font-size: 14px;
    color: #ffffffcc;
}

.copyright-area {
    background-color: #1e1d4d;
    padding: 20px 0;
    font-size: 14px;
}

.footer-menu ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px;
}

.footer-menu ul li {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .footer-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-widget h3 {
        text-align: center;
    }

    .footer-social-icon {
        text-align: center;
    }

    .footer-widget ul {
        text-align: center;
    }
}



/* Container structure */
.main-container {
    padding: 60px 20px;
    
}

/* Section Titles */
.rating-title,
.language-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2b67;
    margin-bottom: 10px;
}

/* Radio & dropdown layout */
.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-stars i {
    color: #f4c150;
    font-size: 1.2rem;
    margin-right: 2px;
}

/* Dropdowns */
select {
    background-color: #2c2b67;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
    margin-left: 10px;
}

select option {
    background-color: #fff;
    color: #000;
}

/* Cards Layout */
.cards-container .course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cards-container .course-card:hover {
    transform: translateY(-5px);
}

/* Image styling */
.course-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

/* Info block */
.course-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c2b67;
}

.course-category {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.course-description {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
}

/* Preview + Share buttons */
.course-price-button {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-preview {
    background-color: #036fc1;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 1rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.btn-preview:hover {
    background-color: #0259a0;
}

.share-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.share-icon:hover {
    transform: scale(1.2);
}

/* Popup on hover */
.popup-container {
    display: none;
    position: absolute;
    background: #fff;
    color: #000;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 100;
    width: 300px;
}

.popup-custom-card {
    position: relative;
}

.popup-custom-card:hover .popup-container {
    display: block;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .course-title {
        font-size: 1.1rem;
    }

    .rating-section,
    .language-selection,
    .video-duration {
        margin-bottom: 20px;
    }

    select {
        width: 100%;
        margin: 10px 0 0 0;
    }

    .radio-item {
        flex-direction: column;
        align-items: flex-start;
    }
}






/* ========== FILTER PANEL STYLING ========== */
.container-2 {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 300px;
    font-family: 'Montserrat', sans-serif;
}

.container-2 h4,
.container-2 .rating-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2b67;
    margin-bottom: 15px;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.radio-item label {
    margin-left: 8px;
    font-size: 0.95rem;
    color: #333;
}

.rating-stars i {
    color: #f4c150;
    font-size: 1rem;
    margin-right: 2px;
}

/* Selects */
.container-2 select {
    width: 100%;
    height: 44px;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #2c2b67;
    color: #fff;
    border: none;
    margin-top: 10px;
}

.container-2 select option {
    background-color: #fff;
    color: #000;
}

/* Section spacing */
.rating-section,
.language-selection,
.video-duration {
    margin-bottom: 30px;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .container-2 {
        max-width: 100%;
        margin-bottom: 30px;
    }
}


.custom-h2-aboutus {
    font-size: 32px;
    font-weight: 700;
    color: #2c2a66;
    line-height: 1.2;
}

.custom-h4-aboutus {
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
    color: #273044;
}

.about-list p {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.about-list i {
    color: #eab830;
    margin-right: 10px;
    font-size: 16px;
}

#skillaboutus .btn {
    transition: all 0.3s ease;
}

#skillaboutus .btn.active,
#skillaboutus .btn:hover {
    background-color: #036fc1;
    color: white !important;
    border-top: 3px solid #eab830;
}

#skills,
#aboutus {
    font-size: 15px;
    color: #555;
    opacity: 0.85;
    line-height: 1.6;
}

.logo-about{
    height: 400px;
}
@media (max-width: 768px) {
    .custom-h2-aboutus {
        font-size: 24px;
    }
}
@media (max-width: 600px) {
    .logo-about{
    height: auto;
}
}
.row{
    margin-left: 0px !important;
    margin-right: 0px !important;
}

a:focus-visible, button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}