:root {
    /* Existing logo colors */
    --primary: #e93d0e;
    --primary-hover: #d43e08;
    --secondary: #000000;
    --secondary-hover: #131313;
    --white: #ffffff;
    --text: #030303;
    --bg: #fff;
}



@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url(memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUZiZQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html,
body {
    overflow-x: hidden !important;
    position: relative !important;
    /* Helps contain dragging */
    width: 100% !important;
    max-width: 100% !important;
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

h1,
h2,
h3,
.logo-text,
.hero-title,
.btn,
.drow-nav,
.dropdown-item {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

.bg-accent {
    background-color: var(--primary) !important;
}

.bg-accent p {
    color: var(--white);
}

.bg-accent h1 {
    color: var(--primary-hover);
}

.bg-accent li {
    color: var(--secondary-hover);
}

a:hover {
    text-decoration: none;
    color: var(--primary-hover);
}

.bg {
    background-color: var(--bg);
}

* {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}


h1,
h2,
h3 {
    color: var(--primary);
}

p {
    font-size: 1rem;
}

.modal-backdrop {
    background-color: var(--primary) !important;
    opacity: 1 !important;
}

::selection {
    background-color: var(--primary);
    color: var(--bg);
}


.preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-color: var(--bg);
    text-align: center;
    padding-top: 20%;
    color: var(--primary);

    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.toTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: var(--primary);
    color: var(--text);
    padding: 10px 15px;
    transition: all 0.5s ease-in-out;
    transform: translateY(100vh);
}


.toTop:hover {
    background-color: var(--primary-hover);
    cursor: pointer;
}

.menu {
    background-color: transparent;
}

.menu-scrolled {
    background-color: var(--bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menuMobile {
    width: 100%;
    height: 100vh;
    background-color: var(--bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.5s;
    overflow-y: auto;


}

.menuMobile a,
.menuMobile p,
.menuMobile h1 {
    color: var(--primary) !important;
}

.menuMobile .drow-nav {
    display: block;
    padding: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.menu-active {
    transform: translateX(0);
}



header {
    background-size: cover;
    height: 90vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.header-sm {
    position: relative;
    background-size: cover;
    min-height: 40vh;
    height: auto;
    /* flexible height */
    background-attachment: scroll;
    /* better for mobile */
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-hover);
}



.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 40vh;
}

header .container {
    padding-top: 15vh;
}

.header-admin {
    background-color: var(--secondary);
    height: 20vh;

}

.header-admin .container {
    padding-top: 5vh;

}

.text-primary {
    color: var(--primary) !important;
}

.btn {
    padding: .7rem 2.4rem !important;
}

.menu .drow-nav {
    color: var(--bg);
}

.menu-scrolled .drow-nav {
    color: var(--secondary);
}

.menu .img-fluid {
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
}

.menu-scrolled .img-fluid {
    width: 80%;
    height: auto;
}

.drow-nav,
.menu-toggle {

    text-decoration: none;
    color: var(--primary);

    display: inline-block;
}

.drow-nav {
    display: inline-block;
    position: relative;
    font-size: 1vw;
    padding: 8px 18px;
}

.drow-nav::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-hover);

    transform: scaleX(0);
    transform-origin: left;
    /* start from left */
    transition: transform 0.35s ease;
}

/* Mouse enter: grow from left → right */
.drow-nav:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mouse leave: shrink toward right */
.drow-nav::after {
    /* default (mouseleave state) */
    transform-origin: right;
}

/* Optional text color */
.drow-nav:hover {
    color: var(--primary-hover);
}

.current {
    color: var(--primary-hover) !important;
}

.btn {
    padding: 0px 60px;
    line-height: 40px;
    height: 60px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.btn i {
    margin-left: 6px;
    margin-right: 14px;
    width: 20px;
    transition: all 0.3s ease;
}

.btn:hover i {
    margin-left: 12px;
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);

}

.btn-primary:hover {
    background-color: var(--primary-hover);

}

.btn-secondary {
    background-color: transparent !important;
    border: 1px solid var(--text);
    color: var(--text);

}

.btn-secondary:hover {
    border: 1px solid var(--primary-hover);
    color: var(--primary-hover);
}

.btn-dark {
    background-color: var(--secondary);
    color: var(--bg);

}

.btn-dark:hover {

    background-color: var(--secondary-hover);
}

.btn-light {
    background-color: transparent;
    border: 1px solid var(--text);
    color: var(--text);


}

.btn-light:hover {

    background-color: var(--primary-hover);
    color: var(--bg) !important;
}

footer {
    background-color: var(--secondary);
    color: var(--bg);
    padding: 20px 0;

}

.form-control {
    border: none;
    border-radius: 0px;
    border: 1px solid var(--secondary);
    background-color: var(--bg) !important;
    color: var(--secondary-hover);
    padding: 8px 12px;
    box-shadow: none;
    outline: none;
    transition: all 0.5s ease;
    box-shadow: none !important;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 12px;
}

.grecaptcha-badge {
    visibility: hidden !important;
    display: none !important;
}

.form-control:focus {
    border-color: var(--primary-hover) !important;
    color: var(--primary-hover);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: var(--bg);
}

.alert-success {
    background-color: var(--primary);
}

.alert-danger {
    background-color: var(--primary-hover);
}

.alert-primary {
    background-color: var(--primary);
}

.alert-secondary {
    background-color: var(--primary-hover);
}

.data {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

    z-index: +1;
}

.project-content table> :not(caption)>*>* {
    background-color: transparent !important;
    color: var(--bg) !important;
    border: none !important;

}

.project-content table tr {
    border: none !important;
    transition: all 0.3s ease;
}


.project-content table tr:hover {
    background-color: var(--secondary-hover) !important;
    color: var(--bg) !important;
}


.mask {
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.cookie-conscent {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--primary);
    color: var(--bg);
    z-index: 9999;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
}

video {
    width: 90%;
    height: auto;
    max-height: 90vh;
    object-fit: cover;
    margin-top: 10px;
}

main {
    min-height: 90vh;
}

.bg-primary {
    background-color: var(--secondary-hover) !important;
    color: var(--bg) !important;
}



.content-section {
    background-color: rgba(255, 255, 255, 0.9);

    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer a {
    color: var(--primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-hover) !important;

}

table td {
    vertical-align: middle !important;
}

.carousel-item {
    height: 80vh;
    width: 100%;
}



.modal p {
    color: var(--text) !important;
}

.drow-card {
    transition: all 0.3s ease-in-out;
}

.drow-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 30px #eee;
}

.drow-card-project {
    transition: all 0.3s ease-in-out;
    border-color: var(--bg);
}

.drow-card-project:hover {
    transform: translateY(-4px);
    border-color: var(--primary) !important;


}

.drow-card-2 {
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    border-color: #000;
}

.drow-card-2:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 30px #000;
}

.section-title {
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title span {
    font-size: 18px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    color: var(--bg);

}

.section-title h1 {
    font-size: 3rem;
}

.section-title span::before {
    content: "";
    width: 110%;
    height: 28px;
    background-color: var(--primary);

    position: absolute;
    left: -5%;
    bottom: 0;
    z-index: -1;

}

.bg-section {
    background-size: cover;
    background-color: var(--secondary-hover);
    background-position: bottom center;
    background-repeat: no-repeat;
    min-height: 40vh;

}

.hero {
    background-size: cover;
    min-height: 80vh;
    /* Changed from height to min-height */
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-hover);

    /* Optional: Centers the inner container vertically if the screen is taller than the content */
    display: flex;
    align-items: center;
}

@media (max-width: 1080px) {
    .carousel-item {
        height: 400px;
    }

    .hero {
        min-height: 120vh;
        /* Changed from height to min-height */
        /* If you still have 'height' defined elsewhere, reset it */
        height: auto;
    }
}

@media (max-width: 680px) {
    .carousel-item {
        height: 400px;
    }

    .hero {
        min-height: 100vh;
        /* Adjusted: 160vh is usually too tall for mobile, 100vh or auto is safer */
        height: auto;
    }
}

iframe {
    filter: grayscale(100%);
}

.btn-link {
    color: var(--bg) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 12px !important;
}

.btn-link:hover {
    color: var(--primary-hover) !important;
}

.bg-secondary {
    background-color: var(--primary) !important;
    color: var(--bg) !important;
}

.badge {

    border-radius: 0px;
}