/* ==========================================================================
   PAGES - Page-specific styles, clients, footer, dropdowns
   ========================================================================== */



.faviconfriend1 {
    margin-left: 22%;
}

.faviconfriend2 {
    margin-left: 15%
}






#mobileContent-b1.active, #desktopContent-b1.active {
    display: block;
}


.eprolink{
	color:#404b67!important;
}

#dropLang {
    padding: 0;
    border: none;
    width: 50px !important;
    min-width: 50px !important;
    left: 14px !important;
}

.dropdown-menu {
    padding: 0;
    border: none;
}

/* Products dropdown - compact width */
#productsDropdown + .dropdown-menu {
    min-width: auto;
}

#productsDropdown + .dropdown-menu .dropdown-item {
    padding: 8px 16px;
}

#dropLang li {
    width: 50px !important;
    min-width: 50px !important;
}

.dropdown-item {
    display: flex;
  
    align-items: center;
    padding: 5px 10px;
}

    .dropdown-item a {
        width: 40px !important;
        
    }


.aLang {
    color: black !important;
}

/* Fix dropdown text color for all navbar dropdowns (Products, Language) */
.navbar .dropdown-menu .dropdown-item {
    color: black !important;
}

#current-lang {
    margin-right: 8px;
}



@media(min-width:1000px)and (max-width: 1200px) {

}

@media(max-width:400px) {

    .client-images img {
        margin-left: auto;
        margin-right: auto;
    }

    .client-images {
        width: 40%;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media(max-width:1000px) {
    #mobileContent-b1 a {
        width: 60%;
    }
}

@media(max-width:1000px) {


    .navbar-custom {
        margin-top: 0;
        padding: 5px 0px !important;
        box-shadow: 0 10px 33px rgba(0, 0, 0, 0.1);
        color: #ffffff !important;
        background: #ffffff;
    }

    .navbar-brand {
        font-size: 0.9rem !important;
    }

    .navbar-custom .navbar-nav {
        margin-left: 0px;
    }

        .navbar-custom .navbar-nav li.active {
            border-color: transparent;
        }

        .navbar-custom .navbar-nav li a {
            transition: all 0.4s;
            margin: 6px;
            color: #404b67 !important;
            padding: 6px 0;
        }

    .navbar-custom > .container {
        width: 90%;
    }

    .navbar-white .navbar-toggler {
        color: #404b67 !important;
    }

    .navbar-button {
        margin-top: 15px;
        margin-left: 0px;
    }

    .navbar-custom .navbar-nav li.active a,
    .navbar-custom .navbar-nav li a:hover,
    .navbar-custom .navbar-nav li a:active {
        color: #1e57c7 !important;
    }

    .navbar-toggler {
        font-size: 24px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    /* Mobile menu - hidden by default, shown when toggled */
    .navbar-collapse-custom {
        display: none;
        width: 100%;
        flex-basis: 100%;
    }

    .navbar-collapse-custom.show {
        display: block;
    }

    .home-title {
        font-size: 32px;
    }

    .carousel-indicators {
        right: 0;
    }

    .logo .logo-light {
        display: none;
    }

    .logo .logo-dark {
        display: inline-block;
    }

    .pricing-box.active {
        transform: none;
    }

    .text-muted {
        text-align: center;
    }


    .client-images {
        width: 40% !important;
    }







}
    @media(min-width:1000px) {
        #featuresSolutions {
        }
    }

    @media (min-width: 200px) and (max-width: 1200px) {





        .client-images img {
            margin-left: auto !important;
            margin-right: auto !important;
        }

        .client-images {
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    @media (max-width: 768px) {
        .carousel-indicators button {
            width: 75px;
            height: 75px;
        }


        .navbar-brand {
            font-size: 0.7rem !important;
        }


        .faviconCrm {
            margin-left: auto;
            margin-right: auto;
            width: 15%;
            margin-bottom: 22px;
            text-align: center;
        }


        .section {
            padding-top: 50px;
            padding-bottom: 50px;
        }

        #tailored .row.mt-5 {
            margin-top: 1.5rem !important;
        }

        /* Service boxes spacing - disable flex stretch on mobile */
        .row:has(.service-box) > [class*="col-"] {
            display: block;
        }

        .service-box {
            height: auto;
            margin-bottom: 20px;
        }
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 1320px !important;
        }
    }

/* Mobile process diagram - vertical flow */
@media (max-width: 767px) {
    .process-diagram {
        flex-direction: column !important;
    }

    .process-diagram .process-arrow {
        display: block !important;
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .process-diagram .process-step {
        width: 100%;
    }
}

/* Icon sizes on small screens */
@media (max-width: 576px) {
    .service-box .fa-4x {
        font-size: 2.5rem !important;
    }

    .service-box .fa-3x {
        font-size: 2rem !important;
    }
}

/* Contact form button full-width on mobile */
@media (max-width: 576px) {
    .custom-form .btn {
        width: 100%;
    }
}

/* Text size hierarchy for mobile */
@media (max-width: 576px) {
    p {
        font-size: 15px;
        line-height: 24px;
    }

    .title-box h1 {
        font-size: 1.75rem;
    }
}

/* Custom bullet styling */
.text-muted ul,
ul.text-muted,
ul.custom-bullets {
    list-style: none;
    padding-left: 0;
}

.text-muted ul li,
ul.text-muted li,
ul.custom-bullets li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.text-muted ul li:before,
ul.text-muted li:before,
ul.custom-bullets li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c"; /* fa-check */
    color: #528fcf;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 4px;
}

/* Tailored section mobile fixes */
@media (max-width: 991.98px) {
    #tailored .row.mt-5 {
        text-align: center;
    }

    #tailored .col-lg-6 ul {
        text-align: left;
        display: inline-block;
    }

    #tailored .btn-primary {
        display: block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    #tailored {
        padding: 40px 0;
    }

    #tailored h3 {
        margin-top: 20px;
    }
}

/* Mobile Process Carousel - Horizontal Scrollable Pills */
.process-carousel-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    margin: 0 -15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.process-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.process-carousel {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    min-width: min-content;
}

.process-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #528fcf;
    border-radius: 25px;
    padding: 10px 16px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.process-pill i {
    font-size: 16px;
    color: #528fcf;
}

.process-pill span {
    font-weight: 600;
    font-size: 14px;
    color: #404b67;
}

/* Option 1: Arrow Connectors */
.process-carousel-arrows {
    gap: 40px;
}

.process-carousel-arrows .process-pill {
    position: relative;
}

.process-carousel-arrows .process-pill:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    right: -32px;
    font-size: 18px;
    color: #528fcf;
    font-weight: bold;
    z-index: 1;
}

/* Option 2: Dotted Lines */
.process-carousel-dotted {
    gap: 28px;
}

.process-carousel-dotted .process-pill {
    position: relative;
}

.process-carousel-dotted .process-pill:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    width: 18px;
    height: 2px;
    border-top: 2px dotted #528fcf;
    top: 50%;
    transform: translateY(-50%);
}

.process-carousel-dotted .process-pill:not(:last-child)::before {
    content: '\25B6';
    position: absolute;
    right: -30px;
    font-size: 8px;
    color: #528fcf;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Option 3: Chevron Pills */
.process-carousel-chevron {
    gap: 0;
}

.process-carousel-chevron .process-pill {
    position: relative;
    border-radius: 25px 5px 5px 25px;
    padding: 10px 20px 10px 16px;
    margin-right: 14px;
}

.process-carousel-chevron .process-pill:first-child {
    padding-left: 16px;
}

.process-carousel-chevron .process-pill:last-child {
    border-radius: 5px 25px 25px 5px;
    margin-right: 0;
}

.process-carousel-chevron .process-pill:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #528fcf;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    z-index: 2;
}

.process-carousel-chevron .process-pill:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid white;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    z-index: 3;
}

/* Utility classes to replace inline styles */
.navbar-collapse-custom {
    justify-content: space-between;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-primary-icon {
    color: #528fcf;
}

.text-primary-heading {
    color: var(--bs-primary);
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #fb3e3e;
    background-image: none;
}

.form-control.is-invalid:focus {
    border-color: #fb3e3e;
    box-shadow: 0 0 0 0.2rem rgba(251, 62, 62, 0.25);
}

.invalid-feedback {
    display: block;
    color: #fb3e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* reCAPTCHA badge visibility */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    font-size: 0.75rem;
    color: #808eb1;
}

.recaptcha-notice a {
    color: #528fcf;
}

/* Landing page images - smooth edge fade */
.img-fade {
    mask-image: radial-gradient(ellipse 90% 85% at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, black 60%, transparent 100%);
}

/* Alternative: Fade only bottom edge */
.img-fade-bottom {
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Fade all edges softly */
.img-fade-soft {
    mask-image: radial-gradient(ellipse 85% 80% at center, black 50%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at center, black 50%, transparent 95%);
}

/* Landing images - rounded corners */
.img-landing {
    border-radius: 20px;
}

/* Contact section with background image on mobile */
#contact {
    position: relative;
}

#contact .contact-bg-mobile {
    display: none;
}

/* Desktop: show image in column, smaller size */
#contact .contact-img-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact .contact-img-desktop img {
    max-height: 460px;
    max-width: 460px;
    width: auto;
    object-fit: contain;
}

/* Reduce spacing in contact section */
#contact .title-box {
    margin-bottom: 0;
}

#contact .row.align-items-center.mt-5.pt-2 {
    margin-top: 1.5rem !important;
    padding-top: 0 !important;
}

/* Make contact row stretch to equal heights */
#contact .row.align-items-center {
    align-items: stretch !important;
}

#contact .row.align-items-center > .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991.98px) {
    /* Mobile: hide desktop image column */
    #contact .contact-img-desktop {
        display: none !important;
    }

    /* Mobile: show background image behind title */
    #contact .contact-bg-mobile {
        display: block;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        opacity: 0.12;
        z-index: 0;
        pointer-events: none;
    }

    #contact .container {
        position: relative;
        z-index: 1;
    }
}

/* Why-ReWrite mobile alignment fix */
@media (max-width: 767.98px) {
    #why-rewrite .d-flex {
        text-align: left;
    }
    #why-rewrite .flex-grow-1 h5,
    #why-rewrite .flex-grow-1 p {
        text-align: left;
    }
}

/* ========================================
   Product Page Hero - Desktop/Mobile
   ======================================== */

/* Desktop: hide mobile elements, show desktop layout */
.hero-overlay-mobile,
.hero-desc-mobile {
    display: none;
}

.hero-desktop {
    display: flex;
}

/* ========================================
   Product Page Hero - Mobile Gradient Overlay
   ======================================== */

@media (max-width: 991.98px) {
    /* Hide desktop layout on mobile */
    .hero-desktop {
        display: none !important;
    }

    /* More breathing room from navbar on product pages */
    .bg-home-2.section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    /* Show mobile overlay hero */
    .hero-overlay-mobile {
        display: block;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        min-height: 340px;
        margin-top: 20px;
    }

    .hero-overlay-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        z-index: 0;
    }

    .hero-overlay-gradient {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(30, 87, 199, 0.75) 0%,
            rgba(22, 78, 99, 0.85) 60%,
            rgba(22, 78, 99, 0.95) 100%
        );
        z-index: 1;
    }

    .hero-overlay-content {
        position: relative;
        z-index: 2;
        padding: 48px 24px 36px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 340px;
        text-align: center;
    }

    .hero-overlay-content .home-title {
        color: #ffffff;
        font-size: 2rem;
        line-height: 1.3;
        font-weight: 700;
        margin: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        max-width: 100%;
    }

    .btn-hero-overlay {
        background: #ffffff;
        color: #1e57c7;
        border: none;
        padding: 10px 28px;
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: 6px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .btn-hero-overlay:hover {
        background: #e6effe;
        color: #1e57c7;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* Show mobile description below overlay */
    .hero-desc-mobile {
        display: block;
        padding: 24px 8px 0;
    }

    .hero-desc-mobile .home-desc {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 100%;
        margin: 0;
    }

    /* Challenge block mobile */
    .challenge-block {
        padding: 20px;
    }

    .challenge-block h3 {
        font-size: 1.1rem;
        text-align: left;
    }

    .challenge-block .text-muted {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .hero-overlay-mobile {
        min-height: 300px;
        margin-top: 16px;
        border-radius: 12px;
    }

    .hero-overlay-content {
        padding: 40px 20px 32px;
        min-height: 300px;
    }

    .hero-overlay-content .home-title {
        font-size: 1.65rem;
    }

    .btn-hero-overlay {
        width: auto;
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .hero-desc-mobile .home-desc {
        font-size: 0.875rem;
    }
}

/* Sticky mobile CTA - hidden on desktop */
.sticky-cta-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .sticky-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 24px;
        right: 20px;
        width: 52px;
        height: 52px;
        background: #1e57c7;
        color: #ffffff;
        border-radius: 50%;
        font-size: 1.2rem;
        box-shadow: 0 4px 16px rgba(30, 87, 199, 0.4);
        z-index: 998;
        transition: transform 0.2s, box-shadow 0.2s;
        text-decoration: none;
    }
    .sticky-cta-mobile:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(30, 87, 199, 0.5);
        color: #ffffff;
    }
}

/* ePRO 3rd feature image - cap width on desktop */
@media (min-width: 992px) {
    .feature-img-capped img {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
