@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');



body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.container {
    max-width: 970px;
    padding: 0 15px;
    margin: 0 auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


p {
  line-height: 1.6;
  margin-bottom: 1em;
    
}


.hide {
    display: none !important;
}


html {
    scroll-behavior: smooth;
  }


.title {
    margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0d518d;

}


.subtitle {
    font-size: 16px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d518d;
}

.title-wrapper {
    margin-bottom: 50px;
}

.common__section {
    padding: 70px 0;
    margin-bottom: 150px;
    text-align: center;
  }


.common__section--blue {
    background-color: #0d518d;
}

.common__section--blue * {
    color: #fff;
}

.common__section--blue a {
    color: #0d518d;
}

/* ------------------------------------------------ gen end */

/* ------------------------------------------------- HEADER */

.header {
    padding: 5px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111;
    background-color: #fff;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
    
}


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

.header__left {
    display: flex;
}

.logo {
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header__left__text a{
    color: #0062B6;
    transition: color 0.5s;
}

.header__left__text a:hover {
    color: #d5b500; 
}

.header__bottom {
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0062B6;
}

.header__nav ul{
    display: flex;
    
}



.header__nav a{
    font-size: 16px;
    color: #0062B6;
    transition: color 0.5s;
    
}

.header__nav a:hover {
    color: #d5b500;
}

.header__nav a:active {
    color: #0062B6;
}

.logo-img {
    width: 50px;
    margin-right: 3px;
}

/* main */

/* -----------------------------------------------------welcome */

.welcome {
    position: relative;
    display: flex;
    align-items: center;
}


.img__main {
    width:100%;
    height: auto; 
    
}

.welcome-right__text {
    animation: fade 2s;
}

@keyframes fade {
    from {
        opacity: 0.2;
    }
    to {
        opacity: 1;
    }
} 


.welcome-right {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;

    position: absolute;
    top: 50%;           
    right: 0;           
    /* transform: translateY(-50%);  */
    max-width: 50%;     
}


.welcome-right__text{
    border-left: 2px solid #fff; 
    padding: 0 0 0 10px;
}


/*----------------------------------welcome end*/




/*----------------------------------services*/




.services {
    margin-top: 150px;
  }
  
  .cards-container {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }
  
  .cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: all 0.5s ease;
  }

  .services .card {
    position: relative;
    padding: 20px 15px;
    width: 250px;
    border: 2px solid #000;
    border-radius: 5px;
    height: 250px;
    margin-top: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .services .card h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  
  .cards-wrapper.active {
    flex-direction: column;
    flex-wrap: nowrap;
    width: 250px;
    margin-top: 0;
  }
  
  .cards-wrapper.active .card {
    opacity: 0;
    transform: translateY(-30px);
    animation: slideIn 0.4s forwards;
  }
  .cards-wrapper.active .card:nth-child(1) { animation-delay: 0s; }
  .cards-wrapper.active .card:nth-child(2) { animation-delay: 0.1s; }
  .cards-wrapper.active .card:nth-child(3) { animation-delay: 0.2s; }
  .cards-wrapper.active .card:nth-child(4) { animation-delay: 0.3s; }
  .cards-wrapper.active .card:nth-child(5) { animation-delay: 0.4s; }
  .cards-wrapper.active .card:nth-child(6) { animation-delay: 0.5s; }
  .cards-wrapper.active .card:nth-child(7) { animation-delay: 0.6s; }
  
  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  
  .cards-wrapper:not(.active) .card:hover {
    background-color: #eef5fb;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .cards-wrapper.active .card {
    height: auto;
  }
  

  
  .card.active {
    background-color: #379ffa5d;
    color: #0d518d;
    border-color: #379ffa5d;
  }
  
  .card-content {
    display: none;
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    min-height: 100px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .card-content.active {
    display: block;
    opacity: 1;
  }
  
  .cards-wrapper.active .card:not(.active):hover {
    background-color: #eef5fb;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  .cards-wrapper.active .card.active:hover {
    background-color: #379ffa5d;
    color: #0d518d;
    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
  .cards-wrapper.active .card:first-child {
    margin-top: 0;
  }

  .cards-wrapper.active .card {
    border-color: #379ffa5d;
  }

  .cards-wrapper.active .card.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }


/* ----------------- SERVICES ---BTN-- TEXT--------------*/





.service-list.main-points {
    padding-left: 20px;
    list-style: none;
    text-align: left;
  }
  
  .service-list.main-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .service-list.main-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0d518d;
    font-weight: bold;
  }
  
  /* block with btn and second ul */
  .cta-block {
    text-align: center;
    margin-top: 20px;
  }
  

.call-button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ffd800; 
    
    color: #ffd800;            
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: pointer;
    background: #0d518d; 
    transition: background 0.3s, color 0.3s, padding 0.5s;
  }
  
  
  .call-button:hover {
    padding: 8px 48px;
    color: #ffd800;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  
/* background: rgba(13, 81, 141, 0.1); прозорий світлоголубий */



  .service-list.action-points {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
  }
  
  .service-list.action-points li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    text-align: left;
  }
  

  .service-list.action-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ffd800;
    border: 2px solid #0d518d;
  }


  /* ------------------------- SERVICES TEXT END ------------ */






/*------------------------------------ consultations*/





.consultation-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
  }
  

  .consultation-column {
    flex: 1 1 300px;
  }
  

  .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .step {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 15px;
   
  }
  
  .step .circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ffd800;
    color: #0d518d;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  
  .form {
    text-align: center;
  }
  
  .form * {
    outline: none;
    margin-bottom: 1em;
  }
  
  .form .form__call__in {
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    width: 300px;
    height: 25px;
    color: #000;
  }
  
  .form .form__call__in:focus {
    border: 2px solid #ffd800;
  }
  
  .form button {
    margin-top: 10px;
    padding: 5px 20px;
    border: 2px solid #ffd800;
    color: #ffd800;
    font-weight: 600;
    transition: 0.5s;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .form button:hover {
    background-color: #ffd800;
    border: 2px solid #ffd800;
    color: #0d518d;
    padding: 5px 35px;
  }




  #consultation {
    position: relative;
    overflow: hidden;
  }
  
  
  #consultation::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("/img/office_pic.webp") no-repeat center center fixed;
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
  }
  
  
  #consultation > * {
    position: relative;
    z-index: 1;
  }
  
  
  
  /* -----------------------consult END ------------- */

  




/* -------------------------------- articles --my 0nly -------- */




.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  .article-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .article-card:hover img {
    transform: scale(1.05);
  }
  
  .article-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
  
  .article-date {
    background: #379ffa5d;
    color: #0d518d;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
    align-self: flex-start;
  }
  
  .article-title {
    font-size: 16px;
    margin: 0;
  }
  
  #loadMore {
    display: block;
    margin: 30px auto 0 auto;
    padding: 8px 20px;
    
    color: #0d518d;
    border: 2px solid #0d518d;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
  transition: 0.5s;
  text-transform: uppercase;
  letter-spacing: 2px;
  }
  
  #loadMore:hover {
    background: #083f6d;
    padding: 8px 35px;
    color: #ffd800;
  }
  
  
  .hidden {
    display: none;
  }
  

  
.article-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  
  .article-card.show {
    opacity: 1;
    transform: translateY(0);
  }






  /* -------------------------------- articles END-------- */



  .footer {
    margin-top: 150px;
}

.footer__top {
    padding: 70px;
}

.footer__top h4 {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
}

.footer__top--container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__top--left,
.footer__top--right {
    width: 45%;
}

.footer__top--left img {
    width: 20px;
    height: 20px;
}

.footer__top--left a {
    color: #fff;
    text-decoration: underline;
}

.footer__top--left a:hover {
    color: #ffd800;
}

.footer__top--left {
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: left;
}


.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ffd800;
}

.footer__bottom {
    border-top: 2px solid #5c8dbc;
    padding: 7px;
}

.footer__bottom p {
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
}

.footer__top--left,
.footer__top--right {
  text-align: center;
}



/* ----------------------------------------------------- MEDIA */


/* ----------------------------------------------------- MEDIA 768px */


@media (max-width: 768px) {
    #consultation::before {
      background-attachment: scroll;
    }

  


    .footer__top--left,
    .footer__top--right {
      width:100%;
    }
  }
  /* ----------------------------------------------------- MEDIA 768px  END ------------*/
  


/* ----------------------------------------------------- MEDIA 600px */


  @media (max-width: 600px) {
    .cards-container {
      display: block; 
    }
  
    .cards-wrapper {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    .services .card {
      width: 100%;
      height: auto;
    }
  
    .cards-wrapper.active {
      width: 100%;
    }
  
    .card-content {
      display: none;
      margin-top: 20px;
      border: 1px solid #ccc;
    }
  
    .card-content.active {
      display: block;
    }
  }




  
  
  
  
  
  
  
  
  /* ------------------------------------------------------- 500 */
  @media (max-width: 500px) {
  
  /* general */
  
  .title {
      font-weight: 600;
      margin-bottom: 5px;
      font-size: 18px;
      line-height: 1.2;
      letter-spacing: 2px;
  
  }
  .subtitle {
      font-size: 16px;
      line-height: 1.2;
      letter-spacing: 1px;
  }
  
  .title-wrapper {
      margin-bottom: 10px;
  }
  
  .common__section {
      padding: 50px 0;
      text-align: center;
  }
  
  /* END general */
  
      .logo {
          font-weight: 600;
          font-size: 20px;
          letter-spacing: 1px;
          text-transform: uppercase;
          
      }
  
      .header__container {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
      }
  
  .header__left__text {
      text-align: center;
  }
      
      .header__bottom {
          font-weight: 600;
          font-size: 12px;
          letter-spacing: 1px;
          text-transform: uppercase;
          color: #0062B6;
      }
  
      .header__nav a{
          display: none;
          font-size: 7px;        
      }
  
      .logo-img {
          align-self: center;
          width: 50px;
          margin-right: 3px;
      }
  
  .welcome {
      margin-bottom: 20px;
      overflow: hidden;
      
  }
  
  .img__main {
      width: 100%; 
      height: 300px; 
      object-fit: cover; 
      object-position:center;
      display: block;
      max-width: 100%;
  }
  
  
  
   .welcome-right {
      font-size: 12px;
      padding: 15px 15px;
      font-weight: 300;
       
   } 
 }
  
  
  
  /* ------------------------------------------------------- 400 */
@media (max-width: 400px) {
  .img__main {
    width: 100%; 
    height: 300px; 
    object-fit: cover; 
    object-position:left;
    left: 0;
}

 .welcome-right {
    font-size: 11px;
    padding: 5px 5px;
    font-weight: 300;
 }
} 