/* Section styles */

section {
    position: relative;
}

/* Background theme classes */
.greenbg { background-color: #007c7e; }
.darkbg  { background-color: #4c4c4c; }
.nonebg  { background-color: #f1f1f1; }
.whitebg { background-color: #fff; }
.forcedgreenbg { background-color: #007c7e; min-width: 100vw; min-height: 50vh; padding-top: 32px; }
.forcedgreenbg a, .forcedgreenbg p, .forcedgreenbg h1, .forcedgreenbg h2, .forcedgreenbg h3, .forcedgreenbg h4, .forcedgreenbg h5, .forcedgreenbg span { color: #fff; max-width: 960px; margin-left: auto; margin-right: auto; }

/* Theme text color inheritance */
.greenbg a, .greenbg h1, .greenbg h2, .greenbg h3, .greenbg h4, .greenbg h5, .greenbg p, .greenbg span { color: #fff; }
.darkbg a, .darkbg h1, .darkbg h2, .darkbg h3, .darkbg h4, .darkbg h5, .darkbg p, .darkbg span { color: #fff; }
.text-darkbg a, .text-darkbg h1, .text-darkbg h2, .text-darkbg h3, .text-darkbg h4, .text-darkbg h5, .text-darkbg p, .text-darkbg span,
.text-greenbg a, .text-greenbg h1, .text-greenbg h2, .text-greenbg h3, .text-greenbg h4, .text-greenbg h5, .text-greenbg p, .text-greenbg span { color: #fff; }

/* Wave images */
img.wave {
    width: 100%;
    display: block;
    line-height: 0;
    margin-bottom: -10px;
    margin-top: -10%;
    pointer-events: none;
}

hr.line {
    border: none;
    height: 5px;
    background-color: #32a6a7;
    color: #32a6a7;
    margin: 0;
}

/* CTA Buttons */
.btn {
    border-radius: 8px;
    display: table;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 200;
    padding: 15px 30px;
    width: auto;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s;
    text-decoration: none;
}
.btn:hover { opacity: 0.85; }
.btn.red   { background-color: #ca2432; color: #fff; }
.btn.green { background-color: #007c7e; color: #fff; }
.btn.grey  { background-color: #6f6f6f; color: #fff; }
.btn.center { margin: 0 auto; }
.btn.right { float: right; }
.btn.left  { float: left; }

.d-flex {
    display: flex;
}

.row-align-center {
    align-items: center;
}

/* Bullets underline links */
.bullets a { text-decoration: underline; }

/* ======= First Fold (1 Dobra) ======= */
.first-fold {
    position: relative;
}

.first-fold .bg {
    background-color: #000;
    inset: 0;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.first-fold .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
}

.first-fold .container {
    padding: 0;
}

.first-fold h1 {
    color: #fff;
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
}

.first-fold p {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
}

.first-fold ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.first-fold ul li {
    align-items: center;
    color: #fff;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 45px;
}

.first-fold ul li img {
    transform: rotate(90deg);
    width: 45px;
}

/* ======= Image-Text (Foto-Texto) ======= */
.image-text .content .image { width: 100%; }
.image-text .content .image img { height: 100%; object-fit: contain; width: 100%; }

.text-image .content img { height: 100%; max-width: 100%; object-fit: cover; }

@media screen and (max-width: 768px) {
    .image-text .content { padding: 0; }
    .image-text .content h2 { margin-top: 30px; }
    .text-image .content { padding: 0; }
    .text-image .content img { margin-top: 35px; }
    .text-image .content .image-bullets { padding-bottom: 125px; }
}

/* ======= Carousel (Carrossel) ======= */
.carousel .content { padding: 0; }
.carousel .content .container > a {
    background-color: #ca2432;
    border-radius: 8px;
    display: table;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 200;
    margin: 30px auto 0;
    padding: 15px 30px;
}
.carousel .content h2 {
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
}
.carousel .content .items {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.carousel .content .items .item {
    border-radius: 10px;
    height: 380px;
    margin: 2px;
    opacity: .5;
    overflow: hidden;
    position: relative;
    transform: skew(-15deg);
    transition: 0.2s;
    width: 200px;
    text-decoration: none;
    color: inherit;
}

.carousel .content .items .item:hover {
    opacity: 1;
}

.carousel .content .items .item img {
    height: 280px;
    margin-left: -40px;
    max-width: none;
    object-fit: cover;
    transform: skew(15deg);
    width: calc(100% + 80px);
}

.carousel .content .items .item .desc {
    align-items: center;
    background-color: #4c4c4c;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin-top: -20px;
    min-height: 120px;
    padding: 15px 20px;
    position: absolute;
    transition: 0.2s;
    width: 100%;
}

.carousel .content .items .item:hover .desc {
    background-color: #00acb0;
}

.carousel .content .items .item .desc h4 {
    font-family: 'Open Sans Hebrew Bold', 'open_sans_hebrewregular', sans-serif;
    font-size: 20px;
    transform: skew(15deg);
    color: #fff;
}

@media screen and (max-width: 768px) {
    .carousel .content { padding: 0; }
    .carousel .content .items { flex-wrap: wrap; justify-content: center; }
}

/* ======= Image Bullets (Foto-Bullets) ======= */
.image-bullets img { width: 100%; }
.image-bullets h2 {
    color: #6f6f6f;
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
    text-align: center;
}

.box-bullets {
    align-items: flex-end;
    border: 3px solid #ca2432;
    border-radius: 5px;
    display: flex;
    margin: 20px 0;
    max-width: 100%;
    padding: 20px 30px;
    width: fit-content;
}
.box-bullets span { vertical-align: bottom; }
.box-bullets > span:first-child { margin-right: 20px; white-space: nowrap; }

@media screen and (max-width: 768px) {
    .image-bullets { padding-bottom: unset; }
}

/* ======= Bullets-Video ======= */
.bullets-video iframe { border: none; height: 320px; width: 100%; }
.bullets-video ul { list-style: none; }
.bullets-video ul li::before {
    color: #fff;
    content: "\2022";
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    margin-right: 15px;
    width: 10px;
}

/* ======= Text-Video ======= */
.text-video .content { padding: 0; }
.text-video .content iframe { border: none; height: 320px; width: 100%; }
.text-video .content img { width: 100%; }

/* ======= Logos & Testimonials ======= */
.logos-testimonials h2 {
    color: #6f6f6f;
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
    margin-bottom: 60px;
    margin-top: 50px;
    text-align: center;
}

.logos-testimonials .container > a {
    background-color: #ca2432;
    border-radius: 8px;
    display: table;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 200;
    margin: 30px auto 0;
    padding: 15px 30px;
}

.logos-testimonials .logo {
    align-items: center;
    display: flex;
    justify-content: center;
}
.logos-testimonials .logo img {
    margin: 0 auto;
    max-width: 80%;
    object-fit: contain;
}

.logos-testimonials .row-align-center { align-items: center; }

.logos-testimonials .triangle-prev::before { display: none; }
.logos-testimonials .triangle-prev img { transform: rotate(-90deg); width: 20px; }
.logos-testimonials .triangle-next::before { display: none; }
.logos-testimonials .triangle-next img { transform: rotate(90deg); width: 20px; }

.logos-testimonials .testimonial { margin: 75px 0; }
.logos-testimonials .testimonial img { border: 3px solid #00acb0; border-radius: 5px; width: 100%; }
.logos-testimonials .testimonial p { font-size: 24px; line-height: 35px; margin-bottom: 25px; }
.logos-testimonials .testimonial strong { color: #00acb0; font-size: 24px; }
.logos-testimonials .testimonial strong span { font-weight: 400; }

/* Slider dots for logos */
.content .slick-dots li button::before { color: #fff; font-size: 15px; opacity: 1; }
.content .slick-dots li.slick-active button::before { color: #00acb0; opacity: 1; }
.logos-testimonials .slick-dots { bottom: 0; }
.logos-testimonials .slick-dots li { margin: 0 10px; }
.logos-testimonials .slick-dots li button::before { font-size: 20px; }

@media screen and (max-width: 768px) {
    .logos-testimonials .container a { margin: 0 auto 50px; }
    .logos-testimonials .testimonial p { margin-top: 15px; }
    .slick-next, .slick-prev { display: none !important; }
}

/* ======= Grid ======= */
.section-grid .box-grid { margin: 30px auto; width: 75%; }
.section-grid .box-grid hr { border: none; height: 3px; }

/* ======= Second Fold (2 Dobra) ======= */
.second-fold, .second-fold .container { position: relative; }
.second-fold .container > img {
    height: calc(100% + 365px);
    object-fit: cover;
    position: absolute;
    right: 10px;
    top: 20px;
    width: 45%;
}
.second-fold ul { list-style: none; margin: 0; padding: 0; }
.second-fold ul li {
    align-items: center;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 45px;
}
.second-fold ul li img { transform: rotate(90deg); width: 45px; }

@media screen and (max-width: 768px) {
    .second-fold .container > img { margin: 10px; position: relative; width: 100%; }
}

.second-fold .top-content {
    padding: 80px 0 40px;
}

.second-fold-bullets {
    padding: 40px 0;
}

/* ======= Video Section ======= */
.video .iframe { margin: 0 auto; max-width: 520px; }
.video .iframe iframe { border: none; height: 320px; width: 100%; }

/* ======= Third Fold ======= */
.third-fold { padding-top: 30px; position: relative; }
.third-fold h1 {
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
    margin: 35px 0;
}
.third-fold .bg {
    background-color: #00acb0;
    inset: 0;
    height: 70%;
    position: absolute;
    width: 100%;
    z-index: -1;
}
.third-fold img { height: 80%; object-fit: cover; width: 100%; }
.third-fold p {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 60px;
}
.third-fold ul { list-style: none; margin: 0; padding: 0; }
.third-fold ul li {
    align-items: center;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 45px;
}
.third-fold ul li img { transform: rotate(90deg); width: 45px; }
.third-fold .container { position: relative; z-index: 1; }

@media (max-width: 768px) {
    .banner { padding: 50px 0 135px; }
    .banner ul { margin-top: 55px; }
}

/* ======= Fourth Fold ======= */
.fourth-fold { padding-top: 30px; position: relative; }
.fourth-fold h1 {
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
    margin-bottom: 30px;
    margin-top: 35px;
}
.fourth-fold .bg {
    background-color: #007c7e;
    inset: 0;
    height: 65%;
    position: absolute;
    width: 100%;
    z-index: -1;
}
.fourth-fold img { height: 85%; object-fit: cover; width: 100%; }
.fourth-fold p {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 60px;
}
.fourth-fold .box-float {
    background-color: #007c7e;
    border: 1px solid #fff;
    border-radius: 5px;
    margin-bottom: 60px;
    padding: 20px;
}
.fourth-fold .box-float ul { margin: 0; padding: 0; }
.fourth-fold .box-float ul li {
    align-items: center;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
}
.fourth-fold .box-float ul li::before {
    color: #00acb0;
    content: "\2022";
    font-size: 35px;
    margin-right: 10px;
}
.fourth-fold .container { position: relative; z-index: 1; }

/* ======= Text Section ======= */
.text .content {
    padding: 60px 0;
}

.text p {
    line-height: 1.7;
}

/* ======= Accordion (Sanfona) ======= */
.accordion { padding-top: 30px; position: relative; }
.accordion h1 {
    color: #6f6f6f;
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
    margin: 35px 0;
}

.accordion-group {
    margin: 20px 0;
}

.accordion-item {
    background: #00acb0;
    margin: 10px 0;
    position: relative;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    background: #00acb0;
    color: #fff;
}

.accordion-header h3 {
    font-weight: 400;
    letter-spacing: .5px;
    padding: 10px;
    color: #fff;
}

.accordion-arrow {
    font-size: 12px;
    transition: transform 0.3s;
    color: #fff;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    background: #fff;
    border: 2px solid #00acb0;
    color: #4c4c4c;
    font-size: 24px;
    padding: 10px;
}

/* ======= Blog Highlights (Blog Destaque) ======= */
.posts .content { padding: 0; }
.posts .container > h2 {
    color: #6f6f6f;
    font-family: 'league_spartanbold', 'League Spartan Bold', sans-serif;
    font-size: 52px;
}
.posts p { font-size: 24px; }
.posts .container > a {
    background-color: #00acb0;
    border-radius: 8px;
    display: table;
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 200;
    margin: 30px auto 0;
    padding: 15px 30px;
    text-align: center;
    color: #fff;
}

.posts .post {
    background-color: #fff;
    border: 1px solid #83d1d3;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
}
.posts .post h3 {
    color: #6f6f6f;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
}
.posts .post p {
    color: #4c4c4c;
    font-family: 'Open Sans Hebrew Light', 'opensanshebrew-light', sans-serif;
    font-size: 18px;
}
.posts .post img { width: 100%; }

@media screen and (max-width: 768px) {
    .posts .container h2 { font-size: 45px; }
    .posts .content { padding: 0; }
    .posts .post { margin-top: 50px; }
    .posts .post h3 { font-size: 22px; }
}

/* ======= Slider ======= */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 500ms ease;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

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

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #007c7e;
}

/* ======= Toast ======= */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 12px 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
    max-width: 350px;
}

.toast-visible {
    opacity: 1;
    transform: translateX(0);
}

.toast-success { background: #007c7e; }
.toast-error   { background: #ca2432; }
.toast-info    { background: #2E7DCF; }
.toast-warning { background: #F0A500; }

/* ======= Slick track overrides ======= */
.slick-track { display: flex; }
.slick-track .slick-slide { display: flex; height: auto; align-items: center; justify-content: center; }

/* ======= Mobile overrides ======= */
@media (max-width: 1024px) {
    .col-md-5 { width: unset; z-index: 10; padding-left: 8px; padding-right: 8px; margin-top: 0; }
    .box-bullets { background-color: #fff; transform: scale(0.7); margin: 0; }
    .text-huge { line-height: 200%; }
    .text-big { line-height: 200%; }
    .post-header { padding-top: 60px !important; }
}

@media (max-width: 768px) {
    .img0 { display: none; }
    li.submenu ul { max-width: 90vw; line-height: 300%; display: inline-block; margin: 18px !important; }
    #header .container > ul > li:hover > ul { column-count: 1 !important; left: unset !important; }
    .image-bullets { padding-bottom: unset; }
}

.dl-item.activity > * { pointer-events: none; }
