:root {

    /* 1800*/
    --pad: clamp(15px, 10.9vw, 220px);
    --toppad: clamp(30px, 5.7vw, 110px);
    --botpad: clamp(40px, 6.3vw, 120px);


}

@media (max-width: 1500px){
    :root {
        --pad: clamp(15px, 9vw, 450px);

    }
}

@media (max-width: 1200px){
    :root {
        --pad: clamp(15px, 7vw, 450px);
        --widepad: clamp(15px, 5vw, 130px);
    }
}

@media (max-width: 900px){
    :root {
        --pad: clamp(15px, 5vw, 450px);
    }
}

body{
    color: #231F20;
    background: #F0F1F1;
    font-family: 'Barlow', sans-serif;
}

.container{
    animation: startopa 0.5s linear forwards;
    animation-direction: alternate;
    opacity: 0;
}

@keyframes startopa {
    from {opacity: 0; }
    to { opacity: 1;}
}

.project-pads{
    padding-left: var(--pad);
    padding-right: var(--pad);   
}

.project-pads-left{
    padding-left: var(--pad);
}

.project-pads-right{
    padding-right: var(--pad);
}

.topbotpad{
    padding-top: var(--toppad);
    padding-bottom: var(--botpad);
}

.toppad{
    padding-top: var(--toppad); 
}

.botpad{
    padding-bottom: var(--botpad);
}


h1, h2, h3, h4, h5, h6{
    font-family: 'Lexend', sans-serif;
    letter-spacing: -1px;
}

h1{
    font-size: var(--font56);
}

h2{
    font-size: var(--font40);
}

h3{
    font-size: var(--font36);
}


h4{
    font-size: var(--font30);
}

h5{
    font-size: var(--font26);
}

h6{
    font-size: var(--font20);
}

p{
    font-size: var(--font18);
    padding-bottom: 1em;
    line-height: 1.35em;
}

a, li{
    font-size: var(--font16);
}


.btn {
    font-size: var(--font18);
    font-weight: 700;
    gap: 15px;
    padding: 8px 8px 8px 8px;
    max-width: 380px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 190px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.btn-faq {
    font-size: var(--font18);
    font-weight: 700;
    gap: 15px;
    padding: 8px 8px 8px 8px;
    text-align: left;
    display: grid;
    grid-template-columns: 95% 5%;
    margin-bottom: 5px;
    text-transform: uppercase;
}


.btn svg{
    height: var(--font18);
    align-self: center;
    justify-self: center;
}


/*Addons*/

.text-white {
    color: #FFFFFF;
}

.text-black {
    color: #101010;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.gap {
    display: grid;
    gap: var(--pad);
}

.gap-xs {
    display: grid;
    gap: clamp(5px , 1vw, 8px);
}

.gap-sm {
    display: grid;
    gap: clamp(16px, 2vw, 50px);
}

.navpad {
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn-blue {
    background-color: #3A82D5;
}

.btn-lightblue {
    background-color: #C5E0FF;
}

.btn-white {
    background-color: #FFFFFF;
}

.btn-orange {
    background-color: #FF8050;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-blue {
    background-color: #3A82D5;
}

.bg-lightblue {
    background-color: #C5E0FF;
}


/**/


.image-bg-banner-box {
    height: fit-content;
    padding: 20px;
}

.image-bg-banner img {
    max-height: 700px;
}

.company-team-title {
    margin-bottom: 20px;
}

.company-team-member {
    margin-top: 10px;
    margin-bottom: 10px;
}

.company-team-members {
    width: 100%;
}

.company-team-member-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

.company-team-logo {
    max-width: 300px;
}

.company-team-inner-logo {
    width: 100%;
    border-bottom: 2px solid #C5E0FF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.company-team-member-name {
    margin-top: 15px;
    margin-bottom: 15px;
}

.news-card-content h2 {
    margin-bottom: 18px;
}

.news-card-description p {
    padding-bottom: 30px;
}

.news-card-content h2, .news-card-content p, .news-card-content a{
    text-decoration: none;
    color: #111013;
}

.news-feed-header {
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E3E3E3;
}

.news-card-link img {
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    padding-bottom: 16px;
}

.news-slider-header {
    
    padding-bottom: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E3E3E3;
}


#faq {
    background: var(--color-bg);
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.faq-title {
    padding-bottom: 32px;
}

.faq-item {
    margin-bottom: 14px;
    padding: 6px;
}

.faq-answer {
    padding: 10px 0px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-secondary);
    border-left: 1px solid var(--color-secondary);
    border-right: 1px solid var(--color-secondary);
    border-bottom-left-radius: 27px;
    border-bottom-right-radius: 27px;
    padding-top: 0;
    margin: 0;
}

.faq-answer p {
    padding-top: 1em;
}

.faq-image {
    border-radius: 25px;
}

p.btn.faq-question.toggle-icon.btn-secondary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.toggle-icon {
    padding: 0;
    margin: 0;
}

span.toggle-icon {
    padding: 0;
    margin: 0;
    font-size: var(--font42);
    align-content: center;
}
/* j2slides */
/* --- SLIDER CONTAINER --- */
.j2-mySlides-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #000; */
}

/* --- EACH SLIDE --- */
.j2-mySlides-slide {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.j2-mySlides-slide.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(0);
    position: absolute;
    top: 45px;
}

.j2-mySlides-slide.prev-slide {
  opacity: 0.6;
  z-index: 2;
  transform: translateX(-100%);
}

.j2-mySlides-slide.next-slide {
  opacity: 0.6;
  z-index: 2;
  transform: translateX(100%);
}

/* --- IMAGES --- */
.j2-mySlides-slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* --- NAVIGATION BUTTONS --- */
.prev-fixed, .next-fixed {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 18px;
    font-size: 24px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(233, 127, 33, 0.8);
    transition: background-color 0.3s ease;
    z-index: 10;
    user-select: none;
    display: none;
}

.prev-fixed {
  left: 0px;
}

.next-fixed {
  right: 0px;
}

.prev-fixed:hover,
.next-fixed:hover {
  background-color: #e97f21;
}

.gallery-item-wrapper {
    height: 100%;
}

.gallery-item-title {
    padding-bottom: 18px;
}

.gallery-item-description {
    padding-bottom: 30px;
}

.image-bg-banner-title {
    padding-bottom: 18px;
}

.gallery-item-texts {
    z-index: 5;
    height: fit-content;
    width: fit-content;
    padding: 24px;
}

.gallery-item-texts-left {
    left: 0;
    top: 10%;
}

.gallery-item-texts-right {
    right: 0;
    bottom: 10%;
}

.gallery-item-description p {
    padding-bottom: 0 !important;
}

.gallery-item-texts-mobile {
    display: none;
}

.image-bg-banner-text {
    padding-bottom: 12px;
}

@media (max-width: 700px) {

    .gallery-item-texts-mobile {
        display: block;
    }
    .j2-mySlides-slide {

    }
    /* .gallery-item-texts-mobile {
        display: block;
        z-index: 6;
        background: #ff5210b8;
        color: #fff;
        justify-items: center;
        align-content: center;
        padding: 16px;
    } */
}

/* --- LIGHTBOX --- */
.j2-mySlides-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.j2-mySlides-lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.j2-mySlides-lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .hero-banner-contents.col-2 {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
  }
  .hero-banner-donut {
      /* Remove min-width and min-height for better centering */
      width: 140px;
      height: 140px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .hero-banner-donut canvas.acf-donut {
      max-width: 140px;
      max-height: 140px;
      margin: 0 auto;
      display: block;
  }
  .donut-point {
      font-size: 0.95rem;
      left: 50% !important;
      right: auto !important;
      transform: translateX(-50%);
      text-align: center;
      white-space: normal;
      min-width: 90px;
      max-width: 120px;
  }
  .donut-point-1 { top: -30px; }
  .donut-point-2 { top: 50%; transform: translate(-50%, -50%); }
  .donut-point-3 { bottom: -30px; }
}

.j2-mySlides-dots {
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    z-index: 9999999999;
}

.j2-mySlides-dots .dot {
    height: 15px;
    width: 15px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(38, 37, 34, 0.45);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.j2-mySlides-dots .dot.active {
  background-color: rgba(233, 127, 33, 0.9);
}

.hero-banner {
    overflow: hidden;
}

.hero-banner-donut {
    position: relative;
    min-width: 320px;
    min-height: 320px;
    max-width: 100%;
    max-height: 60vw;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-donut canvas.acf-donut {
    width: 100% !important;
    height: auto !important;
    max-width: 320px;
    max-height: 320px;
}

.donut-point {
    position: absolute;
    white-space: nowrap;
    z-index: 2;
    font-size: 1.1rem;
    background: none;
}

.donut-point-1 { top: 10px; right: -120px; }
.donut-point-2 { top: 60px; right: -120px; }
.donut-point-3 { bottom: 10px; left: -140px; }

@media (max-width: 900px) {
    .hero-banner-contents.col-2 {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-banner-donut {
        margin: 0 auto;
        min-width: 220px;
        min-height: 220px;
        width: 220px;
        height: 220px;
    }
    .hero-banner-donut canvas.acf-donut {
        max-width: 220px;
        max-height: 220px;
    }
    .donut-point-1 { top: -10px; right: -10px; }
    .donut-point-2 { top: 40px; right: -10px; }
    .donut-point-3 { bottom: -10px; left: -30px; }
}

@media (max-width: 600px) {
    .hero-banner-donut {
        min-width: 140px;
        min-height: 140px;
        width: 140px;
        height: 140px;
    }
    .hero-banner-donut canvas.acf-donut {
        max-width: 140px;
        max-height: 140px;
    }
    .donut-point {
        font-size: 0.95rem;
    }
    .donut-point-1 { top: -10px; right: 0; }
    .donut-point-2 { top: 30px; right: 0; }
    .donut-point-3 { bottom: -10px; left: 0; }
}

.donut-point-1 { top: 10px; right: -120px; }    
.donut-point-2 { top: 60px; right: -120px; }    
.donut-point-3 { bottom: 50px; left: -140px; }  
.donut-point-title { color: #231F20; }
.donut-point-value { color: #FF8050; margin-left: 4px; }

@media (max-width: 1200px) {
    .donut-variant.col-2 {
        grid-template-columns: 1fr;   
    }
    .hero-banner-donut {
            place-self: center;
    }
}

footer {
    background: #0F54A4;
    color: #FFFFFF;
}

.footer-toparea {
    border-bottom: 1px solid #FFFFFF;
    padding-bottom: 28px;
    margin-bottom: 8px;
}