/*
Theme Name: OnlineV
Theme URI: https://onlinev.com/
Description: OnlineV child theme for custom WordPress page templates.
Author: OnlineV
Template: hello-elementor
Version: 0.1.7
Text Domain: onlinev
*/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.ov-site {
    margin: 0;
    background: #fff;
    color: #081a3d;
    font-family: Inter, Arial, sans-serif;
}

.ov-site * {
    box-sizing: border-box;
}

.ov-site a {
    text-decoration: none;
}

.ov-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.ov-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e5edf4;
    box-shadow: 0 10px 28px rgba(15, 35, 52, .05);
    backdrop-filter: blur(14px);
}

.ov-nav .ov-wrap {
    height: 76px;
    display: grid;
    grid-template-columns: 210px 1fr 160px;
    align-items: center;
    gap: 24px;
}

.ov-logo img {
    width: 168px;
    height: auto;
    display: block;
}

.ov-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.ov-menu > a,
.ov-menu-item {
    display: flex;
    align-items: center;
    height: 44px;
}

.ov-menu a,
.ov-menu-item > a {
    position: relative;
    display: flex;
    align-items: center;
    color: #2d3748;
    font-size: 14px;
    font-weight: 800;
    height: 44px;
    padding: 0;
}

.ov-menu a:after,
.ov-menu-item > a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: #0b75bc;
    border-radius: 99px;
    transform: scaleX(0);
    transition: transform .18s ease;
}

.ov-menu a:hover,
.ov-menu-item:hover > a {
    color: #0b75bc;
}

.ov-menu a:hover:after,
.ov-menu-item:hover > a:after {
    transform: scaleX(1);
}

.ov-menu-item {
    position: relative;
}

.ov-submenu {
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    width: 280px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(15, 35, 52, .16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}

.ov-submenu:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}

.ov-submenu a {
    display: block;
    color: #2d3748;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
}

.ov-submenu a:after {
    display: none;
}

.ov-submenu a:hover {
    background: #eef6ff;
    color: #0b75bc;
}

.ov-menu-item:hover .ov-submenu,
.ov-menu-item:focus-within .ov-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.ov-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: #1079c4;
    color: #fff !important;
    font-weight: 800;
    padding: 13px 19px;
    box-shadow: 0 14px 28px rgba(11, 117, 188, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.ov-btn:hover {
    background: #075f9f;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(11, 117, 188, .25);
}

.ov-inner-hero {
    background: linear-gradient(135deg, #f7fbff 0%, #fff 52%, #eef6ff 100%);
    border-bottom: 1px solid #e5edf4;
    padding: 78px 0 62px;
}

.ov-inner-hero .ov-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 52px;
    align-items: center;
}

.ov-eyebrow {
    color: #0878f2;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.ov-inner-hero h1,
.ov-head h2 {
    color: #071a3d;
    font-weight: 850;
    letter-spacing: 0;
}

.ov-inner-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.04;
    margin: 0;
}

.ov-inner-hero p {
    color: #40516a;
    font-size: 20px;
    line-height: 1.6;
    margin: 22px 0 0;
}

.ov-proof-card {
    background: #071426;
    color: #eaf4ff;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(15, 35, 52, .18);
    padding: 28px;
}

.ov-proof-card p {
    color: #b7c9dc;
    font-size: 16px;
    margin: 0 0 18px;
}

.ov-proof-card strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
}

.ov-section {
    padding: 72px 0;
}

.ov-soft {
    background: linear-gradient(135deg, #f7fbff 0%, #fff 50%, #f1f7ff 100%);
    border-top: 1px solid #e5edf4;
    border-bottom: 1px solid #e5edf4;
}

.ov-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 38px;
}

.ov-head h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 0;
}

.ov-head h2:after {
    content: "";
    display: block;
    width: 84px;
    height: 3px;
    background: #2f8cff;
    border-radius: 99px;
    margin: 18px auto;
}

.ov-head p {
    font-size: 19px;
    line-height: 1.6;
    color: #42526b;
    margin: 0;
}

.ov-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ov-info-card {
    position: relative;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 35, 52, .08);
    padding: 28px;
    min-height: 250px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ov-info-card:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: #2f8cff;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: opacity .18s ease;
}

.ov-info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 140, 255, .45);
    box-shadow: 0 24px 54px rgba(15, 35, 52, .13);
}

.ov-info-card:hover:before {
    opacity: 1;
}

.ov-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: #1f77ed;
}

.ov-icon svg,
.ov-mini-list svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ov-icon svg {
    width: 40px;
    height: 40px;
}

.ov-info-card h3 {
    margin: 22px 0 12px;
    color: #111d32;
    font-size: 21px;
    line-height: 1.25;
}

.ov-info-card p {
    color: #4f5f74;
    font-size: 16px;
    line-height: 1.58;
    margin: 0;
}

.ov-linked-card {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.ov-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1079c4;
    font-size: 14px;
    font-weight: 850;
    margin-top: auto;
    padding-top: 18px;
}

.ov-card-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ov-mini-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ov-mini-list div {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #32435b;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    padding: 20px;
}

.ov-mini-list svg {
    width: 28px;
    height: 28px;
    color: #1f77ed;
}

.ov-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 36px;
    align-items: start;
}

.ov-panel {
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 35, 52, .08);
    padding: 30px;
}

.ov-panel h2,
.ov-panel h3 {
    color: #071a3d;
    margin: 0 0 14px;
    line-height: 1.15;
}

.ov-panel p,
.ov-panel li {
    color: #4f5f74;
    font-size: 17px;
    line-height: 1.62;
}

.ov-panel ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.ov-story {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 38px;
    align-items: start;
}

.ov-story-copy h2 {
    color: #071a3d;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 0 0 20px;
}

.ov-story-copy p {
    color: #4f5f74;
    font-size: 18px;
    line-height: 1.68;
    margin: 0 0 16px;
}

.ov-timeline {
    position: relative;
    display: grid;
    gap: 14px;
}

.ov-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(15, 35, 52, .07);
    padding: 18px;
}

.ov-timeline-year {
    color: #1079c4;
    font-size: 20px;
    font-weight: 850;
}

.ov-timeline-item h3 {
    color: #071a3d;
    font-size: 19px;
    line-height: 1.22;
    margin: 0 0 6px;
}

.ov-timeline-item p {
    color: #4f5f74;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.ov-price-grid,
.ov-contact-grid,
.ov-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ov-price-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.ov-price-card .ov-price {
    color: #1079c4;
    font-size: 22px;
    font-weight: 850;
    margin: 6px 0 16px;
}

.ov-price-card .ov-btn {
    margin-top: auto;
    align-self: flex-start;
}

.ov-form-shell {
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    box-shadow: 0 22px 56px rgba(15, 35, 52, .11);
    padding: 30px;
}

.ov-form-shell h2 {
    color: #071a3d;
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.ov-form-shell > p {
    color: #4f5f74;
    font-size: 16px;
    line-height: 1.58;
    margin: 0 0 22px;
}

.ov-form-shell .srfm-form-container {
    background: transparent;
}

.ov-form-shell .srfm-submit-button,
.ov-form-shell .srfm-button {
    border-radius: 8px !important;
    font-weight: 850 !important;
}

.ov-proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.ov-proof-row div {
    background: rgba(255, 255, 255, .74);
    border: 1px solid #dfe8f3;
    border-radius: 8px;
    padding: 16px;
    color: #32435b;
    font-weight: 800;
}

.ov-cta {
    position: relative;
    padding: 72px 0;
    background: #137fc5;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.ov-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, .18), transparent 32%), radial-gradient(circle at 78% 80%, rgba(255, 255, 255, .12), transparent 30%);
    pointer-events: none;
}

.ov-cta .ov-wrap {
    position: relative;
    z-index: 1;
}

.ov-cta h2 {
    font-size: clamp(34px, 3.6vw, 50px);
    line-height: 1.12;
    margin: 0 auto 18px;
    max-width: 850px;
}

.ov-cta p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 28px;
    color: #eaf4ff;
}

.ov-cta .ov-btn {
    background: #fff;
    color: #0b75bc !important;
}

.ov-footer {
    background: #071426;
    color: #b7c1d2;
    padding: 42px 0;
}

.ov-footer .ov-wrap {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr;
    gap: 34px;
}

.ov-footer strong {
    color: #fff;
}

.ov-footer a {
    color: #b7c1d2;
}

.ov-blue {
    color: #2f8cff;
}

.ov-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 28px;
    padding-top: 22px;
    text-align: center;
    color: #8f9caf;
}

@media (max-width: 1024px) {
    .ov-nav .ov-wrap {
        grid-template-columns: 170px 1fr 145px;
    }

    .ov-menu {
        gap: 18px;
    }

    .ov-submenu {
        width: 260px;
    }

    .ov-inner-hero .ov-wrap {
        grid-template-columns: 1fr;
    }

    .ov-card-grid,
    .ov-mini-list,
    .ov-price-grid,
    .ov-contact-grid,
    .ov-post-grid,
    .ov-proof-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .ov-split {
        grid-template-columns: 1fr;
    }

    .ov-story {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ov-wrap {
        width: min(100% - 28px, 1200px);
    }

    .ov-nav {
        position: relative;
    }

    .ov-nav .ov-wrap,
    .ov-custom-homepage .ov-nav .ov-wrap {
        height: auto;
        padding: 14px 0 10px;
        grid-template-columns: minmax(0, 1fr) auto;
        justify-items: stretch;
        gap: 10px 14px;
        overflow: hidden;
    }

    .ov-logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .ov-logo img {
        width: 150px;
    }

    .ov-nav .ov-btn {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        padding: 11px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .ov-menu,
    .ov-custom-homepage .ov-menu {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: stretch !important;
        justify-self: stretch;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 4px 10px !important;
        overflow: hidden !important;
    }

    .ov-menu a,
    .ov-menu-item > a,
    .ov-custom-homepage .ov-menu a {
        height: auto !important;
        font-size: 12px !important;
        padding: 6px 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .ov-menu-item {
        height: auto;
        min-width: 0;
    }

    .ov-submenu {
        display: none;
    }

    .ov-inner-hero {
        padding: 46px 0 42px;
    }

    .ov-inner-hero h1 {
        font-size: 36px;
    }

    .ov-inner-hero p,
    .ov-head p,
    .ov-cta p {
        font-size: 16px;
    }

    .ov-section {
        padding: 52px 0;
    }

    .ov-head h2 {
        font-size: 30px;
    }

    .ov-card-grid,
    .ov-mini-list,
    .ov-price-grid,
    .ov-contact-grid,
    .ov-post-grid,
    .ov-proof-row {
        grid-template-columns: 1fr;
    }

    .ov-info-card {
        min-height: 0;
        padding: 24px;
    }

    .ov-timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ov-cta {
        padding: 52px 0;
    }

    .ov-cta h2 {
        font-size: 30px;
    }

    .ov-footer .ov-wrap {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
