/*  CSS for the Public Index Pages */

.jmNavBar {
    background: none;
    color: var(--white-75);
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.4);
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.6) 100%);
    border-bottom: 1px solid var(--white-25);
    width: calc(100vw - 20px);
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 0.3em;
    border: 1px solid var(--white-25);
    
}

.nav-link {
    color: rgba(255,255,255, 0.8);
    transition: 0.5s;
}

.nav-link:hover {
    background: black;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(40, 40, 40, 0.5) 100%);
    color: white !important;
    border-radius: 0.25rem;
    transition: all 0.2s ease;    
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.2);
    transition: 0.2s;
}

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: .7rem;
        padding-left: .7rem;
        padding-top: .6rem;
        padding-bottom: 0.6rem;
    }
}

.jmTransCanvas {  
    margin-top: 92px;
    border-radius: 0.3em;
    min-height: calc(100vh - 180px);
    background: rgba(0, 0, 0, 0.4);

}

.jmSplash {
    position: absolute;
    max-width: 800px;
    z-index: 1;
    color: white;
    padding: 2em;
    border: 1px solid var(--white-75);
    top: 20%;
    left: 10%;
    backdrop-filter: blur(5px);
    border-radius: 0.3em;
    background-color: rgba(33,33,33,0.4);
    margin: 10px;
}

.jmSplash h1 {
    font-size: 4em;
    font-weight: 700;
}

.jmSplashFooter {
    position: absolute;
    z-index: 1;
    color: var(--white-75);
    padding: 1em;
    bottom: 0px;
    backdrop-filter: blur(5px);
    border-radius: 0.3em;
    background-color: rgba(33,33,33,0.4);
    right: 0px;
    margin: 0px 10px 10px 0px;
    border: 1px solid var(--white-25);
}

.jmSplashFooter a {
    color: var(--white-75);
    text-decoration: none;
}

.jmSplashFooter a:hover {
    color: white;
    text-decoration: underline;
}



@media (max-width: 768px) {
    .jmSplash {
        position: absolute;
        max-width: calc(100vw - 40px);
        z-index: 1;
        color: white;
        padding: 2em;
        border: 1px solid var(--white-75);
        top:120px;
        left: 10px;
        backdrop-filter: blur(5px);
        border-radius: 0.3em;
        background-color: rgba(33,33,33,0.4);
        margin: 10px;
    }

    .jmSplash h1 {
        font-size: 3em;
        font-weight: 700;
    }

    .jmSplashFooter {
        position: absolute;
        z-index: 1;
        color: var(--white-75);
        padding: 1em;
        bottom: 0px;
        left: 10px;
        max-width: calc(100vw - 20px);
        backdrop-filter: blur(5px);
        border-radius: 0.3em;
        line-height: 2em;
        background-color: rgba(33,33,33,0.4);
        margin: 0px 10px 10px 0px;
        border: 1px solid var(--white-25);
    }

    .jmSplashFooter a {
        color: var(--white-75);
        text-decoration: none;
    }
}

    /* ------------  What is Advancer.world ------------- */

    /* Hero Section */
    .hero-section {
        background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        position: relative;
        overflow: hidden;
        padding: 80px 0;
        margin-top: -20px;
    }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('/images/background.jpg') center/cover;
            opacity: 0.4;
        }

    .hero-content {
        position: relative;
        z-index: 2;
        color: white;
    }

    .hero-logo {
        height: 200px;
        max-width: calc(100vw - 20px);
    }

    .navbar-toggler {
        border-color: white;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-toggler-icon {
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        animation: fadeInUp 0.8s ease;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        opacity: 0.95;
        max-width: 800px;
        margin: 0 auto 2rem;
        animation: fadeInUp 1s ease;
    }

    /* Content Sections */
    .content-section {
        padding: 80px 0;
        position: relative;
    }

        .content-section:nth-child(even) {
            background: #f8f9fa;
        }

    .section-title {
        font-size: 2.5rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 15px;
    }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #00aeef 0%, #00ddd3 100%);
            border-radius: 2px;
        }

    .lead-text {
        font-size: 1.2rem;
        color: #5a6c7d;
        margin-bottom: 2rem;
        line-height: 1.8;
    }

    /* Feature Cards */
    .feature-card {
        background: white;
        border-radius: 15px;
        padding: 30px;
        height: 100%;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 40px rgba(0,0,0,0.12);
        }

    .feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 32px;
        color: white;
    }

    .feature-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .feature-description {
        color: #6c757d;
        line-height: 1.6;
    }

    /* Value Proposition Cards */
    .value-card {
        background: white;
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 20px;
        border-left: 4px solid;
        transition: all 0.3s ease;
        box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    }

        .value-card:nth-child(3) {
            border-color: #00ddd3;
        }

        .value-card:nth-child(4) {
            border-color: #00D6D7;
        }

        .value-card:nth-child(5) {
            border-color: #00D0DB;
        }

        .value-card:nth-child(6) {
            border-color: #00C9DF;
        }

        .value-card:nth-child(7) {
            border-color: #00C2E3;
        }

        .value-card:nth-child(8) {
            border-color: #00BBE7;
        }

        .value-card:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 25px rgba(0,0,0,0.1);
        }

    .value-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .value-title i {
            margin-right: 10px;
            color: #00aeef;
        }

    /* Use Cases Section */
    .use-case-card {
        background: white;
        border-radius: 15px;
        padding: 35px;
        height: 100%;
        box-shadow: 0 5px 25px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

        .use-case-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        }

        .use-case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 45px rgba(0,0,0,0.15);
            border-color: #667eea;
        }

    .use-case-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .use-case-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 22px;
        color: white;
        flex-shrink: 0;
    }

    .use-case-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
    }

    .use-case-intro {
        color: #6c757d;
        margin-bottom: 25px;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .use-case-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .use-case-list li {
            padding: 8px 0;
            color: #5a6c7d;
            display: flex;
            align-items: center;
            transition: all 0.2s ease;
        }

            .use-case-list li:hover {
                color: #2c3e50;
                transform: translateX(5px);
            }

            .use-case-list li i {
                color: #00aeef;
                margin-right: 12px;
                font-size: 0.9rem;
            }

    /* CTA Section */
    .cta-section {
        background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        padding: 80px 0;
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: pulse 15s infinite;
        }

    .cta-content {
        position: relative;
        z-index: 2;
    }

    .cta-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

    .btn-demo {
        background: white;
        color: #00aeef;
        padding: 15px 40px;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 50px;
        border: none;
        transition: all 0.3s ease;
        display: inline-block;
        text-decoration: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        transition: 0.5s;
    }

        .btn-demo:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            color: #00ddd3;
            padding: 15px 40px;
            background: white;
            opacity: 1;
            transition: 0.2s;
        }




    .btn-secondary-custom {
        background: transparent;
        color: white;
        border: 2px solid white;
        padding: 12px 30px;
        font-size: 1.1rem;
        border-radius: 50px;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        margin-left: 15px;
    }

        .btn-secondary-custom:hover {
            background: white;
            padding: 12px 30px;
            color: #00ddd3;
        }


    /* Statistics */
    .stats-container {
        display: flex;
        justify-content: space-around;
        margin: 60px 0;
        flex-wrap: wrap;
    }

    .stat-item {
        text-align: center;
        padding: 20px;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stat-label {
        font-size: 1.1rem;
        color: #6c757d;
        margin-top: 10px;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: rotate(0deg);
        }

        50% {
            transform: rotate(180deg);
        }
    }

    .fade-in {
        opacity: 0;
        animation: fadeInUp 0.8s ease forwards;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
        }

        .section-title {
            font-size: 2rem;
        }

        .stats-container {
            flex-direction: column;
        }

        .btn-secondary-custom {
            margin-top: 15px;
            margin-left: 0;
            display: block;
        }
    }

/******** Demo Page Styles *********/


/* Header Section */
.demo-header {
    background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
    padding: 60px 0 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/background.jpg') center/cover;
    opacity: 0.5;
}

.demo-header-content {
    position: relative;
    z-index: 2;
}

.demo-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
}

.demo-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

/* Main Content Container */
.demo-container {
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.demo-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    animation: slideUp 0.8s ease;
}

/* Two Column Layout */
.demo-content {
    display: flex;
    flex-wrap: wrap;
}

/* Left Side - Benefits */
.demo-benefits {
    flex: 1;
    padding: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.benefits-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.benefits-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
    border-radius: 2px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    animation: fadeInLeft 1s ease;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: white;
    font-size: 18px;
}

.benefit-text {
    flex: 1;
}

    .benefit-text h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .benefit-text p {
        color: #6c757d;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

.demo-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Right Side - Form Container */
.demo-form-container {
    flex: 1;
    min-height: 700px;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.form-header {
    padding: 30px 40px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid #e9ecef;
}

    .form-header h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0 0 10px 0;
    }

    .form-header p {
        color: #6c757d;
        margin: 0;
        font-size: 1rem;
    }

/* Iframe Container */
.iframe-container {
    flex: 1;
    position: relative;
    padding: 20px;
    background: #fafbfc;
    border-bottom: 1px solid #e9ecef;
}

.demo-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/*Bottom */
.demo-bottom {   
    padding: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);  
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.3s ease;
}

    .loading-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Trust Badges */
.trust-section {
    text-align: center;
    padding: 40px 0;
    background: white;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    color: #6c757d;
}

    .trust-badge i {
        font-size: 1.5rem;
        margin-right: 10px;
        color: #00aeef;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .demo-content {
        flex-direction: column;
    }

    .demo-benefits {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .demo-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .demo-title {
        font-size: 2rem;
    }

    .demo-subtitle {
        font-size: 1rem;
    }

    .demo-benefits {
        padding: 30px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }
}

.jmNoFormat:hover {
    background:none;
}

/* Modal */
/* Modal Backdrop */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Modal Container */
.modal-success {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 2rem 2.5rem;
    min-width: 320px;
    max-width: 90vw;
    text-align: center;
}

/* Modal Title */
.modal-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00aeef;
}

/* Modal Body */
.modal-body {
    margin-bottom: 1.5rem;
    font-size: 1.1em;
}

/* Modal Button */
.modal-btn {
    background: linear-gradient(45deg, #00aeef 0%, #00ddd3 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7em 2em;
    font-size: 1em;
    cursor: pointer;
    opacity: 0.9;
    transition: 0.5s;
}

.modal-btn:hover {
    background: #00ddd3;
    opacity: 1;
    transition: 0.2s;
}