/*------------------------------------*\
  TABLE OF CONTENTS
  
  1. Core & Reset
  2. Layout & Grid
  3. Navigation Components
  4. Content Components
  4.1 Course Components
  4.2 Footer
  5. Interactive Elements
  6. Specialized Components
    6.1 Login Section
    6.2 Credit Box
    6.3 Filter Box
    6.4 Blog Section
    6.5 Promoting Box
    6.6 Off-Canvas
    6.7 Side Components
    6.8 Column Specific Styes
    6.9 Specific Overrides and Edge Cases
    6.10 My 7D Components
  7. Utility Classes
  8. Result List and Pagination
\*------------------------------------*/

/* 1. Core & Reset */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url(bootstrap.min.css);

body {
    font-family: "Roboto", sans-serif;
}

@media (max-width: 991px) {
    body {
        padding-top: 82px;
    }
}

a.active,
a:focus,
a:hover,
a:active,
button:focus,
button.active {
    outline: 0;
    box-shadow: none;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul li {
    list-style: none;
}

p {
    margin: 0;
    padding: 0;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

img {
    border-style: none;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* 2. Layout & Grid */
header {
    background: #EEE;
}

header .navbar {
    padding: 23.5px 0px;
}

@media (max-width: 991px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }
    
    header .navbar {
        padding: 15px 0;
    }
    
    .left-space {
        padding-left: 70px;
    }
    
    .left-side {
        width: 100%;
    }
}

.left-side {
    display: flex;
    align-items: center;
    grid-gap: 28px;
}

.left-space {
    padding-left: 184px;
}

.left-space p {
    margin: 40px 0px 20px;
}

/* 3. Navigation Components */

header .form-control::placeholder {
    color: #8B8B8B;
}

.form-control:focus {
    color: #8B8B8B;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    border-left: 1px solid #DADBDC;
    box-shadow: none;
}

header form .nav-link {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding: 6.5px 15px;
    line-height: normal;
    width: 210px;
}

header form .dropdown-toggle::after {
    border: none;
    background-image: url(../images_ui/polygon-shape.svg);
    background-repeat: no-repeat;
    width: 12px;
    vertical-align: middle;
    height: 6px;
    position: absolute;
    background-size: 13px;
    top: 50%;
    right: 24px;
    transform: translate(0, -50%);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: none;
    padding: 0;
}

.search-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

header .input-box {
    position: relative;
}

.left-side form {
    background-color: #FFF;
    border: 1px solid #DADBDC;
    border-radius: 5px;
    height: 43px;
    padding: 6px 0px;
    align-items: flex-start;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

header .navbar-nav .nav-item .nav-link {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    position: relative;
    line-height: 22px;
    padding: 0px 14px !important;
}

.cart {
    position: relative;
    margin: 0 0 0 14px;
}

.cart span {
    color: #FFF;
    font-size: 8px;
    font-weight: 600;
    background-color: #2672F8;
    width: 17px;
    height: 17px;
    line-height: 16px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    position: absolute;
    top: -6px;
    right: -5px;
}

.btn-logout {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

@media (max-width: 991px) {
    header .form-control {
        width: 100%;
        border: 1px solid #DADBDC;
        border-radius: 5px;
        height: 43px;
    }

    header form {
        width: 100%;
        margin-top: 15px;
    }

    header .navbar-nav {
        margin-top: 15px;
    }

    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 5px;
        margin-top: 15px;
    }

    .navbar-toggler {
        padding: 0;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .header-media {
        width: 100%;
        justify-content: space-between;
    }
}

/* 4. Content Components */
.text-box h1 {
    color: #000;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 7px;
    line-height: 45px;
}

.text-box h6 {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
}

.text-box p {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.space {
    margin-bottom: 20px;
}

.btn-primary:hover {
    background-color: #184FAF;
}

.bottom-sec {
    margin-top: 60px;
}

.btn-default:hover {
    background: #EDF4FF;
    color: #2672F8;
}

.btn-default {
    color: #2672F8;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 45px;
    border-radius: 5px;
    width: 224px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2672F8;
}

.hero-sec .img-holder {
    margin-left: -54px;
}

.hero-sec {
    padding: 30px 0px 0px;
    width: 100%;
}

@media (max-width: 991px) {
    .text-box h1 {
        font-size: 28px;
        line-height: 35px;
    }

    .text-box p {
        font-size: 16px;
        line-height: 22px;
    }

    .btn-primary,
    .btn-default {
        width: 100%;
    }

    .hero-sec .img-holder {
        margin-left: 0;
    }
}

/* 4.1 Course Components */
.course-sec {
    background-image: url(../images_ui/course-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 96px 0px 78px;
    width: 100%;
    min-height: 600px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    grid-gap: 10px 8px;
    justify-content: center;
}

.tag-list li a {
    border-radius: 15px;
    border: 0.75px solid #FFF;
    background: #FFF;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding: 5px 20px;
    display: inline-block;
}

.course-boxes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 15px;
}

.course-box,
.product-grid__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Highlight animation for newly added items */
.course-box.highlight-card,
.product-grid__item.highlight-card {
    overflow: visible;
    position: relative;
    z-index: 3;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
    animation: highlight-pulse 2s ease-in-out infinite;
}

.course-box.highlight-card::before,
.product-grid__item.highlight-card::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid #ffc107;
    border-radius: 10px;
    animation: border-dance 1.6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(255, 193, 7, 0.5);
    }
    50% {
        box-shadow: 0 0 24px rgba(255, 193, 7, 0.7);
    }
}

@keyframes border-dance {
    0% {
        border-color: #ffc107;
        opacity: 0.7;
    }
    25% {
        border-color: #ff9800;
        opacity: 0.6;
    }
    50% {
        border-color: #ffc107;
        opacity: 0.7;
    }
    75% {
        border-color: #ffeb3b;
        opacity: 0.6;
    }
    100% {
        border-color: #ffc107;
        opacity: 1;
    }
}

.image-holder {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    background-color: #f8f9fa; /* Subtle background for any gaps */
    height: 0; /* Required for padding-bottom technique */
}

.course-box .image-holder img,
.product-grid__item .image-holder img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show entire image without cropping */
    object-position: center;
}

.box-body {
    background: #FFF;
    border-top: none;
    border: 1.122px solid #D9D9D9;
    padding: 6px 12px 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    min-height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Override min-height for dynamic card bodies */
.course-box .box-body,
.product-grid__item .box-body {
    min-height: auto !important;
}

.course-box .box-bottom,
.product-grid__item .box-bottom {
    margin-top: auto;
}

.box-body.text-box h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

/* Title text sizing - 70% for catalog-style compact display */
.product-grid__name,
.library-title,
.favorite-title {
    font-size: 100%;
}

.box-body.text-box h4 span {
    color: #4B4B4B;
    font-size: 11.55px;
    font-weight: 400;
    line-height: 15.4px;
}

.tag {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding-top: 2px;
    border-radius: 4.16px;
    width: 110.4px;
    height: 24.48px;
    background: #FFC700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-card {
    min-height: 2.25rem;
    height: 100%;
    margin-bottom: 8px;
}

.list-box {
    width: 24.48px;
    height: 24.48px;
    border-radius: 5.1px;
    background: #EEE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: auto;
}

.box-bottom .list {
    display: flex;
    align-items: center;
    grid-gap: 11px;
}

.box-bottom h6 {
    color: #4B4B4B;
    font-size: 13.2px;
    font-weight: 500;
    line-height: normal;
}

@media (max-width: 992px) {
    .course-boxes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .course-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .course-boxes {
        grid-template-columns: 1fr;
    }
}

/* 4.2 Footer */
.footer-lists {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 85px;
}

@media (max-width: 991px) {
    .footer-lists {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-lists {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
}

footer {
    padding: 43px 0px 63px;
    background-color: #EEEEEE;
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.footer-lists li a,
footer p,
.bottom-footer a {
    color: #000;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

/*5. Interactive Elements*/
.btn-primary {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    width: 224px;
    height: 44px;
    border-radius: 5px;
    border: 2px solid #2672F8;
    background: #2672F8;
    line-height: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #184FAF;
}

.btn-default {
    color: #2672F8;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 45px;
    border-radius: 5px;
    width: 224px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2672F8;
}

.btn-default:hover {
    background: #EDF4FF;
    color: #2672F8;
}

#navbar-search .form-control {
    border: none;
    border-radius: 0px;
    color: #8B8B8B;
    height: 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    padding: 0px 40px;
    width: 440px;
    border-left: 1px solid #DADBDC;
}

#navbar-search .form-control:focus {
    color: #8B8B8B;
    background-color: #fff;
    border-color: transparent;
    outline: 0;
    border-left: 1px solid #DADBDC;
    box-shadow: none;
}

.form-check-input {
    margin-right: 0.5rem;
}

@media (max-width: 991px) {
    .btn-primary,
    .btn-default {
        width: 100%;
    }

    #navbar-search .form-control {
        width: 100%;
        border: 1px solid #DADBDC;
        border-radius: 5px;
        height: 43px;
    }
}

.filter-box button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.collapse-box button[aria-expanded="false"] svg {
    transform: rotate(0deg);
}

#captions .accordion .accordion-header {
    margin-bottom: 0;
}

#captions .accordion-button ul {
    margin-top: 0 !important;
}

/* 6. Specialized Components */

/* 6.1 Login Section */
.login-sec {
    padding: 80px 55px;
    border-top: 15px solid #fff;
    border-bottom: 15px solid #fff;
}

.opacity-0 {
    opacity: 0 !important;
}

.login-sec .login-box {
    background: #FFF;
    max-width: 626px;
    margin: 0 auto;
    padding: 76px 80px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    outline: 1px solid #eee;
    margin-bottom: 50px;
}

.login-sec .login-box .form-check label a {
    color: #000;
    text-decoration: underline;
}

.login-sec .login-box .form-check {
    margin-bottom: 6px;
}

.mb-10 {
    margin-bottom: 28px;
}

.login-sec .login-box .form-check .form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid #8B8B8B;
}

.login-sec .login-box .form-check label {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    justify-content: flex-start;
}

.box-space {
    max-width: 626px;
    margin: 11px auto 0;
    padding: 0px 80px;
}

.box-space p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.login-sec form .form-control::placeholder {
    color: #8B8B8B;
}

.login-sec form {
    margin-top: 37px;
}

.login-sec form .form-group {
    margin-bottom: 13px;
}

.login-sec form .btn-primary {
    width: 100%;
    margin-top: 26px;
}

.btn-primary img {
    margin-right: 8px;
}

.box-space p a {
    color: #2672F8;
    text-decoration: underline;
}

.mt-38 {
    margin-top: 38px !important;
}

.login-box2 p {
    font-size: 14px;
    margin-top: 7px;
}

.login-box.login-box2 {
    padding: 131px 0px;
}

.login-box2 .img-holder {
    margin-bottom: 36px;
}

.login-sec form .form-control {
    color: #8B8B8B;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    height: 53px;
    border-radius: 5px;
    border: 1px solid #8B8B8B;
    background: #FFF;
}

.login-sec form .link {
    color: #000;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .login-sec .login-box {
        padding: 40px 20px;
    }
    
    .box-space {
        padding: 0px 20px;
    }
}

/* 6.2 Credit Box */
.credit-box .credit-header {
    height: 140px;
    border-radius: 5px 5px 0px 0px;
    background: #2672F8;
}

.credit-box .credit-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.credit-box .credit-header p {
    max-width: 393px;
    width: 100%;
    margin: 0 auto;
}

.credit-box {
    border-radius: 5px;
    border: 1px solid #8B8B8B;
    margin-left: 5px;
    margin-right: 5px;
}

.credit-body {
    /*padding: 29px 152px 24px 140px;*/
    padding: 25px 30px;
}

.credit-body .form-check label {
    margin-top: 4px;
    display: flex;
}

.credit-left {
    /* border-right: 1px solid #DADBDC; */
    margin-left: 80px;
    border-right: none;
}

.credit-right {
    /* margin-left: 80px; */
    margin-left: 0;
}

.credit-footer h6 span {
    margin: 0px 20px;
}

.credit-footer h6 {
    color: #000;
    font-size: 22px;
    margin: 10px 0px 32px;
    font-weight: 400;
    line-height: 30px;
}

.credit-footer .btn-primary {
    margin: 0 auto;
    width: 290px;
}

.form-check-input:checked {
    background-color: #2672F8;
    border-color: #2672F8;
}

.form-check.form-switch.align-items-center {
    display: flex;
}

.credit-sec {
    padding: 70px 0px 90px;
}

.credit-footer {
    border-radius: 0px 0px 5px 5px;
    background: #DADBDC;
    padding: 40px 0px 48px;
}

.form-switch .form-check-input {
    width: 31px;
    height: 15px;
    border-radius: 10px;
    background-color: #D60000;
    background-image: url(../images_ui/cross-img.svg);
}

.credit-body .form-check label span {
    font-size: 13px;
    display: block;
    margin-top: -8px;
}

.credit-body .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 42px;
}

.credit-body .form-check-input {
    width: 25px;
    height: 25px;
    margin-right: 11px;
}

.credit-body .form .para-right {
    margin-left: 85px;
}

@media (max-width: 991px) {
    .credit-body {
        padding: 29px 40px;
    }
}

@media (max-width: 768px) {
    .credit-left {
        border-right: none;
        margin-left: 0;
        margin-bottom: 30px;
    }
    
    .credit-right {
        margin-left: 0;
    }
}

/* 6.3 Filter Box */
.filter-box {
    width: 100%;
    overflow-y: scroll;
    background-color: transparent;
}

.filter-box a {
    color: #000;
    font-size: 15px;
    font-weight: 600;
}

.filter-inner {
    margin-right: 13px;
    background-color: transparent;
}

.filter-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
}

.filter-box::-webkit-scrollbar {
    width: 5px;
    border-radius: 6px;
}

.filter-box::-webkit-scrollbar-track {
    background: rgba(218, 219, 220, 0.5);
    border-radius: 6px;
}

.filter-box::-webkit-scrollbar-thumb {
    background: #DADBDC;
    border-radius: 6px;
}

.btn-collapse {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 0px 18px;
    border-top: 1px solid #DADBDC;
    justify-content: space-between;
}

.filter-box .collapse2 ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    width: 100%;
    height: 16px;
}

.filter-box .collapse2 .form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 2px;
    border: 1.5px solid #8B8B8B;
    margin: 0;
}

.filter-box .collapse-inner {
    display: none;
}

.filter-box .collapse-inner.show {
    display: block;
}

.filter-box .collapse2 .form-check {
    margin-bottom: 0px;
    padding-bottom: 0px;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 0;
}

.filter-box .collapse2 ul li h6 {
    color: #4B4B4B;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}

.filter-box .collapse-space {
    margin-left: 14px;
}

.filter-lists {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.collapse2 ul li label {
    color: #000;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    flex: 1;
    line-height: 1;
    padding-left: 8px;
}

.accordion-body .accordion-item .accordion-collapse {
    margin: 0;
}

.subject-list .form-check-label {
    padding: 0 !important;
}

.collapse2 ul li {
    width: 100%;
}

.form-check-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-collapse {
    padding-left: 10px;
    margin-top: 14px;
}

.accordion-item {
    padding: 0;
    border: none;
}

.accordion-header {
    margin-bottom: 12px;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-button {
    padding: 0;
    justify-content: space-between;
    height: 16px;
}

.accordion-button::after {
    content: none;
}

.filter-box .badge {
    background-color: #2672F8 !important;
    color: #FFF;
    font-size: 12px;
    font-weight: normal;
}

.subject-list .form-switch .form-check-input {
    width: 31px;
    height: 15px;
    border-radius: 10px;
    background-color: #D60000;
    background-image: url(../images_ui/cross-img.svg);
    background-repeat: no-repeat;
    background-size: 13px;
}

.subject-list .form-switch .form-check-input:checked {
    background-image: url(../images_ui/check-icon.svg);
    background-repeat: no-repeat;
    background-size: 13px;
    background-color: #2672F8;
}

.filter-box .list-group-item {
    border: none;
    padding: 0.5rem 0;
}

.filter-box .list-group-item button {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.filter-box .list-group-item label {
    font-size: 13px;
    line-height: 18px;
    color: #4B4B4B;
    padding: 0.5rem;
    margin: 0;
    cursor: pointer;
}

.filter-box .list-group-flush {
    padding-left: 1rem;
}

.filter-box .form-switch {
    padding-left: 0px;
}

.filter-box .collapse2 .form-check.form-switch {
    display: flex;
    justify-content: end;
}

/* 6.4 Blog Section */
.blog-sec {
    padding: 40px 0px 60px;
}

.blog-sec .course-boxes {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .blog-sec .course-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-sec .course-boxes {
        grid-template-columns: 1fr;
    }
}

.btn-tag {
    color: #4B4B4B;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    border-radius: 15px;
    display: flex;
    padding: 5px 20px;
    align-items: center;
    justify-content: center;
    grid-gap: 20px;
    background: #EDF4FF;
}

.tag-lists {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 34px;
    margin-bottom: 32px;
    grid-gap: 8px;
}

.tag-lists.tag-lists2 {
    margin-top: 12px;
}

.tag-lists.tag-lists2 .btn-tag {
    padding: 5px 20px;
    background-color: transparent;
    border: 0.5px solid #4B4B4B;
}

.blog-sec .course-boxes {
    grid-template-columns: 3fr 3fr 3fr 3fr;
}

.blog-sec .course-boxes .tag {
    font-size: 13.3px;
    width: 74.005px;
    height: 19.945px;
}

.blog-sec .course-boxes .text-box h4 span {
    font-size: 10px;
}

.blog-sec .course-boxes .text-box h6 {
    color: #4B4B4B;
    font-size: 12px;
}

.blog-sec .course-boxes .text-box h4 {
    font-size: 14px;
}

/* 6.5 Promoting Box */
.promoting-box .promoting-header {
    background: #2672F8;
    padding: 33px 31px 30px;
    position: relative;
}

.promoting-header h2 {
    font-size: 36px;
    font-weight: 500;
}

.promoting-body {
    background: #EDF4FF;
    padding: 42px 10px 42px 38px;
    position: relative;
}

.promoting-left {
    padding: 28px 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promoting-box .promoting-header::after {
    background: #2672F8;
    padding: 33px 31px 30px;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    right: -100%;
    top: 0;
}

.promoting-body::after {
    background: #EDF4FF;
    padding: 33px 31px 30px;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    right: -100%;
    top: 0;
}

.body-inner {
    background-color: #fff;
    display: flex;
}

.heading {
    background: #EDF4FF;
    padding: 14px 11px 11px 38px;
}

.promoting-right .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.promoting-right {
    position: relative;
}

.promoting-left .text-box h2 {
    font-weight: 500;
    font-size: 36px;
}

.promoting-left .text-box h2 span {
    font-size: 18px;
    line-height: 25px;
}

.promoting-left .btn-primary {
    margin-top: 10px;
}

/* Product detail page - larger bookmark icon */
.promoting-box .promoting-left .list-box img[src*="bookmark-icon"] {
    width: 3em;
    height: 3em;
}

.promoting-box .promoting-left .list-box:has(img[src*="bookmark-icon"]) {
    width: auto;
    height: auto;
    padding: 8px;
}

/* 6.6 Off-Canvas */
.offcanvas-end {
    width: 300px;
}

.offcanvas-body {
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    width: 100%;
}

.offcanvas-header .btn-close {
    position: absolute;
    top: 23px;
    right: 14px;
}

#filterOffcanvas {
    z-index: 1050;
}

#filterOffcanvas .filter-box {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    display: block;
    padding: 1rem;    
}

#filterOffcanvas .offcanvas-body {
    display: block !important;
    visibility: visible !important;
    overflow-y: auto;
    height: calc(100vh - 60px);
    z-index: 1051;
}

#filterOffcanvas .accordion-collapse {
    display: block;
}

#filterOffcanvas .mobile-menu-container {
    display: block;
}

.offcanvas-start {
    width: 100%;
    max-width: 420px;
    background-color: transparent;
    margin-top: 80px;
    z-index: 1050;
}

#filterOffcanvas.show {
    visibility: visible !important;
    transform: none !important;
}

#filterOffcanvas.show .offcanvas-body {
    visibility: visible !important;
    transform: none !important;
}

.offcanvas-header {
    padding: 1rem;
    border-bottom: 1px solid #DADBDC;
}

.offcanvas-header .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.offcanvas-title {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
}

.offcanvas-body h2 {
    color: #000;
    font-size: 30px;
    font-weight: 500;
}

.offcanvas-body h2 span {
    font-size: 16px;
}

.offcanvas-body .text-box p {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.offcanvse-inner {
    border-bottom: 1px solid #DADBDC;
    padding-top: 32px;
}

.offcanvse-inner p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.offcanvse-inner .btn-primary {
    margin: 21px 0px 34px;
}

.offcanvse-inner2 {
    padding-top: 26px;
    border-bottom: 1px solid #DADBDC;
    padding-bottom: 32px;
    margin-bottom: 30px;
}

.offcanvse-inner2 span {
    font-size: 13px;
}

.offcanvse-inner2 p {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.offcanvse-inner2 ul {
    margin-top: 20px;
}

.offcanvse-inner2 ul li a {
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    grid-gap: 12px;
    font-weight: 400;
    line-height: 32px;
}

.offcanvse-inner2 ul li a span {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 20px;
    width: 100%;
}

/* 6.7 Side Components */
.side-box {
    border: 1px solid #DADBDC;
    background: #FFF;
}

.side-box ul {
    display: flex;
    grid-gap: 20px;
    padding: 18px 19px 11px;
}

.side-box h6 {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.side-box p {
    color: #000;
    font-size: 12px;
    max-width: 72px;
    line-height: 14px;
    width: 100%;
    font-weight: 500;
}

.box-body2 {
    background-color: #F4F4F4;
}

.box-footer {
    padding: 21px 27px 25px 17px;
}

.box-footer a {
    text-decoration-line: underline;
    margin-top: 20px;
    display: block;
}

.box-footer a h6 {
    color: #2672F8 !important;
}

.learn-box {
    border: 1.5px solid #EDF4FF;
}

.learn-body {
    padding: 14px 38px;
}

.learn-body li {
    display: flex;
    align-items: center;
    grid-gap: 8px;
}

.row-space {
    margin-top: 33px;
}

.row-space h2 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}

.row-space p {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 38px;
}

.row-space .text-box {
    margin-top: 28px;
}

.row-space .text-box p {
    line-height: 22px;
}

/* 6.8 Column Specific Styles */
.col-lg-12 .promoting-box .promoting-header::after,
.col-lg-12 .promoting-body::after {
    display: none;
}

.col-lg-12 .promoting-body {
    padding: 42px 38px 42px 38px;
}

/* 6.9 Specific Overrides and Edge Cases */
#captions ul {
    margin-top: 12px !important;
}


#captions .accordion .accordion-header {
    margin-bottom: 0;
}

#captions .accordion-button ul {
    margin-top: 0 !important;
}


.collapse-space ul {
    margin-bottom: 12px !important;
}

.collapse-space ul:last-child {
    margin: 0;
}

.mt-24 {
    margin-top: 24px;
}

.para-space {
    padding-top: 20px;
}

.wrapper {
    overflow: hidden;
}

/* 6.10 My7D Components */
#my7d-container .text-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

#my7d-container em {
    font-weight: 600;
    color: #666;
}

#my7d-container .navbar-custom {
    margin-bottom: 0;
}

#my7d-container .blog-sec {
    padding-top: 0;
}

#my7d-container .container {
    padding-top: 0;
}

#my7d-header .nav-row {
    margin-top: 1rem;
}

/* My 7D nav: keep six actions inline on desktop while scaling gracefully */
#my7d-header #my7d-nav {
    --my7d-nav-gap: clamp(0.35rem, 0.8vw, 1rem);
    --my7d-nav-pad-block: clamp(0.35rem, 0.55vw, 0.65rem);
    --my7d-nav-pad-inline: clamp(0.55rem, 0.95vw, 1.05rem);
    --my7d-nav-font: clamp(0.76rem, 0.5vw + 0.5rem, 0.98rem);
    padding: clamp(0.6rem, 1vw, 0.9rem) 0;
    box-sizing: border-box;
}

#my7d-header #my7d-nav .navbar-nav {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    gap: var(--my7d-nav-gap);
    justify-content: center;
    align-items: stretch;
    min-width: 0;
}

#my7d-header #my7d-nav .nav-item {
    flex: 1 1 clamp(7rem, calc((100% - (var(--my7d-nav-gap) * 5)) / 6), 12rem);
    display: flex;
    min-width: 0;
}

#my7d-header #my7d-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    padding: var(--my7d-nav-pad-block) var(--my7d-nav-pad-inline);
    font-size: var(--my7d-nav-font);
    line-height: 1.25;
    letter-spacing: 0.01em;
}


/* 7. Utility Classes */
.small-text-1 {
    font-size: 10px !important;
    color: black !important;
}

.small-text-2 {
    font-size: 11.5px !important;
    color: black !important;
}

.small-text-3 {
    font-size: 13px !important;
    color: black !important;
    font-weight: light !important;
}

.small-text-4 {
    font-size: 15px !important;
    color: black !important;
}

.logo-small {
    width: 70%;
}

.input-box-small {
    width: 70%;
}

.primary-blue-background {
    background-color: #2672F8;
}

/* 8. Result List and Pagination */
.result-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.result-list li h6 {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.result-list li .form-select {
    flex: 1;
    border-radius: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 3px 14px;
    width: 135px;
    line-height: 20px;
    border: 0.5px solid #4B4B4B;
}

.result-list li {
    display: flex;
    grid-gap: 10px;
    align-items: center;
}

.page-item .page-link {
    color: #000;
    font-size: 14px;
    font-weight: 800;
    border: none;
    padding: 0px 13px;
    background-color: transparent;
    line-height: normal;
}

.page-item.active-list .page-link {
    width: 40px;
    border-radius: 50%;
    height: 39.628px;
    border: 1px solid #4B4B4B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 13px;
}

.pagination {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 40px;
    justify-content: center;
}

/* Cody Code 897a4ad$$ */

/* Enhanced Authentication Section Styles */

/* Auth Section Layout */
.auth-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.auth-section .display-6 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-section .lead {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Auth Cards */
.auth-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.auth-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .fa-3x {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Form Enhancements */
.auth-card .form-control-lg {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-card .form-control-lg:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.auth-card .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Password Toggle */
.password-toggle-icon {
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.password-toggle-icon:hover {
    background-color: rgba(0, 86, 179, 0.1);
}

.password-toggle-icon i {
    font-size: 1rem;
    color: #6c757d;
}

/* Benefits List */
.benefits-list {
    padding: 0;
}

.benefit-item {
    transition: all 0.3s ease;
    cursor: default;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15) !important;
}

.benefit-item i {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.benefit-item .fw-semibold {
    margin-bottom: 0.25rem;
}

.benefit-item small {
    line-height: 1.3;
    display: block;
}

/* Button Styling */
.esl-btn {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 86, 179, 0.2);
}

.esl-btn:hover {
    background: linear-gradient(135deg, #004494 0%, #003875 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.3);
    color: white;
}

.esl-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
    color: white;
}

.btn-success.esl-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
}

.btn-success.esl-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

/* Alert Enhancements */
.alert-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-left: 4px solid #bd2130;
}

.alert-danger i {
    margin-right: 0.5rem;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Footer Links */
.auth-section .border-top {
    border-color: #dee2e6 !important;
    border-width: 2px !important;
}

.auth-section .small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-section .small a {
    color: #0056b3;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-section .small a:hover {
    color: #004494;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .auth-section .display-6 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .auth-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .auth-card .fa-3x {
        font-size: 2rem;
    }
    
    .benefit-item {
        padding: 0.75rem 0;
    }
    
    .benefit-item:hover {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .auth-section .container {
        padding: 0 1rem;
    }
    
    .auth-card .card-body {
        padding: 1rem;
    }
    
    .auth-section .display-6 {
        font-size: 1.5rem;
    }
    
    .benefit-item span {
        font-size: 0.875rem;
    }
    
    .g-recaptcha {
        transform: scale(0.75);
    }
}

/* Focus and Accessibility */
.auth-card .form-control:focus,
.esl-btn:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.benefit-item:focus-within {
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeInUp 0.6s ease-out;
}

.auth-card:nth-child(2) {
    animation-delay: 0.1s;
}
