#hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
    background-size: cover;
}

#hero.index {
    height: 100vh;
    background-image: url(/media/images/photos/Logo-outdoor.jpg);
    background-position: center top;
}

#hero>div:first-child p {
    margin-bottom: 60px;
}

#hero>div:first-child>div>div>div {
    display: flex;
    justify-content: center;
}

#hero>div:first-child p:last-child {
    border-bottom: 1px solid var(--white-color);
    padding-bottom: 4px;
}
    

#hero>div:first-child a {
    display: flex;
    align-items: center;
}

#hero * {
    color: var(--white-color);
    fill: var(--white-color);
    font-weight: 300;
}

#hero svg {
    height: 25px;
    margin-left: 5px;
    padding-bottom: 2px;
    transition: all .1s ease-in;
}

#hero>div:first-child *, 
#hero>div:nth-child(2) *  {
    opacity: .95 !important;
}

#hero>div:first-child>div>div>div p:hover a {
    color: var(--helpi-color) !important;
}

#hero>div:first-child>div>div>div p:hover svg {
    margin-left: 10px;
    transition: all .1s ease-in;
}

#hero>div:first-child>div>div>div p:hover svg path {
    fill:  var(--helpi-color) !important;
}

#hero>div:not(:last-child) {
    z-index: 1;
}

#hero>div:nth-child(3) {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0; left:0;
    background-image: linear-gradient(#00000099 0%, #00000077 50%, #000000FF 100%);
}

.slider-wrapper {
    position: relative;
    height: calc(400px + 10vh);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    display: flex;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 10vh;
}

.slide {
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    padding: 0 15px;
}

.slide-content {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.slide:hover .slide-content {
    transform: scale(1.02);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#about-us {
    text-align: center;
    background-color: var(--black-color);
    margin-top: -1px;
    padding-bottom: 8vh !important;
}

#about-us h2 {
    color: var(--helpi-color);
}

#about-us p {
    color: var(--white-semi-color);
}

#our-services {
    position: relative;
}

.service {
    display: flex;
    margin: 1.5rem 0;
}

.service:nth-child(even) {
    margin-left: auto;
}

.service>a {
    width: 100%;
    position: relative;
    padding: 20px;
    box-shadow: 5px 20px 40px #0003;
    border-radius: 5px;
    background-color: var(--white-color);
}

.service>a:hover {
    background-color: var(--proud-color);
    transition: all .3s ease-out;
}

.service>a:hover h3, .service>a:hover p {
    color: var(--gray-color);
    transition: all .3s ease-out;
}

.service>a:hover img {
    transform: scale(1.05);
    transition: all .3s ease-out;
}

.service>a:hover .service-photo {
    outline: 1px solid var(--white-color);
}

.service-photo  {
    height: 300px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-photo img {
    height: 100%;
    width: 100%;
    flex-grow: 0;
    object-fit: cover;
}

.service-content h3 {
    margin: 1rem 0;
}

#team {
    background-color: var(--proud-color);
}

#team-photo, #team-content{
    height: 600px;
    overflow-x: none;
}

#team-photo {
    padding: 0;
}

@keyframes team-fade {
    0%, 33%, 100% { opacity: 0; }
    8%, 25% { opacity: 1; }
}

#team-content q {
    line-height: 1.4;
    quotes: none;
}

#team-content q::before {
    content: "\301E";
    display: block;
    color: var(--helpi-color);
    line-height: .3;
    font-size: 80px;
}

#team-content > div > div  {
    position: relative;
    width: 100%;   
}

#team-content > div > div > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: team-fade 30s infinite;
  display: flex;
  flex-direction: column;

}

#team-content > div > div > div:nth-child(2) { animation-delay: 10s; }
#team-content > div > div > div:nth-child(3) { animation-delay: 20s; }


#team-content > div, #team-content > div > div {
    height: inherit;
}

#team-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.team-member {
    display: flex;
    height: inherit;
}

.team-member>div {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.team-member>div>div:first-child {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.team-member>div>div:first-child img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.team-member>div>div:last-child p:last-child {
    color: var(--gray-color);
    font-weight: 300;
}

#qa {
    padding: 4rem 0 !important;
}

.qa-accordion {
    margin: 0;
    padding: 0;
}

.qa-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--light-gray-color);
}

.qa-question {
    position: relative;
    cursor: pointer;
    padding-left: 2em;
    padding: 1.5rem 1rem 1.5rem 3rem;
    margin: 0;
    transition: all 0.3s ease;
}

.qa-question h3 {
    font-weight: 400;
    color: var(--black-color);
        transition: all 0.3s ease;
}

.qa-icon {
    position: absolute;
    top: 50%;
    left: 1em;
    transform: translateY(-50%) rotate(0deg);
    width: 15px; 
    height: 15px;
    transition: transform 0.3s ease;
}

.qa-icon svg {
    display: block;
    width: 100%; 
    height: 100%;

}

.qa-icon svg {
    stroke: var(--light-gray-color);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 calc(2em + 15px);
    margin: 0;
    border-bottom: 1px solid transparent;
    color: var(--light-gray-color);
    transition: 
    max-height 0.3s ease,
    padding-bottom 0.3s ease,
    border-color 0.3s ease;
}

.qa-item.active .qa-question {
    border-bottom: none;
}

.qa-item.active .qa-icon {
    transform: translateY(-50%) rotate(135deg);
}

.qa-item.active .qa-answer {
    max-height: 300px; 
    padding-bottom: 1.5em;
}

.qa-item.active h3 {
    color: var(--helpi-color);
}

#qa p.header-text-big {
    line-height: 1.2;
}

.qa-item.active svg {
    stroke: var(--helpi-color);
}

#qa .header-text-big {
    color: var(--helpi-color);
}

#qa .text-primary {
    color: var(--gray-color);
}

#hero.works {
    background-image: url(/media/images/photos/footer.jpg);
}

#our-mission .header-text-big {
    color: var(--black-color);
}

#our-mission .header-text-big span {
    color: var(--gray-color);
}

#our-mission .info > div {
    padding: 2rem;
    background-color: var(--proud-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 200px;
}

#our-mission .info > div > p:nth-child(1) {
    font-size: 3rem;
    font-weight: 500;
    padding-bottom: 3rem;
}

#our-mission .info > div > p:nth-child(2) {
    font-size: 1.3rem;
    text-align: end;
    margin-top: auto;
    margin-bottom: .8rem;
}

#our-mission .info > div > p:nth-child(3) {
    font-size: 1.1rem;
    text-align: end;
    color: var(--gray-color);
}

.type-works {
    margin-top: 9rem;
    margin-bottom: 9rem;
}

.other-works {
    margin-top: 1rem;
    margin-bottom: 9rem;
}

.type-works p.text-primary, .other-works p.text-primary {
    color: var(--gray-color);
}

.type-works .img {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.other-works .img {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.other-works .img>img {
    z-index: -1;
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.type-works .img>img {
    z-index: -1;
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.type-works .img:hover img {
    transform: scale(1.1);
    transition: all .3s ease-in;

}

.type-works .img p {
    position: absolute;
    bottom: 20px;
    right: 40px;
    color: var(--white-color);
    font-weight: 500;
}

.other-works h2 {
    color: var(--black-color);
}

.course-parameters>div>div {
    margin-bottom: 2rem;
}




/* Kuba dodał */
.signup-button {
    display: inline-block;
    font-size: 1em;
    padding: 1em 2em;
    -webkit-appearance: none;
    appearance: none;
    background-color: #ff0081;
    color: #ffffff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 25px rgba(255, 0, 130, 0.5);
    &:focus {
        outline: 0;
    }
    &:before, &:after{
        position: absolute;
        content: '';
        display: block;
        width: 140%;
        height: 100%;
        left: -20%;
        z-index: -1000;
        transition: all ease-in-out 0.5s;
        background-repeat: no-repeat;
    }
    &:before{
        display: none;
        top: -75%;
        background-image:  
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle,  transparent 20%, #ff0081 20%, transparent 30%),
        radial-gradient(circle, #ff0081 20%, transparent 20%), 
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle,  transparent 10%, #ff0081 15%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%);
        background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    }
    &:after{
        display: none;
        bottom: -75%;
        background-image:  
        radial-gradient(circle, #ff0081 20%, transparent 20%), 
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle,  transparent 10%, #ff0081 15%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%),
        radial-gradient(circle, #ff0081 20%, transparent 20%);
        background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
    }
    &:active{
        transform: scale(0.9);
        background-color: darken(#ff0081, 5%);
        box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
    }
    &.animate{
        &:before{
            display: block;
            animation: topBubbles ease-in-out 0.75s forwards;
        }
        &:after{
            display: block;
            animation: bottomBubbles ease-in-out 0.75s forwards;
        }
    }
}
@keyframes topBubbles {
    0%{
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }
    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }
    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%,  0% 0%,  0% 0%,  0% 0%,  0% 0%;
    }
}
@keyframes bottomBubbles {
    0%{
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }
    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }
    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%,  0% 0%,  0% 0%,  0% 0%,  0% 0%;
    }
}