/* Color variable */
:root {
    --primary-blue: #6194c9;
    --primary-blue-rgb: 97, 148, 201;
    --primary-color-hover: #6194c9;
    --grey-color: #717171;
    --dark-grey-color: #333;
    --mattar-dark: #262626;
    --mattar-light: #f2f2f2;
    --rgb-dark: 15, 15, 15;
    --rgb-light: 242, 242, 242;
}

@font-face {
    font-family: "PlusJakartaSans";
    src: url(../fonts/PlusJakartaSans-Regular.ttf);
    font-style: normal;
}

@font-face {
    font-family: "SatoshiLight";
    src: url(../fonts/Satoshi-Light.ttf);
    font-style: normal;
}

@font-face {
    font-family: "SatoshiRegular";
    src: url(../fonts/Satoshi-Regular.ttf);
    font-style: normal;
}

@font-face {
    font-family: "SatoshiMedium";
    src: url(../fonts/Satoshi-Medium.ttf);
    font-style: normal;
}

@font-face {
    font-family: "SatoshiBold";
    src: url(../fonts/Satoshi-Bold.ttf);
    font-style: normal;
}

.bg-dark {
    background-color: var(--mattar-dark) !important;
}

.bg-light {
    background-color: var(--mattar-light) !important;
}

.mattar-text-link {
    padding: .75rem 2rem;
    text-transform: uppercase;
    color: var(--mattar-light);
    text-decoration: none;
    border: 1px solid var(--mattar-light);
    border-radius: .5rem;
    transition: background-color .5s ease-in-out, color .5s ease-in-out;
}

.mattar-text-link:hover {
    background-color: var(--mattar-light);
    color: var(--mattar-dark);
    border-color: var(--mattar-dark);
}

.mattar-text-link-dark {
    color: var(--mattar-dark);
    border: 1px solid var(--mattar-dark);
}

.mattar-text-link-dark:hover {
    background-color: var(--mattar-dark);
    color: var(--mattar-light);
    border-color: var(--mattar-light);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    margin: 2rem 0;
    width: 100vw;
    z-index: 999999;
    padding: 0 0.5rem;
}

.nav-links {
    margin: 0 auto;
    background-color: rgba(var(--rgb-light), .4);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease-in-out;
    text-transform: uppercase;
}

.nav-links .nav-item:not(:last-child) {
    margin-right: 1.5rem;
}

.nav-links .nav-item {
    margin: 0.5rem 0;
    background-color: transparent;
    color: var(--mattar-dark);
    text-decoration: none;
    font-family: "PlusJakartaSans";
    padding: .5rem;
    border-radius: .5rem;
    transition: background-color .5s ease-in-out;
    font-size: 0.8rem;
}

.nav-links .nav-item:hover,
.nav-links .nav-item.active {
    background-color: var(--mattar-light);
}

.navbar-menu-btn {
    width: 50px;
    height: 50px;
    background-color: var(--mattar-dark);
    color: var(--mattar-light);
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 0;
    transform: scale(1);
    transition: transform .5s ease-in-out;
}

.navbar-menu-btn:hover {
    transform: scale(.9);
}

.navbar-logo {
    opacity: 1;
}

.full-page-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--mattar-dark);
    color: var(--mattar-light);
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
}

.full-page-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    /* Allows interaction when active */
}

.full-page-menu .full-page-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.full-page-menu .full-page-logo {
    margin-bottom: 5rem;
}

.full-page-menu .full-page-menu-close-btn {
    transform: rotate(45deg);
}

.full-page-menu .full-page-nav-links .nav-item {
    background-color: transparent;
    color: var(--mattar-light) !important;
    text-decoration: none;
    font-family: "PlusJakartaSans";
    text-transform: uppercase;
    font-size: 2rem;
    padding: .5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.full-page-menu .full-page-nav-links .nav-item svg {
    width: 40px;
    height: 40px;
}

body {
    font-family: "SatoshiRegular";
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: var(--mattar-dark);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Makes video behave like background-image */
    z-index: 1;
}

.mattar-section {
    padding: 6rem 0;
    width: 100%;
}

.mattar-section-light {
    background-color: var(--mattar-light);
}

.mattar-section-dark {
    background-color: var(--mattar-dark);
}

.section-title {
    font-size: 4rem;
    font-family: "SatoshiBold";
    margin-bottom: 1.25rem;
    color: var(--primary-blue) !important;
}

.mattar-section-light .section-title,
.mattar-section-light .section-description {
    color: var(--mattar-dark);
}

.mattar-section-dark .section-title,
.mattar-section-dark .section-description {
    color: var(--mattar-light);
}

.section-description {
    font-size: 1rem;
    line-height: 1.25rem;
}

/* .home-about-us {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
} */

.home-about-us img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.about-right-section {
    padding: 0 1rem;
}

.products-section .section-description,
.projects-section .section-description {
    width: 65ch;
    margin-bottom: 3rem;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px !important;
    height: 430px !important;
    border-radius: 1rem;
    transition: transform .3s ease-in-out;
}

.swiper-slide p {
    color: var(--mattar-light);
    text-align: center;
    font-size: 1.25rem;
    margin-top: 1rem;
    font-family: "SatoshiBold";
    transition: color .3s ease-in-out;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: border .3s ease-in-out;
}

.products-section .swiper-slide:hover img {
    border: 4px solid var(--primary-blue);
}

.swiper-slide:hover p {
    color: var(--primary-blue);
}

.projects-section .swiper-slide:hover {
    transform: scale(.9);
}

.swiper-button-next,
.swiper-button-prev {
    position: relative !important;
    margin-right: 2rem;
    height: 40px !important;
    width: 40px !important;
}

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

.sister-companies-swiper .swiper-slide{
    width: 100% !important;
    height: auto !important;
}

.sister-companies-swiper .swiper-slide img{
    width: 150px !important;
    height: auto !important;
    margin: 0 auto;
}

.sister-companies-swiper .swiper-slide .section-title{
    text-align: center;
    margin-top: 1rem !important;
}

.sister-companies-swiper .swiper-slide p{
    font-family: "SatoshiRegular" !important;
    width: 90% !important;
    margin: 1rem auto !important;
}

.sister-companies-swiper .navigation-arrows{
    margin-top: 2rem !important;
}

.navigation-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

/* Contact Page */

.contact-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--mattar-light);
}

.contact-section .address-title {
    font-size: 3rem;
    color: var(--mattar-light);
    text-transform: uppercase;
}

.contact-item:not(:last-child) {
    margin-bottom: 3rem;
}

.contact-item-title {
    font-size: .8rem;
    text-transform: uppercase;
    color: var(--mattar-light);
    margin: 0;
    margin-bottom: 1rem;
}

.contact-item-description,
.contact-item-description a {
    color: var(--mattar-light) !important;
    margin: 0;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.contact-item-description a:hover {
    color: var(--primary-blue) !important;
}

.form-wrapper {
    background-color: var(--mattar-light);
    border-radius: 2rem;
    height: 100%;
    margin: 0 2rem;
    padding: 4rem;
}

.form-header-title {
    font-size: 2.5rem;
    color: var(--rgb-dark);
    margin-bottom: 3rem;
}

.input-wrapper {
    border-bottom: 1px solid var(--mattar-dark);
    margin-bottom: 2rem;
}

.input-wrapper label {
    text-transform: uppercase;
}

.input-wrapper .form-control,
.input-wrapper .form-select {
    background-color: transparent !important;
    border: none !important;
}

.footer {
    background-color: var(--dark-grey-color) !important;
    padding: 2rem;
}

.footer .footer-section-title {
    color: var(--mattar-light);
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 2rem;
}

.footer .input-wrapper {
    border-bottom-color: var(--mattar-light);
}

.footer .input-wrapper label {
    color: var(--mattar-light);
    width: 130px;
}

.footer .input-wrapper .form-control {
    color: var(--mattar-light);
}

.footer .social-links-wrapper {
    background-color: var(--mattar-dark);
    border-radius: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.5rem;
}

.footer .social-links-wrapper a {
    color: var(--mattar-light);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color .3s ease-in-out;
}

.footer .social-links-wrapper a:hover {
    color: var(--primary-blue);
}

.footer .about-mattar p {
    margin: 0;
    color: var(--mattar-light);
}

.footer .quick-links .footer-section-title {
    margin-bottom: .5rem;
}

.footer .quick-links .quick-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer .quick-links .quick-links-wrapper a {
    margin-bottom: 1rem;
    color: var(--mattar-light);
    text-decoration: none;
    transition: color .3s ease-in-out;
}

.footer .quick-links .quick-links-wrapper a:hover {
    color: var(--primary-blue);
}

.footer .copyright p {
    font-size: .8rem;
    color: var(--mattar-light);
}

.footer .copyright a {
    color: var(--primary-blue);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    /* .home-about-us {
        flex-wrap: wrap;
    } */

    .home-about-us img {
        width: 100% !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-section .section-description,
    .section-description,
    .section-title,
    .mattar-section-dark .section-title,
    .projects-section .section-description {
        width: 100%;
    }

    .about-right-section,
    .about-left-section {
        padding: 0 2rem;
    }

    .about-left-section {
        margin-bottom: 2rem;
    }

    .products-section a.mattar-text-link,
    .projects-section a.mattar-text-link {
        margin-bottom: 2rem;
    }

    footer .social-links-wrapper {
        margin-top: 3rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    footer .social-links-wrapper a {
        margin: 1rem;
    }

    .project-details h2 {
        font-size: 1rem;
    }

    .row.contact-item {
        margin-bottom: 0;
    }

    .contact-item {
        margin-bottom: 3rem;
    }

    .form-wrapper {
        margin: 2rem 0;
        margin-top: 6rem;
    }
}




.products-page .container {
    padding-top: 5rem;
    color: var(--mattar-light);
    display: flex;
}

.sidebar {
    width: 280px;
    background-color: #1c1c1c;
    padding: 24px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
    height: 100vh;
    position: sticky;
    top: 11rem;
}

.sidebar h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--mattar-light);
}

.filter-section {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--dark-grey-color);
    padding-bottom: 10px;
}

.filter-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--mattar-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.filter-title:hover {
    color: var(--mattar-light);
}

.filter-options {
    display: none;
    padding-left: 10px;
}

.active .filter-options {
    display: block;
}

.filter-option {
    font-size: 14px;
    color: var(--mattar-light);
    margin-bottom: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: var(--mattar-light);
}

.filter-option.active {
    color: var(--mattar-light);
    font-weight: 600;
}

.filter-options {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding-left: 10px;
    transition: max-height .3s ease, opacity .3s ease;
    opacity: 0;
}

.filter-section.active .filter-options {
    max-height: 500px;
    /* large enough to reveal all items */
    opacity: 1;
}

.filter-option {
    font-size: 14px;
    color: var(--mattar-light);
    margin-bottom: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all .3s ease;
}

.filter-option:hover {
    background-color: var(--filter-hover-bg);
    color: var(--mattar-light);
}

.filter-option.active {
    background-color: var(--filter-active-bg);
    color: var(--mattar-light);
    font-weight: 600;
}

.products-wrapper {
    flex: 1;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    background-color: #262626;
}

.product-card {
    background-position: center;
    background-size: cover;
    width: 300px !important;
    height: 430px !important;
    border-radius: 1rem;
    margin-bottom: 5rem;
    transition: transform .3s ease-in-out;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.product-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: border .3s ease-in-out;
    margin-bottom: .5rem;
}

.product-card h3,
.product-card p {
    /* margin: 12px; */
    color: var(--mattar-light);
    font-size: 18px;
    text-align: center;
    margin-bottom: 0;
}

.product-card:hover img {
    border: 4px solid var(--primary-blue);
}

.product-card:hover p,
.product-card:hover h3 {
    color: var(--primary-blue);
}

/* Sidebar transition */
.sidebar {
    transition: transform 0.3s ease-in-out;
}

/* Mobile Filters Button */
.filters-toggle-btn {
    display: none;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .filters-toggle-btn {
        display: inline-block;
        margin: 3rem 0 0 2rem;
        padding: 10px 16px;
        background: transparent;
        color: #fff;
        border: 1px solid var(--mattar-light);
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .filters-toggle-btn:hover {
        background: #1a73e8;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #1c1c1c;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
        padding: 24px;
        padding-top: 10rem;
        overflow-y: auto;
        z-index: 10000;
    }

    .sidebar.open {
        left: 0;
    }

    /* Overlay when sidebar is open */
    body.sidebar-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    .products-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        padding: 16px;
        gap: 16px;
    }

    .product-card {
        width: 100% !important;
        height: auto !important;
        min-height: 280px;
    }

    .product-card img {
        height: auto;
        max-height: 220px;
    }

    .product-card h3,
    .product-card p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .products-wrapper {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 240px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card p {
        font-size: 13px;
    }

    .products-page .container{
        padding-top: 1rem;
    }

    .sister-companies-swiper .swiper-slide {
        width: 100% !important;
        height: auto !important;
    }

    .sister-companies-swiper .swiper-slide p {
        font-family: "SatoshiRegular" !important;
        width: 90% !important;
        margin: 1rem auto !important;
    }
}





















.projects-wrapper {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 100%;
}

.project-item {
    padding-bottom: 3rem;
    padding-top: 3rem;
    border-bottom: 1px solid var(--mattar-light);
}

.project-item-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: hsla(0, 0%, 91%, .05);
    border-radius: 1rem;
    overflow: hidden;
}

.project-item-inner .project-item-left-section {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-item-inner .project-item-left-section img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.project-item .project-item-right-section {
    display: flex;
    flex-direction: column;
}

.project-item .project-item-right-section .right-section-image {
    padding-bottom: 75%;
    width: 100%;
    height: 0;
    position: relative;
}

.project-item .project-item-right-section .right-section-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.project-details {
    padding: 3rem;
    background-color: var(--dark-grey-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-details h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--rgb-light), 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

@keyframes ldio-yzaezf3dcmj {
    0% {
        background: var(--primary-blue)
    }

    12.5% {
        background: var(--primary-blue)
    }

    12.625% {
        background: var(--mattar-dark)
    }

    100% {
        background: var(--mattar-dark)
    }
}

.ldio-yzaezf3dcmj div {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--mattar-dark);
    animation: ldio-yzaezf3dcmj 1s linear infinite;
}

.loadingio-spinner-blocks-2by998twmg8 {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
}

.ldio-yzaezf3dcmj {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
    /* see note above */
}

.ldio-yzaezf3dcmj div {
    box-sizing: content-box;
}