:root {
    --base-color: #d22333;
}

header .navbar-brand img {
    max-height: 50px;
}

header .btn.btn-box-shadow.btn-base-color, .btn.btn-base-color {
    color: #fff;
}

footer .footer-logo img {
    max-height: 50px;
}


.swiper-slide.cover-background {
    position: relative;
}

.swiper-slide.cover-background::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    opacity: .5;
    pointer-events: none;
}

.footer-dark, .footer-dark a, .footer-dark p {
    position: relative;
}

.emblem-bg {
    position: absolute;
    left: 40px;
    top: 40px;
}

.emblem-bg.light {
    opacity: 5%;
}

.emblem-bg img {
    width: 230px;
}

.sector-list .services-box-style-02 {
    height: 400px;
    margin-bottom: 30px;
    overflow: hidden;
}

.overlay-dark {
    position: relative;
}

.overlay-dark::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    opacity: .35;
    pointer-events: none;
}

.form-wrapper {
    position: relative;
    z-index: 555;
}

.google-logo {
    padding: 10px 0;
}

.google-logo img {
    width: 70px;
}

.overlay-left-to-right {
    position: relative;
}

.overlay-left-to-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    z-index: 1;
}

/* Make sure your text is above the overlay */
.overlay-left-to-right .your-text-wrapper {
    position: relative;
    z-index: 2;
}


.project-item {
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: block;
    margin-bottom: 40px;
    width: 50%;
}

.project-item:last-of-type {
    margin-bottom: 0;
}

.project-item .cover {
    position: relative;
    overflow: hidden;
}

.project-item .cover img {
    transition: .4s ease-in-out;
}

.project-item .cover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .35;
    pointer-events: none;
    z-index: 9;
}

.project-item:hover .cover img:first-child {
    transform: scale(1.06);
}

.project-item .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 10;
}

.project-item .logo img {
    width: 50%;
    max-height: 200px;
    object-fit: contain;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-family: "Normalidad Wide", serif;
    align-items: center;
}

.project-meta h3, .project-meta h5 {
    margin-bottom: 0;
    line-height: 1;
    color: #000;
}

.project-meta h5 {
    font-size: 20px;
}

.project-meta h3 {
    font-size: 17px;
}


section.yt-video iframe {
    width: 100%;
    height: 550px;
}

button.accordion-button.collapsed {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.accordion-body {
    border-inline: 1px solid #dedddd;
}

.sector-meta {
    background-color: #fff;
}

header .header-top-bar + .navbar {
    background-color: #fff;
}

.sector-pill {
    background-color: #ebebeb;
}

button#darkModeToggle {
    margin-right: 10px;
}

header.sticky.sticky-active .navbar-brand .alt-logo {
    display: none;
}

header.sticky.sticky-active .navbar-brand .default-logo {
    visibility: visible;
    opacity: 1;
    width: auto;
}

.sector-list {
    background-color: #f1f1f1;
}

.services-box {
    background-color: #fff;
}

.about-service {
    background-color: #f7f7f7;
}

.contact-meta {
    background-color: #fff;
}

.normalidad {
    font-family: "Normalidad Wide", serif;
}

.sector-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.sector-container .sector-item {
    width: calc(100% / 7);
    padding: 5px;
    display: inline-block;
    position: relative;
}

.sector-item-meta {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.sector-emblem {
    text-align: center;
}

.sector-emblem img {
    width: 100px;
    margin-bottom: 30px;
}

.sector-cover-hover {
    position: absolute;
    padding: 5px;
    z-index: 5;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}


h4.normalidad {
    font-size: 20px;
    text-align: center;
    letter-spacing: 2px;
}

header.sticky.sticky-active .header-reverse {
    background-color: #fff;
}

.navbar .navbar-nav .nav-link {
    font-weight: 300;
    font-size: 14px;
    padding: 10px 25px;
    letter-spacing: 1px;
}

.header-button {
    font-size: 14px;
}

header .navbar {
    background-color: #fff;
}

.header-button a {
    color: #000;
}

h3.normalidad {
    font-size: 30px;
    letter-spacing: 2px;
}

.map-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 1.5rem;
}

section.one-third-screen.bg-dark-gray.ipad-top-space-margin.sm-mb-50px.overlay-dark {
    background-position: center;
    background-size: cover;
}

.project-banner {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-color: #000;
    opacity: .5;
}

.project-banner-meta {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.project-banner-meta .logo img {
    width: 350px;
}

.scroll-down {
    --size: 28px;
    position: absolute; /* or fixed; place wherever you want */
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #fff; /* becomes white if parent is in dark mode; override as needed */
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
}

.scroll-down:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.scroll-down:active {
    transform: translateX(-50%) translateY(0);
}

.scroll-down .chevron {
    width: var(--size);
    height: var(--size);
    animation: bounce 1.6s ease-in-out infinite;
}

.scroll-down .chevron.delay {
    animation-delay: .2s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
        opacity: .25;
    }
    40% {
        transform: translateY(6px);
        opacity: .9;
    }
    60% {
        transform: translateY(6px);
        opacity: .9;
    }
    100% {
        transform: translateY(0);
        opacity: .25;
    }
}

/* optional: better contrast on dark sections */
.dark .scroll-down {
    color: #fff;
}

/* assistive text hide */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.project-info {
    position: absolute;
    color: #fff;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    display: flex;
    gap: 5rem;
    font-size: 25px;
    width: 100%;
    justify-content: center;
}

.info-item {
    padding: .75rem 1.5rem;
}

.info-item.website {
    border: 1px solid #ffffff47;
}

.info-item a {
    color: #fff;
}

/*.gallery {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));*/
/*    gap: 12px;*/
/*}*/

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    width: calc(100% / 3);
    padding: .5rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, opacity .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

.project-detail iframe {
    width: 100%;
    height: 400px;
}

.g-map {
    padding-top: 60px;
}

[data-filter] {
    cursor: pointer;
}

.tag-cloud a.active {
    background-color: #e1e1e1;
}

.gallery-img-wrapper {
    overflow: hidden;
}

.page-title-double-large h1 {
    font-size: 3.175rem;
    line-height: 3.188rem;
}

.kvkk p {
    margin-bottom: 1rem;
}

#silktide-cookie-icon {
    display: none !important;
}

.accordion-button {
    background-color: #e6e6e6;
    margin-bottom: 10px;
}

