:root {
    --blue: #112367;
    --green: #99C32F;
}

* {
    box-sizing: border-box;
    scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:white;

  background: url("/assets/images/background.jpg") center/cover no-repeat fixed;
}

body::after{
  content:"";
  position:fixed;
  width:1000px;
  height:1000px;
  background:radial-gradient(circle, rgba(153,195,47,0.12), transparent 70%);
  top:-200px;
  right:-200px;
  pointer-events:none;
  z-index:0;
}

section{
  scroll-margin-top:80px;
}

.container{
  max-width:1100px; 
  margin:0 auto;
  padding:0 30px;
}

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:18px 0;
  z-index:999;
  transition:all .35s ease;

  background:rgba(0,0,0,0.15);
  backdrop-filter:blur(6px);
}

.navbar.scrolled{
  background:rgba(5,18,31,0.95);
  backdrop-filter:blur(12px);
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
}



.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-left img{
  height:60px;
  display:block;
}

.company-right{
  font-size:24px;
  font-weight:400;
  letter-spacing:0.5px;
}

/* HERO */
.hero{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-overlay{
  position:absolute;
  inset:0;

  background:linear-gradient(
    rgba(5,18,31,0.92),
    rgba(5,18,31,0.96)
  );
}




.hero-content {
    position: relative;
    max-width: 900px;
    padding: 20px;
      opacity:0;
  transform:translateY(40px);
  animation:heroFade 1.2s ease forwards;
  animation-delay:.2s;
}

@keyframes heroFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #8FBC2E;
}

.hero p {
    font-size: 20px;
    color: #e5e5e5;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:900px){
.hero h1 {
  font-size: 36px;
}
.hero p {
  font-size: 18px;
}
}

@media(max-width:900px){
  .hero h1 {
    font-size: 36px;
  }
  .hero p {
    font-size: 18px;
  }
  .hero {
    align-items: flex-start;
    padding-top: 200px;
    height: 100vh;
  }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn{
  padding:14px 26px;
  border-radius:10px;
  font-size:16px;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.5px;
  transition:0.25s;
}

.btn-primary{
  background:#8FBC2E;
  color:#fff;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}



.info-contact{
  padding:80px 0;
  position:relative;
}

.info-contact::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(5,18,31,0.55); /* tummentaa kuvaa */
  z-index:0;
}

/* sisältö overlayn päälle */
.info-grid{
  position:relative;
  z-index:2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}



/* GLASS BOX */
.info-box,
.contact-box{
  background:rgba(5,18,31,0.75);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter:blur(14px);
  padding:20px 38px 34px 38px;
  border-radius:13px;
  transition:all .35s ease;
  position:relative;
}

.info-box:hover,
.contact-box:hover{
  transform:translateY(-6px);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.55),
    0 0 30px rgba(153,195,47,0.15);
}

/* HEADINGS */
.info-box h2,
.contact-box h2{
  font-size:28px;
  margin-bottom:20px;
}

/* TEXT */
.info-box p{
  color:#cbd5e1;
  line-height:1.7;
  margin-bottom:25px;
}

/* LISTA */
.services{
  list-style:none;
  padding:0;
  margin:0;
}

.services li{
  margin-bottom:12px;
  font-size:18px;
  position:relative;
  padding-left:22px;
}

.services li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:8px;
  height:8px;
  background:#99C32F;
  border-radius:50%;
}

/* FORM */
.contact-box form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contact-box input,
.contact-box textarea{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  padding:14px;
  border-radius:10px;
  color:white;
  font-size:15px;
}

.contact-box textarea{
  min-height:130px;
  resize:vertical;
}

.contact-box input:focus,
.contact-box textarea:focus{
  outline:none;
  border:1px solid #99C32F;
}

/* BUTTON */
.contact-box button{
  margin-top:15px;
  width:180px;
  padding:16px 20px;
  font-size:16px;
  font-weight:600;
  letter-spacing:0.5px;

  background:#8FBC2E;          
  color:#ffffff;
  border:none;
  border-radius:12px;

  cursor:pointer;
  transition:all .25s ease;
}

.contact-box button:active{
  transform:translateY(0);
  box-shadow:0 6px 15px rgba(0,0,0,0.4);
}

/* MOBILE */
@media(max-width:900px){
  .info-grid{
    grid-template-columns:1fr;
  }
}

/* FADE-IN ANIMAATIO */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:all .9s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* STICKY CALL NAPPI */
.sticky-call{
  position:fixed;
  right:25px;
  bottom:25px;
  background:#8FBC2E;
  color:#fff;
  padding:16px 22px;
  border-radius:50px;
  font-weight:600;
  text-decoration:none;
  font-size:16px;
  letter-spacing:.5px;

  box-shadow:0 15px 35px rgba(0,0,0,0.45);
  z-index:9999;

  opacity:0;
  transform:translateY(20px);
  transition:all .35s ease;
}

.sticky-call.show{
  opacity:1;
  transform:translateY(0);
}

.sticky-call:hover{
  background:#a7d63a;
  transform:translateY(-3px);
}

.footer{
  padding:50px 0;
  background:rgba(5,18,31,0.95);
  position: relative;
}

.footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:linear-gradient(to right, transparent, #99C32F, transparent);
  opacity:.6;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

.footer-logo{
  height:120px;
  opacity:0.95;
}

.footer-right{
  text-align:left;
  line-height:1.8;
  color:#cbd5e1;
  font-size:15px;
}

.footer-right a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-right a:hover {
  opacity: 0.7;
}

.footer-company{
  font-weight:600;
  font-size:18px;
  color:#8FBC2E;
  margin-bottom:4px;
}

@media(max-width:850px){
  .footer-inner{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .footer-right{
    text-align:center;
  }
}

.hr-fade {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #8FBC2E 20%,
    #8FBC2E 80%,
    transparent
  );
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-partner-logos img {
  height: 70px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-partner-logos img:hover {
  opacity: 1;
}

@media(max-width:850px){
.footer-partner-logos {
  justify-content: center;
}
.footer-partner-logos img {
  height: auto;
  width: 25%;
}
}