/* Login Wrapper */
.plugin-section{
    background-image: linear-gradient(180deg, #7557A5 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;
}
.login-section{
    justify-content: center;
}
.login-right, .signup-right {
    width: 524px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plugin-section h4{
    color: #7557a5 !important;
}
.plugin-section .info-txt{
    color: #69cbdc !important;
    font-size: 17px;
}

.login-left img, .signup-left img{
    width: 60%;
}
/* Login Container */
.custom-form-container  {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}


.custom-form-container p {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Input Fields */
.woocommerce-form-row {
    margin-bottom: 15px;
    text-align: left;
    padding: 0px 5px;
}

.woocommerce-form-row.col-50 {
    width: 50%;
    float: left;
}

.woocommerce-form-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
    background: #f9f9f9;
}

.woocommerce-form-row input:focus {
    border-color: #4b00ff;
    outline: none;
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    font-size: 14px;
}

.forgot-password a {
    color: #4b00ff;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Login Button */
.custom-login-button, .custom-signup-button {
    width: 100% !important;
    background: #4b00ff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-login-button:hover, .custom-signup-button:hover {
    background: #3a00cc;
}

/* Signup Link */
.signup-text {
    font-size: 14px;
    margin-top: 10px;
}
.toggle-password{
    position: absolute;
    right: 10px;
    top: 15px;
    width: 20px;
}
.password-row{
    position: relative;
}
.custom-login-button{
    margin-top: 15px;
}

.text-left{
    text-align: left !important;
}

.signup-text a {
    text-decoration: none;
    font-weight: bold;
}

.signup-text a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1140px;
    width:100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
    position: relative;
}

.text-center {
    text-align: center;
}

@media (max-width: 768px) {

    .plugin-section {
        align-items: flex-start;
    }
    .container.login-section, .container.signup-section {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce-form-row.col-50 {
        width: 100%;
        float: left;
    }


    .login-right .flex {
        width: 100%;
    }


    .login-right, .signup-right {
        margin-top: 20px;
        width: 100%;
    }

    .custom-form-container {
        width: 100%;
        padding: 40px 20px;
    }

    .my-custom-flex .elementor-posts .elementor-post {
        margin: 10px;
        width: auto !important;
    }
    .my-custom-flex .elementor-posts-container{
        width: 100% !important;
        display: grid !important;
    }
    .mnd-rates-widget{
        width: 100% !important;
    }       
    .pr-heading .elementor-heading-title{
        font-size: 28px !important;
    }
    .press-release .elementor-post__thumbnail{
        border-radius: 10px !important;
    }

    .press-release .elementor-post__text{
        margin-bottom: 0px !important;
    }

    .news-banner {
        min-height: auto !important;
    }
}

.d-none{
    display:none !important;
}
.error-message{
    margin: 2px 10px;
    font-size: 0.9rem;
    color: #ff5d5d;
}
.toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
section.nle{
    background-image: linear-gradient(180deg, #f5f5f5 0%, #dadada 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;
}
section.nle.lost-password, section.nle.reset-password{
    background-image: linear-gradient(180deg, #7557A5 0%, #000000 100%);
}
section.nle h4{
    color: #7557a5 !important;
}
section.nle .form-container{
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;

    width: 100%;
}
section.nle .btn{
    border-radius: 25px;
    padding: 16px 28px 16px 28px;
    display: inline-block;
    border: none;
    background-color: #e9e6ed;
    color: #3A3A3A;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
section.nle .btn:hover,section.nle .btn:active{
    background-color: #fff;
}
section.nle .btn.btn-primary{
    background-color: #69CBDC;
    color: #fff;
}
section.nle .btn.btn-primary:hover,section.nle .btn.btn-primary:active{
    background-color: #7557A5;
    color: #fff;
}
section.nle .form-row .input-text{
    border: 1px solid #e4e4e4;
    background-color: #fff;
    box-shadow: 2px 2px 5px 0 #aaaaaa4a;
    padding: 12px 20px 12px 20px!important;;
    border-radius: 25px!important;
    outline-color:#e4e4e4!important;
}
section.nle .form-row .input-text:active,
section.nle .form-row .input-text:focus,
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus
{
    border: 1px solid #d9d9d9!important;
}

section.nle .form-container.woocommerce-lost-password{
    width:480px!important;
    max-width:95%!important;
}
section.nle .woocommerce-password-hint{
    margin: .5em 0 0!important;
    display: block!important;
    border: 1px solid #d8d8d8!important;
    padding: 5px!important;
    font-size: 0.75rem!important;
    line-height: 0.89rem!important;
}
section.nle .woocommerce-password-strength {
    font-size: 0.8rem !important;
    line-height: 0.9rem !important;
    width: max-content !important;
    margin-right: auto !important;
    margin-left: 5px;
    padding: 3px 10px;
    margin-top: 9px;
}
section.nle .form-row input,section.nle .form-row button{
    margin-bottom: 5px!important;
}
.w-100{
    width: 100%!important;
}
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus{
    border: 1px transparent !important;
}

/**Course listing page css started**/
.cl-section{
    background-image: linear-gradient(180deg, #7557A5 0%, #000000 100%);
}

.cl-section .cl-sidebar .filter-section {
    background-color: black;
    border-radius: 8px;
    padding: 20px;
}

/* Checkout button */
a.button.gd-checkout-open.gd-checkout-button,
a.button.checkout-button,
.woocommerce .wc-proceed-to-checkout .checkout-button,
.button.download-certificate{
    background-color: #69cbdc!important;
    color: #fff !important;
    width: 100%;
    text-align: center;
    padding: 14px!important;
    border-radius: 25px !important;
    font-weight: 600!important;
    transition: background-color 0.2s ease;
}

a.button.gd-checkout-open.gd-checkout-button:hover,
a.button.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.button.download-certificate:hover{
    background-color: #7557a5!important;
}

#login-signup-modal {
    display: none; /* Use "none" to hide initially if needed */
}
#login-signup-modal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal content with a modern, clean design */
#login-signup-modal .modal-content {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
}

/* Close icon styles */
#login-signup-modal .close-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}
#login-signup-modal .close-icon:hover {
    color: #444;
}

/* Styling for the message */
#login-signup-modal .modal-message {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
}

/* Button container alignment */
#login-signup-modal .button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Button base styles */
#login-signup-modal .btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
#login-signup-modal .btn:hover {
    transform: translateY(-2px);
}

/* Specific button styles for Login and Sign Up */
#login-signup-modal .btn-login {
    background-color: #69cbdc !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    padding: 10px 38px !important;
    border-radius: 25px !important;
    font-weight: 600;
    letter-spacing: 0 !important;
    transition: background-color 0.2s ease;
}
#login-signup-modal .btn-login:hover {
    background-color: #7557a5 !important;
}
#login-signup-modal .btn-signup {
    background-color: #7557A5 !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    padding: 10px 30px !important;
    border-radius: 25px !important;
    font-weight: 600;
    letter-spacing: 0 !important;
    transition: background-color 0.2s ease;
}

#login-signup-modal .btn-signup:hover {
    background-color: #69cbdc !important;
}

@media (max-width: 767px) {
    .elementor-682 .elementor-element.elementor-element-e0a418 > .elementor-container {
        min-height: 160px!important;
    }
}
.elementor-widget-woocommerce-cart .woocommerce{
    font-family: "Poppins", Sans-serif!important;
}
.cart-count {
    position: absolute !important;
    top: -5px !important;
    right: 5px !important;
    background: #69cbdc !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    width: 20px !important;
    line-height: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 1px solid #03a9c6 !important;
}
.woocommerce ul.products li.product .price{
    margin-top: 5px;
}

.product-listing .added_to_cart.wc-forward{
    display: none;
}

button.button.added-to-cart-button:after ,span.added-to-cart-button:after {
    font-family: WooCommerce;
    content: "\e017";
    margin-left: .53em;
    vertical-align: bottom;
}

button.button.added-to-cart-button, span.added-to-cart-button {
    background-color: #fff !important;
    color: #414141 !important;
}


/* ==============================
   Order Received Page Styles
   Scoped to <main class="woocommerce-order">
   ============================== */
.woocommerce-order-received .woocommerce-order{
    background-color: #fff;
    padding: 20px;
    border-radius: 25px;
}
/* — Header / Confirmation — */
.woocommerce-order-received .order-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5em;
    color: #2a2a2a;
}
.woocommerce-order-received h2.woocommerce-order-details__title,
.woocommerce-order-received h2.woocommerce-column__title,
.woocommerce-order-received h3.woocommerce-order-details__title{
    text-align: left;
}
.shop_table.woocommerce-table.order_details thead th,
.shop_table.woocommerce-table.order_details tbody td,
.shop_table.woocommerce-table.order_details tfoot th,
.shop_table.woocommerce-table.order_details tfoot td
{
    padding: 5px 5px 5px;
    font-size: 14px;
    font-weight: normal;
}
.shop_table.woocommerce-table.order_details tfoot
{
    border-top: 2px solid #dddddd;
}

.woocommerce-order-received .woocommerce ul.order_details li{
    font-size: 0.8rem;
    color: #313131;
    font-weight: bold;
    letter-spacing: normal;
}

.woocommerce-order-received .woocommerce .shop_table tbody td,
.woocommerce-order-received .woocommerce .shop_table tbody td .woocommerce-Price-currencySymbol{
    color:#69727d!important;
}
.woocommerce-order-received .woocommerce ul.order_details li .woocommerce-Price-currencySymbol,
.woocommerce-order-received .woocommerce ul.order_details li strong{
    color: #767676!important;
    font-size: 0.8rem!important;
}

.woocommerce-order-received span.woocommerce-Price-currencySymbol{
    padding: 0 5px 0 0!important;
    color:#69727d!important;
}
.woocommerce-order-received .product-quantity {
    display:none!important;
}
.woocommerce-order-received .woocommerce .woocommerce-customer-details address{
    /* max-width: 280px; */
}
.woocommerce-order-received .order-header p {
    font-size: 1rem;
    color: #555;
}

/* — Order Summary Overview — */
.woocommerce-order-received .order-summary .order-overview {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.woocommerce-order-received .order-summary .order-overview li {
    background: #f8f8f8;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.95rem;
}

/* — Order Details Table — */
.woocommerce-order-received .order-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}
.woocommerce-order-received .order-details-table th,
/* — Customer Details — */
.woocommerce-order-received .customer-details address {
    font-style: normal;
    line-height: 1.5;
    margin-top: 1rem;
}
.woocommerce-order-received .customer-details .phone,
.woocommerce-order-received .customer-details .email {
    display: block;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* — Next Steps / CTA Button — */
.woocommerce-order-received .next-steps {
    margin-top: 2rem;
    text-align: center;
}
.woocommerce-order-received .next-steps .btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    border-radius: 0.375rem;
    font-weight: 600;
}
/* — Responsive Overrides — */
@media (max-width: 1025px) {
    .woocommerce-order-received .woocommerce{
        padding:15px;
    }

    .woocommerce-order-received .woocommerce ul.order_details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1rem;
        padding: 0;
    }
}
@media (max-width: 767px) {
    .woocommerce-order-received .woocommerce ul.order_details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
        padding: 0;
    }
    .woocommerce-order-received .woocommerce ul.order_details li:nth-child(odd) {
        grid-column: 1;
    }
    .woocommerce-order-received .woocommerce ul.order_details li:nth-child(even) {
        grid-column: 2;
    }
    .woocommerce-order-received .order-summary .order-overview {
        flex-direction: column;
    }
    .woocommerce-order-received .order-details-table,
    .woocommerce-order-received .order-details-table thead,
    .woocommerce-order-received .order-details-table tbody,
    .woocommerce-order-received .order-details-table th,
    .woocommerce-order-received .order-details-table td,
    .woocommerce-order-received .order-details-table tr {
        display: block;
    }
    .woocommerce-order-received .order-details-table tr {
        margin-bottom: 1rem;
    }


    /* reset any default list‑item spacing */
    .woocommerce-order-received .woocommerce ul.order_details li {
        margin: 0;
        padding: 0.25rem 0;
        box-sizing: border-box;
        border-bottom: 1px dashed #aaa!important;
        border-right: none;
    }
}

/*Single course page*/
.sp-main-content, .player-wrapper{
    display: flex;
    width: 100%;
}

.enrolled-sec .sp-main-content .woocommerce-tabs{
    width: 70%;
}

.nonenrolled-sec .sp-main-content .woocommerce-tabs{
    width: 100%;
}

.sp-main-content .right-sidebar{
    width: 30%;
}
.sp-main-content .module-title{
    font-weight: 600;
}
.module-heading {
    font-size: 24px;
    font-weight: 500;
}

.modules-container{
    width: 100%;
    border-left: 1px solid #c9c9c9;
    border-right: 1px solid #c9c9c9;
}
.modules-container .module-section{
    border-top: 1px solid #c9c9c9;
    border-bottom: 1px solid #c9c9c9;
}
.md-50{
    width:50%;
    display:flex;
}
.pd-lr-2{
    padding-left: 20px;
    padding-right: 20px;
}
.d-flex{
    display:flex;   
}
.bg-gray{
    background: #f7f7f7;  
}
.module-info{
    border-top: 0px solid #c9c9c9;
}
.info-item{
    padding-bottom: 15px;
    padding-top: 15px;
}
.module-duration{
  justify-content: flex-end;
}
.sp-main-content .right-sidebar{
  padding: 0px 15px;  
}

.sp-main-content .right-sidebar .right-content,.sp-main-content .woocommerce-Tabs-panel.panel{
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.11);
    padding: 15px 20px !important;
    border-radius: 5px;
}
.f14{
    font-size: 14px;
}
.gap-20{
    padding: 10px;
}
.single-product .entry-summary span.woocommerce-Price-currencySymbol,
.single-product p.price {
    color: #69CBDC !important; 
    font-size: 42px !important; 
    font-weight: 900; 
}

.single-product p.price{
    margin: 25px 0px;
}
.single-product .entry-summary .single_add_to_cart_button {
    border-radius: 25px;
    padding: 10px 22px 10px 22px;
    font-size: 20px;
}

.single-product .entry-summary .single_add_to_cart_button.button:hover {
    background-color: #69CBDC;
}

.single-product .entry-summary .product_meta {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.refund-policy {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.refund-policy ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.refund-policy li {
    margin-bottom: 12px;
}

.refund-policy a {
    color: #69CBDC;
    text-decoration: none;
}

.refund-policy a:hover {
    text-decoration: underline;
}
.woocommerce-breadcrumb{
    display: none;
}
.total-duration{
    display: flex;
    justify-content: flex-end;
    width: 30%;
}
.module-heading{
    display: flex;
    width: 70%;
}
.module-head{
    display: flex;
}
.product-bought-message{
    display: none;
}
.filter-section .my-accordion-toggle{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
}

.accordion-label {
  display: flex;
  align-items: center;
  gap: 6px; /* space between text and dot */
}

.filter-section .accordion-status-dot {
    height: 10px;
    width: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
}

/*fix cart page product title error*/
.product_title::first-letter,
.woocommerce-loop-product__title::first-letter,
.product-name a::first-letter,
.sentence-case{
    text-transform: uppercase;
}

.nle-btn{
    background-color: #69CBDC !important;
    border-style: solid !important;
    border-width: 0px 0px 0px 0px;
    border-radius: 25px 25px 25px 25px;
    padding: 10px 28px 10px 28px;
    color: #fff !important;
    position: relative !important;
    display: inline-block;
}
.nle-btn:hover{
    background-color: #7557A5!important;
}
#learner-account-main{
    padding-bottom:30px;
}

#learner-account-main .list-section .product .license-type-labels{
    display: none;
}  
.product-template-default.single-product.woocommerce-page div.product .woocommerce-tabs{
    width: 65%!important;
}

.product-template-default.single-product.woocommerce-page .right-sidebar{
    width: 35%!important;
    flex:1;
}
.product-template-default.single-product.woocommerce-page div.product .woocommerce-tabs .panel{
    margin:0;
}
.product-template-default.single-product.woocommerce-page .bg-module-section{
    display: flex;
}
.product-template-default.single-product.woocommerce-page .module-header{
    flex:1;
}
.product-template-default.single-product.woocommerce-page .module-action{
    vertical-align: middle;
    margin: auto;
    padding: 10px;
}
.product-template-default.single-product.woocommerce-page .module-action .btn-start{
    padding: 10px 15px;
}
.product-template-default.single-product.woocommerce-page .module-head .module-heading{
    width:auto;
    flex:1;
}
.product-template-default.single-product.woocommerce-page .module-head .total-duration{
    width:auto;
}
@media (max-width: 768px) {
    .sp-main-content{
        display: block;
        padding: 20px;
    }
    .product-template-default.single-product.woocommerce-page div.product .woocommerce-tabs{
        width: 100%!important;
    }
    .product-template-default.single-product.woocommerce-page .right-sidebar{
        width: 100%!important;
    }
}


/*NLE Page loader */
/* style.css */
#nle-loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000F7;
    z-index: 9999;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#nle-loader {
    width: 60px;
    height: 60px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

:focus-visible{
    outline: none;

}

.custom-select {
    position: relative;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

.custom-select::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #555;
}
.custom-select.open::after{
    transform: translateY(-50%) rotate(180deg);
}

.nle-custom-error-container{
    width: 100%;
    min-height: 180px;
    border-radius: 25px;
    padding: 20px
}
h1.nle-error-item{
    color: #fff;
    text-align: center;
    font-size: 33px;
}
p.nle-error-item{
    color: indianred;
    font-size: 22px;
    line-height: 18px;
    text-align: center;
    margin: 20px;
}
.woocommerce-notices-wrapper .woocommerce-message{
    padding-left: 50px;
}
.nmls-std-input-text{
    border-radius: 25px !important;
    padding: 10px 14px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}
.nmls-std-button{
    background-color: #69CBDC !important;
    border-style: solid !important;
    border-width: 0px 0px 0px 0px!important;
    border-radius: 25px 25px 25px 25px!important;
    padding: 16px 28px 16px 28px !important;
    color: #fff !important;
    position: relative !important;
    display: inline-block;
}
.nmls-std-button:hover{
    background-color: #7557A5!important;
}
.resource-tab .resource-item a{
    padding: 15px;
    border: 1px solid #7557A51A;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #000;
}
a.btn.btn-notify {
    padding: 16px 28px 16px 28px !important;
    font-size: 16px;
    font-weight: 400;
    margin-left: 10px !important;
    background-color: #7557a5;
    color: #fff;
    border-radius: 25px;
}
.var-dropdown.var-sec .instance-choice, .var-dropdown.var-sec select{
    font-size: 16px !important;
}
.var-dropdown.var-sec{
    padding: 0px !important;
}
.cl-section .product-listing .woocommerce-message {
    display: none;
}
.vf .single_variation_wrap .added-to-cart-button{
margin: 0px !important;
}

.contact-form-container * {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999; /* Increased z-index */
    cursor: pointer;
    display: none !important;
}

/* Modal Styles */
.contact-form-container .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 10001; /* Increased z-index */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem; /* Padding for mobile */
}
@media (min-width: 640px) {
    .contact-form-container .modal-overlay {
        padding: 2rem; /* Restore padding for larger screens */
    }
}
.contact-form-container .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-form-container .modal-content {
    background: white;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    max-width: 300px; /* Reduced max-width for a narrower form */
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: translateX(20px);
    transition: transform 0.3s ease;
}
.contact-form-container .modal-overlay.active .modal-content {
    transform: translateX(0);
}
.contact-form-container .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.contact-form-container .modal-header h4 {
    margin: 0px !important;
    font-size: 24px;
}
/* Form Elements */
.contact-form-container .form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.contact-form-container .form-input:focus, .contact-form-container .form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4);
}
.contact-form-container .form-textarea {
    min-height: 60px;
    resize: vertical;
}
.contact-form-container .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: none;
}
.contact-form-container .form-input.invalid, .contact-form-container .form-textarea.invalid {
    border-color: #ef4444;
}

/* Buttons */
.contact-form-container .submit-btn {
    margin-top: 0px;
}

/* Success Message */
.contact-form-container .success-message {
    //display: none;
    text-align: left;
    padding: 1rem;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    background-color: #f0fdf4;
}
.contact-form-container .success-message h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 1rem;
    margin-top: 0;
}
.contact-form-container .success-message p {
    color: #1f2937;
    margin-bottom: 1rem;
}

/* Utility Classes */
.hidden { display: none !important; }
.ml-3 { margin-left: 0.75rem; }

/* Loader */
.contact-form-container .loader {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.contact-form-container .modal-overlay {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 2rem 90px 0;
}
.contact-form-container .modal-content {
    margin-bottom: 0; 
    transform: none !important;
}

@media (max-width: 600px) {
  .contact-form-container .modal-content {
    margin-bottom: 0px;
    
  }
  .floating-btn{
    right: 15px;
  }
  .contact-form-container .modal-overlay {
    padding: 0 1rem 90px 0;
  }
}
/*
.my-custom-flex .elementor-grid-4 .elementor-grid {
    grid-template-columns: auto;
}
.my-custom-flex .elementor-posts-container{
    display: flex;
    justify-content: center;
    gap: 20px;
}

.my-custom-flex .elementor-posts .elementor-post {
    display: flex;
    width: 25%;
}
    */

.my-custom-flex .elementor-grid:has(:nth-child(1):last-child) {
    grid-template-columns: 1fr !important;
}

/* If only 2 items */
.my-custom-flex .elementor-grid:has(:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* If only 3 items */
.my-custom-flex .elementor-grid:has(:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr) !important;
}
.rate-box .elementor-widget-container{
    margin: 0px;
}
.news-banner{
    margin-bottom: 0px !important;
}
.late-ce-button{
    padding: 16px 28px 16px 28px !important;
    background: #7557a5 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    font-family: "Poppins", Sans-serif !important;
    border-radius: 25px !important;
}