:root {
  --font-family-base: 'Nunito Sans', sans-serif;
  --white: #ffffff;
  --black: #000000;
  --gray-1: #f8f9fa;
  --gray-2: #f1f3f5;
  --gray-3: #e9ecef;
  --gray-4: #dee2e6;
  --gray-5: #ced4da;
  --gray-6: #adb5bd;
  --gray-7: #868e96;
  --gray-8: #495057;
  --gray-9: #343a40;
  --gray-10: #212529;
  --jet: #333333;
  --red: #e30513;
  --engineering-orange: #c00e0d;
}

::-webkit-scrollbar {
width: 3px;
}
::-webkit-scrollbar-thumb {
  background: var(--red);
	border-radius: 20px;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff; 
}

h1 { font-size: 4.5rem; }
h2 { font-size: 2.5rem; font-weight: 900!important; }
h3 { font-size: 3rem; }
h4 { font-size: 2.25rem; }
h5 { font-size: 1.875rem; }
h6 { font-size: 1.5rem; }

.process-step .title, .tile-front .title {
  font-size: 1.5rem;
  font-weight: 700;

}

.text-xl { font-size: 1.25rem; }
.text-primary { font-size: 1.125rem; color: var(--jet)!important; }
.text-md { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.fw-black{
  font-weight: 900!important;
}
p {
    margin-top: 0!important;
    margin-bottom: 0rem!important;
}

body {
  font-family: var(--font-family-base);
}

@media (min-width: 992px) {
    /* .offset-md-2 {
        margin-left: 12.666667%!important; 
        margin-right: 60px!important; 
    } */
section#how-help .how-help-text{
        margin-right: 3rem!important; 
}     
}



@media (max-width: 1000px) {
    section#hero, section#how-help {
    margin: 0 13px;
}
    h3{
          font-size: 2.5rem;
    }
h6 {
    font-size: 1rem;
}
  section#hero .hero-text-section {
    margin: 2rem 0rem;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
}
@media (max-width: 1200px) {
.process-step .title, .tile-front .title {
    font-size: 1rem;
    font-weight: 700;
}
.tile-back .back-text {
    font-size: 0.8rem!important; 
}
section#blocks .block{
      margin-bottom: 3rem!important;
}
    h3{
          font-size: 2.5rem;
    }
h6 {
    font-size: 1rem;
}
}


/*header*/
.navbar-nav .nav-item{
    margin-left: 2rem;}

    .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    margin: 1rem 0rem;
}

/*buttons*/
.btn {
    border-radius: 25px!important;
     padding: 10.5px 30px;
}

section#hero{
background-image: url("/assets/img/hero/Layer_1.png");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}
@media(max-width: 768px){
section#hero .hero-text-section{
margin: 2rem 0rem;
}  
}

/* logo carousel */
.logo-carousel {
  overflow-x: hidden;
}

.logo-track {
  position: relative;
  overflow: visible;    
  padding: 0 54px;    
}

.logo-track__wrapper {
  display: flex;
  gap: 54px;            
  animation: scroll-logos 20s linear infinite;
}


.logo-track__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
      filter: grayscale(1);
  justify-content: center;
}

section#recommendations .img-fluid {
    filter: grayscale(1);
}

.logo-track__item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}



/* hover on title */
.hover-item:hover {
    color: var(--engineering-orange);
    border-bottom: 1px solid;
}

.hover-item {
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    border-bottom: 1px solid var(--engineering-orange);
        margin: 0.5rem 0rem;
}

.hover-item::after {
  content: url('/assets/icons/Arrow.png');
  float: right;
  color: var(--engineering-orange);
  opacity: 1;
  transition: opacity 0.3s;
}

.process-step {
  border: 1px solid var(--red);
  border-radius: .75rem;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.process-step .icon {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.process-step .text{
font-size: 1.125rem; 
color: var(--jet)!important;
}

section#recommendations{
  background-color: var(--gray-1);
}

.tile {
  position: relative;
  width: 100%;           
  aspect-ratio: 1 / 1!important; 
}

@media(max-width: 768px){
  .tile {
    aspect-ratio: 3 / 2!important;
}
}

.tile-front,
.tile-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--red);
  border-radius: .75rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}


.tile-front {
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  text-align: center;
}

.tile-front .icon {
  width: 66px;
  height: 66px;
  font-size: 66px;
  color: var(--red);
  margin-bottom: 1rem;
}

.tile-front .icon-img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    object-fit: contain;
}

.tile-front .info-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--red);
  cursor: pointer;
}

.tile-back {
  background: var(--red);
  color: var(--white);
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
}

.tile-back .back-text {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.tile:hover .tile-back {
  opacity: 1;
}

#cta {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
@media(max-width: 768px){
  #cta{
   background-position: right;
  }
  #blocks .block-content .highlight, .highlight {
  font-size: 1rem!important;
}
h2 {
    font-size: 2rem;}

    .text-primary {
    font-size: 1rem;}
}
#cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
#cta .hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1rem;
}
#cta .hero-logo {
  max-width: 200px;
  margin-bottom: 1.5rem;
}


#blocks .block-content h3 {
  font-weight: 600;
}
#blocks .block-content .highlight, .highlight {
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
}

#review {
  padding: 4rem 0;
  background: var(--white);
  position: relative;
}
#review .review-card {
background: var(--gray-1);
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    padding: 2rem 1.5rem;
min-height: 46vh;
    display: flex
;
    flex-direction: column;
}
#review .review-card h5 {
  font-weight: 600;
  margin-bottom: .25rem;
}
#review .review-card h6 {
  margin-bottom: 0rem!important;
}
#review .review-card h5 small {
  display: block;
  font-weight: 400;
  color: var(--gray-7);
  margin-top: .25rem;
}
#review .rating i {
  color: var(--red);
  margin-right: 2px;
  font-size: 1rem;
}
#review .rating i.far {
  color: var(--red);
}
#review .divider {
width: 100%;
    height: 1px;
    background: var(--red);
    margin: 1rem 0rem;
}
#review .review-card p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--jet);
}
#review .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}
#review .owl-nav button {
  pointer-events: all;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-9);
  transition: color 0.2s;
}
#review .owl-nav button:hover {
  color: var(--red);
}
#review .owl-nav .owl-prev {
  position: absolute;
  left: -3rem;
}
#review .owl-nav .owl-next {
  position: absolute;
  right: -3rem;
}
@media(max-width: 786px){
#review .owl-nav .owl-prev {
  position: absolute;
  left: 0rem;
}
#review .owl-nav .owl-next {
  position: absolute;
  right: 0rem;
}}

#contact-form {
  background: url('/assets/img/page/contform.png') center/cover no-repeat;
  padding: 6rem 0;
  color: var(--jet);
}
/* #contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(227, 5, 19, 0.85);
} */
#contact-form .contact-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: none;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
#contact-form .contact-card h4 {
  font-weight: 600;
  margin-bottom: .5rem;
}
#contact-form .contact-card p.lead {
  margin-bottom: 1.5rem;
  color: var(--gray-7);
  font-size: .95rem;
}
#contact-form .contact-card .form-control {
  background-color: var(--gray-2);
  border: none;
  border-radius: .75rem;
  height: 3.5rem;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
#contact-form .contact-card textarea.form-control {
  height: 8rem;
  resize: vertical;
}
#contact-form .contact-card .form-check {
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
#contact-form .contact-card .form-check-input {
  width: 1rem;
  height: 1rem;
  border-radius: .25rem;
}
#contact-form .contact-card .btn-submit {
  background-color: var(--red);
  border: none;
  border-radius: 2rem;
  padding: .75rem 2.5rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

section#review .owl-carousel .owl-stage-outer {
    padding: 2rem 0rem;
}

.site-footer {
  /* font-family odziedziczony z body, nie nadpisujemy */
  background-color: var(--gray-10);
  color: var(--white);
}

/* GÓRNA CZĘŚĆ: CIEMNA */
.site-footer__top {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 0px;
}

/* ustawiamy, żeby lewa kolumna "rozpychała się" i social pchnąć na dół */
.footer-col--left {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* środek i prawo */
.footer-col--center {
  flex: 1;
}
.footer-col--right {
  flex: 1;
}

.footer-tagline {
  padding: 3rem 0;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
}
.footer-social a {
  margin-right: 16px;
  font-size: 18px;
  transition: opacity .2s;
}

.footer-social__link.fb {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('/assets/icons/facebook.png') no-repeat center center;
  background-size: contain;
  transition: opacity .2s;
}
.footer-social__link.fb:hover {
  opacity: .7;
}


.footer-social a:hover {
  opacity: .7;
}

/* MENU ŚRODKOWE */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li {
  margin-bottom: 12px;
}
.footer-menu a {
  color: var(--white);
  text-decoration: none;
}
.footer-menu a:hover {
  text-decoration: underline;
}

/* KONTAKT */
.footer-contact__title {
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-contact p{
  margin: 0 0 8px;
  color: var(--white);
  text-decoration: none;  
}


.footer-contact a, .site-footer__social-policy a {
  text-decoration: underline!important;
  color: #fff!important;
}
.footer-contact a:hover {
  text-decoration: underline;
}
.footer-contact p:nth-child(3) { /* godziny */
  color: var(--gray-6);
  font-size: 13px;
}

.site-footer__bottom {
  background-color: var(--white);
  color: var(--gray-7);
  display: flex;
    justify-content: space-around;
      align-items: center;
  padding: 12px 20px;
  font-size: 12px;
}

.footer-bottom__right a {
  color: var(--gray-7);
  text-decoration: none;
}
.footer-bottom__right a:hover {
  text-decoration: underline;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .site-footer__top {
    flex-direction: column;
    text-align: center;
  }
  .footer-col--left,
  .footer-col--center,
  .footer-col--right {
    flex: none;
    margin-bottom: 30px;
  }
  .footer-social {
    justify-content: center;
  }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom__right {
    margin-top: 8px;
    text-align: center;
  }
}