body {
  position: relative;
  font-family: 'Epilogue', sans-serif; 
  min-height: 100vh;
  padding: 0;
  margin: 0;
  color: #000000de;
}

*,
*::after,
*::before {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/*Common*/
.container {
    max-width: 1200px;
}

.section {
    margin-bottom: 100px;
}

.even-section {
    background-color: #f2f2f2;
    padding: 20px 0;
}

.section-without-margin {
    margin-bottom: 0;
    padding-bottom: 80px;
}

.section-title {
    position: relative;
    text-align: center;
    font-family: 'Epilogue-ExtraBold', 'sans-serif';
    font-size: 48px;
    letter-spacing: -0.48px;
    margin-bottom: 118px;
    margin-top: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translate(-50%);
    width: 62px;
    height: 4px;
    background-color: #265073;
}

@media only screen and (max-width: 768px) {
    .section {
        margin-bottom: 80px;
    }
    
    .section-title {
        font-size: 34px;
        letter-spacing: -0.27px;
        line-height: 48px;
        margin-bottom: 65px;
    }

    .section-title::after {
        height: 5px;
        bottom: -9px;
    }
}



/*-------------------------------------------*/

/*Header*/
.sticky-header {
    position: sticky;
    top: 0;
    background-color: #f2f2f2;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0px 20px;
}

.logo {
    color: #265073;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: bold;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav a{
    font-size: 14px;
    letter-spacing: 0.14px;
    color: #000000de;
    text-decoration: none;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%);
    width: 33px;
    opacity: 0;
    height: 3px;
    background-color: #265073;
    transition: opacity 0.3s ease; 
}

.header-nav a:hover::after {
    opacity: 1;
    width: 60%;
}


/*-------------------------------------------*/

/*Hero section*/
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 750px;
    margin: 0 auto;
    background-image: url("../assets/images/homebg.webp");
    margin-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center; 
    align-items: center;
}

.title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-size: 52px;
    font-family: 'Epilogue-Bold', 'sans-serif';
    text-align: center;
    padding: 20px;
    max-width: 920px;
}

.title span{
    color: #265073;
}

@media only screen and (max-width: 768px) {
    #hero-video {
        min-height: 250px;
        max-height: 467px;
    }

    .title {
        font-size: 28px;
    }
}
/*-------------------------------------------*/


/*Introduction section*/
.introduction-container {
    margin: 0 auto;
    padding: 0 30px;
}

.introduction-container p {
    text-align: left;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0.56px;
    margin: 0;
    padding-bottom: 20px;
}

/*-------------------------------------------*/

/*Offer section*/
.offer-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 0 30px;
}

.offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    max-width: 300px;
}

.offer img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
}

.offer h3 {
   text-align: center;
   font-family: 'Epilogue-Bold', 'sans-serif';
   font-size: 24px;
   letter-spacing: 0.18px;
   margin: 0;
   padding-top: 32px;
   padding-bottom: 26px;
}

.offer p {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0.56px;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .offer h3 {
        font-size: 20px;
        letter-spacing: 0.15px;
        line-height: 32px;
    }
    .offer p {
        font-size: 16px;
        line-height: 27px;
        letter-spacing: 0.5px;
    }
}
/*-------------------------------------------*/


/*Function section*/
.function-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 83px;
    margin-bottom: 95px;
    padding: 0 30px;
}

.function-container-reversed {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 83px;
    margin-bottom: 95px;
    padding: 0 30px;
}

.function-container img {
    width: auto;
    flex: 1;
    min-width: 250px;
    max-height: 500px;
    border-radius: 25px;
}

.function-container-reversed img {
    width: auto;
    flex: 1;
    min-width: 250px;
    max-height: 500px;
    border-radius: 25px;
}

.function-inner-container {
    flex: 1;
    min-width: 250px;
}

.function-inner-container h3 {
    margin-top: 0;
    margin-bottom: 32px;
    font-family: 'Epilogue-ExtraBold', 'sans-serif';
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0;
}

.function-inner-container p {
    margin: 0;
    font-family: 'Epilogue-Bold', 'sans-serif';
    color: #575864;
    font-size: 20px;
    letter-spacing: 0.15px;
    line-height: 32px;
}

.secondary-function-container {
    margin: 0 auto;
    flex-wrap: wrap;
    display: flex;
    gap: 25px;
}

.secondary-function-inner-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width:250px;
}

.secondary-function-inner-container img {
    max-width: 214px;
}

.secondary-function-inner-container h3 {
    font-family: 'Epilogue-Bold', 'sans-serif';
    font-size: 24px;
    letter-spacing: 0.18px;
    line-height: 34px;
    position: relative;
    margin-top: 31px;
    margin-bottom: 52px;
}

.secondary-function-inner-container h3::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 58px;
    height: 3px;
    background-color: #265073;
}

.secondary-function-inner-container p {
    font-size: 15px;
    letter-spacing: 0px;
    line-height: 26px;
    margin: 0;
}
@media only screen and (max-width: 768px) {
    .function-container-reversed {
        gap: 28px;
        flex-direction: column-reverse;
    }

    .function-container {
        gap: 28px;
    }

    .function-container-reversed img { 
        max-width: 100%;
    }

    .function-container img {
        min-width: 100%;
    }

    .function-inner-container h3 {
        margin-bottom: 16px;
        letter-spacing: 0.18px;
        font-size: 24px;
        line-height: 32px;
    }
    
    .function-inner-container p {
        font-size: 14px;
        letter-spacing: 0.25px;
        line-height: 28px;
    }

    .secondary-function-inner-container {
        padding: 0 30px;
    }

    .function-inner-container h3 {
        margin-top: 0;
        margin-bottom: 26px;
        font-size: 24px;
        line-height: 34px;
        letter-spacing: 0.18px;
    }
    
    .function-inner-container p {
        font-size: 15px;
        letter-spacing: 0;
        line-height: 26px;
    }
}
/*-------------------------------------------*/

/*Under the hood section*/
.underthehood-container {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0 30px;
}

.underthehood-inner-container {
    min-width: 135px;
    flex: 1;
}

.underthehood-inner-container img{
    max-height: 135px;
    border-radius: 50%;
}

.underthehood-inner-container h3{
    font-family: 'Epilogue-Bold', 'sans-serif';
    font-size: 24px;
    letter-spacing: 0.18px;
    line-height: 34px;
    position: relative;
    margin: 23px 0;
}

.underthehood-inner-container p{
    font-size: 15px;
    letter-spacing: 0px;
    line-height: 26px;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .underthehood-inner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .underthehood-inner-container img{
        max-height: 60px;
    }

    .underthehood-inner-container h3{
        font-size: 16px;
        letter-spacing: 0.14px;
        line-height: 24px;
        position: relative;
        text-align: center;
        margin: 23px 0;
    }
    
    .underthehood-inner-container p{
        font-size: 14px;
        letter-spacing: 0.25px;
        line-height: 22px;
        text-align: center;
        margin: 0;
    }

}
/*-------------------------------------------*/

/*Under the hood section*/
.cta {
    background-image: url('../assets/images/homebg.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 665px;
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 70px;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 80, 115, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}

.cta h3 {
    font-family: 'Epilogue-ExtraBold', 'sans-serif';
    font-size: 48px;
    letter-spacing: 0px;
    line-height: 56px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 90px;
}

.cta-inner-contaienr {
    display: flex;
    flex-direction: column;
}

.cta-contact {
    font-family: 'Epilogue-Bold', 'sans-serif';
    font-size: 20px;
    letter-spacing: 0.15px;
    line-height: 32px;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .cta h3 {
        font-size: 34px;
        letter-spacing: 0px;
        line-height: 56px;
        margin-bottom: 39px;
    }
    .cta-contact {
        font-size: 16px;
        letter-spacing: 0.12px;
        line-height: 32px;
        gap: 30px;
    }
}
/*-------------------------------------------*/

/*Footer*/
footer {
    padding: 0 30px;
    margin: 0 auto;
}

.nkfi-contaier {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 35px;
    margin-top: 0;
    margin-bottom: 125px;
}

.nkfi-contaier img{
    flex: 1;
    min-width: 350px;
}

.nkfi-contaier p {
    font-size: 14px;
    letter-spacing: 0.25px;
    line-height: 28px;
    margin: 0;
}

.nkfi-inner-container {
    margin-top: 10px;
    min-width: 350px;
    flex: 1;
}

.footer-hr {
    border: none;
    height: 1px;
    margin: 0;
    background-color: #265073;
}

.footer-signature {
    display: flex;
    justify-content: center;
    color: #265073;
    font-size: 14px;
    letter-spacing: 0.25px;
    line-height: 28px;
    margin: 22px 0;
}

@media only screen and (max-width: 768px) {
    .cta h3 {
        font-size: 34px;
        letter-spacing: 0px;
        line-height: 56px;
        margin-bottom: 39px;
    }
    .cta-contact {
        font-size: 16px;
        letter-spacing: 0.12px;
        line-height: 32px;
        gap: 30px;
    }

    .nkfi-inner-container {
        min-width: 200px;
    }

    .nkfi-contaier img{
        min-width: 100px;
        max-width: 250px;
    }
    
    .nkfi-contaier {
        margin-bottom: 37px;
        flex-direction: column-reverse;
    }
}

/*-------------------------------------------*/