/*
-
-
-
---------------------- GENERAL ----------------------
-
-
- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

body:has(.homepage) .separator:has(+ .app-footer) {
    display: none;
}

.homepage {
    font-size: var(--font-size-body) !important;
    color: var(--hp-body, #071437);
    font-family: "Noto Sans JP", sans-serif;
    background-color: white;
    --font-size-body: 16px;
    --hp-body: #071437;
    --hp-highlight: #00A6D4;
    --soft-shadow: 0 0 40px 1px #EBEBEB;
}

.homepage .rounded {
    border-radius: 8px !important;
}

.homepage .white-box {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    height: 100%;
}

.homepage .section {
    margin-top: 100px;
}

.homepage .section:not(.cta) h2::after {
    content: "";
    width: clamp(80px, calc(70.476px + 2.976vw), 100px);
    height: 2px;
    background-color: var(--hp-highlight, #00A6D4);
    display: block;
    margin: 24px auto 45px;
}

@media screen and (min-width: 768px) {
    .homepage .section {
        margin-top: 120px;
    }

    .homepage .section h2::after {
        margin: 24px auto 60px;
    }
}

/* fix the body padding */
@media screen and (max-width: 767px) {
    .homepage .app-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media screen and (min-width: 991.98px) {
    .homepage .app-content {
        padding-top: 60px;
    }
}

/* spacing, mainly for white boxes */
.homepage .grid-item-spacing {
    padding: 0px 8px var(--grid-item-bottom-space, 40px);
}

@media screen and (min-width: 991px) {
    .homepage .grid-item-spacing {
        padding: 0px 16px var(--grid-item-bottom-lg-space, 32px);
    }
}

.homepage .grid-inner {
    padding: var(--grid-inner-top-space, 40px) 23px 40px;
    height: 100%;
}

@media screen and (min-width: 1200px) {
    .homepage .grid-inner {
        padding: 50px 45px 40px;
    }
}

/* buttons */
.homepage .btn {
    border: 3px solid var(--service-main, #00A6D4) !important;
    transition: 200ms ease-in-out;
    border-radius: 8px;
    font-size: 18px;
}

.homepage .btn-solid:hover,
.homepage .btn-stroke {
    background-color: white;
    color: var(--service-main, #00A6D4);
}

.homepage .btn-solid,
.homepage .btn-stroke:hover {
    background-color: var(--service-main, #00A6D4);
    color: white;
}

@media screen and (min-width: 768px) {
    .homepage .btn:not([type="submit"]) {
        font-size: 15px;
    }
}

/*
-
-
-
---------------------- HERO SECTION ----------------------
-
-
- */

/* curved blue background */
.homepage .curved-wrapper {
    height: 32vh;
    position: absolute;
    top: var(--bs-app-header-height);
    left: 0;
    right: 0;
    overflow-x: clip;
    max-height: 500px;
}

.homepage .curved-bg {
    --scale: 1.5;
    background: url('../../img/main-v2/world-map.webp'), linear-gradient(97deg, #B7F0FF 20%, #38D4FF 70%);
    background-size: min(calc(90% / var(--scale)), calc(900px / var(--scale))), cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 0 0 100% 100%;
    scale: var(--scale);
    transform-origin: top center;
}

/* others */
.homepage .hero {
    position: relative;
    z-index: 1;
}

.homepage .hero .hero-logos {
    translate: -12px 0;
}

.homepage .hero .hero-logos img {
    height: clamp(34px, calc(20.182px + 4.318vw), 72px);
}

/* kt_sign_up_form */
.homepage .hero #signup {
    box-shadow: var(--soft-shadow);
}

.homepage .hero form#kt_sign_up_form .fv-row input.form-control {
    border-radius: 4px;
    background: #F0F0F0;
    border-color: #F0F0F0;
}

.homepage .hero form#kt_sign_up_form .form-check input:checked {
    background-color: #094074;
    color: white;
}

.homepage .hero form#kt_sign_up_form .fs-sm {
    font-size: 12px;
    line-height: 1.3;
}

.homepage .hero form#kt_sign_up_form .form-check a,
.homepage .hero form#kt_sign_up_form .signin-support a {
    color: var(--hp-highlight, #00A6D4);
}

.homepage .hero form#kt_sign_up_form .form-check a:hover,
.homepage .hero form#kt_sign_up_form .signin-support a:hover {
    text-decoration: underline !important;
}

.homepage .hero form#kt_sign_up_form hr {
    border-color: #094074;
    opacity: 1;
}

/* media queries */
@media screen and (min-width: 768px) {
    .homepage .curved-wrapper {
        height: 50vh;
    }

    .homepage .curved-bg {
        background-position: 45% center;
    }

    .homepage .hero #signup {
        box-shadow: none;
    }
}

@media screen and (min-width: 992px) {
    .homepage .hero .hero-subheading,
    .homepage .hero .form-heading span.fs-2x {
        font-size: 24px !important;
    }
}

@media screen and (min-width: 1200px) {
    .homepage .hero .hero-heading .fs-5x {
        font-size: 80px !important;
    }

    .homepage .hero .hero-heading .fs-3x {
        font-size: 58px !important;
    }
}

/*
-
-
-
---------------------- QUICK INFO SECTION ----------------------
-
-
- */
.homepage .quick-info-group {
    margin-top: 60px;
}

.homepage .quick-info-group .quick-info {
    border: 1px solid var(--hp-highlight, #00A6D4);
    position: relative;
    text-align: center;
}

.homepage .quick-info-group .quick-info p {
    margin-bottom: 0;
}

.homepage .quick-info-group .quick-info .small-text {
    font-size: 14px;
    color: #6D6D6D;
    position: absolute;
    bottom: 16px;
}

/*
-
-
-
---------------------- BRANDS SECTION ----------------------
-
-
- */
.homepage .brands-group img {
    width: 48%;
    height: 40px;
    object-fit: contain;
    object-position: left center;
}

@media screen and (min-width: 768px) {
    .homepage .brands-group img {
        width: auto;
        height: clamp(45px, calc(18.333px + 3.472vw), 60px);
    }
}

/*
-
-
-
---------------------- STRENGTHS SECTION ----------------------
-
-
- */

/* heading */
.homepage .strengths-group {
    --grid-item-bottom-space: 60px;
    --grid-inner-top-space: 50px;
    --grid-item-bottom-lg-space: 48px;
}

.homepage .strengths-group .big-text {
    color: var(--hp-highlight, #00A6D4);
}

.homepage .strengths-group .label {
    background-color: var(--hp-highlight, #00A6D4);
    font-weight: 600;
    color: white;
    border-radius: 8px;
    padding: 10px 16px;
    display: inline-block;
    position: absolute;
    top: -20px;
    left: 32px;
    text-align: center;
}

/* strengths content */
.homepage .strengths-group .strengths-wrapper {
    padding-top: 20px;
}

.homepage .strengths-group .strength {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.homepage .strengths-group .strength-text {
    flex-grow: 1;
}

.homepage .strengths-group img {
    position: absolute;
    top: -30px;
    right: 5%;
    width: 90px;
}

@media screen and (min-width: 576px) {
    .homepage .strengths-group img {
        position: static;
        width: 120px;
    }
}

@media screen and (min-width: 768px) {
    .homepage .strengths-group .label {
        padding: 5px 43px;
        top: -25px;
        left: 16px;
    }
}

@media screen and (min-width: 991px) {
    .homepage .strengths-group .label {
        font-size: 22px !important;
    }
}

/*
-
-
-
---------------------- ZENONE SERVICES SECTION ----------------------
-
-
- */
.homepage .zenone-group .zenlink {
    --service-main: #03DACC;
    --service-underline: #A0E8E3;
}

.homepage .zenone-group .zenstudio {
    --service-main: #9E7BFF;
    --service-underline: #D1C0FF;
}

.homepage .zenone-group .zenpromo {
    --service-main: #F46192;
    --service-underline: #FFC0D5;
}

.homepage .zenone-group hr {
    border-color: var(--service-main, #00A6D4);
    border-width: 2px;
}

.homepage .zenone-group img.logo {
    width: 155px;
    translate: -20px 0;
}

.homepage .zenone-group img.illustration {
    max-width: 192px;
    height: auto;
}

.homepage .zenone-group h3 {
    position: relative;
    display: inline-block;
}

.homepage .zenone-group h3::after {
    content: "";
    display: block;
    position: absolute;
    height: 9px;
    width: 100%;
    left: 0;
    bottom: 2px;
    background-color: var(--service-underline, #8fd7eb);
}

.homepage .zenone-group .underline {
    position: relative;
    z-index: 1;
}

.homepage .zenone-group i {
    font-size: 24px;
    color: var(--service-main, #00A6D4);
}

@media screen and (min-width: 992px) {
    .homepage .zenone-group img.logo {
        width: 180px;
    }
}

/*
-
-
-
---------------------- CASE STUDY SECTION ----------------------
-
-
- */
.homepage .casestudies-group .link,
.homepage .casestudies-group .link a,
.homepage .casestudies-group i {
    color: var(--hp-highlight, #00A6D4);
}

.homepage .casestudies-group .link a {
    transition: 200ms ease-in-out;
}

.homepage .casestudies-group .link a:hover {
    opacity: 0.6;
}

.homepage .casestudies-group i {
    font-size: 19px;
}

.homepage .casestudies-group .card-head img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

/*
-
-
-
---------------------- LAST CTA SECTION ----------------------
-
-
- */
.homepage .cta {
    background: linear-gradient(97deg, #B7F0FF 5.6%, #38D4FF 98.31%);
    overflow-x: clip;
}

.homepage .cta .text,
.homepage .cta .text *:not(.illustration) {
    position: relative;
    z-index: 1;
}

.homepage .cta .btn {
    min-width: 250px;
}

.homepage .cta .illustration {
    width: 90%;
    height: auto;
}

@media screen and (min-width: 768px) {
    .homepage .cta .cta-subheading {
        font-size: 20px;
    }

    .homepage .cta .illustration {
        scale: 2.1;
        translate: 0 -10%;
        transform-origin: 80% 60%;
    }
}

@media screen and (min-width: 1200px) {
    .homepage .cta .text {
        width: 60% !important;
    }

    .homepage .cta .illustration {
        scale: 1.2;
        width: 40% !important;
        transform-origin: right 60%;
    }
}

/*
-
-
-
---------------------- ANIMATION ----------------------
-
-
- */
@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.homepage .fadein-1,
.homepage .fadein-2,
.homepage .fadein-3,
.homepage .fadein-4,
.homepage .fadein-5 {
    opacity: 0;
}

.homepage .hero .fadein-1 {
    animation: fade .6s ease-in-out .2s 1 normal forwards;
}

.homepage .hero .fadein-2 {
    animation: fade .6s ease-in-out .4s 1 normal forwards;
}

.homepage .hero .fadein-3 {
    animation: fade .6s ease-in-out .6s 1 normal forwards;
}

.homepage .hero .fadein-4 {
    animation: fade .6s ease-in-out .8s 1 normal forwards;
}

.homepage .quick-info-group.fadein-5 {
    animation: fade .6s ease-in-out 1s 1 normal forwards;
}
