/* Common */
* {margin: 0;padding: 0;}
html {height: 100%;font-size: 16px;}
body {height: 100%;font-family: 'Roboto', sans-serif;}
a {color: #28AADC;outline: none !important;}
p {margin: 0 0 18px;}
strong {letter-spacing: 1px;}

.wrapper {width: 100%;}
header .container { max-width: 1700px; }

/* Headers */
h1 {font-size: 3.25rem;font-weight: 600;line-height: 1.1em;letter-spacing: 1px;}
@media (max-width: 991px){
    h1 {font-size: 2rem;}
}

/* Buttons */
.btn {text-transform: uppercase;font-weight: 600;font-size: 1rem;}
.btn-lg {padding: 1rem 2rem;}
.btn-primary {background: #2214a7;border-color: #2214a7;}
.btn-danger {background: #ff8562;border-color: #ff8562;}
.btn-light {background: #fff;border-color: #fff;color: #2214a7;}
.btn-outline-light {color: #2214a7; border-color: #2214a7;}

.gradient {
    background: linear-gradient(180deg, rgba(34,77,192,1) 0%, rgba(31,17,152,1) 100%);
}

/* Header */
header .navbar {padding: 1rem;}
header .navbar-brand {
    display: flex;
    align-items: center;
}
header .navbar-brand img {
    margin-right: 1rem;
    filter: brightness(0) invert(1);
}
header .navbar .btn {border-radius: 1rem;padding-left: 1rem;padding-right: 1rem;}
header .navbar .navbar-nav .nav-link {color: rgba(255,255,255,.8);}

/* Content */
.content {color: #3E4346;}
.content section {overflow: hidden;padding: 5rem 0;}
.content section .title {margin-bottom: 1rem;color: #2214a7;font-size: 2.5rem;text-transform: uppercase;font-weight: 600;line-height: 1.1em;}
.content section .description {text-align: center;margin-bottom: 3rem;}

@media (max-width: 991px){
    .content section .title {font-size: 2rem;}
}

/* Section intro */
.content .intro {text-shadow: 1px 1px 1px rgba(0,0,0,.1);color: #fff;text-align: center;}
.content .intro h1 {margin-bottom: 5rem;}
.content .intro .text {font-size: 1.25rem;margin-bottom: 2rem;}
.content .intro .advantages {margin-bottom: 5rem;}
.content .intro .advantages .item {font-weight: bold;letter-spacing: 1px;}

/* Section abilities */
.content .abilities {padding-bottom: 0;background: url('../images/bg_pattern.png') left top #ededed;}
.content .abilities .bot {justify-content: center;display: flex !important;align-items: center;}
.content .abilities .bot img {max-width: 100%;}
.content .abilities .item {font-size: .875rem;box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.145);background: #fff;border: 4px solid #1725ce;padding: 1rem;border-radius: 1rem;margin-bottom: 6rem;position: relative;}
.content .abilities .item strong {text-transform: uppercase;}
.content .abilities .item p {margin-bottom: .5rem;}
.content .abilities .item .corner {position: absolute;bottom: -21px;}
.content .abilities .item.corner-right .corner {right: 2rem;}
.content .abilities .item.corner-left .corner {left: 2rem;}
.content .abilities .item .corner img {width: 26px;height: auto;}
.content .abilities .item.corner-left .corner img {transform: scale(-1, 1);}

@media(max-width: 767px){
    .content .abilities .corner {display: none;}
    .content .abilities .item {margin: 0 0 2rem;}
}
@media(max-width: 991px){
    .content .abilities .item {margin: 0 0 2rem;}
}

/* Section for who */
.content .for-who {padding: 5rem 0 0;box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);}
.content .for-who .title {color: #3E4346;}
.content .for-who .description strong {color: #ff8562;text-transform: uppercase;}
.content .for-who .item {text-align: center;margin-bottom: 2rem;}
.content .for-who .item .img {
    margin: 0 auto .5rem;
    background: #ff8562;
    padding: 1rem;
    border-radius: 50%;
    width: 65px;
    height: 65px;
}
.content .for-who .item .img img {max-width: 100%;height: auto;}
.content .for-who .item .name {font-size: 1.25rem;color: #3E4346;text-transform: uppercase;font-weight: 600;margin-bottom: 1rem;}
.content .for-who .item ul {text-align: left;display: inline-block;}
.content .for-who .bottom {padding: 2rem 0;background: #ff8562;color: #fff;}

/* Section how it works */
.content .how-it-works {padding: 5rem 0 0;box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);padding-bottom: 0;background: url('../images/bg_pattern.png') left top #ededed;}
.content .how-it-works .title {color: #3E4346;margin-bottom: 3rem;}
.content .how-it-works .steps {margin-bottom: 3rem;}
.content .how-it-works .item-wrapper {display: flex;}
.content .how-it-works .item {width: 100%;box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.145);background: #fff;border-radius: .25rem;padding: 1rem;}
.content .how-it-works .item .name {text-align: center;line-height: 1.2em;margin-bottom: 1rem;font-size: 1.125rem;color: #2214a7;}
.content .how-it-works .item .img {text-align: center;margin-bottom: .5rem;}
.content .how-it-works .item .img img {width: 55px;}
.content .how-it-works .item .text {font-size: .875rem;}
.content .how-it-works .bottom {text-transform: uppercase;margin: 5rem 0 0;color: #fff;padding: 2rem 0;}

@media(max-width: 991px){
    .content .how-it-works .item {margin-bottom: 1rem;}
}

/* Section prices */
.content .prices {}
.content .prices .list .owl-stage {padding-bottom: 1rem;}
.content .prices .item-wrapper {display: flex;padding: 0 1rem;}
.content .prices .item {background: #f0f0f0;width: 100%;box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);border-radius: .25rem;overflow: hidden;}
.content .prices .item .top {text-align: center;padding: 1rem;background: #2214a7;color: #fff;}
.content .prices .item .top .name {padding-bottom: 1rem;font-size: 1.5rem;font-weight: bold;letter-spacing: 1px;border-bottom: 1px solid #fff;margin-bottom: 1rem;}
.content .prices .item .top .time {font-size: 1.125rem;}
.content .prices .item .top .price {font-size: 2.75rem;font-weight: bold;letter-spacing: 1px;}
.content .prices .item .text {padding: 1rem;text-align: center;}
.content .prices .item .text ul {list-style-type: none;}
.content .prices .item .text ul li {margin-bottom: .25rem;}

@media(max-width: 768px){
    .content .prices .item {margin-bottom: 2rem;}
}

/* Section future */
.content .future {padding: 2rem 0 0;}
.content .future .title {color: #3E4346;}
.content .future .container {position: relative;}
.content .future .rocket {margin-top: -90px;}
.content .future .controls img {height: 90px;width: auto;opacity: .8;}

@media(max-width: 575px){
    .content .future .controls .btn {width: 100%;}
    .content .future .d-flex {justify-content: center;}
}
@media(max-width: 768px){
    .content .future .title {text-align: center;}
    .content .future .d-flex {flex-wrap: wrap;}
    .content .future .rocket {margin: 30px 0;}
    .content .future .rocket img {width: 100%;}
}

/* Footer */
footer {font-size: .875rem;color: #777;padding: 3rem 0;background: #000;}
footer .copy {border-bottom: 1px solid #777;padding-bottom: 1rem;margin-bottom: 1rem;}
footer .contacts {font-size: 1rem;}

/* Page Header */
.page-header {
    padding: 4rem 0;
    margin-bottom: 3rem;
    color: #fff;
}
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.page-header .breadcrumb-item a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}
.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Page Content */
.page-content {
    /*padding: 3rem 0;*/
    min-height: 50vh;
}

/* Legal Pages */
.legal-page, .privacy-page {
    /*background: #f8f9fa;*/
}
.legal-page h2, .privacy-page h2 {
    color: #2214a7;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.legal-page h4, .privacy-page h4 {
    color: #495057;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.legal-page ul, .privacy-page ul {
    padding-left: 1.5rem;
}
.legal-page li, .privacy-page li {
    margin-bottom: 0.5rem;
}

/* Help Page */
.help-page {
    background: url('/images/bg_pattern.png') left top #f8f9fa;
}
.help-page .sidebar {
    position: sticky;
    top: 20px;
}
.help-page .list-group-item.active {
    background-color: #2214a7;
    border-color: #2214a7;
}
.help-page pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    overflow-x: auto;
}

/* Demo Page */
.demo-page {
    background: url('/images/bg_pattern.png') left top #f8f9fa;
}
.demo-chat {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.demo-chat p {
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .page-header {
        padding: 3rem 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .help-page .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

/* Print Styles */
@media print {
    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 1rem 0;
    }
    .page-header .text-white {
        color: #000 !important;
    }
    .btn, .navbar, .footer {
        display: none !important;
    }
}

/* Help Page Specific Styles */
.page-content .content, .help-wrapper .content {
    padding: 5rem 0;
    background: url('/images/bg_pattern.png') left top #ededed;
}

.help-wrapper .sidebar {
    font-weight: 400;
}

.help-wrapper .sidebar .lead {
    font-size: 1rem;
    margin-bottom: .5rem;
    margin-top: 1rem;
    font-weight: 400;
}

.help-wrapper .sidebar .nav-link {
    padding: .15rem 1rem;
    color: #495057;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.help-wrapper .sidebar .nav-link:hover,
.help-wrapper .sidebar .nav-link.active {
    color: #2214a7;
    background-color: rgba(34, 20, 167, 0.05);
    border-left-color: #2214a7;
}

.help-wrapper .inner h1 {
    text-align: left;
    margin-top: 0;
    color: #2214a7;
    margin-bottom: 1.5rem;
}

.help-wrapper .inner .lead {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.help-wrapper .page {
    font-weight: 400;
}

.help-wrapper .page ul,
.help-wrapper .page ol {
    margin: 0 0 1rem 2rem;
}

.help-wrapper .page .nav-pills {
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.help-wrapper .page ul li {
    margin-bottom: .5rem;
}

.help-wrapper .page ul.list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.help-wrapper .page ul.list > li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.help-wrapper .page ul.list li:last-child {
    border-bottom: none;
}

.help-wrapper .page ul.list li .digit {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-weight: bold;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    text-align: center;
    background: #ff8562;
    flex-shrink: 0;
}

.help-wrapper .page ul.list li .text {
    padding-top: .25rem;
    width: 100%;
}

.help-wrapper .page figure {
    display: inline-block;
    max-width: 100%;
    margin: 1rem 0;
}

.help-wrapper .page figure img {
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: .25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.help-wrapper .page figure figcaption {
    font-style: italic;
    text-align: center;
    color: #6c757d;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.help-wrapper .page #mobile figure img {
    max-width: 300px;
}

.help-wrapper .page .btn-example {
    padding: 0;
    display: inline-block;
    font-size: .875rem;
    text-align: center;
    padding: .25rem 0;
    height: 30px;
    width: 30px;
}

/* Accordion styles */
.help-wrapper .accordion-button {
    font-weight: 600;
    color: #2214a7;
}

.help-wrapper .accordion-button:not(.collapsed) {
    background-color: rgba(34, 20, 167, 0.05);
    color: #2214a7;
}

.help-wrapper .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(34, 20, 167, 0.25);
}

/* Table styles */
.help-wrapper table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.help-wrapper table th,
.help-wrapper table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.help-wrapper table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    color: #2214a7;
}

.help-wrapper table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Code blocks */
.help-wrapper pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.help-wrapper code {
    font-family: 'Courier New', monospace;
    color: #d63384;
}

/* Alert boxes */
.help-wrapper .alert {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.help-wrapper .alert-info {
    background-color: #e7f1ff;
    border-color: #b3d4ff;
    color: #004085;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .help-wrapper .sidebar {
        margin-bottom: 2rem;
    }

    .help-wrapper .sidebar .card {
        margin-bottom: 1rem;
    }

    .help-wrapper .inner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .help-wrapper .content {
        padding: 3rem 0;
    }

    .help-wrapper .page ul.list > li {
        flex-direction: column;
    }

    .help-wrapper .page ul.list li .digit {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

.custom-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}
.custom-tabs .tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-tabs .tab-nav li {
    margin-bottom: -1px;
    cursor: pointer;
}
.custom-tabs .tab-nav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #495057;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
}
.custom-tabs .tab-nav a:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef #e9ecef #dee2e6;
}
.custom-tabs .tab-nav a.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 500;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Demo page
-----------------------------------------------------------------------------*/
.demo-page .content {
    padding: 5rem 0;
    background: url(../images/bg_pattern.png) left top #ededed;
}
.demo-page h1 {color: #2214a7;
    text-align: center;}
.demo-page .detail {max-width: 1100px;margin: 3rem auto 0;background: rgba(255, 255, 255, .8); padding: 2rem;border-radius: .5rem;}
.demo-page .detail .description {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;

}
.demo-page .detail section {text-align: center;}
.demo-page section .item .digit {
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.6;
    font-size: 2rem;
    width: 60px;
    color: #fff;
    height: 60px;
    display: inline-block;
    background: #ff8562;
    border-radius: 50%;box-shadow: 0 0 0 6px rgba(0, 0, 0, .2);
}
.demo-page section .item .name {
    display: inline-block;
    /*border-bottom: 4px solid #000;*/
    font-size: 1.75rem;
    text-transform: uppercase;
    margin: 0 auto 1rem;
    font-weight: 400;
}
