.hydra-companies-section .section-title .title {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: clamp(10px, 1.5vw, 18px);
    word-break: break-word;
}

.hydra-companies-section .hydra-companies-subtitle {
    font-size: clamp(0.85rem, 1.35vw, 1.05rem);
    line-height: 1.85;
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
    padding: 0 8px;
    word-break: break-word;
    overflow-wrap: break-word;
}

html[dir="rtl"] .hydra-companies-section .hydra-companies-subtitle {
    direction: rtl;
}

html[dir="ltr"] .hydra-companies-section .hydra-companies-subtitle {
    direction: ltr;
}

#company-carousel .portfolio-item .portfolio-icon {
    position: absolute !important;
    right: 10% !important;
    bottom: 15% !important;
    top: auto !important;
    left: auto !important;
    z-index: 22 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

#company-carousel .portfolio-item .portfolio-icon > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f9a305 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    z-index: 23 !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease !important;
}

#company-carousel .portfolio-item .portfolio-icon > a > i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: none !important;
    pointer-events: none !important;
}

#company-carousel .portfolio-item .portfolio-icon > a > i.fas::before,
#company-carousel .portfolio-item .portfolio-icon > a > i.fa::before {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transform: none !important;
}

#company-carousel .portfolio-item .portfolio-icon > a:hover,
#company-carousel .portfolio-item .portfolio-icon > a:focus,
#company-carousel .portfolio-item .portfolio-icon > a:active {
    background: #ffffff !important;
    color: #f9a305 !important;
    text-decoration: none !important;
    outline: none !important;
    transform: scale(1.08) !important;
}

#company-carousel .portfolio-item .portfolio-icon > a:hover > i,
#company-carousel .portfolio-item .portfolio-icon > a:hover > i::before,
#company-carousel .portfolio-item .portfolio-icon > a:focus > i,
#company-carousel .portfolio-item .portfolio-icon > a:focus > i::before,
#company-carousel .portfolio-item .portfolio-icon > a:active > i,
#company-carousel .portfolio-item .portfolio-icon > a:active > i::before {
    color: #f9a305 !important;
}

#company-carousel .portfolio-item .portfolio-icon > a::before,
#company-carousel .portfolio-item .portfolio-icon > a::after,
#company-carousel .portfolio-item .portfolio-icon > a > i::after {
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

.about-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.count-number.plus::after {
  content: "+";
  margin-right: 4px;
}
.count-number.plus::before {
  content: none;
}

#projectsMediaLightbox .projects-media-player {
    max-width: 95vw !important;
}

#projectsMediaLightbox .projects-media-player > video,
#projectsMediaLightbox .projects-media-player > .projects-media-media {
    max-width: 95vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
}

#projectsMediaLightbox .projects-lightbox-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #f9a305 !important;
    color: #fff !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

#projectsMediaLightbox .projects-lightbox-close i,
#projectsMediaLightbox .projects-lightbox-close svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #fff !important;
    pointer-events: none !important;
}

#projectsMediaLightbox .projects-lightbox-close:hover {
    background: #fff !important;
    color: #f9a305 !important;
    transform: scale(1.08) !important;
}

#projectsMediaLightbox .projects-lightbox-close:hover i {
    color: #f9a305 !important;
}

/* =========================================================
   HOME — LTR/RTL fixes
   ========================================================= */

html[dir="ltr"] .hydra-hero-text,
html[dir="ltr"] .hydra-hero-text h1,
html[dir="ltr"] .hydra-hero-text p,
html[dir="ltr"] .hydra-hero-text span {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .hydra-hero-text,
html[dir="rtl"] .hydra-hero-text h1,
html[dir="rtl"] .hydra-hero-text p,
html[dir="rtl"] .hydra-hero-text span {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .banner .row.text-left {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="rtl"] .banner .align-center .container .row {
    direction: rtl !important;
}

/* =========================================================
   HERO TITLE — single line on DESKTOP only (≥992px)
   ========================================================= */

@media (min-width: 992px) {
    .hydra-hero-text h1 {
        white-space: nowrap !important;
        font-size: clamp(2.4rem, 4vw, 4rem) !important;
        line-height: 1.1 !important;
    }

    .hydra-hero-text h1 span {
        display: inline !important;
        white-space: nowrap !important;
    }
}

html[dir="ltr"] .hydra-companies-subtitle {
    direction: ltr !important;
    text-align: center !important;
}

html[dir="ltr"] .hydra-projects-subtitle {
    direction: ltr !important;
    text-align: center !important;
}

html[dir="ltr"] .about-rtl,
html[dir="ltr"] .about-rtl h2,
html[dir="ltr"] .about-rtl p {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="ltr"] .line-h-3 {
    direction: ltr !important;
    text-align: left !important;
}

/* =========================================================
   CTA HEADING — one line in both languages
   ========================================================= */

.cta-section .cta-content,
.cta-section .cta-content.section-title {
    max-width: 100%;
    width: 100%;
}

.cta-section .cta-content h2.title {
    display: block !important;
    white-space: nowrap !important;
    font-size: clamp(1rem, 1.85vw, 1.75rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
}

.cta-section .cta-content h2.title span {
    display: inline-block;
    white-space: nowrap !important;
}

.cta-section .cta-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

html[dir="ltr"] .cta-section .cta-content,
html[dir="ltr"] .cta-section .cta-content.section-title,
html[dir="ltr"] .cta-section .cta-content h2.title {
    text-align: left !important;
    direction: ltr !important;
}

html[dir="rtl"] .cta-section .cta-content,
html[dir="rtl"] .cta-section .cta-content.section-title,
html[dir="rtl"] .cta-section .cta-content h2.title {
    text-align: right !important;
    direction: rtl !important;
}

/* =========================================================
   CTA BUTTON — ENGLISH ONLY
   ========================================================= */

html[dir="ltr"] .cta-section .cta-content > a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

html[dir="ltr"] .cta-section .cta-content > a.btn > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    top: 2px !important;
    bottom: auto !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .cta-section .cta-content h2.title,
    .cta-section .cta-content h2.title span {
        white-space: normal !important;
        font-size: 1.15rem !important;
    }
}

/* =========================================================
   CTA YELLOW TRIANGLE — flip side per language
   ========================================================= */

html[dir="rtl"] .cta-section::after {
    right: 0;
    left: auto;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

html[dir="ltr"] .cta-section::after {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* =========================================================
   LATIN DIGITS IN ENGLISH MODE
   ========================================================= */

html[dir="ltr"] #company-years,
html[dir="ltr"] #company-years-box {
    font-family: Arial, Helvetica, sans-serif !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    font-variant-numeric: lining-nums !important;
}

html[dir="ltr"] .about-text,
html[dir="ltr"] .about-text * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
}

html[dir="ltr"] .line-h-3,
html[dir="ltr"] .line-h-3 * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
}

html[dir="ltr"] .counter .count-number,
html[dir="ltr"] .counter .count-number::before,
html[dir="ltr"] .counter .count-number::after {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
}

html[dir="ltr"] .footer .contact-info,
html[dir="ltr"] .footer .contact-info *,
html[dir="ltr"] .footer .working-hours,
html[dir="ltr"] .footer .working-hours * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
}

html[dir="ltr"] .cta-phone,
html[dir="ltr"] .cta-phone * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
}



/* =========================================================
   COUNTER BOXES — stacked layout for BOTH languages
   ========================================================= */

.counter.style-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 180px;
    box-sizing: border-box;
    padding: 20px 15px;
}

.counter.style-3 > i {
    position: static !important;
    float: none !important;
    transform: none !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto 12px auto !important;
    padding: 0 !important;
    font-size: 34px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.counter.style-3 > i::after,
.counter.style-3 .count-number::before,
.counter.style-3 .count-number::after,
.counter.style-3 > span::after,
.counter.style-3 label::before {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    transform: none !important;

    display: block !important;
    width: 40px !important;
    height: 2px !important;
    margin: 8px auto !important;
    padding: 0 !important;

    background: rgba(255, 255, 255, 0.85) !important;
    border: none !important;
    content: "" !important;
    box-sizing: border-box !important;
}

.count-number.plus::after {
    content: "+" !important;
    background: none !important;
    height: auto !important;
    width: auto !important;
    display: inline !important;
    margin: 0 0 0 2px !important;
}

.counter.style-3 .count-number {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
}

.counter.style-3 label {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    margin: 0;
    overflow: visible;
    word-break: break-word;
}

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 991px) {
    .hydra-companies-section .section-title .title {
        font-size: clamp(1.35rem, 3.5vw, 2rem);
    }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
    .hydra-companies-section .section-title .title {
        font-size: clamp(1.25rem, 5.5vw, 1.7rem);
    }

    .hydra-companies-section .hydra-companies-subtitle {
        font-size: 0.9rem;
        line-height: 1.8;
        padding: 0 4px;
    }

    #company-carousel .portfolio-item .portfolio-icon {
        right: 10% !important;
        bottom: 10% !important;
        top: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #company-carousel .portfolio-item .portfolio-icon > a {
        width: 38px !important;
        height: 38px !important;
    }

    #company-carousel .portfolio-item .portfolio-icon > a > i,
    #company-carousel .portfolio-item .portfolio-icon > a > i::before {
        font-size: 16px !important;
    }

    /* Counter boxes — smaller on mobile */
    .counter.style-3 {
        min-height: 120px !important;
        padding: 14px 10px !important;
    }

    .counter.style-3 > i {
        font-size: 22px !important;
        margin: 0 auto 8px auto !important;
    }

    .counter.style-3 .count-number {
        font-size: 26px !important;
        line-height: 1 !important;
    }

    .counter.style-3 label {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .counter.style-3 > i::after,
    .counter.style-3 .count-number::before,
    .counter.style-3 .count-number::after,
    .counter.style-3 > span::after,
    .counter.style-3 label::before {
        width: 28px !important;
        margin: 6px auto !important;
    }
}

/* =========================================================
   Very small phones
   ========================================================= */
@media (max-width: 380px) {
    .hydra-companies-section .section-title .title {
        font-size: 1.15rem;
    }

    .hydra-companies-section .hydra-companies-subtitle {
        font-size: 0.82rem;
    }
}