/*
Theme Name: Ggov Template
Theme URI: https://min-code.com
Author: Min-code Group
Author URI: https://min-code.com
Version: 1.0
Text Domain: www.ggov.md
*/

:root {
    --gray-500: #231F20;
    --gray-300: #2D292A;
    --beige: #f4f2f1;
    --white: #FFFFFF;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.8rem;
    font-family: "Montserrat", sans-serif;
    background: #fff;
    color: black;
}

h1 {
    font-size: 5rem;
    padding: 0;
    margin: 0;
    line-height: 150%;
}

h2 {
    font-size: 3.8rem;
    padding: 0;
    margin: 0;
    line-height: 150%;
}

h3 {
    font-size: 2.4rem;
    padding: 0;
    margin: 0;
}

h4 {
    font-size: 1.8rem;
    padding: 0;
    margin: 0;
}

h5 {
    font-size: 2.4rem;
}

p {
    font-size: 1.8rem;
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
}

dl, ol, ul {
    padding-left: 0;
}

.mg-9 {
    margin: 70px 0;
}

.mt-9 {
  margin-top: 70px;
}

.container {
    max-width: 1470px;
    padding: 0 15px;
    margin: 0 auto;
}

/* Dividers */

.mt-70 {
    margin-top: 60px;
}

.mb-70 {
    margin-bottom: 60px;
}

.mg-90 {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Text Color */

/* main link */
.main_link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.project_link:hover img {
    transform: rotate(45deg);
}

.main_link span {
    position: relative;
    color: black;
    text-transform: uppercase;
    font-weight: 500;
}

.main_link img {
    width: 15px !important;
    height: 15px !important;
}

.statistic__portofolio.mg-9 {
    margin-bottom: 40px;
}

.project_link img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    border-radius: 0 !important;
}

.main-text {
    color: #186019;
}

.fs-30 {
    font-size: 3rem;
}

.header_left h1 {
    color: #FFE5BD;
}

.header_logo {
    width: auto;
    height: 64px;
}

.header_left p {
    color: white;
    margin-top: 40px;
    margin-bottom: 80px;
}

.background_image {
    background-color: #013507;
}

.bg__header {
    background-size: contain;
    background-repeat: no-repeat;
}

.header_left {
    padding-right: 140px;
}

.header_right {
    border-left: 2px solid white;
}

.header_right img {
    width: 100%;
    height: 737px;
    object-fit: cover;
}

.container__loc {
    max-width: 1680px;
    margin-left: auto;
    margin-right: 0;
}

/* Header */

/* Toogle Button*/
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.navbar__toggle {
    display: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(214, 125, 18);
    background: linear-gradient(90deg, rgba(214, 125, 18, 1) 0%, rgba(255, 169, 34, 1) 100%);
    border: none;
    cursor: pointer;
    z-index: 2001;
    position: relative;
    justify-content: center;
    align-items: center;
}

.navbar__toggle span {
    display: block;
    position: absolute;
    width: 30px;
    height: 4px;
    background: #191919;
    border-radius: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.navbar__toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.navbar__toggle span:nth-child(2) {
    transform: translateY(6px);
}

.navbar__toggle.open span:nth-child(1) {
    transform: rotate(45deg);
}

.navbar__toggle.open span:nth-child(2) {
    transform: rotate(-45deg);
}

/* End toogle */

.navbar__menu {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--gray-500);
}

.navbar__menu .container {
    max-width: 100%;
    padding: 12px 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__menu__items{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;
}

.navbar__menu__items ul {
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
    margin-bottom: 0;
}

.navbar__menu__items ul li a {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
}

.navbar__menu__items ul li {
    position: relative;
}

.menu-item-has-children > a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}


.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #252122;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    min-width: 120px;
}

.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.sub-menu li a {
    color: white;
    font-size: 1.4rem;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.sub-menu li a:hover {
    color: #D67D12;
    background-color: rgba(255, 255, 255, 0.4);
}

.navbar__menu__items ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 24px;
    padding: 5px 0;
    transition: color 0.3s, background-color 0.3s;
}

.navbar__menu__items ul li ul li.current_page_item > a::before,
.navbar__menu__items ul li ul li.current-menu-item > a::before,
.navbar__menu__items ul li ul li.current-menu-ancestor > a::before {
    content: none !important;
    border-top: none !important;
    top: 0;
}

.navbar__menu__items ul > li.current_page_item > a {
    color: #ffffff;
}

.navbar__menu__items ul li a:hover {
    color: #ffffff;
}

.navbar__menu__items ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    min-width: 150px;
}

.navbar__menu__items ul li ul li {
    display: block;
}

.navbar__menu__items ul li ul li a {
    padding: 5px 15px;
    font-size: 1.6rem;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}

.navbar__menu__items ul li ul li a:hover {
    color: #ededed;
}

.navbar__menu__items ul li:hover > ul {
    display: block;
}

/* End Header */

.hero__container {
    position: relative;
    width: 100%;
    height: 86vh;
    overflow: hidden;
}

.hero__container:before {
    content: '';
    background: #00000080;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.hero__container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__container img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.hero_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
    text-align: center;
}

.hero_content h1 {
    text-transform: uppercase;
    line-height: 150%;
    font-size: 3.2rem
}

.hero_content1 {
    position: absolute;
    bottom: 50%;
    transform: translateX(-50%);
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
}

.title_max {
    max-width: 70%;
    margin: 0 auto;
}

.section_title {
    margin-bottom: 50px;
}

.statistic_content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.statistic_item {
    position: relative;
}

.statistic_item h2 {
    font-size: 5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    line-height: 100%
}

.statistic_item p {
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
}

.statistic_item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #E1E1E1;
}

.statistic_item:last-child::after {
    display: none;
}

.cat_buttons {
    display: flex;
    gap: 10px;
}

.cat_buttons img {
    width: 14px;
    height: 14px;
    transition: 0.3s;
    margin-top: -1px;
}

.cat_buttons .link_text {
    gap: 20px;
}

.link_text {
    border-bottom: 1px solid #fff;
    transition: 0.3s;
}

.link_text:hover {
    border-bottom: 1px solid #231f20;
    transition: 0.3s;
}

.link_text:hover img {
    transform: rotate(45deg);
    transition: 0.3s
}

.cat_buttons .link_text span {
    position: relative;
    font-size: 1.8rem;
    font-weight: 500;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
}

.cat_buttons .link_text span active {
    box-shadow: none;
}

.cat_buttons .link_text span:focus-visible {
    outline: none;
}

.product-gallery-custom {
    color: white;
}

.accordion-dental {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    border: none;
}

.accordion-item {
    border-bottom: 1px solid rgb(255, 255, 255);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.accordion-header {
    padding: 30px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 2.4rem;
    transition: background 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.accordion-header:hover {
    color: #DD7210;
}

.accordion-item.active .accordion-header {
    padding-top: 30px;
    padding-bottom: 17px;
    color: #DD7210;
    font-size: 1.8rem
}

.accordion-header .bullet {
    color: #DD7210;
    font-size: 2rem;
    margin-right: 10px;
}

.quest {
    gap: 30px;
    align-items: center;
}

.quest h4 {
    color: #000000;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.accordion-item.active .quest h4 {
    color: #000000;
    font-size: 2.4rem;
    font-weight: 500;
}

.accordion-header .toggle-icon {
    color: #ffffff;
    font-size: 2rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-header .toggle-icon {
    transform: rotate(90deg);
    color: #ffffff;
}

.accordion-content {
    display: block;
    max-height: 0;
    overflow: hidden;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    /*border-bottom: 1px solid rgba(169, 169, 169, 0.10);*/
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: none;
    padding-bottom: 40px;
    padding-left: 55px;
}

.accordion-content p {
    font-size: 1.8rem;
    margin: 0;
}

.accordion-item.active {
    transition: box-shadow 0.3s ease;
}

.contact_data {
    margin-top: 30px;
}

.contact_mail {
    margin-top: 30px;
}

.overlay_services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overlay_services img {
    width: 61px;
    height: 61px;
}

.overlay_services h3 {
    margin-top: 20px;
    font-size: 4.8rem;
    color: white;
    text-transform: uppercase;
}

/* Footer */

.footer {
    background-color: #2D292A;
    padding-top: 90px;
}

.footer_content {
    margin-top: 50px;
}

.footer_content h5 {
    font-weight: 400;
    color: #F4F3F2;
    font-size: 2rem;
    line-height: 140%;
}

.footer_content a {
    font-size: 2rem;
    text-decoration: none;
    color: #F4F3F2;
    margin-bottom: 5px;
}

.terms__privacy {
    align-items: flex-end;
}

.terms__privacy a {
    font-size: 1.6rem;
    text-decoration: underline;
    color: white;
}

.more__info {
    margin-top: 20px;
    align-items: end;
}

.toogle__menu {
    cursor: pointer;
}

.main-logo {
    width: 20%;
}

.navbar__menu__items {
    width: 80%;
}

/* Overlay general */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F4F3F2;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Conținutul meniului */
.menu-content {
    text-align: center;
    color: #000;
}

/* Buton închidere — acum e raportat la overlay */
.close-overlay {
    position: absolute;
    top: 30px;
    left: 162px; /* exact unde vrei */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000; /* mereu deasupra */
}

.close-overlay img {
    width: 40px;
    height: auto;
}

/* Lista de meniu */
.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list ul {
    list-style: none;
    padding: 0;
}

.menu-list a {
    color: black;
    font-size: 50px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.menu-list a:hover {
    color: black;
}

/*@media (max-width: 991px) {*/
/*    .menu-overlay {*/
/*        display: none !important;*/
/*    }*/
/*}*/

.footer_contact {
    padding-left: 130px;
}

.footer_contact h2 {
    color: #F4F3F2;
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.custom-contact-form .form-row {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.custom-contact-form span {
    font-size: 1.4rem;
}

.custom-contact-form input,
.custom-contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    width: 100%;
    padding: 20px 0;
    color: #fff;
    font-size: 2rem;
    border-radius: 0;
}

.custom-contact-form input:focus-visible {
    outline: none;
}

.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.custom-contact-form textarea {
    resize: none;
    height: 90px;
}

.custom-contact-form textarea:focus-visible {
    outline: none;
}

.custom-contact-form .wpcf7-form-control-wrap {
    width: 100%;
}

.custom-contact-form .form-checkbox {
    font-size: 1.8rem;
}

.form-checkbox label {
    text-transform: none !important;
}

.custom-contact-form .form-checkbox input {
    accent-color: #fff;
    margin-right: 8px;
}

.custom-contact-form .form-submit {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fff;
    padding: 10px 25px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-contact-form .form-submit input[type="submit"] {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
}

.custom-contact-form .form-submit:hover input[type="submit"] {
    color: #2D292A
}

.custom-contact-form .form-submit:hover {
    background: white;
}

.custom-contact-form .form-submit::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 12px;
    background: url('./assets/images/arrow.svg') no-repeat center;
    background-size: contain;
    transition: 0.3s
}

.custom-contact-form .form-submit:hover:after {
    transform: rotate(45deg);
    filter: brightness(0);
}

.custom-contact-form .wpcf7-spinner {
    display: none !important;
}

.custom-contact-form label {
    display: flex;
    align-items: center;
}

.custom-contact-form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: flex;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 8px;
}

.custom-contact-form input[type="checkbox"]:checked {
    background: transparent; /* fundal transparent */
}

.custom-contact-form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.social {
    gap: 15px;
}

.social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.form__button {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.custom-contact-form .wpcf7-list-item {
    margin-left: 0;
}

/* Container general */
.category_blocks {
    position: relative;
    overflow: hidden;
}

/* Fundal crossfade */
.bg_images {
    position: absolute;
    inset: 0;
}

.bg_img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.bg_img.active {
    opacity: 1;
}

/* Overlay întunecat peste fundal */
.category_blocks::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Blocul slider */
.grid_block {
    position: relative;
    z-index: 2;
}

/* Fiecare categorie (slide) */
.grid_item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 88vh; /* în loc de 88vh */
    padding: 20px;
}

/* Titlu categorie */
.grid_item h3 {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Liste ascunse/afișate */
.grid_item ul {
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    height: 0;
    text-align: center;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.grid_item.active ul {
    opacity: 1;
    height: auto;
}

/* Linkuri */
.grid_item ul li {
    margin-bottom: 10px;
}

.grid_item ul li a {
    font-size: 1.4rem;
    font-weight: 500;
    color: white!important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: 0.3s;
}

.grid_item ul li a:hover {
    border-bottom: 1px solid white;
}

/* Linie verticală doar pe desktop */
.grid_item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    display: none;
}

@media (min-width: 992px) {
    .grid_item::after {
        display: block;
    }
}


.our_projects {
    background: var(--beige);
    color: black;
}

.our_projects .block_title h2 {
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 75px;
}

.slider_projects .swiper-wrapper {
    width: 100%;
}

.slider_projects .swiper-slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#ffffff00 45%, #231f20ed);
    z-index: 1;
}

.slider_projects .swiper-slide img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.project_content {
    position: absolute;
    z-index: 2;
    bottom: 70px;
}

.project_content h2{
    font-size: 3.2rem;
}

.project_content p {
    font-size: 2rem;
    text-transform: uppercase;
}

.project_content .main_link {
    font-size: 1.6rem;
    border-bottom: 1px solid transparent;
    transition: 0.3s
}

.project_content .main_link:hover {
    border-bottom: 1px solid white;
    transition: 0.3s
}

.project_content .project_link img {
    width: 14px !important;
    height: 14px !important;
    transition: 0.3s
}

.investor_sec {
    width: 100%;
    padding-top: 90px;
    padding-bottom: 120px;
    display: flex;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.investor_sec:before {
    content: '';
    background: #00000090;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.investor_sec .container {
    position: relative;
}

.investor_sec .row {
    height: 100%;
}

.footer .main__logo .footer_logo {
    width: 80px;
}

.investor_sec h2 {
    margin-bottom: 25px;
    font-weight: 400;
}

.investor_sec .accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}

.investor_sec .main_link {
    font-size: 1.6rem;
}

.subtitle_accordion {
    margin-bottom: 40px;
    text-transform: uppercase;
}

.mt-59 {
    margin-bottom: 59px;
}

.investor_left {
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.investor_left .accordion-item.active .accordion-header {
    padding-top: 17px;
    padding-bottom: 17px;
}

.investor_left .accordion-item.active .accordion-header .toggle-icon {
    transform: rotate(45deg);
}

.investor_image img {
    width: 100%;
    height: 547px;
    object-fit: cover;
}

.view_all {
    position: relative;
    padding: 86px 0;
    background: #252122;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view_all .view_all__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

.view_all .link_text {
    position: relative;
    font-size: 1.6rem;
    padding-bottom: 2px;
    color: white;
}

.view_all__link span {
    border-bottom: 2px solid white;
}

.view_all__link img {
    width: 15px;
    height: 15px;
}

.product_slider .swiper {
    width: 100%;
}

.product_slider .swiper-wrapper {
    position: relative;
}

.product_slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 90vh;
}

.product_slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.wrapper_swiper {
    position: absolute;
    bottom: 60px;
    right: 15px;
    width: 90%;
    max-width: 960px;
    padding-left: 100px;
    padding-right: 100px;
    z-index: 10;
}

/*.product-gallery-custom .swiper-slide:nth-child(3) {*/
/*  pointer-events: none*/
/*}*/

.our_projects .thumbnail-slider .swiper-slide {
    width: auto !important;
    margin-right: 0;
}

.our_projects .swiper-wrapper {
    justify-content: space-between;
}

.thumbnail-slider {
    width: 100%;
    overflow: hidden;
}

.thumbnail-slider .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
}

.thumbnail-slider h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.53);
    margin-bottom: 5px;
}

.thumbnail-slider .swiper-slide-thumb-active h2 {
    color: white;
}

.thumbnail-slider p {
    color: rgba(244, 243, 242, 0.65);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 12.691px;
}

.swiper-button-prev,
.swiper-button-next {
    content: "";
    background-image: url('assets/images/arrow-slide.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.discover-prev,
.discover-next{
    width: 20px;
    height: 20px;
}

.swiper-button-next {
    transform: translateY(-50%) rotate(180deg);
    right: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.discover-prev {
    left: 45px;
}

.discover-next {
    right: 45px;
}

.discover-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    display: none;
}

.project_content p {
    margin-bottom: 50px;
}

.link_button {
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0 0 5px 0;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    border-bottom: 2px solid white;
    transition: all 0.3s ease;
    border-radius: 0;
    gap: 10px;
}

.link_button::after {
    content: url('assets/images/arrow.svg');
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.link_button:hover {
    opacity: 0.8;
}

.link_button:hover::after {
    transform: translateX(5px);
}

.max-60{
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.about_sec1 {
    padding-top: 90px;
    padding-bottom: 20px;
}

.about_sec1 h2 {
    font-size: 2.8rem;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.about_sec1 .block_title{
    margin-bottom: 30px;
}

.stats_sec .container {
    max-width: 1200px;
}

.grid_stats {
    display: flex;
}

.grid_stats .stats_item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    flex: 1;
    padding: 40px;
}

.grid_stats .stats_item h5 {
    margin-top: 30px;
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
}

.grid_stats .stats_item::after {
    content: "";
    position: absolute;
    top: 40px;
    right: 0;
    width: 1px;
    height: 60%;
    background: #435163;
}

/* scoatem linia de la ultimul item */
.grid_stats .stats_item:last-child::after {
    display: none;
}

.years_left{
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.years_left h2 {
    font-size: 11rem;
    line-height: 100%;
}

.years_left span {
    font-size: 5rem;
}

.years_right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.timeline-container {
    max-width: 1570px;
    margin: 50px auto;
}

.timeline-swiper {
    position: relative;
    padding: 0 100px;
}

.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-swiper {
    position: relative;
}

/* linia orizontală */
.timeline-swiper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: #bfbfbf;
    z-index: 0;
    pointer-events: none;
}

/* adu slide-urile deasupra liniei */
.timeline-swiper .swiper-slide {
    position: relative;
    z-index: 2;
}

.timeline-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    width: auto;
    /*padding: 20px 30px;*/
    padding: 20px 10px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Slide activ - cel mai mare */
.timeline-swiper .swiper-slide-active {
    transform: scale(1.4);
    background: #000;
    z-index: 3;
}

/* Vecinii direcți - puțin mai mici */
.timeline-swiper .swiper-slide-prev,
.timeline-swiper .swiper-slide-next {
    transform: scale(1.2);
    z-index: 2;
}

/* Cei mai îndepărtați - și mai mici */
.timeline-swiper .swiper-slide.prev-2,
.timeline-swiper .swiper-slide.next-2 {
    transform: scale(1);
    z-index: 1;
}

.timeline-swiper .swiper-button-prev,
.timeline-swiper .swiper-button-next {
    color: #000;
    font-weight: bold;
}

/* butoane */

.timeline-swiper .swiper-button-prev,
.timeline-swiper .swiper-button-next {
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.timeline-swiper .swiper-button-prev::after,
.timeline-swiper .swiper-button-next::after {
    content: "";
    background-image: url('assets/images/arrow-time.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: block;
    margin-left: 4px;
}

.timeline-swiper .swiper-button-prev {
    left: 0;
}

.timeline-swiper .swiper-button-next {
    right: 0;
}


/* team section */

.team-section {
    padding: 90px 0;
    background: #252122;
}

.team-section h2 {
    color: white;
    text-transform: uppercase;
    margin-bottom: 100px;
}

.grid_team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

.team_item img {
    width: 100%;
    height: 405px;
    object-fit: cover;
}

.team_item h4 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.team_item span {
    font-size: 1.4rem;
}

/* contact page */

.contact_page label {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.contact_page .form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
}

.form__contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact_page span {
    font-size: 1.4rem;
}

.contact_page input,
.contact_page textarea{
    background: transparent;
    border: none;
    border-bottom: 1px solid #707070;
    width: 100%;
    padding: 19px 0px 4px;
    color: #000000;
    font-size: 1.8rem;
}

/* Stilul tău de select */
.contact_page select {
    background: linear-gradient(to left, #fff 8%, #ececec 8%);
    border: none;
    width: 100%;
    padding: 10px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
}

/* Wrapper pentru icon FA */
.contact_page .select-wrapper {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #707070;
    padding-bottom: 8px;
}

/* Icon FA */
.contact_page .select-wrapper::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 27%;
    transform: translateY(-50%);
    transform: rotate(90deg);
    width: 14px;   /* ajustează dacă vrei */
    height: 14px;
    pointer-events: none;

    background-image: url('https://investhome.es/wp-content/themes/invest-home/assets/images/arrow-black.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}



.contact_page input,
.contact_page textarea,
.contact_page select:focus-visible{
    outline: none;
    box-shadow: none;
}

.contact_page input:focus-visible {
    outline: none;
}

.contact_page input::placeholder,
.contact_page textarea::placeholder {
    color: #000000;
}

.contact_page textarea {
    resize: none;
    height: 124px;
}

.contact_page textarea:focus-visible {
    outline: none;
}

.contact_page .wpcf7-form-control-wrap {
    width: 100%;
}

.contact_page .form-checkbox {
    margin: 10px 0;
    font-size: 1.8rem;
}

.contact_page .form-checkbox input {
    accent-color: black;
    margin-right: 8px;
}

.contact_page .form__button{
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.contact_page .form-submit input[type="submit"] {
    background: #2c2627;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    color: white;
    font-size: 1.8rem;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.contact_page .form-submit input[type="submit"]:hover {
    border: none;
    color: #000;
}

.contact_page label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    margin-bottom: 10px;
}

.contact_page input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #000000;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: flex;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 8px;
}

.contact_page input[type="checkbox"]:checked {
    background: transparent; /* fundal transparent */
}

.contact_page input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 7px;
    height: 11px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact_page .wpcf7-list-item {
    margin-left: 0;
}

.brochures_list {
    position: absolute;
    bottom: 65px;
}

.btn-bronchures {
    background: white;
    padding: 10px 20px;
    font-size: 1.4rem;
    text-decoration: underline;
    border-radius: 0;
    display: flex;
    letter-spacing: 0.672px;
    font-weight: 600;
    gap: 10px;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
}

.btn-bronchures:hover {
    background: #f0f0f0 !important;
    text-transform: uppercase;
    border: none;
}

.details_project {
    margin-top: 50px;
    margin-bottom: 50px;
}

.details_project h1 {
    color: #231F20;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 4rem;
    margin-bottom: 5px
}

.details_project h2 {
    color: #231f20;
    text-align: center;
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-transform: uppercase;
}

.details_project span {
    font-size: 4rem;
    font-weight: 600;
}

.details_project p {
    color: #231F20;
    font-size: 1.8rem;
}

.description_project {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.line-width {
    width: 200px;
    height: 1px;
    background: #231f20;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.project_gallery1 img {
    height: 80vh;
    object-fit: cover
}

.arrows_dark .swiper-button-prev,
.arrows_dark .swiper-button-next {
    background-image: url('/wp-content/uploads/2025/10/a2.svg');
    position: relative;
    width: 25px;
    height: 25px;
}

.arrow_mobile .swiper-button-prev,
.arrow_mobile .swiper-button-next {
    filter: invert(1);
}

.arrow_mobile .swiper-button-next{
    right: 0;
}

.arrow_mobile{
    justify-content: space-between !important;
}

.arrows_dark .swiper-button-next {
    transform: rotate(0deg);
}

.arrows_dark .swiper-button-prev {
    transform: rotate(-180deg);
}

.arrows_dark {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    margin-bottom: 24px;
}

.property_type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.property_type p {
    margin-bottom: 0;
    font-size: 2.4rem;
    line-height: 140%;
    text-transform: uppercase;
    position: relative;
}

.property_type p:after {
    content: '/';
    margin-left: 20px;
}

.property_type p:last-child:after {
    display: none;
}

.project_gallery {
    margin-bottom: 80px;
}

.project_gallery1 {
    margin-bottom: 30px
}

.description_project p {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
}

.feature_content {
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 90px;
    margin: 0 auto;
}

.feature_section h2 {
    margin-bottom: 60px;
}

.feature_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.list__mb {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    list-style: none;
}

.list__mb li {
    position: relative;
    padding: 0 15px;
    text-align: center;
    color: #231F20;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: 2.3px;
}

.list__mb li:first-child::before {
    display: none;
}

.list__mb li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 35%; /* începe de la 25% din înălțimea elementului */
    height: 30%; /* linia va fi doar pe jumătate din înălțime */
    width: 1px;
    background: #000;
}


.single_video {
    margin-top: 70px;
    background: #252122;
}

.single_video video {
    width: 100%;
    height: 956px;
}

.gallery_sec {
    padding-top: 90px;
}

.gallery_sec h2 {
    color: black;
    text-transform: uppercase;
}

.gallery_content {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.gallery_content .gallery_item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.bg_img1 {
    position: absolute;
    right: 0;
    height: 100%;
}

.learnmore_button {
    margin-bottom: 70px;
    margin-top: 110px
}

.bg_img2 {
    position: absolute;
    left: 0;
    height: 100%;
}

.project_bg1,
.project_bg2 {
    background: #E8E7E3;
    position: relative;
}

.fancybox-content {
    padding: 0 !important;
    background: transparent !important
}

.gallery_btn {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #231F20;
    padding: 15px 30px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.video-wrapper iframe {
    width: 100%;
    height: 82vh;
    margin-top: -24px;
}

.content_project {
    padding: 90px 0;
    padding-right: 80px;
    padding-bottom: 40px;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.project_gallery2 img,
.project_gallery3 img {
    height: 100%;
    object-fit: cover
}

.project_gallery2,
.project_gallery3 {
    height: 100%;
}

.project_bg1 .arrows_dark {
    justify-content: flex-start;
    margin-bottom: 0;
    margin-top: 70px;
    gap: 30px;
}

.project_bg2 .arrows_dark {
    justify-content: flex-start;
    margin-bottom: 0px;
    margin-top: 70px;
    gap: 30px;
}

.project_bg1 .arrows_dark .swiper-button-prev {
    left: 0;
}

.project_bg2 .arrows_dark .swiper-button-prev {
    left: 0;
}

.donwload_button {
    background: #E8E7E3;
    padding-top: 90px;
    padding-bottom: 60px;
}


.content2 h6 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 150%;
    font-weight: 600
}

.gallery_btn:hover {
    background: #444;
    transform: scale(1.05);
}

.project_bg2 .content_project {
    padding-left: calc(50% + 80px);
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 5px;
    padding-right: 0;
}

.gallery_btn span {
    font-size: 1.6rem;
    color: white;
}

.donwload_button .link_text {
    border-color: #E8E7E3
}

.donwload_button .link_text:hover {
    border-color: #231f20
}

.btn_top {
    display: flex;
    justify-content: center;
    margin-top: 58px;
}

.hero_down {
    position: absolute;
    bottom: 73px;
    left: 50%;
    /*transform: translateX(-50%);*/
    z-index: 10;
}

.hero_down img {
    width: 20px;
    height: 20px;
}

.copyright__footer {
    padding-top: 90px;
    padding-bottom: 40px;
}

.copyright__footer p {
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
}

.service_images1 {
    position: relative;
    display: inline-block;
}

.service_images1 img {
    width: 100%;
    height: 956px;
    object-fit: cover;
    display: block;
}

.play_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 106px;
    height: 106px;
    z-index: 2;
    cursor: pointer;
}

.play_button img {
    width: 100%;
    height: 100%;
}

.video_content {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.video_content a {
    position: relative;
    display: block;
    text-decoration: none;
}

.video_content img {
    width: 100%;
    height: 956px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video_content .play_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 106px;
    height: 106px;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video_content .play_button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video_content:hover .play_button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video_content:hover img {
    transform: scale(1.05);
}

.video_content {
    width: 100%;
}

.video_content img {
    width: 100%;
    height: 900px;
    object-fit: cover;
}

.video_content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video_content:hover::before {
    opacity: 1;
}

.menu__right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.categories_content {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 coloane egale */
}

.categories_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.categories_item h4 {
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

.our_services_left {
    padding-right: 200px;
}

.our_services_left h2 {
    color: #231F20;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.our_services_left h4 {
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 150%;
}

.our_services_left p {
    color: #231F20;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 20px
}

.our_services .accordion-item {
    border-bottom: 1px solid black;
}

/* Marquee */

.marquee-bar {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-top: 90px;
    z-index: 100;
}

.marquee-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    will-change: transform;
    z-index: 100;
}

.marquee_item {
    display: flex !important;
    align-items: center;
    color: black;
    gap: 50px;
}

.marquee-bar__title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 28px;
    z-index: 1000;
    padding-right: 130px;
}

.marquee-bar__title img {
    width: auto;
    height: 38px;
}

.marquee-content.clone {
    left: 100%;
}

.resolution__true {
    height: 300px;
}

.parteners_sec h2 {
    color: white;
    padding-top: 108px;
}

.single_section1 {
    background: #E9E6E3;
}

.single_item_left,
.single_item_right {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.single_item_left img,
.single_item_right img {
    display: block;
    width: 100%;
    height: 598px;
    object-fit: cover;
}

.single_content_left {
    margin: auto 0;
}

.single_content_right {
    margin: auto 0;
}

.content_max {
    max-width: 600px;
    margin: auto;
    padding: 0 15px;
}

.content_max h2 {
    margin-bottom: 54px;
}

.content_max p {
    font-size: 1.6rem;
    font-family: "Manrope", sans-serif;
}

.border_line {
    position: relative;
    width: 119px;
    height: 1px;
    background: #070606;;
    margin-bottom: 42px;
}

.details_house {
    margin-top: 80px;
    display: flex;
}

.detail_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
    position: relative;
}

.detail_item:first-child {
    padding-left: 0;
}

.detail_item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #aaa;
}

.detail_label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #231F20;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.detail_value {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.leaflet-container a.leaflet-popup-close-button {
    display: none !important;
}

/* Harta generală */
#projects-map {
    height: 64vh;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.map_projects h2 {
    margin-bottom: 20px;
}

.map_projects {
    margin-top: 90px;
}

/* Marker custom */
.custom-marker {
    width: 58px;
    height: 58px;
    background: rgba(29, 27, 32, 0.10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-marker .marker-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
}

/* Popup general */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    text-align: center !important;
    margin: 0 !important;
}

.leaflet-popup-tip {
    background: rgba(233, 230, 227, 0.59);
}

.leaflet-popup-content {
    width: 203px;
}

/* Card proiect */
.popup-card {
    width: 100%;
    border-radius: 12px;
    background: rgba(233, 230, 227, 0.59);
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(233, 230, 227, 0.59) !important;
    box-shadow: none !important;
}

.popup-card .popup-img {
    width: 100%;
    height: 131px;
    object-fit: cover;
}

.popup-card .popup-body {
    padding: 12px;
    background: white;
    text-align: left;
}

.popup-card .popup-title {
    margin: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #111;
}

.leaflet-pane .leaflet-popup-content {
    width: 260px !important
}

.leaflet-pane .popup-card {
    border-radius: 0;
}

.popup-card .popup-desc {
    margin: 4px 0 0;
    font-size: 1.2rem;
    color: #555;
}

.hero__project img {
    height: 90vh;
    object-fit: cover;
}

@media (min-width: 1921px) {
    .gallery_content .gallery_item img {
        height: 520px;
    }

    .content_project,
    .project_bg2 .content_project {
        min-height: 700px
    }
}

@media (max-width: 1680px) {
    .gallery_content .gallery_item img {
        height: 350px;
    }
}

@media (max-width: 1366px) {
    .gallery_content .gallery_item img {
        height: 300px;
    }
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    opacity: 1;
    transform: scale(1.1);
}

.swiper-pagination-bullet:hover {
    background-color: #ffffff;
    opacity: 0.8;
}

.hero-title {
    display: inline-block;
    line-height: 1.2;
}

.line-wrap {
    display: block;
    overflow: hidden;
}

.line-text {
    display: inline-block;
    will-change: transform, opacity;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
}

.scroll-down span {
    display: block;
    width: 24px;
    height: 24px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(8px) rotate(45deg);
    }
    60% {
        transform: translateY(4px) rotate(45deg);
    }
}

.bg_images {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.bg_img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.bg_img.active {
    opacity: 1;
    z-index: 2;
}


.grid_pointer ul li:nth-child(1) a {
    pointer-events: auto;
}

.grid_pointer ul li:nth-child(2) a {
    pointer-events: auto;
}

.toggle-icon img{
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.line_break{
    width: 15%;
    height: 1px;
    background: rgba(97, 97, 97, 0.41);
    margin: 30px auto;
}

.winner_section{
    background: #2a2425;
    color: white;
    position: relative;
}

.winner_section .img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.winner_button {
  background: #2a2425
}

.winner_section h4{
    margin-block: 20px;
    line-height: 150%;
}

.winner_left{
    padding-top: 80px;
    padding-right: 125px;
}

.winner_button{
  padding-bottom: 60px;
  padding-top: 80px;
}

.info-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
}

.info-accordion__item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    cursor: pointer;
}

.info-accordion__header {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.info-accordion__title {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #1e1e1e;
}

.info-accordion__icon {
    font-size: 1.1rem;
    transform: translateY(-1px);
    transition: transform 0.3s ease;
}

.info-accordion__body {
    display: none;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.info-accordion__item.is-open .info-accordion__body {
    display: block;
}

.info-accordion__item.is-open .info-accordion__icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .info-accordion {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.accordion_about{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.accordion_about .quest{
    margin-bottom: 30px;
    gap: 15px;
}

.accordion_about .accordion-header{
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    border-bottom: 1px solid #ddd;
}

.accordion_about .accordion-item.active .accordion-header{
    padding: 0;
    border: none;
}

.accordion_about .accordion-content
{
    margin-top: 20px;
    margin-bottom: 20px;
}

.accordion_about h5{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 30px;
    color: black;
}

.accordion_about .accordion-content p{
    font-size: 1.8rem;
}

.accordion_about .accordion-item.active .accordion-content{
   padding-top: 0;
    padding-left: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.project_about2 .content_project{
    padding-bottom: 40px;
}

.project_about1 h3{
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 30px;
}

.project_about1 .block_title{
    margin-bottom: 50px;
}

.value_section h2{
    margin-bottom: 60px;
}

.project_about2 .content_project h2,
.project_about1 .content_project h2{
    margin-bottom: 20px;
}

.about_sec1 .block_title h2{
    font-size: 3.5rem;
}

.about_sec1 .block_title p{
    font-size: 3rem;
}

/* Error page */

.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f9f9f9;
    padding: 60px 20px;
}

.error-404 .error-title {
    font-size: 8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}

.error-404 .error-subtitle {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.error-404 .error-text {
    color: #555;
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-actions .btn-primary {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 1.6rem;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: background 0.3s ease;
}
.error-actions .btn-primary:hover {
    background: #444;
}

.error-search {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.error-search input {
    padding: 10px;
    width: 240px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.error-search button {
    padding: 10px 20px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}

.winner_right img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    object-position: left top;
    min-height: 600px;
}

.winner_right.col-md-6 {
  position: absolute;
  right: 0;
  height: 100%;
}

.years_left, .years_right {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade {
    opacity: 0;
    transform: translateY(10px);
}

.winner_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.winner_link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: currentColor; /* folosește culoarea textului */
    transition: width 0.3s ease;
}

.winner_link:hover::after {
    width: 100%;
}

.winner_link img {
    width: 14px;
    transition: transform 0.3s ease;
}

.winner_link:hover img {
    transform: rotate(45deg);
}

.blog_section{
    margin-top: 120px;
    margin-bottom: 60px;
}

.blog_section .blog_hero img{
    width: 100%;
    height: 800px;
    object-fit: cover;
}

.categories_blog{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.categories_blog span{
    font-size: 2.2rem;
    font-weight: 500;
}

.categories_blog span::after{
    content: "·";
    margin-left: 10px;
}

.categories_blog span:last-child::after{
    display: none;
}

.blog_section .blog_hero{
    margin-top: 40px;
    position: relative;
}

.blog_section .blog_hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 0 0 5px 5px;
}

.slider_content{
    max-width: 50%;
    position: absolute;
    bottom: 60px;
    left: 80px;
    color: white;
    z-index: 3;
}

.slider_content h3{
    margin-top: 15px;
    margin-bottom: 10px;
}

.slider_content p{
    font-size: 1.6rem;
}

/* Blog Card */

.news-tabs {
    text-align: center;
    margin-bottom: 90px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 2px;
    background: #908c8c;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
    column-gap: 10px;
}

.news-card {
    text-align: left;
}

.news-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.news-meta {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-card a {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    text-transform: uppercase;
    line-height: 1.4;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Images */

.single_blog{
    margin-top: 120px;
    margin-bottom: 90px;
}

.single_blog .container{
    max-width: 1030px;
}

.single_blog .single_image{
    margin-bottom: 40px;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.single_blog h1{
    max-width: 70%;
    font-size: 3rem;
    margin-top: 15px;
    margin-bottom: 80px;
}

.post-category{
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #777;
}

.description__blog{
    margin-bottom: 60px;
}

.description__blog p{
    text-align: justify;
}

.description__blog h2{
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
}
.description__blog h2 b,
.description__blog h2 strong{
    font-weight: 600 !important;
}

.description__blog ul,
.description__blog ol {
    margin: 20px 0 20px 18px;
    padding: 0;
}

.description__blog li {
    font-size: 16px;
    margin-bottom: 10px;
}

description__blog h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.description__blog h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.description__blog h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.description__blog h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Linkuri */
.description__blog a {
    color: #988768;
    text-decoration: none;
}

.description__blog a:hover {
    text-decoration: underline;
}

.similary_posts{
    margin-bottom: 90px;
}

.similary_slider .swiper-slide::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

.similary_slider .swiper-slide img{
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.similary_slider .similary_content{
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    z-index: 2;
}

.similary_slider .swiper-slide h3{
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 140%;
    font-weight: 500;
    color: white;
}

.arrows_slider{
    position: relative;
    margin-top: 60px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.similary_slider .swiper-button-prev,
.similary_slider .swiper-button-next {
    background-image: url('/wp-content/uploads/2025/10/a2.svg');
    position: relative;
    width: 35px;
    height: 35px;
}

.similary_slider .swiper-button-prev,
.similary_slider .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    color: #000;
}
.similary_slider .swiper-button-prev {
    rotate: 180deg;
    transform: translateY(50%);
}

.pagination {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
}

.pagination-list {
    display: inline-flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.pagination-list li a,
.pagination-list li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-list li a:hover {
    color: #000;
}

.pagination-list li span.current {
    font-weight: 400;
    color: #000;
}

.pagination-list i {
    font-size: 14px;
    color: #555;
}

.pagination-list i:hover {
    color: #000;
}

.contact_section .contact_right{
    padding-left: 60px;
}

.contact_section .contact_right img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.contact_right p{
    font-weight: 500;
}

.title_block p{
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 70px;
}

.btn_contact{
    width: 188px;
    background: transparent;
    font-size:1.8rem;
    padding: 10px 30px;
    border: 1px solid black;
    border-radius: 0;
    transition: 0.3s;
}

.btn_contact:hover{
    background: black;
    color: white;
}

.category_projects {
    display: flex;
    justify-content: center;
    gap: 70px; /* distanța dintre categorii */
    margin-bottom: 40px;
}

.category_projects a {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category_projects a:hover {
    color: #000;
}

.category_projects a.active {
    color: #000;
    font-weight: 700;
}

.category_projects a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.menu-language-container .trp-flag-image{
    display: none !important;
}

.page-id-34 .footer_contact a{
    color: white;
}

.page-id-34 .footer_contact{
    text-align: right;
}

.page-id-34 .footer_content{
    text-align: left;
}

.page-id-34 .logo-footer img{
    max-width: 220px;
}

.page-id-34 .footer_contact{
    padding-left: 0;
}