/* Prevent header overflow from becoming a nested scrollport (causes bounce/jitter). */
html {
    overflow-anchor: none;
}
.rs-header-area.rs-header-two {
    overflow: visible !important;
}
.rs-header-two .header-logo-wrapper::before,
.rs-header-two .header-logo-wrapper::after {
    pointer-events: none;
}
.rs-sticky-header {
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease !important;
}

/* CRM logo + sticky header constraints for Red One */

.rs-header-two .header-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-header-two .header-logo img {
    max-width: 90px;
    max-height: 90px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

@media only screen and (max-width: 1199px) {
    .rs-header-two .header-logo img {
        max-width: 80px;
        max-height: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .rs-header-two .header-logo img {
        max-width: 64px;
        max-height: 64px;
    }
}

.rs-header-two .header-logo .logo-white,
.rs-header-two .header-logo .logo-red {
    display: flex;
}

.rs-header-two .header-logo .logo-red {
    display: none;
}

@media only screen and (max-width: 767px) {
    .rs-header-two .header-logo .logo-white {
        display: none;
    }
    .rs-header-two .header-logo .logo-red {
        display: flex;
    }
}

.rs-header-two .rs-sticky-header.active .header-logo-wrapper {
    width: 72px !important;
    margin-top: 0 !important;
}

.rs-header-two .rs-sticky-header.active .header-logo {
    width: 56px !important;
    margin-top: 0 !important;
}

.rs-header-two .rs-sticky-header.active .header-logo img {
    max-width: 56px !important;
    max-height: 56px !important;
}

@media only screen and (max-width: 575px) {
    .rs-header-two .rs-sticky-header.active .header-logo {
        width: 56px !important;
    }
}

.offcanvas-logo a img {
    width: auto !important;
    max-width: 160px;
    max-height: 72px;
    height: auto !important;
    object-fit: contain;
}

.rs-footer-one .rs-footer-widget-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 8px 12px;
}
.rs-footer-one .rs-footer-widget-logo img {
    max-width: 160px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.rs-footer-one .rs-footer-social a i {
    color: #fff;
    font-size: 16px;
}

.rs-footer-one .rs-footer-widget-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
    max-width: 36ch;
}
.vikodi-page-entry {
    overflow-wrap: anywhere;
}
.vikodi-page-entry > *:first-child {
    margin-top: 0;
}
.vikodi-page-entry img,
.vikodi-page-entry video,
.vikodi-page-entry iframe {
    max-width: 100%;
    height: auto;
}
.vikodi-page-entry p {
    margin-bottom: 1rem;
}
.vikodi-page-entry h2,
.vikodi-page-entry h3 {
    margin: 1.25rem 0 0.75rem;
}

.vikodi-flash {
    position: sticky;
    top: 0;
    z-index: 1300;
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
}
.vikodi-flash.is-success {
    background: #0f766e;
    color: #fff;
}
.vikodi-flash.is-danger {
    background: #b91c1c;
    color: #fff;
}
.vikodi-flash.is-info {
    background: #1e3a5f;
    color: #fff;
}
.vikodi-form-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 14px 18px;
}
.vikodi-form-errors ul {
    margin: 0;
    padding-left: 18px;
}
.rs-google-map iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}
.vikodi-page-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.vikodi-page-gallery-item figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #4E535E;
}
.vikodi-page-entry h2 {
    margin: 0 0 16px;
    font-size: 32px;
}
.vikodi-page-entry h3 {
    margin: 28px 0 12px;
    font-size: 22px;
}
.vikodi-page-entry p {
    margin: 0 0 16px;
    line-height: 1.75;
}
.vikodi-page-entry ul {
    margin: 0 0 20px;
    padding-left: 1.25em;
}
.vikodi-page-entry li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.vikodi-gallery-filters {
    justify-content: center;
    row-gap: 10px;
    margin-bottom: 10px;
}
.vikodi-gallery-item-meta {
    margin-top: 12px;
}
.vikodi-gallery-item-meta h5 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}
.vikodi-gallery-item-meta span {
    font-size: 13px;
    color: #4E535E;
}
.vikodi-video-inline {
    position: relative;
    max-width: 960px;
    margin: 40px auto;
    background: #000;
}
.vikodi-video-inline video {
    width: 100%;
    height: auto;
    display: block;
}
.vikodi-gallery-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 8px;
}
@media (max-width: 767px) {
    .vikodi-gallery-hub {
        grid-template-columns: 1fr;
    }
}
.vikodi-gallery-hub a {
    display: block;
    padding: 22px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(18, 88, 117, 0.12);
    color: inherit;
    text-decoration: none;
}
.vikodi-gallery-hub a:hover {
    border-color: var(--theme-accent, #FF7350);
}
.vikodi-gallery-hub strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.rs-breadcrumb-one .rs-breadcrumb-bg-thumb {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.vikodi-prereg-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rs-theme-red, #960B27);
}
.vikodi-prereg-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 36px 32px;
    border: 1px solid rgba(0, 58, 101, 0.08);
    box-shadow: 0 12px 36px rgba(0, 25, 44, 0.06);
}
.vikodi-prereg-block {
    margin-bottom: 28px;
    padding-bottom: 8px;
}
.vikodi-prereg-block.is-last {
    margin-bottom: 8px;
}
.vikodi-prereg-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.vikodi-prereg-step-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rs-theme-red, #960B27);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}
.vikodi-prereg-step h5 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--rs-title-tertiary, #051435);
}
.vikodi-prereg-step p {
    margin: 0;
    font-size: 14px;
    color: #5b6570;
}
.vikodi-prereg-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rs-title-tertiary, #051435);
}
.vikodi-prereg-label span {
    color: var(--rs-theme-red, #960B27);
}
.vikodi-prereg-card input[type=text],
.vikodi-prereg-card input[type=email],
.vikodi-prereg-card input[type=tel],
.vikodi-prereg-card input[type=date],
.vikodi-prereg-card textarea,
.vikodi-prereg-card select,
.vikodi-prereg-card .nice-select {
    width: 100%;
    height: 52px;
    background: #f6f8fb;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    color: #00192c;
    padding-inline: 16px;
    font-size: 15px;
}
.vikodi-prereg-card textarea {
    height: auto;
    min-height: 96px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}
.vikodi-prereg-card input:focus,
.vikodi-prereg-card textarea:focus,
.vikodi-prereg-card select:focus,
.vikodi-prereg-card .nice-select.open,
.vikodi-prereg-card .nice-select:focus {
    border-color: var(--rs-theme-red, #960B27);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(150, 11, 39, 0.08);
}
.vikodi-prereg-card .nice-select {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.vikodi-prereg-card .nice-select .list {
    width: 100%;
    border-radius: 10px;
}
.vikodi-prereg-submit {
    margin-top: 18px;
    min-height: 54px;
}
.vikodi-prereg-aside {
    background: #003a65;
    color: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
}
.vikodi-prereg-aside h5,
.vikodi-prereg-aside h6 {
    color: #fff;
    margin: 0 0 16px;
}
.vikodi-prereg-flow {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    counter-reset: prereg-flow;
}
.vikodi-prereg-flow li {
    position: relative;
    padding: 0 0 18px 28px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.vikodi-prereg-flow li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}
.vikodi-prereg-flow li::before {
    counter-increment: prereg-flow;
    content: counter(prereg-flow);
    position: absolute;
    left: -11px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fdc72f;
    color: #003a65;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vikodi-prereg-flow strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 2px;
}
.vikodi-prereg-contact {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 22px;
}
.vikodi-prereg-contact h6 {
    margin-bottom: 12px;
    font-size: 15px;
}
.vikodi-prereg-contact a,
.vikodi-prereg-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}
.vikodi-prereg-contact a:hover {
    color: #fdc72f;
}
.vikodi-prereg-contact p:last-child,
.vikodi-prereg-contact a:last-child {
    margin-bottom: 0;
}
.vikodi-prereg-contact i {
    margin-top: 2px;
    color: #fdc72f;
}
@media only screen and (max-width: 767px) {
    .vikodi-prereg-card {
        padding: 24px 18px;
    }
    .vikodi-prereg-aside {
        padding: 26px 20px;
    }
}

.rs-about-two .rs-about-wrapper {
    align-items: start;
}
.rs-about-two .rs-about-thumb-wrapper {
    max-width: 100%;
}
.rs-about-two .rs-about-thumb {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 30px;
}
.rs-about-two .rs-about-thumb img {
    width: 100% !important;
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
.rs-about-two .rs-about-thumb:first-child {
    height: 340px;
    margin-bottom: 20px;
}
.rs-about-two .rs-about-thumb:nth-child(2) {
    height: 220px;
}
.rs-about-two .rs-about-badge {
    overflow: hidden;
}
.rs-about-two .rs-about-badge img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    object-fit: contain;
}
.rs-about-two .rs-about-shape img {
    max-width: 160px;
    height: auto;
}
.rs-about-two .rs-about-tab .nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}
.rs-about-two .rs-about-tab .nav-item {
    list-style: none;
    margin: 0;
}
.rs-about-two .rs-about-tab .nav-link {
    padding: 10px 22px !important;
    margin: 0;
    white-space: nowrap;
}
@media only screen and (max-width: 1199px) {
    .rs-about-two .rs-about-thumb:first-child {
        height: 280px;
    }
    .rs-about-two .rs-about-thumb:nth-child(2) {
        height: 180px;
    }
}
@media only screen and (max-width: 991px) {
    .rs-about-two .rs-about-thumb:first-child {
        height: 300px;
    }
    .rs-about-two .rs-about-thumb:nth-child(2) {
        height: 200px;
    }
}
