html,
body {
    overflow-x: hidden;
}

@media only screen and (max-width: 575px) {
    .topbar,
    .kara-topbar {
        padding: 10px 0 !important;
        background: linear-gradient(135deg, #0d3f22 0%, #1c7b3d 58%, #74df55 100%) !important;
    }

    .topbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .topbar .row {
        gap: 0;
    }

    .topbar-contact-info ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .topbar-contact-info ul li {
        margin: 0 !important;
        width: 100%;
    }

    .topbar-contact-info ul li:first-child,
    .topbar-contact-info ul li:last-child {
        grid-column: 1 / -1;
    }

    .topbar-contact-info ul li a {
        width: 100%;
        min-height: 42px;
        padding: 9px 12px !important;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff !important;
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .topbar-contact-info ul li:first-child a,
    .topbar-contact-info ul li:last-child a {
        justify-content: center;
        max-width: 360px;
        margin: 0 auto;
    }

    header.main-header .header-sticky {
        padding: 0 !important;
    }

    header.main-header .navbar,
    header.main-header .navbar > .container,
    header.main-header .navbar > .container-fluid,
    .kara-navbar-card,
    .kara-navbar-layout {
        min-height: 72px !important;
    }

    .kara-navbar-card {
        padding: 0 20px !important;
    }

    .kara-navbar-layout {
        grid-template-columns: auto auto !important;
        justify-content: space-between;
        column-gap: 12px !important;
    }

    header.main-header .navbar-brand,
    .kara-brand,
    .kara-brand-mark {
        width: 118px !important;
        height: 58px !important;
        max-width: 118px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    header.main-header .navbar-brand img,
    .kara-brand-mark img {
        width: 100% !important;
        height: 152% !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: contain;
        transform: scale(1.08) !important;
        transform-origin: left center;
    }

    .responsive-menu,
    .navbar-toggle {
        margin-left: auto;
    }

    .slicknav_btn {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    .hero.kara-hero {
        padding-top: 18px !important;
    }

    .consultation-copy h2 {
        margin-top: 0 !important;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.navbar-brand img,
.footer-logo img {
    object-fit: contain;
}

.footer-logo img {
    max-width: 190px;
    max-height: 86px;
}

.service-item,
.project-item {
    height: 100%;
}

.service-box-link,
.project-box-link {
    z-index: 2;
}

.step-content p,
.service-content p,
.solution-process-card p,
.kara-solution-detail p,
.solution-points li {
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: 0 !important;
    text-wrap: pretty;
}

.step-item {
    padding-left: 24px;
    padding-right: 24px;
}

.step-content h3 {
    line-height: 1.2;
}

.step-content p {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.main-menu ul li.submenu ul {
    min-width: 245px;
}

.main-menu ul li.submenu ul li a {
    white-space: nowrap;
}

.kara-compact-page-header {
    padding: 90px 0;
}

.kara-solution-detail {
    padding: 80px 0 55px;
}

.kara-solution-detail p {
    margin-bottom: 18px;
    line-height: 1.72;
}

.solution-detail-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.solution-points {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.solution-points li {
    position: relative;
    padding-left: 28px;
    line-height: 1.55;
}

.solution-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4caf50;
}

.kara-solution-process {
    padding: 25px 0 80px;
}

.solution-process-card {
    height: 100%;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(22, 51, 0, 0.08);
}

.solution-process-card h3 {
    margin-bottom: 10px;
}

.solution-process-card p {
    margin-bottom: 0;
    line-height: 1.6;
}

@media only screen and (max-width: 991px) {
    .topbar {
        display: block !important;
        padding: 8px 0 !important;
    }

    header.main-header {
        margin: 0 !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        background: #ffffff !important;
    }

    header.main-header .header-sticky {
        padding: 0 !important;
        background: #ffffff;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }

    .navbar,
    .navbar > .container,
    .navbar > .container-fluid,
    .kara-navbar-layout {
        min-height: 72px;
    }

    .navbar > .container,
    .navbar > .container-fluid,
    .kara-navbar-layout {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
    }

    .kara-navbar-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navbar-brand,
    .kara-brand {
        max-width: calc(100% - 58px);
        padding: 0;
    }

    .kara-brand-mark,
    .navbar-brand img {
        width: auto !important;
        height: 64px !important;
        max-height: 64px !important;
        max-width: 190px !important;
        transform: none !important;
    }

    .kara-brand-mark img {
        width: auto !important;
        height: 64px !important;
        transform: none !important;
    }

    .main-menu {
        display: none !important;
    }

    .responsive-menu,
    .navbar-toggle {
        display: block;
    }

    .navbar-toggle {
        flex: 0 0 auto;
    }

    .responsive-menu {
        left: 0;
        right: 0;
        width: auto;
        z-index: 999;
        background: transparent !important;
    }

    .slicknav_menu {
        border-radius: 0 0 12px 12px;
        max-height: calc(100vh - 95px);
        overflow: auto;
        margin-top: 0;
        box-shadow: 0 14px 30px rgba(22, 51, 0, 0.16);
    }

    .slicknav_nav {
        padding: 8px 0;
    }

    .slicknav_nav .slicknav_row,
    .slicknav_nav li a {
        padding: 9px 16px;
    }

    .topbar-contact-info ul,
    .header-social-links ul,
    .footer-contact .row,
    .footer-copyright .row {
        row-gap: 12px;
    }
}

.kara-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kara-quote-modal.is-open {
    display: flex;
}

.quote-modal-open {
    overflow: hidden;
}

.kara-quote-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 1, 0.64);
    backdrop-filter: blur(5px);
}

.kara-quote-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 28px;
    border-radius: 8px;
    background: #f5f8ff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.kara-quote-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #163300;
}

.kara-quote-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 34px 28px 0;
    padding: 4px;
    border-radius: 999px;
    background: #eaf0fb;
}

.kara-quote-tabs button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5c6477;
    font-weight: 700;
}

.kara-quote-tabs button.active {
    background: #dbe7fb;
    color: #071426;
}

.kara-quote-dialog h2 {
    margin: 0 0 10px;
    color: #10213d;
    font-size: 32px;
    line-height: 1.15;
}

.kara-quote-intro {
    margin-bottom: 24px;
    color: #5f6678;
}

.kara-quote-input {
    width: 100%;
    height: 58px;
    margin-bottom: 18px;
    padding: 0 18px;
    border: 1px solid #d8deea;
    border-radius: 8px;
    background: #ffffff;
    color: #12203a;
}

.kara-quote-label {
    display: block;
    margin-bottom: 10px;
    color: #5a6378;
    font-weight: 600;
}

.kara-bill-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.kara-bill-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid #d8deea;
    border-radius: 8px;
    background: #ffffff;
    color: #13223c;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.kara-bill-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kara-bill-options label:has(input:checked) {
    border-color: #89ea5f;
    background: #efffe8;
}

.kara-quote-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 6px 0 22px;
    color: #5d6678;
    font-size: 14px;
}

.kara-quote-consent a {
    color: #11236a;
    text-decoration: underline;
}

.kara-quote-submit {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #172aae 0%, #080b18 100%);
    color: #ffffff;
    font-weight: 800;
}

@media only screen and (max-width: 991px) {
    .topbar .container,
    .topbar .row,
    .topbar [class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .topbar .row {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .topbar-contact-info ul,
    .header-social-links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px;
        margin: 0;
        padding: 0;
    }

    .topbar-contact-info ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        font-size: 12.5px;
        line-height: 1.2;
        white-space: nowrap;
        max-width: 100%;
    }

    .topbar-contact-info ul li i {
        margin-right: 0;
        flex: 0 0 auto;
    }

    .header-social-links ul {
        gap: 8px;
    }

    .header-social-links ul li a {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.14);
    }
}

@media only screen and (max-width: 575px) {
    .kara-quote-dialog {
        padding: 22px 16px;
    }

    .kara-quote-tabs {
        grid-template-columns: 1fr;
        border-radius: 8px;
        margin-right: 42px;
    }

    .kara-quote-tabs button {
        border-radius: 8px;
    }

    .kara-quote-dialog h2 {
        font-size: 25px;
    }

    .kara-bill-options {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 575px) {
    .navbar > .container,
    .navbar > .container-fluid,
    .kara-navbar-layout {
        min-height: 66px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .kara-brand-mark,
    .navbar-brand img,
    .kara-brand-mark img {
        height: 54px !important;
        max-height: 54px !important;
        max-width: 155px !important;
    }

    .topbar-contact-info ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
    }

    .topbar-contact-info li,
    .topbar-contact-info a {
        min-width: 0;
    }

    .topbar-contact-info ul li a {
        width: 100%;
        font-size: 11.5px;
        padding: 7px 8px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar-contact-info ul li:first-child {
        grid-column: 1 / -1;
    }

    .header-social-links {
        display: none;
    }

    .fixed-contact {
        right: 12px !important;
        bottom: 12px !important;
    }

    .contact-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }

    .page-header-box h1,
    .hero-content h1 {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .footer-links {
        margin-bottom: 24px;
    }

    .kara-compact-page-header {
        padding: 55px 0;
    }

    .kara-solution-detail {
        padding: 45px 0 30px;
    }

    .kara-solution-process {
        padding: 10px 0 50px;
    }

    .solution-process-card {
        padding: 22px;
    }
}

@media only screen and (max-width: 575px) {
    .topbar,
    .kara-topbar {
        padding: 10px 0 !important;
        background: linear-gradient(135deg, #0d3f22 0%, #1c7b3d 58%, #74df55 100%) !important;
    }

    .topbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .topbar .row {
        gap: 0;
    }

    .topbar-contact-info ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .topbar-contact-info ul li {
        margin: 0 !important;
        width: 100%;
    }

    .topbar-contact-info ul li:first-child,
    .topbar-contact-info ul li:last-child {
        grid-column: 1 / -1;
    }

    .topbar-contact-info ul li a {
        width: 100%;
        min-height: 42px;
        padding: 9px 12px !important;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff !important;
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .topbar-contact-info ul li:first-child a,
    .topbar-contact-info ul li:last-child a {
        justify-content: center;
        max-width: 360px;
        margin: 0 auto;
    }

    header.main-header .header-sticky {
        padding: 0 !important;
    }

    header.main-header .navbar,
    header.main-header .navbar > .container,
    header.main-header .navbar > .container-fluid,
    .kara-navbar-card,
    .kara-navbar-layout {
        min-height: 72px !important;
    }

    .kara-navbar-card {
        padding: 0 20px !important;
    }

    .kara-navbar-layout {
        grid-template-columns: auto auto !important;
        justify-content: space-between;
        column-gap: 12px !important;
    }

    header.main-header .navbar-brand,
    .kara-brand,
    .kara-brand-mark {
        width: 118px !important;
        height: 58px !important;
        max-width: 118px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    header.main-header .navbar-brand img,
    .kara-brand-mark img {
        width: 100% !important;
        height: 152% !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: contain;
        transform: scale(1.08) !important;
        transform-origin: left center;
    }

    .responsive-menu,
    .navbar-toggle {
        margin-left: auto;
    }

    .slicknav_btn {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    .hero.kara-hero {
        padding-top: 18px !important;
    }

    .consultation-copy h2 {
        margin-top: 0 !important;
    }
}
