.header {
    border-radius: 0 0 8px 8px;
    background-color: #fff;
}

.nav-menu a {
    color: #000;
    font-size: 1rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.nav-menu a:hover {
    color: #00aeeb;
}
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 10px 12px;
    font-size: 1.80rem;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero {
    position: relative;
    /* Ensure the background image is set here if not in HTML */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* This covers exactly the left half (col-6 area) */
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.6) 40%,
                rgba(7, 1, 1, 0) 100%);
    z-index: 1;
}

/* Push the text content above the dark overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

.hero-description {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 30px;
}

.hero-plans-from {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 24px;
}
.hero-plans-from .plans-price {
    color: #ffb020;
}

.btn-primary,
.btn.btn-demo {
    background-color: #00aeeb; /* darkened from #00aeeb — white text now passes 4.86:1 contrast */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 28px;
    transition: background-color 0.3s ease;
    border: none;
    max-width: unset;
}
.btn-primary:hover, .btn-primary:focus,
.btn.btn-demo:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    transform: none;
    background: #7cbf06; /* darkened from #97db2f — white text now passes 4.98:1 contrast */
}
.btn-secondary {
    background-color: #97db2f;
    color: #1a3300; /* dark green on bright green — 8.36:1 contrast, replaces white */
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 28px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    max-width: unset;
}
.btn-secondary:hover, .btn-secondary:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    transform: none;
    background-color: #00aeeb; /* darkened to match primary */
    color: #fff;
}
.accredited-wrapper {
    background-color: #fff;
    padding: 40px 0;
}
.accredited-wrapper img.img-fluid {
    width: 248px;
    box-shadow: rgba(182, 188, 194, 0.2) 0px 8px 24px;
    padding: 1px;
    border-radius: 8px;
}

.form-group input:focus, .form-group select:focus {
    border-color: #2fb5d2 !important;
}

.badge-soft-blue {
    background-color: #e0f7ff;
    color: #2fb5d2;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    display: inline-block;
}

.comparison-item {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: left;
}

.item-before {
    background-color: #fbf1f1;
    border: 1px solid #d6736a;
    color: #333;
}

.item-after {
    background-color: #f1fbf1;
    border: 1px solid #60d374;
    color: #333;
}

.comparison-icon {
    font-size: 1.3rem;
    margin-right: 12px;
}

.item-before .comparison-icon {
    color: #e30201;
}

.item-after .comparison-icon {
    color: #00b700;
}

.demo-form h3,
.pricing-form h3 {
    color: #2fb5d2 !important;
}

.demo-form h3:after,
.pricing-form h3:after {
    background: #2fb5d2 !important;
}

/* Top Badge */
.badge-experience {
    background-color: #e0f7ff;
    color: #2fb5d2;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    display: inline-block;
}

/* Workflow Tab Styling */
.workflow-tabs {
    background: #e0f2f7;
    border-radius: 12px;
    padding: 5px;
    display: inline-flex;
    border: none;
}
.workflow-tabs .nav-link {
    color: #333;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 500;
}
.workflow-tabs .nav-link.active {
    background-color: #00acee !important; /* darkened from #00acee — white text passes 4.86:1 */
    color: white !important;
}

/* Carousel Customization */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Floating Arrows */
.custom-prev, .custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: none;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.custom-prev { left: -70px; }
.custom-next { right: -70px; }

/* Between 992px and ~1100px the Bootstrap container's side margin is
   narrower than the -70px arrow offset, so the "next" arrow sat 26-42px
   past the viewport edge and gave the whole page a horizontal scrollbar.
   Pull both arrows in across that band only; wider screens have enough
   margin and keep the original outside-the-image look. */
@media (min-width: 992px) and (max-width: 1099.98px) {
    .custom-prev { left: -20px; }
    .custom-next { right: -20px; }
}
.custom-prev:hover, .custom-next:hover { background: #f8f9fa; }

/* Custom Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #00acee;
    background-color: transparent;
    opacity: 1;
}
.carousel-indicators .active {
    background-color: #00acee;
}

/* Sizing for the workflow screenshots now lives in _workflow_section.php,
   next to the markup it applies to. Only the caption spacing is left here. */
.workflow-caption {
    margin-top: 1.75rem !important;
}
.carousel-item img {
    pointer-events: none;
}
.custom-prev, .custom-next {
    pointer-events: auto !important;
}

/* =====================================================
    RESPONSIVE: Tablet (768px – 991px)
    ===================================================== */
@media (max-width: 991px) {
    /* Bring arrows inside the carousel container */
    .custom-prev { left: -20px; }
    .custom-next { right: -20px; }

}

/* =====================================================
    RESPONSIVE: Mobile (up to 767px)
    ===================================================== */
@media (max-width: 767px) {

    /* --- Hero --- */
    /* Skip the large background image download on mobile — use a solid dark background instead.
        !important overrides the inline style="background-image:..." on the section element. */
    /* .hero {
        background-image: none !important;
        background-color: #0d1b2a;
    } */
    /* Overlay not needed without a background image */
    /* .hero:before {
        display: none;
    } */

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-plans-from {
        font-size: 1.6rem;
    }

    /* Stack hero buttons full-width */
    .hero .btn-primary,
    .hero .btn-secondary {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 12px;
        margin-right: 0;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 1rem !important;
    }

    /* --- Workflow tabs --- */
    .workflow-tabs {
        /* display: flex; */
        flex-wrap: wrap;
        width: auto;
        justify-content: center;
    }
    .workflow-tabs .nav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* --- Carousel --- */
    /* Bring arrows inside the image area on mobile */
    .custom-prev {
        left: 5px;
        width: 36px;
        height: 36px;
    }
    .custom-next {
        right: 5px;
        width: 36px;
        height: 36px;
    }

    .workflow-caption {
        min-height: 118px;
    }

    /* Accredited section: tighten gap */
    .accredited-wrapper .gap-5 {
        gap: 1.5rem !important;
    }
    .accredited-wrapper .col-lg-2 h4 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    .accredited-wrapper .d-flex.align-items-center div {
        width: 100%;
    }

    #features .col-lg-6.mb-4.mb-lg-0.text-center.text-lg-start.order-lg-1 {
        padding-top: 18px;
    }
}

/* =====================================================
    RESPONSIVE: Small mobile (up to 480px)
    ===================================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .workflow-caption {
        min-height: 132px;
    }

    .workflow-tabs .nav-link {
        padding: 7px 10px;
        font-size: 0.8rem;
    }
}

/*++++++++++++++ FAQ - Init ++++++++++++++++++ */
.cursor-pointer {
    cursor: pointer;
}

.faq-item {
    border-bottom: 1px solid #eee !important;
}

.faq-item h5 {
    font-size: 1.1rem;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.faq-item:hover h5 {
    color: #00aeef;
}

/* Icon rotation effect */
.faq-item .collapsed i {
    transform: rotate(0deg);
}

.faq-item i {
    transition: transform 0.3s ease;
    transform: rotate(90deg); /* Points down when open */
}

/* Remove borders from last item in category */
.faq-category .faq-item:last-child {
    border-bottom: none !important;
}

.text-info {
    color: #00aeef !important;
}
/*++++++++++++++ FAQ - End ++++++++++++++++++ */


.brochure-preview img {
    box-shadow: none !important;
}

.sub-title {
    background: linear-gradient(135deg, #00aeef 30%, #6fc0dd 100%);
    font-size: 50px;
    font-weight: 600;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    align-items: center;
    text-align: center;
    line-height: 4rem;
}

.features-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #00aeef 30%, #6fc0dd 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.3;
}

.data-protect .hero-description {
    color: #000;
}

.data-protect .hero-content {
    gap: 0;
}

/* Tablet (768-991px): the hero text runs full width here, but the base
   overlay above only darkens the left 80% and fades out, so the right end
   of the headline sat on the bright part of the photo. Use the same
   full-width overlay the pages already use on mobile. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero:before {
        width: 100%;
        background: linear-gradient(90deg,
                    rgba(0, 0, 0, 0.85) 0%,
                    rgba(0, 0, 0, 0.72) 55%,
                    rgba(0, 0, 0, 0.55) 100%);
    }
}
