/* ==========================================================================
   Marketing — Feature page sections (how-it-works, showcase, mid-page-cta)
   From: custom.css
   ========================================================================== */

/* How it works steps */
.how-it-works {
    padding: 60px 0;
    background: #fff;
}

.how-it-works h2 {
    font-size: 28px;
    font-weight: 400;
    color: #444;
    margin-bottom: 50px;
}

.how-it-works .step {
    text-align: center;
    padding: 0 20px;
}

.how-it-works .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0f1426;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.how-it-works .step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.how-it-works .step p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Feature showcase (alternating image + text) */
.feature-showcase {
    padding: 70px 0;
}

.feature-showcase:nth-child(even) {
    background: #f8f9fb;
}

.feature-showcase .showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-showcase .showcase-text h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-showcase .showcase-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.feature-showcase .showcase-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-showcase .showcase-text ul li {
    padding: 6px 0;
    font-size: 15px;
    color: #555;
}

.feature-showcase .showcase-text ul li i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 14px;
}

.feature-showcase .showcase-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-showcase .screenshot-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 10;
    background: #e8ecf1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border: 2px dashed #ccd3dc;
}

/* Mid-page CTA */
.mid-page-cta {
    padding: 50px 0;
    background: #0f1426;
    text-align: center;
}

.mid-page-cta h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
}

.mid-page-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 25px;
}

/* About links block */
.about-links-cont {
    background-color: #fff;
    margin: 0;
}

.about-links-cont .about-links {
    padding: 70px 0 70px 70px;
}

.about-links-cont .about-image {
    padding-left: 110px;
}

.about-links-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #373d43;
}

.about-links-item ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.about-links-item ul li {
    padding-top: 5px;
}

.about-links-item ul li a {
    font-size: 14px;
    font-weight: 400;
    color: #4a8fba;
}

.about-links-item {
    margin-bottom: 2em;
}

.about-image {
    background-repeat: no-repeat;
    background-size: cover;
}

/* About text (feature/about page content block) */
.about-text {
    height: 500px;
    padding: 0 !important;
}

.about-text > h4 {
    background-color: var(--color-danger);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    padding: 1em 20px;
    margin: 0;
}

.about-text > h4 > i {
    font-size: 24px !important;
    color: #fff;
}

.about-text > p { color: #808a94; }

.about-text ul,
.about-text > p,
.about-text .about-quote {
    padding-left: 20px;
    padding-right: 20px;
}

.about-text li { margin-bottom: 0.5em; }

.about-text .about-quote > h3 {
    border-left: 3px solid;
    border-color: #ccc;
    padding-left: 1em;
    font-style: italic;
    line-height: 1.3em;
}

.about-text .about-quote > .about-author {
    text-align: right;
}

/* --------------------------------------------------------------------------
   Contact Page (merged from contact.css)
   -------------------------------------------------------------------------- */
.c-content-contact-1 {
    width: 100%;
    position: relative;
    margin-bottom: 70px;
}

.c-content-contact-1:before {
    background-color: rgba(255, 255, 255, 0.5);
}

.c-content-contact-1:after {
    background-color: rgba(255, 255, 255, 0.5);
}

.c-content-contact-1 > .row .c-body {
    position: relative;
    z-index: 100;
    background: #ffffff;
    margin: 40px 40px 40px 0;
    padding: 40px 40px;
}

.c-content-contact-1 > .row .c-body > .c-section {
    margin-bottom: 15px;
    text-align: right;
}

.c-content-contact-1 > .row .c-body > .c-section > .c-content-label {
    display: inline;
    padding: 3px 7px;
    color: #fff;
}

.c-content-contact-1 > .row .c-body > .c-section > h3 {
    font-size: 26px;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

.c-content-contact-1 > .row .c-body > .c-section > p {
    font-size: 16px;
    line-height: 24px;
    color: #7f8c97;
    font-weight: 300;
}

.c-content-contact-1 > .row .c-body > .c-section > p,
.c-content-contact-1 > .row .c-body > .c-section > .c-content-iconlist-1 {
    margin-top: 20px;
}

.c-content-contact-1 > .row .c-body > .c-section > p > li,
.c-content-contact-1 > .row .c-body > .c-section > .c-content-iconlist-1 > li {
    list-style: none;
    display: inline-block;
    font-size: 24px;
    padding: 0 10px 5px 10px;
    background-color: #eee;
}

.c-content-contact-1-gmap {
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    width: 100%;
}

.c-content-feedback-1 {
    width: 100%;
}

.c-content-feedback-1 > .row > div .c-content-title-1 > h3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.c-content-feedback-1 > .row > div .c-content-title-1 > .c-line-left {
    margin-bottom: 30px;
    height: 3px;
    width: 40px;
}

.c-content-feedback-1 > .row > div .c-content-title-1 > p {
    margin-bottom: 30px;
    font-weight: 300;
}

.c-content-feedback-1 > .row > div > .c-container {
    background-size: auto;
    padding: 30px;
    margin: 0 0 30px 0;
}

.c-content-feedback-1 > .row > div > .c-container > .c-inverse > h3 {
    color: #ffffff;
    margin-top: 10px;
}

.c-content-feedback-1 > .row > div > .c-container > .c-inverse > .c-line-left {
    background-color: #ffffff;
}

.c-content-feedback-1 > .row > div > .c-container > .c-inverse > p {
    color: #ffffff;
}

.c-content-feedback-1 > .row > div > .c-container:last-child {
    margin-bottom: 0;
}

.c-content-feedback-1 > .row > div > .c-container:last-child p {
    margin-bottom: 0;
}

.c-content-feedback-1 > .row > div form {
    margin-bottom: 20px;
}

.c-content-feedback-1 > .row > div form .input-group {
    width: 340px;
}

.c-content-feedback-1 .input-group {
    border: 0;
}

.c-content-feedback-1 .input-group .input-group-addon,
.c-content-feedback-1 .input-group .btn {
    border: 0;
}

/* --------------------------------------------------------------------------
   FAQ Page (merged from faq.css)
   -------------------------------------------------------------------------- */
.faq-page .bordered {
    border: 1px solid;
    border-color: #e7ecf1;
}

.faq-page .search-bar {
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
}

.faq-page .search-bar .input-group {
    width: 100%;
}

.faq-page .search-bar .input-group > input {
    border: none;
    background-color: #f3f6f9;
    color: var(--color-text-muted);
    height: 55px;
}

.faq-content-1 .faq-section {
    background-color: #fff;
    padding: 40px 30px 30px 30px;
    margin-bottom: 30px;
}

.faq-content-1 .faq-section > .faq-title {
    margin: 0 0 20px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.faq-content-1 .faq-section .panel-group {
    margin-bottom: 0;
}

.faq-content-1 .faq-section > .faq-content .panel {
    border: none;
}

.faq-content-1 .faq-section > .faq-content .panel-heading {
    background-color: transparent;
    margin-top: 15px;
}

.faq-content-1 .faq-section > .faq-content .panel-heading i {
    font-size: 10px;
    color: #dae0e5;
    margin-right: 10px;
    margin-top: 4px;
    float: left;
}

.faq-content-1 .faq-section > .faq-content .panel-heading .accordion-toggle {
    padding-left: 0;
    padding-right: 0;
    font-size: 16px;
    font-weight: 600;
    color: #5c646a;
    padding: 0 0 10px 20px;
    line-height: 22px;
}

.faq-content-1 .faq-section > .faq-content .panel-heading .accordion-toggle:hover {
    text-decoration: none;
    color: #3598DC;
}

.faq-content-1 .faq-section > .faq-content .panel-body {
    border: none;
    background-color: #f3f6f9;
    margin-left: 20px;
}

.faq-content-1 .faq-section > .faq-content .panel-body > p {
    color: #6a757e;
    font-size: 14px;
    line-height: 22px;
}

.faq-content-1 .faq-section > .faq-content .panel-body > p:first-child {
    margin-top: 0;
}

.faq-content-1 .faq-section > .faq-content .panel-body > p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Error Pages (merged from error.css)
   -------------------------------------------------------------------------- */
.page-404 {
    text-align: center;
}

.page-404 .number {
    position: relative;
    top: 35px;
    display: inline-block;
    letter-spacing: -10px;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 128px;
    font-size: 128px;
    font-weight: 300;
    color: #7bbbd6;
    text-align: right;
}

.page-404 .details {
    margin-left: 40px;
    display: inline-block;
    padding-top: 0;
    text-align: left;
}

.page-500 {
    text-align: center;
}

.page-500 .number {
    display: inline-block;
    letter-spacing: -10px;
    line-height: 128px;
    font-size: 128px;
    font-weight: 300;
    color: #ec8c8c;
    text-align: right;
}

.page-500 .details {
    margin-left: 40px;
    display: inline-block;
    text-align: left;
}

.page-404-full-page {
    overflow-x: hidden;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fafafa !important;
}

.page-404-full-page .details input {
    background-color: #ffffff;
}

.page-404-full-page .page-404 {
    margin-top: 100px;
}

.page-500-full-page {
    overflow-x: hidden;
    padding: 20px;
    background-color: #fafafa !important;
}

.page-500-full-page .details input {
    background-color: #ffffff;
}

.page-500-full-page .page-500 {
    margin-top: 100px;
}

.page-404-3 {
    background: #000 !important;
}

.page-404-3 .page-inner img {
    right: 0;
    bottom: 0;
    z-index: -1;
    position: absolute;
}

.page-404-3 .error-404 {
    color: #fff;
    text-align: left;
    padding: 70px 20px 0;
}

.page-404-3 h1 {
    color: #fff;
    font-size: 130px;
    line-height: 160px;
}

.page-404-3 h2 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 30px;
}

.page-404-3 p {
    color: #fff;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Scroll Reveal — Page-specific stagger delays
   (base .reveal rules are in global/base.css)
   -------------------------------------------------------------------------- */

/* Stagger: how-it-works steps */
.how-it-works .col-xs-12:nth-child(1) .reveal { transition-delay: 0s; }
.how-it-works .col-xs-12:nth-child(2) .reveal { transition-delay: 0.15s; }
.how-it-works .col-xs-12:nth-child(3) .reveal { transition-delay: 0.3s; }

/* Stagger: feature cards (6 portlet cards in 3-col grid) */
.features-section .flex-equal > div:nth-child(1) .reveal { transition-delay: 0s; }
.features-section .flex-equal > div:nth-child(2) .reveal { transition-delay: 0.1s; }
.features-section .flex-equal > div:nth-child(3) .reveal { transition-delay: 0.2s; }
.features-section .flex-equal > div:nth-child(4) .reveal { transition-delay: 0.1s; }
.features-section .flex-equal > div:nth-child(5) .reveal { transition-delay: 0.2s; }
.features-section .flex-equal > div:nth-child(6) .reveal { transition-delay: 0.3s; }

/* Stagger: FAQ items */
.feature-faq .faq-item.reveal:nth-child(2) { transition-delay: 0s; }
.feature-faq .faq-item.reveal:nth-child(3) { transition-delay: 0.1s; }
.feature-faq .faq-item.reveal:nth-child(4) { transition-delay: 0.2s; }
.feature-faq .faq-item.reveal:nth-child(5) { transition-delay: 0.3s; }
.feature-faq .faq-item.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Stagger: cross-link cards */
.cross-links .link-card.reveal:nth-child(1) { transition-delay: 0s; }
.cross-links .link-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.cross-links .link-card.reveal:nth-child(3) { transition-delay: 0.2s; }

/* Showcase sections: text and image with slight offset */
.feature-showcase .showcase-text.reveal { transition-delay: 0s; }
.feature-showcase .showcase-image.reveal { transition-delay: 0.15s; }

/* Comparison table */
.comparison-table.reveal { transition-delay: 0.15s; }

/* Responsive */
@media (max-width: 1024px) {
    .c-content-feedback-1 > .row > div form .input-group {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .feature-showcase .showcase-image {
        margin-top: 30px;
    }

    .feature-showcase .row-reverse .showcase-image {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .about-links-cont .about-links > .row { margin: 0; }

    #list-search .col-md-6:first-of-type { margin-bottom: 15px; }

    .page-contact .page-content { padding: 0 !important; }
    .c-content-contact-1-gmap { position: relative; }
    .page-contact .page-content .contact-form-container { padding: 20px 0; }

    /* Contact page responsive */
    .c-content-contact-1-gmap {
        display: block;
        position: static;
        width: 100%;
        height: 300px !important;
    }

    .c-content-contact-1 > .row > div {
        width: 100%;
    }

    .c-content-contact-1 > .row > div .c-body {
        position: static;
        display: block;
        padding: 30px 20px 10px 20px;
        background: #fafafa;
        margin: 0;
        text-align: left;
    }

    .c-content-feedback-1 > .row > div > .c-container {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .c-content-feedback-1 > .row > div > .c-contact {
        padding: 40px 30px 0 30px;
        margin: 0;
    }

    .c-content-feedback-1.c-option-2 > .row > div > .c-contact {
        padding: 30px;
        margin-top: 40px;
        background-color: #ffffff;
    }
}

@media (max-width: 600px) {
    .about-text {
        height: auto;
        padding-bottom: 1.5em !important;
    }

    .about-image {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .page-404 .number,
    .page-500 .number,
    .page-404 .details,
    .page-500 .details {
        text-align: center;
        margin-left: 0;
    }

    .page-404-full-page .page-404 {
        margin-top: 30px;
    }

    .page-404-3 .error-404 {
        text-align: left;
        padding-top: 10px;
    }

    .page-404-3 .page-inner img {
        right: 0;
        bottom: 0;
        z-index: -1;
        position: fixed;
    }
}
