body {
    font-size: 26px;
}
p {
    font-size: 26px!important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1500px!important;
    }
}

.language-flags-mobile {
    gap: 20px;
    width: 100%;
    margin-top: 20px
}

.language-flag {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.language-flag:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
}

.language-flag-active {
    background-color: #dc3545 !important;
    color: #fff!important
}

.language-flag-code {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

#scroll-down {
    cursor: pointer;
}

#scroll-down .bi {
    display: inline-block;
    animation: scroll-down-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-down-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(8px);
        opacity: 0.7;
    }
    70% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Font */
body {
    font-family: 'Roboto Condensed', sans-serif;
}
a {
    color: #0c84b0!important;
}
.g-5, .gy-5 {
    --bs-gutter-y: 50px;
}
.g-5, .gx-5 {
    --bs-gutter-x: 50px;
}
.gap-50 {
    gap: 50px;
}
.fw-weight-normal {
    font-weight: normal!important;
}
.fs-20 {
    font-size: 20px;
}
.fs-26 {
    font-size: 26px;
}
.fs-40 {
    font-size: 40px;
}
.fs-75 {
    font-size: 75px!important;
}
.max-w-500 {
    max-width: 500px;
}
.w-70 {
    width: 70%;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mt-60 {
    margin-top: 60px;
}
.mb-60 {
    margin-bottom: 60px;
}
.mt-70 { 
    margin-top: 70px;
}
   
.mt-80 {
    margin-top: 80px
}
.mt-100 {
    margin-top: 100px;
}

@media (min-width: 1400px) {
    .row.g-50 {
        gap: 50px;
    }
}

.p-0-40 {
    padding: 0 40px;
}
.p-30-40 {
    padding: 30px 40px;
}
.p-0-40-30-40 {
    padding: 0 40px 30px 40px;
}
.p-30-40-0-40 {
    padding: 30px 40px 0  40px;
}
.p-80 {
    padding: 80px;
}
.py-5 {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

.vh-30 {
    height: 30vh;
}
.vh-40 {
    height: 40vh;
}
.vh-50 {
    height: 50vh;
}
.h-350 {
    height: 350px;
}

/* Text wrapping utilities */
.text-break {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
/* Logo triangle background */
.logo-triangle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.wp-block-columns .wp-block-image {
    height: 100%;
}
.wp-block-columns .wp-block-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Header */
#mainHeader {
    background-color: transparent !important;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainHeader.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    padding: 0.5rem 0;
}

.navbar-brand {
    max-width: 80px;
}

@media (max-width: 991.98px) {
    .navbar-collapse.show {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9) !important;
        z-index: 9999;
        padding: 2rem 1rem;
        padding-top: 15vh!important;
    }
    .navbar-brand, .navbar-toggler {
        z-index: 99999999999;
        position: relative;
    }
}

#mainHeader.scrolled .navbar-brand img {
    height: 40px;
}
/* Hero Section Background */
.hero-section {
    min-height: 100vh;
    position: relative;
}
.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}
.hero-section .lead {
    font-size: 68px!important;
}

/*.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
}

#gallery-grid.gallery-masonry {
    column-count: 1;
    column-gap: 50px;
}

@media (min-width: 576px) {
    #gallery-grid.gallery-masonry {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    #gallery-grid.gallery-masonry {
        column-count: 3;
    }
}

@media (min-width: 1400px) {
    #gallery-grid.gallery-masonry {
        column-count: 3;
    }
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.gallery-masonry .gallery-item:nth-child(odd) {
    height: 670px;
}

.gallery-masonry .gallery-item:nth-child(even) {
    height: 340px;
}

.gallery-masonry .gallery-item:nth-child(odd) .gallery-card {
    height: 670px;
}

.gallery-masonry .gallery-item:nth-child(even) .gallery-card {
    height: 340px;
}

.gallery-masonry .gallery-card {
    width: 100%;
    height: 100%;
}


.gallery-masonry .gallery-image {
    display: block;
    height: 100%;
    object-fit: cover;
}*/

.carousel-image {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1200&q=80') center/cover;
}

.carousel-indicators button {
    border-radius: 100%;
    width: 14px!important;
    height: 14px!important;
}

.carousel-service h3 {
    font-weight: 300;
}
.carousel-indicators [data-bs-target] {
    margin-left: 15px;
    margin-right: 0px;
}

/* Footer */
footer {
    background-color: #444444 !important;
    margin-top: 140px;
    font-size: 20px!important;
}
footer a, footer p {
    font-size: 20px!important;
}
/* Letter spacing utility */
.letter-spacing {
    letter-spacing: 2px;
}

/* Hover effects only */
.nav-link:hover {
    color: #dc3545 !important;
}

/* Active menu item */
.nav-link.active-menu {
    color: #dc3545 !important;
    font-weight: 700 !important;
}

footer .text-white-50:hover {
    color: #ffffff !important;
}

/* News Section */
.card .bg-secondary {
    background-color: #444444 !important;
}

.card-body.bg-secondary {
    border-top: 7px solid #e0181a;
}

/* Partners Section */
.partner-item {
    flex: 1;
    padding: 20px;
}

/* Clients Section */
.client-item {
    flex: 1;
    padding: 30px;
}


#carouselCatalog {
    max-height: 500px;
    overflow: hidden;
}
#carouselCatalog .carousel-item {
    height: 100%;
}
#carouselCatalog .carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* Pagination Styles */
.pagination .page-numbers {
    margin-bottom: 0;
}

.pagination .page-numbers .page-link {
    color: #0d6efd;
}

.pagination .page-numbers .page-link:hover {
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-numbers .page-link.current {
    z-index: 3;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.pagination .page-numbers .page-link.dots {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: default;
    pointer-events: none;
}

/* Gallery Styles */
.gallery-filters {
    margin-bottom: 2rem;
    width: auto;
    display: inline-block !important;
}

.btn-filter {
    padding: 0.5rem 2rem;
    background-color: transparent;
    border: none;
    color: #6c757d;
    font-weight: 400;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
}

.btn-filter:hover {
    color: #e0181a;
}
.btn-filter {
    padding: 0 20px!important;
    border-bottom: 3px solid #fff;
}
.btn-filter.active {
    color: #e0181a;
    font-weight: 700;
    border-bottom: 3px solid #e0181a;
}


.gallery-card {
    border: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.gallery-card:hover {
    border-color: #dc3545;
}

.gallery-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    background-color: rgba(220, 53, 69, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

#galleryModal .modal-body img {
    max-height: 80vh;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .btn-filter {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
}

/* Language Dropdown Styles */
#languageDropdown {
    border: none;
    padding: 0.5rem 0;
    font-size: 1rem;
}

#languageDropdown:focus {
    box-shadow: none;
    outline: none;
}

#languageDropdown:hover {
    color: #dc3545 !important;
}
.dropdown-toggle::after {
    display: none!important;
}
.dropdown-menu {
    min-width: 120px;
    background-color: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #fff;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.dropdown-item.active {
    background-color: transparent!important;
    color: #dc3545;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* Single News Styles */
.news-image-wrapper img {
    max-height: 500px;
    object-fit: cover;
}

.news-meta {
    font-size: 0.9rem;
}

.news-title {
    color: #333;
    line-height: 1.3;
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
}

.news-navigation a {
    transition: color 0.3s ease;
}

.news-navigation a:hover {
    color: #dc3545 !important;
}

.recent-news-item:hover h5 {
    color: #dc3545;
    transition: color 0.3s ease;
}

.recent-news-item img {
    transition: transform 0.3s ease;
}

.recent-news-item:hover img {
    transform: scale(1.05);
}

.wp-block-image img {
    width: 100%;
    margin: 30px 0;
}
.wp-block-column img {
    margin: 0!important;
}
main .single-catalog p {
    margin-bottom: 30px!important;
}
main .single-catalog h6.wp-block-heading {
    font-size: 28px;
    border-bottom: 6px solid #e0181a;
    padding-bottom: 20px;
    font-weight: normal;
}
footer {
    background: #444444!important;
}
footer:after {
    content: '';
    background: #000;
    width: 20%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}
@media (min-width: 2560px) {
    footer::after {
        width: 40%!important;
    }
}
footer .bg-dark {
    background-color: #000!important;
    z-index: 3!important;
}

@media (max-width: 767.98px) {

    .fs-75 {
        font-size: 50px !important;
    }
    .news-title {
        font-size: 1.75rem;
    }
    
    .news-content {
        font-size: 1rem;
    }
    .p-30-40 {
        padding: 20px 30px;
    }
    .mb-60 {
        margin-bottom: 30px;
    }
    .mt-80 {
        margin-top: 40px;
    }
    .h-350 {
        height: 200px;
    }
    .hero-section .lead {
        font-size: 42px!important;
    }
    .navbar-nav .nav-link {
        font-size: 40px;
        text-transform: uppercase;
        text-align: center;
    }
    footer {
        text-align: center;
        margin-top: 70px;
    }
    footer:after {
        display: none;
    }
}