/* Frontend-only responsive polish. Loaded last for public pages. */

body.frontend-public {
    min-width: 0;
    overflow-x: hidden;
}

body.frontend-public img,
body.frontend-public svg,
body.frontend-public video,
body.frontend-public canvas {
    max-width: 100%;
}

body.frontend-public .container {
    min-width: 0;
}

body.frontend-public .navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: 74px;
    border-bottom: 1px solid rgba(226, 232, 240, .78);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}

body.frontend-public .navbar > .container {
    min-width: 0;
}

body.frontend-public .navbar-brand img {
    width: auto;
    height: 58px;
    object-fit: contain;
}

body.frontend-public .header-language-dropdown .dropdown-toggle,
body.frontend-public .navbar-toggler,
body.frontend-public .navbar .btn {
    min-height: 42px;
    border-radius: 999px;
}

body.frontend-public .navbar-toggler {
    width: 42px;
    min-width: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: rgba(13, 95, 106, .18);
}

body.frontend-public .offcanvas#mobileOffcanvas {
    width: min(86vw, 360px);
}

body.frontend-public .offcanvas#mobileOffcanvas .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
}

body.frontend-public .offcanvas#mobileOffcanvas .nav-link.active,
body.frontend-public .offcanvas#mobileOffcanvas .nav-link:focus,
body.frontend-public .offcanvas#mobileOffcanvas .nav-link:hover {
    background: rgba(39, 142, 149, .1);
    color: #0d5f6a;
}

body.frontend-public .hero-section {
    min-height: clamp(520px, 72vh, 720px);
    height: auto !important;
    display: flex;
    align-items: center;
    isolation: isolate;
}

body.frontend-public .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 29, 36, .78), rgba(0, 65, 75, .46));
    pointer-events: none;
}

body.frontend-public .hero-section .container {
    z-index: 1;
}

body.frontend-public .hero-section h1,
body.frontend-public .hero-section p {
    overflow-wrap: anywhere;
}

body.frontend-public .hero-section button,
body.frontend-public .hero-section a.btn,
body.frontend-public .dashboard-section button,
body.frontend-public .cta-sectioncard button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding-block: 0;
}

body.frontend-public .hero-section button p,
body.frontend-public .dashboard-section button p,
body.frontend-public .cta-sectioncard button p {
    margin: 0;
}

body.frontend-public .aboutus-imgDiv,
body.frontend-public .dashboard-mockupDiv,
body.frontend-public .blog-card,
body.frontend-public .testimonial-card,
body.frontend-public .cta-sectioncard,
body.frontend-public .stat-card {
    overflow: hidden;
}

body.frontend-public .aboutus-imgDiv img,
body.frontend-public .dashboard-mockupDiv img {
    width: 100%;
    height: auto;
}

body.frontend-public .iconwith-accordian .accordion-button {
    min-width: 0;
}

body.frontend-public .iconwith-accordian .accordion-button h3,
body.frontend-public .feature-checkDiv .feature-check h3 {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.frontend-public .dashboard-section {
    background-position: center;
}

body.frontend-public .dashboard-section::after {
    background: linear-gradient(95.52deg, rgba(2, 72, 80, .96) 20%, rgba(2, 72, 80, .86) 100%);
}

body.frontend-public .testimonial-carousel-wrapper,
body.frontend-public .blogs-carousel {
    min-width: 0;
}

body.frontend-public .owl-stage-outer {
    overflow: visible;
}

body.frontend-public .testimonial-card,
body.frontend-public .blog-card {
    min-height: 100%;
}

body.frontend-public .state-grid {
    display: grid;
}

body.frontend-public .frontend-footer {
    border-top: 1px solid rgba(226, 232, 240, .9);
}

body.frontend-public .frontend-footer-logo {
    width: auto;
    object-fit: contain;
}

body.frontend-public .frontend-footer-text,
body.frontend-public .footer-list a,
body.frontend-public .frontend-footer-copyright {
    overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.frontend-public .navbar {
        min-height: 78px;
    }

    body.frontend-public .navbar-brand img {
        height: 60px;
    }

    body.frontend-public .hero-section {
        min-height: 620px;
        padding-top: 92px !important;
        padding-bottom: 140px !important;
    }

    body.frontend-public .hero-section h1 {
        max-width: 780px;
        font-size: clamp(42px, 6vw, 58px);
        line-height: 1.08;
    }

    body.frontend-public .hero-section p {
        max-width: 680px;
        font-size: 16px;
        line-height: 1.65;
    }

    body.frontend-public .py-100 {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    body.frontend-public .sectionrounded-spacingdiv {
        padding-bottom: 92px !important;
    }

    body.frontend-public .sectionrounded-div {
        border-top-left-radius: 34px !important;
        border-top-right-radius: 34px !important;
        margin-top: -34px !important;
    }

    body.frontend-public .sectionrounded-div h2,
    body.frontend-public .dashboard-section h2,
    body.frontend-public .testimonial-slider h2,
    body.frontend-public .blogslider-section h2 {
        font-size: clamp(30px, 4vw, 38px);
    }

    body.frontend-public .iconwith-accordian .accordion-button {
        padding: 18px 0;
    }

    body.frontend-public .accordian-svgicon {
        width: 52px;
        min-width: 52px;
        height: 52px;
    }

    body.frontend-public .iconwith-accordian .accordion-body {
        padding-left: 68px;
    }

    body.frontend-public .feature-checkDiv .feature-check {
        gap: 18px;
        padding: 22px 0;
    }

    body.frontend-public .state-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    body.frontend-public .frontend-footer-row {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    body.frontend-public .navbar {
        min-height: 62px;
    }

    body.frontend-public .navbar > .container {
        flex-direction: row-reverse !important;
        gap: 8px !important;
        padding-inline: 12px;
    }

    body.frontend-public .navbar-brand {
        margin: 0 auto 0 0;
    }

    body.frontend-public .navbar-brand img {
        height: 40px !important;
        max-width: 112px;
    }

    body.frontend-public .header-language-dropdown .dropdown-toggle {
        min-height: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 11px;
    }

    body.frontend-public .navbar-toggler {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }

    body.frontend-public .navbar .btn-outline-darktertiory.d-block {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0 !important;
    }

    body.frontend-public .hero-section {
        min-height: 480px;
        padding: 72px 0 92px !important;
        text-align: center;
    }

    body.frontend-public .hero-sectionbg {
        object-position: center;
    }

    body.frontend-public .hero-section::after {
        background: linear-gradient(180deg, rgba(0, 28, 34, .82), rgba(0, 73, 82, .6));
    }

    body.frontend-public .hero-section h1 {
        max-width: 100%;
        padding-bottom: 16px !important;
        font-size: clamp(25px, 8.2vw, 34px) !important;
        line-height: 1.12;
    }

    body.frontend-public .hero-section p {
        padding-bottom: 18px !important;
        font-size: 12.5px !important;
        line-height: 1.55 !important;
    }

    body.frontend-public .hero-section .d-flex {
        gap: 10px !important;
    }

    body.frontend-public .hero-section button,
    body.frontend-public .hero-section a.btn {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        flex: 1 1 132px;
        max-width: 168px;
        padding-inline: 12px;
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    body.frontend-public .hero-section button p,
    body.frontend-public .hero-section a.btn p {
        margin: 0 !important;
        line-height: 1.1 !important;
    }

    body.frontend-public .py-100 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    body.frontend-public .pt-50 {
        padding-top: 34px !important;
    }

    body.frontend-public .pb-50 {
        padding-bottom: 24px !important;
    }

    body.frontend-public .pb-30 {
        padding-bottom: 14px !important;
    }

    body.frontend-public .sectionrounded-spacingdiv {
        padding-bottom: 62px !important;
    }

    body.frontend-public .sectionrounded-div {
        border-top-left-radius: 24px !important;
        border-top-right-radius: 24px !important;
        margin-top: -24px !important;
    }

    body.frontend-public .sectionrounded-div h2,
    body.frontend-public .dashboard-section h2,
    body.frontend-public .testimonial-slider h2,
    body.frontend-public .blogslider-section h2 {
        font-size: clamp(22px, 6.5vw, 28px) !important;
        line-height: 1.15 !important;
    }

    body.frontend-public .sectionrounded-div p,
    body.frontend-public .dashboard-section p,
    body.frontend-public .testimonial-slider p,
    body.frontend-public .blogslider-section p,
    body.frontend-public .cta-sectioncard p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
    }

    body.frontend-public .aboutus-imgDiv {
        border-radius: 18px !important;
        margin-bottom: 12px;
    }

    body.frontend-public .aboutus-imgDiv img {
        aspect-ratio: 1 / .75;
        object-fit: cover !important;
    }

    body.frontend-public .iconwith-accordian .accordion-button {
        min-height: 54px;
        padding: 10px 0 !important;
        align-items: center;
    }

    body.frontend-public .accordian-svgicon {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
    }

    body.frontend-public .accordian-svgicon svg {
        width: 18px !important;
        height: 18px !important;
    }

    body.frontend-public .iconwith-accordian .accordion-button h3 {
        margin-left: 10px !important;
        font-size: 11.5px !important;
        line-height: 1.12 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.frontend-public .iconwith-accordian .accordion-body {
        padding: 0 0 10px 45px !important;
        font-size: 12px;
        line-height: 1.55;
    }

    body.frontend-public .iconwith-accordian .accordion-collapse {
        top: 0 !important;
    }

    body.frontend-public .dashboard-section {
        text-align: center;
        background-position: center;
    }

    body.frontend-public .dashboard-mockupDiv {
        max-width: 420px;
        margin-inline: auto;
        border-radius: 18px;
        padding: 7px;
    }

    body.frontend-public .feature-checkDiv {
        padding-bottom: 18px !important;
        text-align: left;
    }

    body.frontend-public .feature-checkDiv .feature-check {
        gap: 10px !important;
        padding: 13px 0 !important;
        align-items: center;
    }

    body.frontend-public .feature-checkDiv .feature-check h3 {
        font-size: 11px !important;
        line-height: 1.15 !important;
    }

    body.frontend-public .feature-checkDiv .feature-check svg {
        width: 22px;
        height: 22px;
    }

    body.frontend-public .testimonial-slider .col-md-5 {
        text-align: left;
    }

    body.frontend-public .testimonial-card {
        border-radius: 18px !important;
        padding: 18px !important;
    }

    body.frontend-public .testimonial-stars {
        font-size: 14px;
        letter-spacing: 3px;
    }

    body.frontend-public .testimonial-title {
        font-size: 15px;
    }

    body.frontend-public .testimonial-subtitle {
        font-size: 11px !important;
    }

    body.frontend-public .testimonial-carousel-wrapper .owl-stage-outer,
    body.frontend-public .blogs-carousel .owl-stage-outer {
        overflow: visible !important;
    }

    body.frontend-public .owl-nav {
        position: static !important;
        transform: none !important;
        display: flex !important;
        justify-content: center;
        gap: 12px;
        margin-top: 18px;
    }

    body.frontend-public .owl-prev,
    body.frontend-public .owl-next {
        width: 34px !important;
        height: 34px !important;
    }

    body.frontend-public .cta-section {
        padding-block: 36px;
    }

    body.frontend-public .cta-sectioncard {
        min-height: 280px;
        padding: 34px 20px !important;
        border-radius: 18px !important;
    }

    body.frontend-public .cta-sectioncard h2 {
        font-size: 24px !important;
        line-height: 1.12 !important;
    }

    body.frontend-public .cta-sectioncard button {
        min-height: 40px;
        font-size: 9.5px !important;
        padding-inline: 12px;
    }

    body.frontend-public .state-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.frontend-public .stat-card {
        min-height: 70px;
        padding: 13px 14px !important;
        border-radius: 12px !important;
    }

    body.frontend-public .stat-number {
        font-size: 24px !important;
        line-height: 1.05;
    }

    body.frontend-public .stat-label {
        font-size: 11px !important;
        line-height: 1.2;
    }

    body.frontend-public .blogslider-section .text-center {
        padding-bottom: 24px !important;
    }

    body.frontend-public .blog-imageDiv {
        height: auto !important;
        aspect-ratio: 1.55 / 1;
    }

    body.frontend-public .blog-card {
        border-radius: 18px !important;
    }

    body.frontend-public .blog-info h4 {
        font-size: 15px !important;
        line-height: 1.25 !important;
        word-break: normal !important;
        -webkit-line-clamp: 2 !important;
    }

    body.frontend-public .blog-info p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    body.frontend-public .mb-100 {
        margin-bottom: 34px !important;
    }

    body.frontend-public .frontend-footer {
        padding-top: 36px !important;
        padding-bottom: 18px !important;
        text-align: center;
    }

    body.frontend-public .frontend-footer-logo-wrap {
        justify-content: center;
    }

    body.frontend-public .frontend-footer-logo {
        height: 52px !important;
    }

    body.frontend-public .frontend-footer-text {
        max-width: 320px;
        margin-inline: auto;
        font-size: 12px;
        line-height: 1.55;
    }

    body.frontend-public .frontend-footer-row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 24px;
    }

    body.frontend-public .frontend-footer .col-6 {
        text-align: left;
    }

    body.frontend-public .frontend-footer .col-md-4.col-lg-2 {
        width: 100%;
        text-align: center;
    }

    body.frontend-public .frontend-footer .footer-title {
        font-size: 13px !important;
        line-height: 1.2;
        margin-bottom: 10px !important;
    }

    body.frontend-public .frontend-footer .footer-list {
        gap: 7px !important;
    }

    body.frontend-public .frontend-footer .footer-list a {
        font-size: 12px !important;
        line-height: 1.35;
    }

    body.frontend-public .frontend-footer-copyright {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(226, 232, 240, .9);
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 380px) {
    body.frontend-public .hero-section h1 {
        font-size: 23px !important;
    }

    body.frontend-public .hero-section button,
    body.frontend-public .hero-section a.btn {
        flex-basis: 116px;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        font-size: 9px !important;
    }

    body.frontend-public .iconwith-accordian .accordion-button h3,
    body.frontend-public .feature-checkDiv .feature-check h3 {
        font-size: 10px !important;
    }
}

/* Final homepage hero CTA balance for mobile and tablet. */
@media (max-width: 991.98px) {
    body.frontend-public .hero-section .hero-cta-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: min(100%, 292px) !important;
        margin-inline: auto !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .ripple-btn,
    body.frontend-public .hero-section .hero-cta-row > .btn-secondary,
    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 0 10px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .14) !important;
        touch-action: manipulation !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .btn-secondary {
        background: #fff !important;
        border: 1px solid #fff !important;
        color: #061b22 !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory {
        background: rgba(0, 0, 0, .12) !important;
        border: 1px solid rgba(255, 255, 255, .84) !important;
        color: #fff !important;
        backdrop-filter: blur(8px) !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .ripple-btn p,
    body.frontend-public .hero-section .hero-cta-row > .btn-secondary p,
    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory p {
        width: 100% !important;
        margin: 0 !important;
        color: inherit !important;
        font: inherit !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    body.frontend-public .hero-section .hero-cta-row {
        width: min(100%, 360px) !important;
        gap: 12px !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .ripple-btn,
    body.frontend-public .hero-section .hero-cta-row > .btn-secondary,
    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding-inline: 12px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 575px) {
    body.frontend-public .hero-section .hero-cta-row > .btn-secondary,
    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory {
        font-size: 11px !important;
        line-height: 1.2 !important;
        padding: 7px 12px !important;
        height: 35px !important;
        min-height: 35px !important;
        max-height: 35px !important;
    }
}

@media (max-width: 360px) {
    body.frontend-public .hero-section .hero-cta-row {
        width: min(100%, 270px) !important;
        gap: 8px !important;
    }

    body.frontend-public .hero-section .hero-cta-row > .ripple-btn,
    body.frontend-public .hero-section .hero-cta-row > .btn-secondary,
    body.frontend-public .hero-section .hero-cta-row > .btn-tertiory {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        padding-inline: 8px !important;
        font-size: 8.5px !important;
    }
}

/* Compact spacing for mobile/tablet sidebar action buttons. */
@media (max-width: 991.98px) {
    body.frontend-public .frontend-mobile-menu-body {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.frontend-public .frontend-mobile-menu-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 2px !important;
        padding-top: 0 !important;
    }

    body.frontend-public .frontend-mobile-menu-actions .btn {
        width: 100% !important;
        min-height: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 14px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.frontend-public .frontend-mobile-menu-actions .btn p {
        width: 100% !important;
        margin: 0 !important;
        color: inherit !important;
        font: inherit !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 575.98px) {
    body.frontend-public .frontend-mobile-menu-body {
        gap: 8px !important;
        padding: 10px !important;
    }

    body.frontend-public .frontend-mobile-menu-actions {
        gap: 4px !important;
        margin-top: 0 !important;
    }

    body.frontend-public .frontend-mobile-menu-actions .btn {
        min-height: 32px !important;
        height: 32px !important;
        border-radius: 7px !important;
        font-size: 11px !important;
    }
}

/* Prevent mobile/tablet viewport zoom when focusing form controls. */
@media (max-width: 1199.98px) {
    body.frontend-public input,
    body.frontend-public select,
    body.frontend-public textarea,
    body.frontend-public button,
    body.frontend-public .form-control,
    body.frontend-public .form-select,
    body.frontend-public .select2-container--default .select2-selection--single,
    body.frontend-public .select2-container--default .select2-selection--multiple,
    body.frontend-public .select2-container--default .select2-search--dropdown .select2-search__field {
        font-size: 16px !important;
    }
}
