@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
    .fa-facebook,.fa-linkedin{
        color:#4bc8ff;
    }
    .section-wrapper {
      width: 100%;
    }

/* ----------------------------------
   1. YHTEISTYÖKUMPPANIT (SLIDER)
---------------------------------- */
.partner-section {
  padding: 0px 45px;
  text-align: center;
}
.stories-track {
  display: flex;
  gap: 20px; /* Korttien välimatka */
  overflow-x: auto;
  scroll-behavior: smooth;
  /* Piilotetaan rullauspalkki siistin ulkoasun saavuttamiseksi */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}
/* Varmistetaan, että yläalue ottaa täyden leveyden */
.stories-header {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* Työntää sisällön oikeaan reunaan */
  margin-bottom: 16px; /* Lisää hieman tilaa kortteihin */
}

/* Asetetaan palleroiden säiliö oikealle ja rinnakkain */
.stories-dots {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px; /* Palleroiden välinen etäisyys */
  margin-right: 60px;
}
.stories-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.story-card {
  flex: 0 0 calc(33.333% - 14px); /* Esim. 3 korttia näkyvissä kerrallaan (säädä tarvittaessa) */
  min-width: 280px; /* Varmistaa toimivuuden mobiilissa */
  box-sizing: border-box;
}

.dot {
  cursor: pointer; /* Tekee palleroista klikattavia */
}
 /* Pääkortin säiliö */
.toggle-section-wrapper {
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

/* Yläpuolen kuva-alue */
.toggle-image-area {
  width: 100%;
  height: 420px;
  position: relative;
  background: #e2e8f0;
  overflow: hidden;
}

.image-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* Piilotetaan oletuksena kaikki kuvat */
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  background-size: cover;
  background-position: center;
  background:transparent;
}

.image-panel.active {
  display: flex; /* Näytetään vain aktiivinen kuva */
  animation: fadeIn 0.3s ease-in-out;
}
.image-panel img {
    width: 100%;
    padding-top:80px;
}
.home-bg .img2,.home-bg .img3,.home-bg .img4 {
    background-position: center 30%;
}
/* Alaosan Toggle-rakenne */
.toggle-container {
  display: flex;
  min-height: 280px;
}

.toggle-sidebar {
  width: 35%;
  background: #f8fafc;
  padding: 34px 16px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-link:hover {
  background: #e2e8f0;
  color: var(--text-main);
}
/* ----------------------------------
       3. ASIAKASTARINAT (15s AUTOPLAY)
    ---------------------------------- */
    .stories-section {
      background: var(--card-bg);
      border-radius: 10px;
      position: relative;
    }



    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #e2e8f0;
      transition: all 0.3s ease;
    }

    .dot.active {
      background: var(--primary);
      width: 20px;
      border-radius: 4px;
    }

    .stories-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      padding-bottom: 10px;
      scrollbar-width: none; /* Piilotetaan rullauspalkki puhtaamman ilmeen vuoksi */
    }
    button.toggle-link:focus {
        outline: 0px;
    }
    .stories-track::-webkit-scrollbar {
      display: none;
    }

    .story-card {
      flex: 0 0 calc(100% - 40px); /* Näyttää yhden isoimman kortin kerrallaan */
      scroll-snap-align: center;
      border-radius: 12px;
      padding: 0 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;
    }

    .story-quote {
      font-size: 1rem;
      color: var(--text-main);
      line-height: 1.6;
      font-style: italic;
      margin-bottom: 20px;
    }

    .story-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .author-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #dbeafe;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .author-info h4 {
      margin: 0;
      font-size: 0.9rem;
      color: var(--text-main);
    }

    .author-info span {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Mobilituki */
    @media (max-width: 640px) {
      .toggle-container { flex-direction: column; }
      .toggle-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); box-sizing: border-box; }
      .toggle-content-area { width: 100%; }
      .story-card { flex: 0 0 100%; }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
}

.toggle-content-area {
  width: 65%;
  padding: 36px;
  box-sizing: border-box;
}

.content-panel {
  display: none;
}

.content-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.content-panel h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--text-main);
}

.content-panel p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Animaatio ja mobiiliasettelu */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 1080p-class */
@media (min-width: 1920px) {
  /* 1920 × 1080 */
  .toggle-image-area { height: 420px; }
}

/* 1440p / QHD */
@media (min-width: 2560px) {
  /* 2560 × 1440 */
  .toggle-image-area { height: 620px; }
}

/* 4K UHD */
@media (min-width: 3840px) {
  /* 3840 × 2160 */
  .toggle-image-area { height: 620px; }
}


@media (max-width: 640px) {
  .toggle-container { flex-direction: column; }
  .toggle-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); box-sizing: border-box; }
  .toggle-content-area { width: 100%; }
  .toggle-image-area { height: 160px; }
}
    .partner-section h3 {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin: 0 0 20px 0;
    }

    .logo-slider {
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        padding: 3em;
    }

    .logo-slider::before,
    .logo-slider::after {
      content: "";
      position: absolute;
      top: 0;
      width: 80px;
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }

    .logo-slider::before {
      left: 0;
      background: linear-gradient(to right, var(--card-bg), transparent);
    }

    .logo-slider::after {
      right: 0;
      background: linear-gradient(to left, var(--card-bg), transparent);
    }

    .logo-track {
      display: inline-flex;
      gap: 24px;
      animation: loop 35s linear infinite;
    }

    .logo-item {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 120px;
      height: 54px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.875rem;
      color: var(--text-muted);
      flex-shrink: 0;
    }
    
     .logo-item img{
        max-width:100px;
        height:auto;
     }

    @keyframes loop {
      0% { transform: translateX(0); }
      100% { transform: translateX(calc(-50% - 12px)); }
    }

    /* ----------------------------------
       2. TOGGLE / VAIHTUVA SISÄLTÖ
    ---------------------------------- */
    .toggle-container {
      display: flex;
      background: var(--card-bg);
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow);
      min-height: 320px;
      overflow: hidden;
    }

    /* Vasen sivupalkki */
    .toggle-sidebar {
      width: 35%;
      background: #f8fafc;
      padding: 34px 16px;
      border-right: 1px solid var(--border-color);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .toggle-link:hover {
      background: #e2e8f0;
      color: var(--text-main);
    }

    /* Oikea sisältöalue */
    .toggle-content-area {
      width: 65%;
      padding: 36px;
      box-sizing: border-box;
    }

    .content-panel {
      display: none;
      animation: fadeIn 0.3s ease-in-out;
    }

    .content-panel.active {
      display: block;
    }

    .content-panel h2 {
      margin-top: 0;
      font-size: 1.35rem;
      color: var(--text-main);
    }

    .content-panel p {
      color: var(--text-muted);
      line-height: 1.6;
      font-size: 0.95rem;
      margin-bottom: 0;
    }

    /* Mobilituki */
    @media (max-width: 640px) {
      .toggle-container {
        flex-direction: column;
      }
      .toggle-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        box-sizing: border-box;
      }
      .toggle-content-area {
        width: 100%;
      }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }
:root {
    --color-0:#001846;/*#000028;//#003595;*/
    --color-1:#003595;/*#1497d5;*/
    --color-2:#25a3db;
    --color-3:#ffffffde;
    --color-4:black;
    --color-5:#fafafa;
    --primary: #25a3db;
    --bg-color: #f8fafc;
    --card-bg: #fafafa;
    --text-main: #0f172a;
    --text-muted: #555555;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 12px 20px -3px rgba(0, 0, 0, 0.08);

}


.team-section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.team-header {
  text-align: center;
  margin-bottom: 32px;
}

.team-header h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:#175a78;
  margin: 0 0 8px 0;
}

.team-header h2 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-5px);
}

.member-image-wrapper {
/*  width: 145px;
  height: 155px;*/
  border-top-left-radius: 5%;
  border-top-right-radius: 5%;
  overflow: hidden;
  margin-bottom: 16px;
/*  border: 3px solid #f1f5f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .member-image {
  transform: scale(1.08);
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.member-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.member-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 16px;
}

/* Yhteystiedot */
.member-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.825rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
.team-grid {
      grid-template-columns: repeat(1, 1fr);
      gap: 16px;
  }  
  .team-card {
    padding: 16px 10px;
  }
  
  .member-image-wrapper {
    width: 75%;
    height: 75%;
  }

  .contact-link {
    font-size: 0.75rem;
  }
}
html{
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: transparent; 
}
body, html{
    height:100%;
    font-family: 'Inter','Comfortaa',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300!important;
}
body{
    background-color:#fafafa;
    /*background-image: url("https://www.etuotteet.cloud/etuotteet/nettisivut/ui/images/bg-alt.jpg");*/
    background-position: center;
    overflow-x: hidden;
}
a{
    font-weight: 500!important;
}
.border-radius-10{
    border-radius:10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    border-color: rgb(255, 255, 255);
}
.navbar-toggler {
}
.text-indent-minus{
    text-indent: -0.85em;
    margin-left:0.85em;
    margin-bottom: 0.8em;
}
.news-link{
    color:var(--color-0)!important;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 300!important;
}
.bg-0{
    background:var(--color-0)!important;
}
.bg-1{
    background:var(--color-1)!important;
}
.bg-2{
    background:var(--color-2)!important;
}
.bg-3{
    background:var(--color-3)!important;
}
.bg-4{
    background:var(--color-4)!important;
}
.bg-5{
    background:var(--color-5)!important;
}
.bg-black{
    background:black;
}
.color-0{
   background:var(--color-1)!important;
}
.color-1{
   color:var(--color-1)!important;
}
.color-2{
   color:var(--color-2)!important;
}
.color-3{
   color:var(--color-3)!important;
}
.color-4{
   color:var(--color-4)!important;
}
.color-5{
   color:var(--color-5)!important;
}
.nav-link,.nav-link:hover,.nav-link:focus{
    color:#001846!important;
}
.nav-link.active{
/*    color:#4bc8ff!important;
    font-weight: bold;*/
  text-decoration: underline;
  text-decoration-color: #3cb4e8;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}


.toggle-link.active {
    color:#001846;
    text-decoration: underline;
    text-decoration-color: #3cb4e8;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}
.nav-item{
    font-size:1.1rem;
}
.navbar-trans{
}
.navbar{
    background:#fafafa;
}
.ul-social{
    min-width:200px;
}
.logo{
    max-width:200px;
}
.btn-primary,.btn-primary:focus,.btn-primary:active,.btn-primary:hover{
    color:white;
    background-color:var(--color-0)!important;
    border:none;
    border-radius:10px;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    background:white;
    color:var(--color-0)!important;
    border:none;
}
.image-transition{
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.contact-title{
    min-height: 78vh;
}
.home-bg {
  min-height: 52vh;
width: 64%;
left: 18%;
position: relative;
  overflow: hidden;
  margin-top:75px;
}

/* Yhteiset tyylit kuva-kerroksille */
.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center 67%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  /* Animaation kokonaiskesto 20s (4 kuvaa x 5s) */
  animation: pureCssFade 20s infinite ease-in-out;
}
.img1,.img2,.img3,.img4 {
    border-radius: 10px;
    overflow: hidden;
}
/* Kuvat ja 5 sekunnin porrastukset */
.img1 {
  background-image: url("https://www.etuotteet.cloud/etuotteet/nettisivut/ui/images/bg.jpg");
  animation-delay: 0s;
}

.img2 {
  background-image: url("https://etuotteet.cloud/etuotteet/nettisivut/ui/images/devices/ekons_case1.jpg");
  animation-delay: 5s;
}

.img3 {
  background-image: url("https://etuotteet.cloud/etuotteet/nettisivut/ui/images/devices/einf_case1.jpg");
  animation-delay: 10s;
}

.img4 {
  background-image: url("https://etuotteet.cloud/etuotteet/nettisivut/ui/images/devices/elaitoshuolto_case2.jpg");
  animation-delay: 15s;
}

/* Animaatio neljälle kuvalle (kukin 25% kokonaisajasta = 5s) */
@keyframes pureCssFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1; /* Feidaus sisään (1s) */
  }
  25% {
    opacity: 1; /* Pysyy näkyvissä */
  }
  30% {
    opacity: 0; /* Feidaus ulos (1s) */
  }
  100% {
    opacity: 0;
  }
}
.home-title{
    min-height: 10vh;
}
.home-numbers{
    top: -1px;
    /*min-height: 21vh;*/
    width: 66%;
    left: 17%;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position:relative;
}
:root {
  --primary-color: #001846; /* Pääväri / Teemaväri */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-card: #f8fafc;
  --border-card: #e2e8f0;
}

/* Säiliö ja asettelu */
.stats-section {
  width: 100%;
  max-width: 67%;
  margin: 0 auto;
  padding: 40px 21px;
  box-sizing: border-box;
  min-height: 23vh;
  position:relative;
 
}

/* Otsikkoalue */
.stats-header {
  text-align: center;
  margin-bottom: 32px;
}

.stats-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stats-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* 1. Oletus / Tietokoneet: Aina 4 saraketta rinnakkain */.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* 2. Tabletit ja pienemmät näytöt (alle 992px): Aina 2x2 ruudukko */@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
/* 3. Pienet puhelimet (alle 480px): Kortit allekkain 1 sarakkeeseen */@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
 
/* Yksittäinen avainlukukortti */
.stat-card {
/*  background-color: var(--bg-card);
  border: 1px solid var(--border-card);*/
  border-radius: 10px;
  padding: 18px 0px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

/* Tyytyväisyyskortin hieno korostus (valinnainen) */
.stat-card.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
}

/* Numero-osa */
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-max {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Selite-osa */
.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}
hr {
    opacity: 0!important;
}
/* Mobiili-optimointi */
@media (max-width: 600px) {
  .stats-title {
    font-size: 1.6rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 ruudukko mobiilissa */
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}
.img-mobile {
    position: fixed;
    bottom: -4%;
    right: -2%;
    width: 13%;
    -webkit-filter: drop-shadow(-10px -10px 5px #041025c9);
    filter: drop-shadow(-10px -10px 5px #041025c9);   
    border-radius: 10px;
}
.img-tablet{
    -webkit-filter: drop-shadow(10px -10px 5px #041025c9);
    filter: drop-shadow(10px -10px 5px #041025c9);   
    border-radius: 10px;
}
.img-mobile-alt {
    display:none!important;
    position: fixed;
    bottom: -55%;
    left: -3%;
    width: 16%;    
    -webkit-filter: drop-shadow(-8px -8px 5px #041025c9);
    filter: drop-shadow(-8px -8px 5px #041025c9);   
    border-radius: 10px;
}
.home-contact{
    position:relative;
    background:#001337f7!important;
}
.home-contact a{
    color:#3cb4e8;
}
.product-title{
    position:relative;
    min-height:100vh;
}
.contact-title{
    position:relative;
}
.product-slogan{
    margin-top:100px;
}
.container-fluid {
    padding: 0 !important;
    overflow-x: hidden;
    overflow-y: hidden;
    width:100vw;
}
.logo-reference{
    height:50px;
}
.langFlag {
    height: 15px !important;
    width: auto !important;
}
#tab-img-container{
    min-height:200px;
}
#mobile-img-container{
    min-height:412px;
}
.img-mobile-on-tablet{
    position:relative!important;
    width:30%!important;
    padding-bottom:30px!important;
    padding-top:30px!important;
}
.home-bg-tab {
    background-image: url("https://www.etuotteet.cloud/etuotteet/nettisivut/ui/images/bg.jpg");
    background-position: center!important;
    background-size:cover!important;
    background-attachment:unset!important;
}
.collapsing{
    transition: none;
}
#cookiescript_badge{
    position: absolute!important;
    display:none!important;
}
#cookiescript_badge,#cookiescript_badgetext{
    background: transparent!important;
    color:white!important;
}
#cookiescript_injected{
    background-color: #001846!important;
}
#cookiescript_injected,#cookiescript_injected > *,.cookiescript_checkbox_text,#cookiescript_manage {
    color:white!important;
    bottom: 23vh!important;
}
.cookiescriptlogo {
  fill: #eee!important;
}
.navbar-collapse.show, .navbar-collapse.collapsing {
    min-height:100vh;
}
.navbar.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),0 1px 2px rgba(0, 0, 0, 0.04);
    background:#fafafa!important;
}
.navbar:has(.show) {
    border-bottom: 1px solid #ffffff85;
}
:root {
  --text-main: #0f172a;
  --text-muted: #475569;
  --badge-bg: #f1f5f9;
  --border-color: #e2e8f0;
}

/* Säiliö ilman taustaa ja borderia */
.use-cases-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  /*max-width: 1000px;*/
  padding: 0; /* Poistettu laatikon sisämarginaalit */
  background: transparent; /* Ei taustaa */
  border: none; /* Ei reunaviivaa */
  box-shadow: none;
  margin: 0 auto;
  /*text-align:center;*/
}

/* Keskitetty otsikko */
.use-cases-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  text-align: left;
  width: 100%;
}

/* Badget vasemmalla */
.use-cases-list {
  /*display: flex;*/
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  width: 100%;
}

/* Hieman pienempi badge (pienempi fontti ja padding) */
.use-case-badge {
  display: inline-flex;
  align-items: center;
  margin-top:5px;
  padding: 5px 12px; /* Tiivistetty pehmuste */
  background-color: var(--badge-bg);
  color: var(--text-muted);
  font-size: 0.8rem; /* Pienennetty fonttikoko (aiemmin 0.875rem) */
  font-weight: 500;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  cursor: default;
  user-select: none;
}
@media only screen{
    body{
        /*background-color:#001846!important;*/
    }
    .nav-item{
        display:table;
    }
    .nav-link{
        display: table-cell;
        vertical-align: middle;
    }   
}
@media screen and (orientation:portrait) {
    .nav-item a .fa-2x{
        font-size: 1em!important;
    }
    .ul-social {
        margin-top:1rem;
        padding-left:1.5rem;
    }
    .navbar-header {
        width:100%;
    }
    .navbar-collapse.show, .navbar-collapse.collapsing {
        min-height:100vh;
    }
    .navbar-trans{
        border-bottom: 1px solid #ffffff85;
    }
    .navbar{
        border-bottom: 1px solid #ffffff85;
    }
    .home-bg{
        min-height: 50vh;
    }
    .img-mobile{
        position:relative!important;
        width:50%!important;
        padding-bottom:30px!important;
        padding-top:30px!important;
    }
    body {
        background-image: none;
    }
}
.lead{
    font-size: 1rem;
}
@media (max-width: 767px) {
    .navbar.scrolled {
        border-bottom: 2px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08),0 1px 2px rgba(0, 0, 0, 0.04);
        background:#fafafa!important;
    }
    .stats-section {
        max-width:100%;
    }
    .toggle-section-wrapper {
      border-radius: 0px!important;
    }
    .home-numbers{
        width: 100%;
        left:0%;
        border-radius:0px;
    }
    html, body{
        overflow-x: hidden;
    }
    body{
/*        background-color:#001846!important;
        background-image: url("https://www.etuotteet.cloud/etuotteet/nettisivut/ui/images/bg-alt.jpg");*/
    }
    .home-bg {
        background-image: url("https://www.etuotteet.cloud/etuotteet/nettisivut/ui/images/bg.jpg");
        background-position: center;
        min-height: 33vh;
        position:relative;
        background-position-x: center;
        /*background-position-y: -13vh;*/
        background-size:auto 100%;
        width:100%;
        left:0%;
    }
    h2, h2 {
        font-size: 1.6rem;
    }
    .col-12{
        padding-right:30px;
        padding-left:30px;
    }
    .navbar-header {
        width:100%;
    }
    .navbar-collapse.show, .navbar-collapse.collapsing {
        min-height:100vh;
    }
    .navbar-trans{
        border-bottom: 1px solid #ffffff85;
    }
    .navbar{
        background:#fafafa;
        border-bottom: 1px solid #ffffff85;
    }
    .img-mobile{
        position:relative!important;
        width:60%!important;
        bottom: 0!important;
        right: 0!important;
        padding-bottom:30px!important;
        padding-top:30px!important;
    }
    .navbar-toggler {
        color:#001846;
        border:none!important;
    }
    button:focus {
        outline: none!important;
    }
    .collapsing{
        transition: none;
    }
    #tab-img-container{
        min-height:200px;
    }
    #mobile-img-container{
        min-height:212px;
    }
    .logo {
        max-width: 180px;
    }
}

.dropdown-hover {
    position: relative;
}

.dropdown-hover .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    padding: 10px 0;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    list-style: none;
    z-index: 1000;
}

.dropdown-hover:hover .dropdown-menu,
.dropdown-hover:focus-within .dropdown-menu {
    display: block;
}

.dropdown-hover .dropdown-item {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-hover .dropdown-item:hover {
    background: #f1f1f1;
}
.dropdown-menu a{
    font-weight:400!important;
}

@media (min-width: 992px) {
    .dropdown-hover:hover .dropdown-menu,
    .dropdown-hover:focus-within .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .dropdown-hover .dropdown-menu {
        display: none !important;
    }
}