/*
========================
GOBAL CSS START
========================
*/

@font-face {
    font-family: "Nagel VF";
    src: url(webfonts/Nagel_VF.otf);
}

body {
    font-family: "Nagel VF";
    font-size: 16px;
    font-weight: 400;
    background: #2A09F5;
    color: #fff;
}

html,
body,
header,
footer,
main,
nav,
section,
div,
menu,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
strong,
i,
ol,
ul,
li,
form,
label,
button {
    margin: 0;
    padding: 0;
}

ol,
ul {
    list-style: none;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
    -moz-transition: 0.2s all ease;
}

a:visited,
a:hover,
a:active {
    text-decoration: none;
}

img {
    max-width: 100%;
}

::selection {
    color: white;
    background: #ff7675;
}

::-webkit-selection {
    color: white;
    background: #ff7675;
}

::-moz-selection {
    color: white;
    background: #ff7675;
}

.scrolltotop {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #0887F7;
    text-align: center;
    font-size: 22px;
    color: #ffffff;
    position: fixed;
    right: 30px;
    bottom: 25px;
    display: none;
    animation: lab_top_up 5s linear infinite;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
}

.scrolltotop i {
    color: #ffff;
}

@keyframes lab_top_up {
    0% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.pluse,
.pluse2 {
    position: relative;
    top: 10px;
    left: -8px;
    z-index: -1;
}

.pluse::before,
.pluse2::before {
    width: 40px;
    height: 40px;
}

.pluse::after,
.pluse::before,
.pluse2::after,
.pluse2::before {
    background: #0887F7;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    display: block;
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
}

.pluse::after,
.pluse2::after {
    width: 30px;
    height: 30px;
    background: transparent;
    margin-left: -15px;
    margin-top: -15px;
}

.pluse::before {
    -webkit-animation: pluse_animate 2.5s infinite linear;
    animation: pluse_animate 2.5s infinite linear;
}

.pluse2::before {
    -webkit-animation: pluse_animate 3s infinite linear;
    animation: pluse_animate 3s infinite linear;
}

@keyframes pluse_animate {
    0% {
        opacity: 1;
        -webkit-transform: translate(-50%, -50%) scale(0.3);
        transform: translate(-50%, -50%) scale(0.3);
    }

    100% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) scale(2);
        transform: translate(-50%, -50%) scale(2);
    }
}

/*===============
 GOBAL CSS END  
 ============== */

.header {
    padding-top: 56px;
    padding-bottom: 62px;
    background: url(images/top-bg.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.18px;
    display: inline-block;
    margin: 0 15px;
}

.navbar-nav .nav-link:hover {
    color: #31C7F0;
}

.action-btn a {
    padding: 16px 24px;
    border-radius: 90px;
    border: 1px solid #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.18px;
    color: #fff;
    transition: 0.3s;
    display: inline-block;
}

.action-btn a:hover {
    background: #2A09F5;
    border-color: #2A09F5;
}


.navbar-button {
    background: transparent;
    border: none;
    outline: none;
}

.toggle {
    cursor: pointer;
    overflow: hidden;
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-toggle {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 5px;
    transition: all .6s;
}

.line-toggle:first-child {
    transform: translateY(-11px) translateX(0);
    width: 100%;
    transition-delay: 0s;
}

.toggle .line-toggle:nth-child(2) {
    transition-delay: .12s;
}

.line-toggle:last-child {
    transform: translateY(11px) translateX(0);
    width: 100%;
    transition-delay: 0s;
}

.toggle.activate .line-toggle:first-child {
    background: #fff;
    transform: translateY(0) translateX(0) rotate(45deg);
    width: 40px;
    height: 4px;
    transition-delay: .1s;
}

.toggle.activate .line-toggle:nth-child(2) {
    transform: translateX(110px);
    transition-delay: 0s;
}

.toggle.activate .line-toggle:last-child {
    background: #fff;
    transform: translateY(0) translateX(0) rotate(314deg);
    width: 40px;
    height: 4px;
    transition-delay: .1s;
}

.nav-fixed {
    position: fixed;
    left: 0;
    top: -100%;
    width: 100%;
    transition: 0.3s;
    z-index: 999;
    background: #0E0042;
}

/*====== nav area style end hare ======= */

.hero-area {
    padding-top: 62px;
}

.hero-left h2 {
    font-size: 80px;
    letter-spacing: 0.8px;
    margin-bottom: 32px;
}

.action-btn.bg-rose a:hover {
    background: #F04CA9;
    border-color: #F04CA9;
}

.hero-content-box {
    margin-top: 62px;
    padding: 80px 48px;
    border-radius: 20px;
    background: #0E0042;
}

.hero-inner-wapper h2 {
    font-size: 46px;
    letter-spacing: 0.46px;
}

.hero-inner-content p {
    font-size: 15px;
    letter-spacing: 0.15px;
    margin-bottom: 20px;
}

/*======== header area style start hare ====== */

/*===== keyttotarkoitukset area start hare ===== */

.keyttotarkoitukset-area-start {
    padding: 80px 0;
    background: #0E0042;
}

.keytto-title h2 {
    font-size: 46px;
    margin-bottom: 10px;
    text-align: center;
}

.keytto-title span {
    display: inline-block;
    width: 34px;
    height: 2px;
    background: #F04CA9;
    margin: 0 auto;
}

.images-box {
    height: 292px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F04CA9;
    border-radius: 20px;
}

.keytto-des a {
    font-size: 24px;
    font-weight: 700;
}

.keytto-des p {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 400;
}

/*========= keyttotarkoitukset area style end hare ======== */

/*======== nayatta area style start hare =========== */

.nayatta-area {
    padding: 125px 0;
    background: url(images/section-bg.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.nayatta-box h2 {
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.52px;
    padding-right: 65px;
}

.nayatta-box p {
    margin: 24px 0;
    font-size: 18px;
    max-width: 680px;
}

.nayatta-images {
    width: 395px;
    height: 371px;
    border-radius: 20px;
    background: #FF6DC1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
}

/*======== nayatta area style end hare ======= */

/*========= nian area style start hare ======== */

.nian-area {
    padding: 80px 0;
    background: url(images/nian-bg.png) no-repeat;
    background-position: center;
    background-size: cover;
}

.niyan-title h2 {
    font-size: 46px;
    font-weight: 400;
}

.niyan-content {
    padding-top: 56px;
}

.signle-niyan h2 {
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
}

.signle-niyan p {
    padding: 16px 0;
    font-size: 14px;
}

.signle-niyan a:hover {
    color: #F04CA9;
}

/*========== nian area style end hare ============ */

/*=========== footer area start hare ========= */

.footer-area {
    padding: 80px 0;
    background: #0E0042;
}

.footer-title h2 {
    font-size: 46px;
    font-weight: 400;
}

.footer-title span {
    display: inline-block;
    width: 34px;
    height: 2px;
    background: #FF6DC1;
    margin: 32px 0;
}

.footer-wapper p {
    max-width: 824px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.footer-wapper .mail-box {
    width: 100%;
    height: 54px;
    border-radius: 431px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.footer-wapper .mail-box input {
    width: 80%;
    padding: 10px 35px;
    border: none;
    outline: none;
    background: transparent;
}

.footer-wapper .mail-box button {
    background: #F04CA9;
    border: none;
    outline: none;
    padding: 7px 15px;
    margin-right: 20px;
    border-radius: 90px;
    color: #fff;
    transition: 0.3s;
}

.footer-wapper .mail-box button:hover {
    background: #2A09F5;
}

.mail-box-container {
    width: 715px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 56px;
}

.name-fields {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.name-fields input {
    flex: 1;
    height: 54px;
    padding: 10px 35px;
    border: none;
    outline: none;
    background: #FFF;
    border-radius: 431px;
}

/* Media query for mobile devices */
@media (max-width: 576px) {
    .name-fields {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .name-fields input {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px 35px;
    }

    .name-fields input:last-child {
        margin-bottom: 0;
    }

    .mail-box-container {
        padding: 0 20px;
    }
}

/* Add these styles at the end of your CSS file */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

#modalMessage {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
    text-align: center;
}