:root {
    --primary-color: #7c65e9;
    --light-purple: #e8e3ff;
    --nav-font-family: 'Nunito', sans-serif;
    --nav-font-weight: 500;
    --nav-font-size: 16px;
    --nav-spacing: 20px;
}

* {
    padding: 0px;
    margin: 0px;
}
.btn-primary {
    border-radius: 50px !important;
    background-color: #a685f7 !important;
}
.orderby {
    border-radius: 5px;
    padding: 5px;
}
.cart-count {
    position: relative;
}

.mini-cart-count {
    position: absolute;
    border: 1px solid red;
    color: #fff;
    border-radius: 100%;
    background: red;
    font-size: 10px;
    padding: 0px 3px !important;
    top: 0;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-family: var(--nav-font-family);
}

.navbar-brand img {
    height: 58px;
}

.navbar-nav .nav-link {
    color: #0D061C !important;
    font-family: var(--nav-font-family) !important;
    font-weight: var(--nav-font-weight) !important;
    font-size: var(--nav-font-size) !important;
    padding: 15px var(--nav-spacing) !important;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .dropdown-toggle {
    color: #0D061C !important;
    font-family: var(--nav-font-family) !important;
    font-weight: var(--nav-font-weight) !important;
    font-size: var(--nav-font-size) !important;
    padding: 15px var(--nav-spacing) !important;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.navbar-nav .dropdown-toggle:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar-nav .dropdown .d-flex {
    color: #0D061C !important;
    font-family: var(--nav-font-family) !important;
    font-weight: var(--nav-font-weight) !important;
    font-size: var(--nav-font-size) !important;
    padding: 8px 15px !important;
    text-decoration: none !important;
    align-items: center;
    gap: 8px;
}

.navbar-nav .dropdown .d-flex span {
    font-family: var(--nav-font-family) !important;
    font-weight: var(--nav-font-weight) !important;
    font-size: var(--nav-font-size) !important;
}

.dropdown-menu .dropdown-item {
    font-family: var(--nav-font-family) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    color: #0D061C !important;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--light-purple) !important;
    color: var(--primary-color) !important;
}

.mini-cart-icon .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px !important;
}

/* Mobile Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 15px !important;
    }

    .navbar-nav .dropdown-toggle {
        padding: 10px 15px !important;
        font-size: 15px !important;
    }

    .navbar-nav .nav-item {
        margin: 0 2px;
    }
}

/* Additional Navigation Refinements */
.navbar-nav .nav-item .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

/* Ensure consistent styling for all navigation elements */
.navbar-nav li a,
.navbar-nav .dropdown-toggle,
.offcanvas-body .navbar-nav .nav-link,
.offcanvas-body .navbar-nav .dropdown-toggle {
    font-family: var(--nav-font-family) !important;
    font-weight: var(--nav-font-weight) !important;
    font-size: var(--nav-font-size) !important;
    color: #0D061C !important;
    text-decoration: none !important;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #fbfbfb;
}

a {
    text-decoration: none !important;
}

.main-area a {
    color: #000 !important;
}

.banner {
    background-color: var(--light-purple);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.banner-cloud {
    position: absolute;
    width: 40px;
    height: 25px;
}

.banner h5 {
    color: #0D061C;
    margin-bottom: 10px;
}

.banner h2 {
    font-weight: 700;
    margin-bottom: 15px;
}

.sale-text {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.discount-badge {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    margin: 0 5px;
}

.discount-20 {
    background-color: #ff6b6b;
}

.discount-30 {
    background-color: #ffc93c;
}

.discount-40 {
    background-color: #ff8066;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 20px;
    padding: 8px 20px;
}

.btn-primary:hover {
    background-color: #8D7AFF;
    border-color: #8D7AFF;
}

.welcome-section {
    text-align: center;
    margin: 40px 0;
}

.welcome-section-title {
    font-size: 3rem;
    margin-bottom: 30px;
}

.welcome-section .search-bar {
    max-width: 600px;
    margin: 20px auto;
    border-radius: 50px;
    border: 1px solid #DDDDDD;
    overflow: hidden;
}

.welcome-section .search-bar .search-input {
    border: none;
    outline: none;
    padding: 20px 35px;
    flex: 1;
    color: #8E8C97;
}

.welcome-section .search-bar .search-button {
    background-color: #a685f7;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 15px
}

.welcome-section .search-bar .search-button:hover {
    background-color: #8f65e0;
}

.resource-card {
    display: block;
    height: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0D061C;
    background: #fff;
}

.resource-card-image {
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
}

.resource-card .resource-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 10px;
}

.resource-card .resource-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.custom-btn {
    border: 1px solid #8D7AFF;
    color: #8D7AFF;
    border-radius: 20px;
    padding: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
    font-size: 14px;
}

.resource-card .custom-btn:hover {
    background-color: #eae6ff;
}

.resource-card .resource-image {
    position: relative;
}

.resource-card .resource-image img {
    width: 100%;
    border-radius: 8px;
}

.resource-card .resource-image .time-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}


.resource-card .resource-content .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: none;
    padding: 10px 0 0 0;
}

.resource-card .resource-content .icon-wrapper {
    padding: 10px 14px;
    background: #F2F2FF;
    border-radius: 50%;
}

.price {
    font-weight: bold;
}

.btn-light {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 5px 15px;
    background-color: #f8f9fa;
}

.new-resource-tag {
    background-color: #4cd137;
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
}

.new-resource-tag i {
    margin-right: 5px;
}

.bg-footer {
    background: #200E45;
}

.title-text {
    color: white;
    font-size: 16px;
}

.subtitle-text {
    color: #d3d3d3;
    font-size: 14px;
}

.footer-box {
    padding-right: 42px;
}

.modal {
    border-radius: 16px;
}
.modal-header {
    border: unset;
    padding: 1rem 2rem;
}
.modal-title {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: 700;
}
.modal-body {
    padding: 0 2rem 2rem;
}
.modal-content {
    border-radius: 16px;
}

.active,
.forgot-password {
    color: #8D7AFF !important;
}
.login,
.register {
    color: #06C681;
}
.modal input {
    font-size: 16px !important;
    padding: .675rem .75rem !important;
    border-radius: 12px !important;
}
#otp-timer,
#resendOtp,
a:hover {
    color: #8D7AFF;
}

.pagination .page-item {
    margin: 0 4px;
}

.pagination .page-item.active .page-link {
    background-color: #C6E698;
    border-color: #C6E698;
    color: #fff;
    border-radius: 8px;
}

.pagination .page-link {
    color: #0D061C;
    border: 1px solid #E5E4E9;
    border-radius: 8px;
}

.pagination .page-link:hover {
    background-color: #C6E698;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    border-radius: 8px;
}


.page-item:last-child .page-link {
    border-radius: 8px;
}

.img-qr-code {
    display: flex;
    justify-content: center;
    margin: auto;
}

.breadcrumb-path {
    font-size: 14px;
}

.breadcrumb-path .active {
    color: #0D061C !important;
    font-weight: 600;
}

.document-detail-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.document-resource-card {
    background: #fff;
    box-shadow: 0px 4px 15px 0px #6464640D;
    padding: 20px;
    border-radius: 12px;
}

.text-success-custom {
    color: #7DC21A !important;
}

.btn-w-150 {
    width: 150px;
}


.card-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.card-custom img {
    border-radius: 10px 10px 0 0;
}
.card-custom .card-body {
    padding: 15px;
}
.card-custom .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}
.btn-custom {
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 20px;
}
.btn-custom:hover {
    background-color: #5a2e9d;
}
.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

.cart-box .resource-card:hover {
    box-shadow: none;
}

.info-account {
    color: #605867;
}
.table-info-account thead tr {
    background: #F2F2FF;
}
.table-info-account thead tr th {
    color: #3E3849;
    font-size: 14px;
    font-weight: 600;
}
.table-info-account tbody tr {
    background: #fff;
    border-bottom: 1px dashed #ccc;
}
.table-info-account tbody tr td {
    color: #605867;
    font-size: 14px;
    font-weight: 400;
}

.table-info-account.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: #fff;
    border-bottom: 1px dashed #ccc;
}
.table-info-account.table>:not(:last-child)>:last-child>* {
    border-bottom: 1px dashed #ccc;
}

.table-info-account.table>:not(caption)>*>* {
    border-bottom-width: 0 !important;
}

/* Unified styles are now defined above in navbar-nav section */

#navbarNav .nav-icon {
    background: #F2F2F5;
    padding: 8px 10px;
    border-radius: 20px;
}

.bg-contact {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 0px 60px 30px #00000008;
    min-height: 650px;
}

.bg-contact .contact-info {
    background-color: #35336B;
    color: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.bg-contact .contact-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}

.bg-contact .contact-info p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.bg-contact .contact-info p i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.bg-contact .contact-info .circle-image {
    position: absolute;
    bottom: -110px;
    right: -100px;
    width: 269px;
    height: 269px;
    background-color: #4e4b9f;
    border-radius: 50%;
    opacity: 0.7;
}

.bg-contact .contact-info .circle-image-2 {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 138px;
    height: 138px;
    background-color: #4e4b9f;
    border-radius: 50%;
    opacity: 0.8;
}

/* Form styling improvements */
.bg-contact h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c3e50;
    line-height: 1.3;
}

.bg-contact .form-label {
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.bg-contact input,
.bg-contact textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fff;
}

.bg-contact input:focus,
.bg-contact textarea:focus {
    border-color: #35336B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 51, 107, 0.1);
}

.bg-contact .mb-3 {
    margin-bottom: 20px;
}

.bg-contact textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact form button styling */
.bg-contact .btn-primary {
    background-color: #35336B;
    border-color: #35336B;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bg-contact .btn-primary:hover {
    background-color: #2a2855;
    border-color: #2a2855;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 51, 107, 0.3);
}

/* Welcome section title styling */
.welcome-section-title {
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2.2rem;
    line-height: 1.2;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .bg-contact {
        padding: 5px;
        min-height: auto;
    }

    .bg-contact .contact-info {
        min-height: auto;
        padding: 25px;
        margin-bottom: 20px;
    }

    .bg-contact .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .bg-contact h5 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .welcome-section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .w-80 {
        width: 95%;
    }
}

/* Custom Success Modal Styles */
.success-icon .icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 0.6s ease-out;
}

.success-icon .icon-circle i {
    font-size: 36px;
    color: white;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#contactSuccessModal .modal-content {
    border-radius: 15px;
    border: none;
}

#contactSuccessModal .modal-body {
    padding: 3rem 2rem;
}

#contactSuccessModal h4 {
    color: #28a745;
}

#contactSuccessModal .btn-primary {
    background-color: #35336B;
    border-color: #35336B;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#contactSuccessModal .btn-primary:hover {
    background-color: #2a2855;
    border-color: #2a2855;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 51, 107, 0.3);
}

.color-name {
    color: #5957B5;
}

.w-80 {
    width: 80%;
}
.font-size-18 {
    font-size: 18px;
}

.offcanvas {
    width: 75%;
  }
.table-scroll {
    max-height: 400px;
    overflow-y: auto;
    display: block;
}
.table-scroll thead {
    position: sticky;
    top: 0;
    background-color: white;
}
