:root {
    --font-main: "Nunito Sans";
    --font-secondary: "Montserrat";
    --color-bg: #18151e;
    --ayes-border: #272331;
}

body {
    font-family: var(--font-main), sans-serif;
    background-color: var(--color-bg);
    color: #dadada;
}

body.loading {
    height: 100vh;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary), sans-serif;
}

.section-padding {
    padding: 80px 0;
}

p {
    margin-bottom: 1.25rem;
}

h1.title {
    font-size: 30px;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/*ELEVATOR SCROLL THUMB*/

/* Hide the default scrollbar */
::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Elevator shaft (right side track) */
body::after {
    content: "";
    position: fixed;
    right: 12px;
    top: 0;
    width: 20px;
    height: 100%;
    background: #111;
    border-radius: 10px;
    opacity: 0.5;
}

/* Elevator cabin */
#elevator-thumb {
    position: fixed;
    right: 12px;
    top: 0;
    width: 28px;
    height: 60px; /* fixed height */
    background: linear-gradient(145deg, #d9d9d9, #b3b3b3);
    border: 2px solid #555;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    font-weight: bold;
    z-index: 998;
}

/* Arrows */
#elevator-thumb .arrow {
    color: #888;
    transition: color 0.2s, transform 0.2s;
}

#elevator-thumb .arrow.active {
    color: #f44336; /* highlight when active */
    transform: scale(1.2);
}

#elevator-thumb {
    cursor: grab;
}

#elevator-thumb:active {
    cursor: grabbing;
}

/*PAGE BANNER*/

.page-banner {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    opacity: .5;
    pointer-events: none;
}

.page-banner h4 {
    position: relative;
    text-align: center;
    color: #fff;
}

/*PAGE LOADER*/

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-loader img {
    width: 250px;
}

/*HEADER*/

header {
    padding-top: 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
}

.navbar {
    width: 75%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px 0;
    color: #000;
    border-radius: 45px;
}

.navbar .logo {
    padding-left: 2rem;
}

.navbar .logo img {
    width: 200px;
}


.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Dropdown */

li.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 6px 6px;
    z-index: 999;
    padding: 2rem 1rem 1rem 1rem;
}

.dropdown-menu li {
    margin-bottom: 1rem;
}

.dropdown-menu li:last-of-type {
    margin-bottom: 0;
}

.dropdown-menu li a {
    padding: 10px 16px;
}

.nav-menu li a i {
    font-size: 11px;
}


/*HERO*/

.hero .swiper-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    pointer-events: none; /* don’t block clicks */
}

.hero .swiper-slide video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-meta {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 50px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 35px;
    font-weight: 700;
}

.lift-modern-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 28px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease;
    background-color: var(--ayes-border);
}

.hero .lift-modern-btn {
    background-color: transparent;
}

.lift-modern-btn .btn-text {
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.lift-modern-btn .chain {
    display: block;
    width: 2px;
    height: 28px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.lift-modern-btn .chain::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(to bottom, transparent 40%, #fff 60%, transparent 80%);
    animation: chain-move 2s linear infinite;
}

@keyframes chain-move {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.lift-modern-btn:hover {
    transform: translateY(-3px);
}

.hero .swiper-pagination-bullet {
    height: 2px;
    background-color: #fff;
    border-radius: 0;
    width: 20px;
}

.hero .swiper-pagination-bullet.swiper-pagination-bullet-active {
    height: 3px;
}

.hero .swiper-button-prev::after,
.hero .swiper-button-next::after {
    content: "";
    display: none;
}

/* Use your custom elevator images */
.hero .swiper-button-prev {
    background: url("/static/img/elevator-left.webp") no-repeat center center;
    background-size: contain;
    width: 60px; /* adjust size */
    height: 60px;
    left: 10px;
}

.hero .swiper-button-next {
    background: url("/static/img/elevator-right.webp") no-repeat center center;
    background-size: contain;
    width: 60px; /* adjust size */
    height: 60px;
    right: 10px;
}

.hero .swiper-button-next svg, .hero .swiper-button-prev svg {
    display: none;
}

/*FOOTER*/
footer {
    padding: 40px 0 0 0;
    border-top: 1px solid var(--ayes-border);
}

footer .logo {
    text-align: center;
}

footer .logo img {
    width: 200px;
    margin: 0 auto;
}

footer .social-links ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-contact {
    text-align: center;
}

footer .footer-contact ul {
    display: inline-block;
    text-align: left;
    padding-inline: 1rem;
}

.footer-contact ul li {
    margin-bottom: 10px;
    text-align: center;
}

.footer-bottom {
    padding: 1.5rem 4rem;
    border-top: 1px solid var(--ayes-border);
}

.footer-bottom p {
    font-size: 13px;
}

.footer-bottom ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 12px;
}

.footer-bottom a {
    color: #fff;
}

/*PROJECT LIST*/

.project-item {
    height: 450px;
    margin-bottom: 20px;
    position: relative;
}

.project-item .project-cover {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: block;
}

.project-cover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%; /* adjust how much gradient covers */
    background: linear-gradient(to top, #18151e 0%, transparent 100%);
    pointer-events: none; /* so clicks pass through */
}

.project-item .project-logo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: .5s ease-in-out;
}

.project-item .project-logo img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    margin: 0 auto;
}

.project-item:hover .project-logo {
    transform: translateX(-50%) translateY(-30px);
}

.project-modal {
    width: 900px;
    margin: auto;
    padding: 30px;
    background: var(--color-bg);
    color: #fff;
    border-radius: 12px;
}

.project-modal img {
    max-width: 100%;
}

.project-modal .project-logo {
    margin-bottom: 1rem;
}

.fancybox__content {
    background: var(--color-bg);
    padding: 0;
    border: 1px solid var(--ayes-border)
}

.project-body {
    margin-bottom: 20px;
}

.project-body ul {
    padding-left: 2.25rem;
}

.project-body ul li {
    list-style: disc;
}

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


.references table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

.references table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

.references table tr {
    background-color: #18151e;
    border: 1px solid #2f2939;
    padding: .35em;
}

.references table th, .references table td {
    padding: .625em;
    text-align: left;
    padding-left: 1.5rem;
}

.references table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.references table tr:nth-of-type(odd) {
    background-color: var(--ayes-border);
}

.references table thead tr:nth-of-type(odd) {
    background-color: var(--color-bg);
}

/*ABOUT*/
section.about h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

section.about .sidebar {
    padding: 15px;
    border: 1px solid var(--ayes-border);
}

.sidebar h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--ayes-border);
    padding-bottom: 10px;
}

.sidebar li {
    margin-bottom: .75rem;
    position: relative;
}

.sidebar li i {
    font-size: 9px;
    margin-right: .5rem;
}

.sidebar li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 1px;
    background-color: var(--ayes-border);
    width: 0;
    transition: .5s ease-in-outJ;
}

.sidebar li:hover::before {
    width: 75%;
}

.sidebar li.active {
    font-weight: 800;
    text-decoration: underline;
}

.about-video iframe {
    height: 650px;
    width: 100%;
}

/*DOCUMENTS*/

.document-item {
    padding: 3rem 1rem;
    /* margin-bottom: 20px; */
    text-align: center;
    border: 1px solid var(--ayes-border);
}

.document-item img {
    width: 30%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.document-meta {
    font-weight: 600;
    font-size: 14px;
}

/*AR-GE*/

.arge img {
    margin-bottom: 30px;
}

.arge h1 {
    font-size: 30px;
    margin-bottom: 1rem;
    font-weight: 800;
}

.arge ul {
    padding-left: 2.25rem;
}

.arge ul li {
    list-style: disc;
}

.arge h3 {
    font-size: 25px;
    margin-bottom: 1rem;
    font-weight: 600;
}

/*CONTACT*/
.contact-box {
    padding: 2rem;
    border: 1px solid var(--ayes-border);
    height: 290px;
    text-align: center;
}

.contact-box > i {
    font-size: 65px;
    opacity: .35;
    margin: 0 auto;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-box h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 18px;
}

.contact-info {
    margin-bottom: 10px;
    padding-inline: 1rem;
}

a.map-btn {
    padding: .5rem 1rem;
    display: block;
    border: 1px solid var(--ayes-border);
}

.g-map iframe {
    width: 100%;
    height: 400px;
}

.form-group {
    margin-bottom: 15px;
    padding: 5px 10px;
}

.form-group input, .form-group textarea {
    background-color: var(--ayes-border);
    padding: .5rem 1rem;
    width: 100%;
}

/*COOKIE*/

.cookie h1, .cookie h2, .cookie h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.cookie h1 {
    font-size: 30px;
}

.cookie h2 {
    font-size: 25px;
}

.cookie h3 {
    font-size: 22px;
}

.cookie p {
    margin-bottom: .75rem;
    font-size: 14px;
}

.cookie ul, .cookie ol {
    padding-left: 2.25rem;
    margin-bottom: 1rem;
}

.cookie ul li {
    list-style: disc;
}

.cookie ol li {
    list-style: decimal;
}

/*PARTNERS*/

.partner-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.partner-item {
    width: 25%;
    /* height: 200px; */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #eaedff;
}

.partner-item img {
    width: 100%;
}

/*CONTACT US*/

.contact-us {
    display: flex;
    align-items: center;
    height: 445px;
}

.contact-us .item {
    width: 50%;
    background-size: cover;
    background-color: #3a3346;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 3.5rem;
}

.contact-us .bg-img {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center;
}

.contact-us-body h1 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-us-body p {
    font-size: 20px;
}

/*HOMEPAGE*/

.project-carousel-item {
    padding: 2rem;
    border: 1px solid var(--ayes-border);
}

.project-carousel-item .logo {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-carousel-item .logo img {
    margin: 0 auto;
    max-width: 80%;
}

.product-item {
    border: 1px solid var(--ayes-border);
    padding: 1rem .5rem;
    margin-bottom: 1.25rem;
}

.product-cover {
    height: 350px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-cover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
