:root {
--font12:0.75rem;
--font40:2.5rem;
--font25:1.6rem;
--font20:1.25rem;
--font10:0.62rem;
--font200:12.5rem;
--font30:1.87rem;
--font50:3.12rem;
--fontwght600:600;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
font-size:17px;

}
body{
background-color:#041121; /*rgb(7, 3, 21);*/
color:#fff;
font-family:'Inter', sans-serif;
font-size: 1rem;
}

ul{
list-style:none;
}

a{
text-decoration:none;
color:#fff;
}

/*remove*/
button{
cursor:pointer;
background-color:#4C619B /* #E97E2E*/;
color: #fff;
/*padding:var(--font12) var(--font40);*//*12px 40px;*/
padding: 14px 75px;
border: none;
cursor: pointer;
border-radius: var(--font10);
font-size:1rem;
font-weight: var(--fontwght600);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);


}

button:hover{
    background: #fff;
    transform: translateY(-2px);
    color: #000;

}

.section-content{
margin:0 auto;
padding:0 var(--font20);
max-width: 1200px;
width: 100%;

}

.content-title{
/*text-align: center;*/
padding-bottom: var(--font30) /*30px*/;
/*text-transform: uppercase;*/
font-size: var(--font40);
font-weight: var(--fontwght600);
}
.sub-text{
font-size: 0.82rem; /*13px;*/
font-weight: var(--fontwght600);
padding-bottom: var(--font40);
}

.center{
text-align: center;

}

.navbar{
display:flex;
/*padding: var(--font10) var(--font30);*/
padding:0.5rem var(--font30);
align-items:center;
justify-content:space-between;
overflow: hidden;
position: fixed; 
top: 0;
width: 100%; 
z-index:99;
}
.navbar .nav-logo .logo-text{
    font-family: 'Libre Baskerville', serif;
color:#fff;
/*font-size:2.8rem 42px*/;
font-size:3rem /*42px*/;
color: #fff;
font-weight: normal;
letter-spacing: 7px;
}

#menu-open-button, #menu-close-button{
display: none;
}
.navbar .nav-menu{
display:flex;
gap:var(--font10);
align-items: center;
/*font-size:21px;*/
}

.navbar .nav-menu .nav-link{
padding:var(--font10) 18px;
color:#fff;
transition: transform 0.3s ease; /* Jämn övergång */
/*font-size: 17px;*/
}
.navbar .nav-menu .nav-link:hover{
    color: #000 /*#E97E2E*/;
    background:#f0f0f0;
    border-radius: 10px;
    

    
}
/*.navbar-btn{
padding:8px 22px;
}*/
#navbar-btn .nav-link{
background-color: #4C619B;
border-radius: 10px;
    color: #fff;
    padding:10px 30px;
    transition: transform 0.4s ease; 
}
#navbar-btn .nav-link:hover{
    background-color: #fff;
    color: #000;
}
.active_nav{
background-color: #041428;
box-shadow: 0 2px var(--font10) rgba(0, 0, 0, 0.5);
}
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transform: scale(1.05);
  animation: fadeIn 4s ease-out forwards;
  animation-delay: 0.4s;
}

/* Gradient overlay via :after */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(4, 17, 33, 0) 0%, #041121 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /*padding: 2rem;
  max-width: 800px;*/
  margin: 0 auto;
}

/* Text animation */
.hero-content h1,
.hero-content p,
.hero-content button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInText 1.2s ease-out forwards;
}
.hero-content h1 {
  animation-delay: 0.8s;
  font-size: 3.2rem;
  letter-spacing: -0.5px;
}
.hero-content p {
  animation-delay: 1.2s;
  font-size: var(--font20); /* Ex. 20px */
  width: 90%;
  margin: auto;
  padding-top: 1rem;
  padding-bottom: 3rem;
  line-height: var(--font30);
}
.hero-content button{
  animation-delay: 1.5s;
}

.hero-content span {
  background: linear-gradient(
    90deg,
    #F4F1EE 8%,
    #BFEEEB 30%,
    #FFAB90 60%,
    #6a89cc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

/* Animation keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.services-section,.benefits-section, .contact-section, .about-section{
padding: 9.4rem var(--font20);
display: flex;
justify-content: space-between;
/*background:#F4F1EE;*/
}


.new_text{
padding: 4.83rem 0 var(--font20) 0; /*70px 0 20 0*/
font-size: 1.45rem /*26px*/;
}
/*#about{
padding-top:var(--font40);
}*/
.about-section .stats{
display: flex;
justify-content: space-evenly;
flex-direction: column;
text-align: center;
padding-top:var(--font200);
gap:var(--font50);

}

.about-section .stats article strong{
font-size:2.8rem /*45px*/;
color: #4C619B;
font-weight: 800;
}
.about-section .stats article span{
font-size:0.82rem /*13px*/;
font-weight: 500;

}

.services-section .services-text{
width: 95%;
}
.services-details{
width:70%;
}
.services-box{
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 1rem var(--font20);
/*padding: 0px 20px;
max-width: 1100px;
margin: 0 auto;*/
gap: var(--font50);
padding-bottom: var(--font200);

}
.box {
box-sizing: border-box;
background-color: #0a0a0a;
padding: var(--font30);
flex: 1 1 360px;
transition: transform 0.3s ease;
width:100%;
max-width: 360px;
color: white;
border-radius: 15px;
box-shadow: 0px 4px var(--font10) #4C619B; /* Drop shadow */



}

.box:hover{
box-shadow: 0px 4px var(--font30) #4C619B; /* Drop shadow */
cursor: pointer;
transform: scale(1.12)
}
.box-title{
font-size: 1.25rem /*1.125rem*/;
font-weight: bold;
padding-bottom: var(--font20);
background-color: #0a0a0a;
}
.box-description{
font-size: 0.85rem /*13px*/;
padding-bottom: var(--font50);
background-color: #0a0a0a;
line-height: 1.55;
}

.box_button {
padding: 8px 35px;
/*margin-top: var(--font50);*/
border-radius: 15px;
cursor: pointer;
font-size:0.9rem /*11px*/;
background:none;
color: #fff;
border: 2px solid #4C619B;
}

.box_button:hover{
border: none;
background: #fff;
color: #000;
}

/*.box_button:hover {
background-color: rgba(255, 255, 255, 0.2);
cursor: pointer;
}*/


.services-text{
line-height:var(--font30);
/*font-size:16px;1.2rem*/
} 


.benefits-section .benefits-list{
display: flex;
flex-wrap:wrap;
gap:80px;
padding-top:5.94rem /*95px*/;
/*align-items:center;
text-align:center;*/
justify-content: space-evenly;

}

.benefits-item {
padding: 1.6rem /*28px*/;
border-radius: 50px;
width: calc(100% /3 - 70px);
color: white;
border: 2px solid #4C619B;
}


.benefit_titel{
font-size:0.95rem;
font-weight:var(--fontwght600);
padding-bottom:var(--font12);

}
.benefit_descr{
font-size:0.82rem /*13px*/;
}
#why-choose-us{
padding-bottom: 0;
}
.stocklm_pic{
background: linear-gradient(
to top,
rgba(4, 17, 33, 1) 0%,
rgba(4, 17, 33, 0.2) 30%, /*0.4/
rgba(4, 17, 33, 0.1) 70%,/*0.5*/
rgba(4, 17, 33, 1) 100%), url('image/newStockm.webp');
background-size: cover;
background-position: center;
height: 68vh; /*900px*/
}

.contact_elment{
display: flex;
justify-content: space-evenly;
align-items: center;
padding: var(--font50) 0 100px 0;

}

.contact_info{
padding-bottom:45px;
line-height: var(--font25);
}


.contact_info i{
font-size: var(--font25);
}
.contact_info p{
font-size: 0.87rem /*14px*/;
}
.map-form{
display: flex;
justify-content: center;
}

.map-form iframe{
display: flex;
/*width: 700px;
width: 90%;*/
width: 1100px;
max-width: 90%;
height: 250px;
}

.social-link h3{
font-size: 2rem /*32px*/;
}
.social-link i{
padding-top: var(--font20);
font-size: var(--font40);
color:#000;
}

.footer-section{
padding-top:200px;
}

.footer-section .section-content{
display:flex;
justify-content: space-between;
border-top: 1px solid #fff;
padding-top: var(--font50);
}
.footer-section .section-content h2{
font-size:2.5rem /*35px*/;
font-family: 'Libre Baskerville', serif;
color:#fff;
font-weight: normal;
letter-spacing: 3.5px;
}
.policy-text h4{
font-size: 0.82rem/*13px*/;
padding-bottom:5px;
}

.policy-text p{
font-size: var(--font12); /*12px*/;
padding-bottom:5px;
}
.footer-section .copyright-text{
padding: 60px 0 5px 0;
text-align:center;
font-size:0.7rem /*11px*/;
}
.social-link-list i{
font-size:var(--font40);
color:#fff;
}
/* Basic fade-in animation */
.section {
opacity: 0;
transform: translateY(250px);
transition: opacity 0.6s ease, transform 1s ease;
}

/* Trigger animation when section comes into view */
.section.show {
opacity: 1;
transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media screen and (max-width:1110px){
html{
    font-size:16px;
    }
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.22rem;
        line-height: 1.5;
    }    

.benefits-section .benefits-list .benefits-item {
width: calc(100% / 3 - 60px);
}

.footer-section .section-content {
    max-width: 95%;}
}

@media screen and (max-width:900px){

/*blur when mobile menu is on*/
body.show-mobile-menu nav::before{
content:"";
position:fixed;
left:0;
top:0;
height:100%;
width:100%;
backdrop-filter:blur(5px);
background: rgba(0,0,0,0.2);

}

.navbar :where(#menu-close-button,#menu-open-button){
font-size:18px;
}
.navbar #menu-close-button{
position:absolute;
right:30px;
top:30px;
}
.navbar #menu-open-button{
color:#fff;
}
.navbar #menu-close-button{
color:#fff;
}
#menu-open-button, #menu-close-button{
cursor:pointer;
display: block!important;
}

nav .navbar {
padding:10px;
}
.navbar .nav-logo .logo-text {
font-size:34px;
letter-spacing: 5px;
}

.navbar .nav-menu{
display:block;
background: #041428 /* #fff*/;
position:fixed;
left:-300px;
top:0;
width:300px;
height:100%;
display:flex;
flex-direction:column;
align-items: center;
/*background: #fff ;*/
padding-top:100px;
transition: left 0.2s ease;
}  
body.show-mobile-menu .navbar .nav-menu{
left:0;
}
.navbar .nav-menu .nav-link{
color:#fff;
display: block;
margin-top:25px;/*17px;*/
font-size:20px;/*30px;*/
}


.benefits-section .benefits-list .benefits-item {
width: calc(100%/2 - 60px)
}


}


@media screen and (max-width:801px){
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1.16rem;
        line-height: 1.5;
        width:100%;
    }
    .content-title {
        font-size: 2.5rem;
    }
.services-details, .services_title, .services-section .services-text {
width: 95%;
}

.services-section, .benefits-section, .contact-section, .about-section {
flex-direction: column;
}
.about-section .stats {
flex-direction: row;
padding-top: 7rem;
}

}
@media screen and (max-width:789px){
.box{
max-width: 80%;
}
.box-title {
font-size: 1.5rem
}
.box-description {
font-size: 0.95rem
}
.about-section .stats div span {
 font-size: 0.92rem
}

.benefits-section .benefits-list {
 gap: 60px
}
}

@media screen and (max-width:640px){
    .hero-section h1 {
        font-size: 2.4rem;
    }
    .hero-section p {
        font-size: 1rem;
        line-height: 1.5;
        width:100%;
    }
    .content-title {
        font-size: 2rem;
    }
    .box{
max-width: 90%;
    }
.services-details, .services_title, .services-section .services-text {
    width: 100%;
    }
.benefits-section .benefits-list{
gap:60px;
}
.benefits-section .benefits-list .benefits-item {
width:100% ;
}
.footer-section .section-content{
flex-direction:column;
gap:20px;
text-align:center;
}

}

@media screen and (max-width:460px){
 html{
font-size:15px;
    }
button {
    padding: 12px 60px;
}
.about-section .stats {
flex-direction: column;
}
.about-section .stats {
padding-top: 60px;
gap: 34px;
}
.box {
max-width: 95%;
}
}

@media screen and (max-width: 386px) {
    html{
        font-size:14px
    }
    .hero-section h1 {
        font-size: 2.35rem;
    }
.box-title{font-size: 1.4rem /*1.125rem*/}
.benefit_titel {
    font-size: 1rem;
}

.benefit_descr {
    font-size: 0.88rem /*13px*/;
}
}

@media screen and (max-width: 348px) {
    .hero-section h1 {
        font-size: 2.1rem;
    }
    .hero-section p {
        font-size: 1.05rem;}
        .content-title {
            font-size: 1.65rem;
        }
    .contact_elment {
        flex-direction: column;
        text-align:center;
    }

}
@media screen and (max-width: 258px) {
    html{font-size:12px;}
}