* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }


/*.clock {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin: 20px;
  color: #333;
}
  */


  /* Pradžios puslapis */
  .header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.65), rgba(4, 9, 10, 0.65)), url(images/image1.png);
    background-position: center;
    background-size: cover;
    position: relative;
  }
  
  /* Viršutinė logo ir navigacijos nuorodų dalis */
  nav {
    display: flex;
    padding: 2% 3%;
    justify-content: space-between;
    align-items: center;
  }
  
  nav img {
    width: 9.375rem; /* 150px converted to rem */
  }
  .nav-links {
  position: static;
  text-align: right;
  flex: 1;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 0.125rem;
    background: #fbfccf;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
/*----------------- Pagrindinio puslapio uzrasas ----------*/
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .text-box h1 {
    font-size: 40px;
  }
  
  .text-box p {
    margin: 0 0 40px;
    font-size: 30px;
    font-weight: 250;
    color: #fff;
  }
  
  nav .fa {
    display: none;
  }
  
  @media (max-width: 700px) {
    .text-box h1 {
      font-size: 2.5rem;
      font-weight: 300;
    }
  
    .text-box p {
      margin-bottom: 40px;
      font-size: 1.375rem;
      color: #fff;
      font-weight: 250;
    }
  
    .nav-links ul li {
      display: block;
    }
  
    .nav-links {
      position: fixed;
      background: #4d59a1;
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
    }
  
    nav .fa {
      display: block;
      color: #fff;
      margin: 10px;
      font-size: 1.375rem;
      cursor: pointer;
    }
  
    .nav-links ul {
      padding: 2rem;
    }
  }

.apie{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 45px;
}
.apie h4{
    padding-bottom: 5px;
    font-size: 36px;
    font-weight: 600;
    color: #474394;
}
.apie p{
    
    font-size: 20px;
    font-weight: 300;
    color: #000000;
}
.apie-col{
    flex-basis: 100%;
    border-radius: 10px;
    padding: 10px 6px;
    box-sizing: border-box;
    transition: 0.5s;
}

/*----------------- Paslaugos ----------*/
.paslaugos {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 25px;
  }
  
  .paslaugos h1 {
    font-size: 36px;
    font-weight: 600;
    color: #474394;
  }
  
  .paslaugos p {
    color: #000000;
    font-weight: 300;
    line-height: 30px;
    padding: 10px;
  }
  
  .paslaugu-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
    background: #fbfccf;
    padding: 25px;
    transition: 0.5s;
  }
  
  .row {
    margin-top: 3rem;
    justify-content: space-between;
    display: flex;
  }
  
  .paslaugu h3 {
    text-align: center;
    font-weight: 600;
    margin: 1px 0;
    color: #080542;
  }
  
  .paslaugu-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
  }
  
  /*----------------- Responsive paslaugų dalis ----------*/
  @media (max-width: 700px) {
    .paslaugos {
      width: 100%;
      padding-top: 40px;
    }
  
    .paslaugos h1 {
      font-size: 36px;
      padding-bottom: 15px;
    }
  
    .paslaugos p {
      font-size: 16px;
      line-height: 24px;

    }
  
    .row {
      flex-direction: column;
      margin-top: 3%;
    }
  
    .paslaugu-col {
      flex-basis: 100%;
      margin-bottom: 3%;
    }
  }
                    /*----------------- Projektai----------*/
.projektai {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 3rem;
  }
.projektai h1 {
    font-size: 36px;
    font-weight: 600;
    color: #474394;
    margin-bottom: 3rem;
  }
  

}
                               /* --- FILTRŲ BLOKAS --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 2rem 1rem;
  background-color: #f0f4f8;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
 
}

.filters button {
  padding: 10px 24px;
  border: 1px solid #ccc;
  background: linear-gradient(to bottom, #ffffff, #f4f4f4);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filters button:hover {
  background: linear-gradient(to bottom, #, #d4e8ff);
  border-color: #0072ce;
  color: #0072ce;
}

.filters button.active {
  background: #0072ce;
  color: white;
  border-color: #0072ce;
  box-shadow: 0 4px 12px rgba(0, 114, 206, 0.2);
}


/* --- KORTELIŲ TINKLAS --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 2rem 1rem;
}

/* --- KORTELĖ --- */
.card {
  position: relative;
  display: block;
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  will-change: transform;
}

.card:hover {
  transform: scale(1.035);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* --- UŽRAŠAS KORTELĖS APAČIOJE --- */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 80%);
  color: white;
  padding: 1.2rem 1rem;
  font-size: 1rem;
  text-align: left;
  backdrop-filter: blur(3px);
  box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- TEKSTAS KORTELĖS VIDUJE --- */
.title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.25;
}

.subtitle {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 4px;
}

.description {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-top: 6px;
}

                                     /* --- SLAPTAI RODOMAS TURINYS --- */
.hidden {
  display: none;
}


.project-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.project-info {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  text-align: left; /* <- tai užtikrina, kad visas tekstas bus lygiuotas į kairę */
}

.project-info h4 {
  margin-bottom: 0px; /* tarpas po h4 */
}

.project-info p {
  margin-bottom: 15px; /* tarpas po p */
}


.project-info h2 {
  text-align: center;
  margin-bottom: 10px;
}
.project-gallery {
  flex: 2; /* padidintas galerijos plotas */
  max-width: 700px;
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

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

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;    /* sudėlioja tekstą po galerija */
    align-items: center;
    padding: 10px;
  }

  .project-info {
    flex: none;
    width: 100%;               /* užima pilną plotį */
    margin-bottom: 20px;       /* tarpas tarp teksto ir galerijos */
    text-align: center;        /* jei reikia, centruojame tekstą */
  }

  .project-gallery {
    flex: none;
    width: 100%;               /* galerija ištempia iki pilno ekrano pločio */
    max-width: 100%;
  }

  .slider {
    width: 100%;
  }

  .slides {
    /* jei ekrane rodom vieną vaizdą, galima palikti tą patį */
  }

  /* Mygtukai šiek tiek pakeliami į vidų */
  .prev { left: 5px; }
  .next { right: 5px; }
}

/* 4. Papildoma smulkmena: jei nori dar mažesniems ekranams (pvz. iki 480px) */
@media (max-width: 480px) {
  .filters {
    flex-direction: column;
    align-items: center;
  }

  .filters button {
    width: 100%;
    max-width: 280px;
  }
}

.paslaugu-col {
  flex-basis: 50%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.paslaugu-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(214, 235, 111, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 650;
  font-style: bold;
  color: black;
  font-size: 18px;
  padding: 10%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 32%;
  opacity: 1;
}


/*----------------- Responsive projektai dalis ----------*/
@media (max-width: 700px) {
  .paslaugu-col {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .layer h3 {
    width: 90%;
    font-weight: 600;
    font-style: bold;
    color: black;
    font-size: 14px;
    bottom: 0;
    left: 50%;
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    text-align: center;
  }

  .layer:hover h3 {
    bottom: 12%;
    opacity: 1;
  }
}

.projektai h1 {
  font-size: 36px;
  font-weight: 600;
  color: #474394;
}

.paslaugu-col {
  flex-basis: 50%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.paslaugu-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(214, 235, 111, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 650;
  font-style: bold;
  color: black;
  font-size: 18px;
  padding: 10%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 32%;
  opacity: 1;
}

/*----------------- Responsive projektai dalis ----------*/
@media (max-width: 700px) {
  .paslaugu-col {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .layer h3 {
    width: 90%;
    font-weight: 600;
    font-style: bold;
    color: black;
    font-size: 14px;
    bottom: 0;
    left: 50%;
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    text-align: center;
  }

  .layer:hover h3 {
    bottom: 12%;
    opacity: 1;
  }
}



                         /*----------------- Klientų atsiliepimai----------*/ 
.atsiliepimai {
  width: 80%;
  margin: auto;

  text-align: center;
}

.atsiliepimai h1 {
  font-size: 36px;
  font-weight: 600;
  color: #474394;
}

.atsiliepimu-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fbfccf;
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.atsiliepimu-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.atsiliepimu-col p {
  padding: 0;
}

.atsiliepimu-col h3 {
  margin-top: 15px;
  text-align: left;
}

.atsiliepimu-col .fa {
  color: #f44336;
}

/*----------------- Responsive klientų atsiliepimų dalis ----------*/
@media (max-width: 700px) {
  .atsiliepimu-col img {
    margin-left: 0px;
    margin-right: 15px;
  }
}
.kontaktai{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,10,0.7)),url(images/image2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.kontaktai h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #fbfccf;
    background: #fbfccf;
    transition: 1s;
}
@media(max-width: 700px){
    .kontaktai {
        margin: 50px auto;
        padding: 80px 0;
      }
    
      .kontaktai h1 {
        font-size: 24px;
      }
    }
                  /*----------------- Footerio dalis----------*/
 footer {
    background: #2c2f48;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
}

.icons .fa {
    color: #c2c6ff;
    margin: 0 15px;
    cursor: pointer;
    font-size: 24px;
    transition: color 0.3s ease;
}

.icons .fa:hover {
    color: #ffffff;
}

.footer-bottom p {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
}

                /*----------------- Sub-Header----------*/
.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.58), rgba(4, 9, 10, 0.58)), url(images/image3.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.apie-mus {
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}

.apie-mus h1 {
  font-size: 36px;
  color: #474394;
  text-align: center;
}

.apie-col {
  padding: 30px 2px;
  font-size: 20px;
}

.paslaugos {
    width: 80%;
    margin: auto;
    padding-top: 50px;
    text-align: center;
  }
.paslaugos h1 {
    font-size: 36px;
    color: #474394;
    text-align: center;
  }
  .paslaugu-col h3 {
    color: #000000;
  }
  
  .footer-bottom {
    color: #000000;
  }
  .projektai {
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
  }
  .projektai h1 {
    font-size: 36px;
    color: #474394;
    text-align: center;
  }


.contact h1 {
  font-size: 36px;
  color: #474394;
  text-align: center;
}

.lokacija {
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}
.lokacija h1 {
    font-size: 36px;
    color: #474394;
    text-align: center;
    padding-bottom: 20px;
  }

.lokacija iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-col {
  flex-basis: 70%;
  margin-bottom: 100px;
}
        
.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
}

.contact-col div .fa {
  font-size: 25px;
  color: #474394;
  margin: 4px;
  margin-right: 15px;
}

.kontaktai-form {
  width: 80%;
  margin: auto;
  padding-top: 50px;
  padding-bottom: 30px;
  text-align: center;
}

.kontaktai-form h1 {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  padding-bottom: 50px;
  text-align: center;
  font-size: 36px;
  color: #474394;
}

.kontaktai-form{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}
.kontaktai-form h1{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;
    size: 20px;
    color: #474394;
}
.kontaktai-form{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}
.kontaktai-form h1{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;
    size: 20px;
    color: #474394;
}
.comment-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding-top: 40px;
  }
  
  .comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000000;
  }
  
  .comment-form input,
  .comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
  }
  .comment-form textarea {
    height: 150px;
  }
  
  .comment-form button[type="submit"] {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }
  
  .comment-form button[type="submit"]:hover {
    background-color: #0062cc;
  }
.footer-bottom {
    color: #000000;
  }