﻿
@font-face {
    font-family: AktivGrotesk-Regular;
    src: url("../font/AktivGrotesk-Regular.otf") format("opentype");
    font-display: swap;
}
@font-face {
    font-family: AktivGrotesk-Bold;
    src: url("../font/AktivGrotesk-Bold.otf") format("opentype");
    font-display: swap;
}
@font-face {
    font-family: AktivGrotesk-Light;
    src: url("../font/AktivGrotesk-Light.otf") format("opentype");
    font-display: swap;
}
@font-face {
    font-family: 'Garbata';
    src: url('../font/garbata_serif_font-webfont.woff2') format('woff2'), url('../font/garbata_serif_font-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, label, span, td, th {
    font-family: 'AktivGrotesk-Light', sans-serif;
}
h1 {
    font: 66px/66px 'Garbata', sans-serif;
}
h2 {
    font: 19px/40px 'AktivGrotesk-Regular', sans-serif;
    font-weight: 700;
}
h5 {
    font: 18px/24px 'AktivGrotesk-Regular', sans-serif;
}
a {
    color: #9b1f23;
}
.whi {
    color: #fff;
}
.pri {
    background-color: #66a6b5;
}
.pr {
    color: #66a6b5;
}
.sec {
    background-color: #585e83;
}
.sc {
    color: #585e83;
}

.kheader a {
    color: #fff;
    font-size: 24px;
    font-family: 'Garbata', sans-serif;
}
    .kheader a:hover {
        color: #585e83;
        text-decoration: none;
    }
    .kheader .tel {
        padding-left: 45px;
        height: 75px;
        min-width: 30px;
        background: url(../img/karesrx/icon-phone.png) left center no-repeat;
        margin-left: 25px;
        display: block;
        float: left;
    }
    .kheader .tel a{
        line-height: 75px;
    }
    .kheader ul {
        padding: 0;
        float:right;
    }
    .kheader ul li {
        display: inline-block;
        margin: 0 25px;
    }
        .kheader ul li a {
            line-height: 75px;
        }
.kheader {
    min-height: 75px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
    .kheader .top-cart {
        background: url(../img/karesrx/icon-cart.png) no-repeat;
        cursor: pointer;
        height: 45px;
        float: right;
        margin-top: 15px;
        margin-right: 25px;
        padding: 0px 10px 5px 45px;
        position: relative;
    }

        .kheader .top-cart span {
            position: absolute;
            left: 24px;
            font-size: 26px;
            line-height: 30px;
        }
.header-logo {
    max-height: 65px;
    margin: 5px 25px 0 25px;
    float: left;
    cursor: pointer;
}
.icon-close {
    position: absolute;
    top: 5px;
    right: 5px;
}
.top {
    width: 100%;
}
    .top .form {
        padding-top: 20px;
        width: 235px;
        background-color: #fff;
        position: absolute;
        right: 5%;
        padding: 40px 20px 20px 20px;
        z-index: 3;
    }
        .top .form.on {
            display: block;
        }
        .top .form div {
            position: relative;
            margin: 10px 0;
        }
        .top .form p {
            font-size: 11px;
            font-weight: 600;
            padding-top: 20px;
        }
        .top .form a {
            color: #9b1f23;
        }
        .top .form .jn {
            padding: 10px 20px;
        }
        .top .form h5 {
            text-align: center;
        }
.fullscreen-block {
    display: flex;
    height: 100vh;
    width: 100%;
}
.fullscreen-block:first-of-type {
    height: calc(100vh - 75px);
}

/* First Block Styles */
.block-1 .column-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.block-1 .logo-row {
    flex: 2; /* 2/5 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-1 .text-row {
    flex: 3; /* 3/5 */
    display: flex;
    align-items: center;
    padding: 1em;
}
.text-row p, .block-content {
    font: 28px/38px 'AktivGrotesk-Regular', sans-serif;
    margin-bottom: 10px;
}
.text-row ul {
   
}
    .text-row ul li {
        font: 28px/38px 'AktivGrotesk-Regular', sans-serif;
        color: #fff;
        padding-left: 0 !important;
    }
/* Second Block Styles */
.block-2 .column-left {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-2 .column-right {
    flex: 3;
    display: flex;
    align-items: center;
}
.block-2 .column-right .content {
    text-align: right;
}

/* Third Block Styles (3/5 - 2/5) - reversed */
.block-3 .column-left {
    flex: 3;
    display: flex;
    align-items: center;
    position: relative;
}

.block-3 .column-right {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.nabp {
    position:absolute;
    left: 30px;
    bottom: 35px;
    height: 150px;
}
.contact-logo {
    position: absolute;
    right: 30px;
    bottom: 27px;
    height: 115px;
}
.column-2, .column-right {
    background-size: cover;
    background-position: center;
}
.logo {
    max-width: 100%;
    max-height: 100%;
}
.full-height-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content {
    padding: 0 clamp(20px, 5vw, 70px);
}
    .content ul {
        padding: 0;
        margin: 0 auto;
    }
    .content ul li {
        display: inline-block;
        padding-left: 45px;
        margin-right: 20px;
    }
        .content ul li a {
            color: #585e83;
            font-size: 24px;
            line-height: 35px;
        }
        .content ul li.phone {
            background: url("/assets/img/karesrx/icon-phone.png") left center no-repeat;
            background-size: contain;
        }
        .content ul li.email {
            background: url("/assets/img/karesrx/icon-email.png") left center no-repeat;
        }
        .content ul li.fax {
            background: url("/assets/img/karesrx/icon-fax.png") left center no-repeat;
        }

.joinright {
    /* writing-mode: vertical-rl; */
    writing-mode: vertical-lr;
    transform: rotate(360deg);
    font-family: 'Garbata', sans-serif;
    letter-spacing: 2px;
    padding: 15px 13px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
}
.joinright a {
    color: #fff;
}
.css-label {
    margin-left: 10px;
}
.jn {
    background-color: #585e83;
    border-radius: 100px;
    font-family: 'Garbata', sans-serif;
    font-weight: bold;
    font-size: clamp(18px, 2vw, 24px);
    padding: 16px 30px;
    color: #fff;
    fill: #fff;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    max-width: 182px;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
    margin-top: 10px;
}
    .jn:hover {
        color: #66a6b5;
    }
/* contact form */

.content .contact-form {
    margin: 40px auto 0;
    width: 70%;
}
    .content .contact-form .form-row {
        width: 100%;
        position: relative;
        clear: both;
    }

        .content .contact-form .form-row div {
            width: 50%;
            float: left;
            position: relative;
        }

    .content .contact-form input:not([type=submit]), .content .contact-form textarea {
        padding: 12px 47px;
        border-radius: 20px;
        font-size: 16px;
        border: 1px solid #66a6b5;
        color: #66a6b5;
        margin: 0 20px 30px 0;
        font-family: europa, sans-serif;
    }

        .content .contact-form input:not([type=submit]).required, .content .contact-form textarea.required {
            border-color: red;
        }

    .content .contact-form textarea {
        width: 100%;
        height: 100px;
    }

        .content .contact-form input:not([type=submit])::placeholder, .content .contact-form textarea::placeholder {
            color: #66a6b5;
            opacity: 1;
        }

    .content .contact-form .form-submit {
        margin: 0;
        padding: 20px 20px 17px 64px !important;
        background: transparent !important;
        position: relative;
        z-index: 1;
        border: 0;
        color: #fff;
        font-family: 'Garbata', sans-serif;
        font-size: 18px;
    }


.style-icon {
    position: absolute;
    left: -5px;
    top: 5px;
}

    .style-icon[class*="icon-"]:before {
        color: #66a6b5;
        display: block;
        font-family: "fontello";
        font-size: 17px;
        font-weight: 400;
        position: absolute;
        z-index: 1;
        top: 11px;
        left: 20px;
    }

    .style-icon.icon-name:before {
        content: '\e9ae';
    }

    .style-icon.icon-email:before {
        content: '\e9a3';
        font-size: 14px;
    }

    .style-icon.icon-phone:before {
        margin-top: 1px;
        content: '\e9b8';
    }

    .style-icon.icon-subject:before {
        content: '\e9cd';
        font-size: 19px;
    }

    .style-icon.icon-textarea:before {
        content: '\e9e7';
    }

.submit-style-in {
    display: block;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    font-size: 16px;
    background-color: #585e83;
    color: #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
    max-width: 153px;
    height: 55px;
}

    .submit-style-in:hover {
        background-color: #044f82;
    }

    .submit-style-in:before {
        content: '\e9a5';
        font-family: "fontello";
        font-weight: 400;
        display: inline-block;
        position: absolute;
        z-index: 1;
        left: 36px;
        top: 50%;
        width: 1em;
        height: 1em;
        line-height: 1em;
        margin-top: -0.5em;
    }
/* end contact form */
.flex-wrap {
    margin: 100px 0;
}

    .flex-wrap.notop {
        margin-top: 0;
    }

    .flex-wrap .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .flex-wrap .row .column {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        flex: 1;
    }

        .flex-wrap .row .column.col-25 {
            width: 25%;
        }

.cbtn {
    padding: 10px 25px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    border: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
    .cbtn:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .cbtn.peach {
        background: #efab62;
    }
        .cbtn.peach:hover {
            background: #e69d4e;
        }

    .cbtn.blue {
        background: #585e83;
    }
        .cbtn.blue:hover {
            background: #66a6b5;
        }

    .cbtn.purple {
        background: #d580e0;
    }
        .cbtn.purple:hover {
            background: #c468d0;
        }

    .cbtn.green {
        background: #93d662;
    }
        .cbtn.green:hover {
            background: #7dc44e;
        }

    .cbtn.orange {
        background: #fba955;
    }
        .cbtn.orange:hover {
            background: #e89540;
        }
input[type=submit]:not(.cbtn):not(.audit-btn), input[type=button] {
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    width: auto;
    font-size: 15px;
    line-height: 15px;
    border-radius: 22px;
    font-family: AktivGrotesk-Regular;
    height: auto;
}
input[type=submit].btn-apply {
    border-radius: 0;
}
.bgred {
    color: #fff;
}
.block-wrap img {
    width: 208px;
    height: 204px;
    transition: transform 1s ease-in-out;
}
    .block-wrap img:hover {
        transform: rotate(360deg);
    }
.mobile-menu, .menu-icon {
    display: none;
}
.two-up .col-1 {
    background-color: #585e83;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
    .back-to-top:hover {
        background-color: #e74c3c;
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }
    .back-to-top::after {
        content: "↑";
        display: block;
    }

/* Animation for subtle bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.back-to-top:hover::after {
    animation: bounce 1s;
}
@media (max-width: 1600px) {
    h1 {
        font-size: 48px;
        line-height: 48px;
    }
    .logo-row img {
        max-width: 90%;
    }
    .main-nav.dt li:first-of-type {
        display: none;
    }
    .column-1 .text-content.content {
        padding: 30px;
    }
    .block-2 .column-right .content {
        padding: 30px;
        padding-top: 70px;
        clear: both;
    }
}

@media (max-width: 1224px) {
    .main-nav.dt li:nth-of-type(2) {
        display: none;
    }
    .fullscreen-block {
        flex-direction: column !important;
        height: auto !important;
        min-height: 100vh;
    }

        .fullscreen-block > div {
            width: 100% !important;
            flex: none !important;
            height: auto !important;
            padding: 1.5rem !important;
        }

    .block-1 .column-1 {
        display: flex;
        flex-direction: column;
        min-height: 60vh;
    }

    .block-1 .logo-row {
        flex: 1;
        padding: 1rem 0 !important;
    }

    .block-1 .text-row {
        flex: 1;
        padding: 1rem 0 !important;
    }

    .column-2,
    .column-right,
    .column-left,
    .column-2 img,
    .column-right img,
    .column-left img {
        object-fit: contain;
    }
    .fullscreen-block * {
        transform: none !important;
    }
    .fullscreen-block {
        margin-bottom: 0;
        padding-bottom: 1rem;
    }
}
@media (max-width: 1024px) {
    .fullscreen-block {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .block-1 .column-1 {
        flex: none;
        height: 50vh;
    }

    .block-1 .logo-row {
        flex: 2;
    }

    .block-1 .text-row {
        flex: 3;
    }

    .block-2, .block-3 {
        flex-direction: column;
    }

        .block-2 .column-left,
        .block-3 .column-left,
        .block-2 .column-right,
        .block-3 .column-right {
            flex: none;
            height: 50vh;
            padding: 1.5rem;
        }

        .block-2 .column-right {
            height: 70vh;
        }
    .mainlogo {
        max-width: 80%;
    }
    .block-wrap img {
        width: 156px;
        height: 153px;
    }
    .content {
        padding: 0 20px;
    }
        .content .contact-form {
            width: 100%;
        }
    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        background: url(../img/karesrx/menu.png) no-repeat center center;
        width: 47px;
        height: 38px;
    }

        .menu-icon.on {
            background: url(../img/hsd/menu-close.png) no-repeat center center;
            background-size: contain;
            z-index: 7;
        }
    .kheader .top-cart {
        margin-right: 100px;
    }
    .mobile-menu.on {
        display: block;
        background-color: #585e83;
        width: 275px;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        color: #fff;
        padding: 100px 20px 0 20px;
        overflow-y: auto;
    }

        .mobile-menu.on a {
            color: #fff;
            font-size: 24px;
            line-height: 30px;
        }

        .mobile-menu.on ul li {
            min-height: 60px;
            list-style-type: none;
        }

    .mobile-menu .sub-menu {
        display: none;
        padding-left: 20px;
        padding-top: 15px;
    }

        .mobile-menu .sub-menu li {
            height: 30px;
        }

            .mobile-menu .sub-menu li a {
                font-size: 18px;
            }
}

@media (max-width: 767px) {
    .top .form {
        width: 350px;
        top: -35px;
        border: 1px solid #ccc;
        text-align: center;
    }

        .top .form label {
            display: block;
        }

    .block-1 .column-1 {
        height: 60vh;
    }

    .block-1 .logo-row {
        flex: 1;
        padding: 0;
    }

    .block-1 .text-row {
        flex: 1;
        padding: 0;
    }


    .block-3 .column-left {
        height: 80vh;
    }


    .fullscreen-block {
        flex-direction: column;
    }

    .content {
        max-width: 100%;
    }
    h2 {
        font-size: 20px;
    }
    p {
        font-size: 14px;
    }
    .block-wrap img {
        width: 63px;
        height: 63px;
    }
    .content .contact-form .form-row div {
        width: 100%;
    }
    .content .email {
        display: none;
    }
    .contact-logo {
        display: none;
    }
}

/* ── Extra-small mobile ── */
@media (max-width: 480px) {
    .kheader { flex-direction: column; align-items: flex-start; padding: 10px; }
    .kheader ul { width: 100%; padding: 0; }
    .kheader ul li { margin: 0 10px; }
    .header-logo { margin: 5px 10px; }
    h1 { font-size: 36px; line-height: 40px; }
    .jn { font-size: 16px; padding: 12px 20px; }
    .fullscreen-block { height: auto; min-height: 80vh; }
    .block-wrap { padding: 20px 10px; }
}
