.service-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    flex-wrap: wrap; /* lisab mobiilivaates kohanduvuse */
}
  
.service-detail {
    max-width: 600px;
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    color: #333;
    flex: 1;
}
  
.service-detail h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #222;
}
  
.service-detail h3 {
    margin-top: 20px;
    font-size: 20px;
    color: #222;
}

.service-detail h4 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 400;
    color: #222;
}
  
.service-detail ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
  
.service-detail li {
    margin-bottom: 8px;
    color: #222;
}

.service-detail p {
    font-weight: 500;
}
  
.service-detail a {
    color: #005fcc;
    text-decoration: none;
    font-weight: bold;
}
  
.service-detail a:hover {
    text-decoration: underline;
}
  
.service-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.Partners {
    display: flex;           
    justify-content: space-around; 
    align-items: center;
    margin-top: -20px;
    margin-bottom: -20px;   
}

.Partners img {
    max-width: 100px;  
    height: auto;     
    max-height: 100px; 
}

.ImageRow {
    display: flex; 
    justify-content: space-between; 
    padding: 20px;
    
}

.ImageRow img {
    width: 23%; 
    height: auto;
    border-radius: 10px;
}


.thumbnail {
    width: 100px; 
    cursor: pointer;
}

/* Modaal akna stiilid */
.modal {
    display: none; /* Alguses on modaal akna peidetud */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 100px;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 95px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    padding: 16px;
    font-size: 24px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}



@media screen and (max-width: 430px) {
    .service-image img {
      height: 300px;
    }
    .Partners {
        display: flex;           
        align-items: center;
        gap: 10px;  
    }
    .Partners img {
        max-width: 50px;  
        height: auto;     
        max-height: 40px; 
    }
}

@media screen and (max-height: 430px) and (orientation: landscape) {
    .Partners {
        display: flex;           
        align-items: center;  
    }
    .Partners img {
        max-width: 60px;  
        height: auto;     
        max-height: 50px; 
    }
}
  
@media screen and (min-width: 810px) and (max-width: 840px) {
    .service-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .service-image img {
      width: 500px;
    }
}
  
@media screen and (min-width: 834px) and (max-width: 1024px) and (orientation: portrait) {
    /* iPad Pro portree */
    .service-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
}

@media (min-width: 1600px) {
  .ImageRow {
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto; /* ⬅️ lisatud tsentreerimiseks */
  }
}
  