:root{
    --oph-blue-mid: rgba(87, 161, 211, 1);
    --oph-blue-light: rgba(88, 201, 243, 1);
    --oph-blue-dark: rgba(22, 43, 85, 1);
    --oph-blue-dark-2: #1d68a2;
    --oph-blue-light-2: rgb(87, 161, 211);
    --oph-black : #262626;
    --oph-white: #f8f8f8;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: #142b54;
}
*{color: var(--oph-black); font-weight: 300; font-family: 'Montserrat', sans-serif;}
b,strong{font-weight: 600;}
.container{max-width: 1200px;}
.container-inner{max-width: 1024px;}
h2{font-weight: 300;}

nav{padding: 40px 30px; transition: all 0.3s ease;}
nav:before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(22, 43, 85, 0.75) 0%, rgba(251, 251, 251, 0) 98%);
    /* background-color: rgba(22, 43, 85, 0.7); */
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
nav.scrolled{transform: translateY(-100%);}

nav.hv_glass:before{opacity: 1;}
.navbar-brand .logo-wrap img{max-height: 40px; transition: all 0.3s ease;}
.navbar-nav{gap: 3rem; text-transform: uppercase;}
.navbar-nav a, .navbar-nav a:hover{color: #FFFFFF; outline: none;}
.navbar-nav a.active{color: #ffffff !important; font-weight: 600; outline: none; border: none;}

nav.hv_glass .navbar-brand .logo-wrap img{max-height: 40px;}
nav .navbar-brand .logo-wrap .logo-item-b{transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);}
nav.hv_glass .navbar-brand .logo-wrap .logo-item-b{opacity: 0; transform: translateX(-30px);}
.navbar-brand, .navbar-brand:focus{outline: none;}
/* .navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}*/
.navbar-toggler:focus{box-shadow: none;} 
.navbar-toggler {border: none; /* Optional for clean look */}

/* Four-dot SVG → stroked X when menu open (Bootstrap removes .collapsed) */
.navbar-toggler svg {
    display: block;
    overflow: visible;
    margin-bottom: 3px;
}
.navbar-toggler svg circle {
    transform-box: fill-box;
    transform-origin: center;
    transition:
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        fill 0.38s ease,
        fill-opacity 0.38s ease,
        stroke 0.38s ease,
        stroke-width 0.38s ease,
        opacity 0.38s ease;
}

/* Closed: filled spots (per designer) */
.navbar-toggler.collapsed svg circle {
    stroke: transparent;
    stroke-width: 0;
    vector-effect: non-scaling-stroke;
}
.navbar-toggler.collapsed svg .circle1 { fill: var(--oph-white); transform: none; }
.navbar-toggler.collapsed svg .circle2 { fill: var(--oph-white); transform: none; }
.navbar-toggler.collapsed svg .circle3 { fill: #5dc9ff; transform: none; }
.navbar-toggler.collapsed svg .circle4 { fill: var(--oph-white); transform: none; }

/* Open: outline strokes, scaled into two diagonal bars = cross */
.navbar-toggler:not(.collapsed) svg circle {
    fill: none;
    stroke: var(--oph-white);
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
    opacity: 0.95;
}
/* \ diagonal: top-left + bottom-right */
.navbar-toggler:not(.collapsed) svg .circle1 {
    transform: translate(2.6px, 2.6px) rotate(-45deg) scale(0.16, 2.05);
}
.navbar-toggler:not(.collapsed) svg .circle4 {
    transform: translate(-2.6px, -2.6px) rotate(-45deg) scale(0.16, 2.05);
}
/* / diagonal: bottom-left + top-right */
.navbar-toggler:not(.collapsed) svg .circle2 {
    transform: translate(2.6px, -2.6px) rotate(45deg) scale(0.16, 2.05);
}
.navbar-toggler:not(.collapsed) svg .circle3 {
    transform: translate(-2.6px, 2.6px) rotate(45deg) scale(0.16, 2.05);
}

.navbar-toggler .icon-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: rgba(255,255,255,0.85); /* White for dark navbar */
    margin: 6px auto;
    transition: all 0.35s ease-out;
    transform-origin: center;
}
/* .navbar-toggler .icon-bar:nth-child(1) { margin-top: 6px; }
.navbar-toggler .icon-bar:nth-child(3) { margin-bottom: 6px; }
.navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
} */

footer {
    background: var(--oph-blue-dark);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--oph-white);
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    padding: 40px 0;
    z-index: 4;
    position: relative;
}
footer h5,
footer p,
footer a {
    font-size: 14px;
    line-height: 1.5;
    color: var(--oph-white);
    margin-bottom: .55rem;
}
footer h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
footer .footer-link {
    color: var(--oph-white);
    text-decoration: none;
}

/* @media (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }
} */

@media (max-width: 1199px) {
    .container {
        max-width: calc(992px - 60px);
    }
}

@media (orientation: portrait) {
    .tab_container{min-height: 50svh !important;}
}

@media (max-width: 992px) {
    .navbar{--bs-navbar-toggler-font-size: 1.55rem !important;}
    nav:before{opacity: 1;}
    .navbar-nav{height: 100svh; padding-top: 2rem; gap: 1em;}
    nav.hv_glass .navbar-brand .logo-wrap img, .navbar-brand .logo-wrap img{max-height: 30px;}
    /* nav.scrolled .navbar-brand .logo-wrap img{max-height: 25px;} */
    footer h5, footer p, footer a {font-size: 13px;}
}

/*********************************************************************************************/
.kv_section{background-image: url('../images/2026_kv.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; height: 720px; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center; position: relative;}
.kv_section:before{content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40px;
background: linear-gradient(180deg, rgba(22, 43, 85, 0) 0%, var(--oph-blue-dark) 100%);
z-index: 1;}
.kv_items{color: var(--oph-white); width: auto; max-width: 340px;}
.kv_items h1{font-size: min(26vw, 150px); font-weight: 200; margin: 0; letter-spacing: -5%;}
.kv_items h2{font-size: min(10vw, 52px); font-weight: 200; margin: 0; letter-spacing: 0.15em; padding-left: 5px;}
.kv_items .d-flex h2{color: var(--oph-white);}

.round-btn{background: none; color: var(--oph-white); padding: 10px 30px; width: 240px; border-radius: 999px; text-decoration: none; transition: all 0.3s ease; border: 1px solid var(--oph-white); font-size: 1.2rem; text-align: center;}
.round-btn:hover{background: var(--oph-white); color: var(--oph-blue-dark); border: 1px solid var(--oph-blue-dark);}

.rounded-box{padding: 80px 100px; background: rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: relative; z-index: 2; border-radius: 20px;}
.rounded-box-bg{background-image: url('../images/3lines.svg'); background-size: 50%; background-position: left bottom; background-repeat: no-repeat;}
.rounded-box h2{font-size: min(3.6vw, 50px); margin: 0;}
.rounded-box h2, .rounded-box p{color: var(--oph-white);}
.unbrake{white-space: nowrap;}

.line-left{border-left: 1px solid var(--oph-blue-light); padding-left: 1.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem;}

.number-box-wrap{display: flex; flex-wrap: wrap; gap: 2rem;}
.number-box{width: calc(50% - 1rem);}
.number-box .big-number{font-size: 88px; color: var(--oph-blue-light); font-weight: 300;}
.number-box p{font-size: 18px; line-height: 1em;}

.moving-bg{background-image: url('../images/ani4.svg'); background-size: cover; background-position: center; background-repeat: no-repeat;}
.moving-bg:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4rem; background: linear-gradient(0deg, rgba(22, 43, 85, 0.00) 0%, rgba(22, 43, 85, 0.25) 25%, rgba(22, 43, 85, 0.50) 60%, rgba(22, 43, 85, 0.80) 85%, rgba(22, 43, 85, 1.00) 100%); z-index: 1; }

.slogan-wrap{min-height: 380px; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center;}
.slogan-text{font-size: min(7vw, 54px); font-weight: 300; color: var(--oph-white);}

.section-white{padding: 80px 0px; background: var(--oph-white); position: relative; z-index: 2;}
.section-white h2{font-size: min(3.6vw, 50px); font-weight: 600;}

.image-item img{width: 100%; height: auto; max-width: 240px; object-fit: cover; border-radius: 1000px; aspect-ratio: 1/1; margin: auto; display: block;}

.spacer-top{padding-top: 100px;}

.fixed-contact-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    padding: 7px 22px;
    gap: 10px;
    z-index: 9999;
    border-radius: 999px;
    font-weight: 400;
    color: var(--oph-white);
    text-decoration: none;
    background: rgba(87, 161, 211, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12.5px);
    text-transform: uppercase;
    z-index: 3;
    max-width: 189px;
}
.fixed-contact-btn:hover, .fixed-contact-btn:focus {
    border: 1px solid rgba(255,255,255,1);
    outline: none;
}

.fixed-contact-btn .fixed-contact-icon {
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .fixed-contact-btn {
        right: 12px;
        bottom: 12px;
        padding: 10px 16px 10px 12px;
        font-size: .97rem;
    }
}


@media screen and (max-width: 1199px) {
    .rounded-box{padding: 40px 60px; max-width: 1024px;}   
}

@media (max-width: 992px) {
    .kv_section{height: auto; min-height: 420px;}
    .kv_items{max-width: fit-content; margin-left: 40px;}

    .rounded-box{padding: 30px; max-width: 90%; background-size: 100%;}
    .rounded-box h2{font-size: max(2.3vw, 28px);}

    .section-white{padding: 50px 15px;}
    .section-white h2{font-size: max(2.3vw, 36px);}

    .number-box .big-number{font-size: max(5vw, 44px);}
    .number-box p {font-size: 16px;}

    .moving-bg{background-size: auto 100%;}
    .slogan-wrap{min-height: 40svh;}
}

/**********legal-terms.html***********/
.legal-terms::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 1920px;
    height: 330px;
    background-image: url(../images/general_head.png);
    background-size: 100% 330px;
    background-position: left top;
    background-repeat: no-repeat;
    background-color: var(--oph-white);
    z-index: -1;
}
.legal-terms {
    position: relative;
    background: var(--oph-white);
}
.legal-terms h2{font-weight: 600; font-size: min(3.6vw, 50px);}

.expendable:first-child{margin-top: 1em;}
.expendable {
    font-weight: 600;
    cursor: pointer;
    font-size: 1em;
    margin-top: 2rem;
    position: relative;
    padding-right: 32px;
}
.expendable::after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 16px;
    height: 10px;
    background-image: url(../images/black_arrow.png);
    background-size: 16px 10px;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}
.expendable.active::after {
    transform: translateY(-50%) rotate(0deg);
}

.expendable + div {display: none; font-size: 14px;}
.expendable + div p{margin: 0;}


@media (max-width: 992px) {
    .legal-terms h2{font-size: max(2.3vw, 36px);}
    .legal-terms::before{top: -5%;}
    .expendable:first-child {
        margin-top: 0.5em;
    }
}




/*** lettering animation ****/
.lettering span, .kv_lettering span{opacity: 0; color: inherit; font-weight: inherit; position: relative;}
.lettering span:empty, .kv_lettering span:empty{content: ' '; display: inline-block; width: 15px;}
.lettering span.nextline, .kv_lettering span.nextline{display: block; line-height: 0;}
.ltr-fade-in {
    opacity: 0;
    -webkit-animation: ltr-fade-in cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: ltr-fade-in cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.ltr-fade-delay-0 {
    animation-duration: .75s;
}
.ltr-fade-delay-1 {
    animation-duration: 1.2s;
}
.ltr-fade-delay-2 {
    animation-duration: 1.5s;
}
@-webkit-keyframes ltr-fade-in {
    0% {
        opacity: 0;
        left: -10px;
    }
    100% {
         opacity: 1;
         left: 0px;
    }
}
@keyframes ltr-fade-in {
    0% {
        opacity: 0;
        left: -10px;
    }
    100% {
         opacity: 1;
         left: 0px;
    }
}