@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&display=swap');
@import url("./hover.css");

:root {
    --primary-text-color: #575656;
    --primary-color: #294795;
    --secondary-color: #3065ae;
}

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

header {
    width: 100%;
    background-color: white;
}

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

.container {
    max-width: 1245px;
}

.navbar-line {
    border-bottom: 3px solid #e7e7e7;
}

.nav-link {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
}

.nav-link.colored {
    color: #2564a8;
}

.nav-link.active,
.nav-link:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.langs .lang-item {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.langs .lang-item.active {
    border: 2px solid var(--primary-color);
}

.langs .lang-item>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.social a:hover {
    color: var(--primary-color);
}

.top-bar {
    background-color: #e7e7e7;
    padding-top: 3px;
    padding-bottom: 3px;
}

.top-bar .top-bar-item,
.top-bar .top-bar-item a{
    font-family: "Arial", sans-serif;
    font-size: 12px;
    color: #000;
}

.top-bar .top-bar-item a:hover {
    color: var(--primary-color);
}

.video-container {
    width: 100%;
    height: 652px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container .video-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-block {
    width: 100%;
}

.contact-block .contact-block-item {
    padding: 25px 0;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    color: #010101;
}

.contact-block .contact-block-item img {
    margin-right: 12px;
}

footer {
    width: 100%;
    margin-top: 50px;
    background-color: var(--primary-color);
    color: white;
}

footer .web-address {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    color: white;
}

footer .footer-nav .footer-nav-link {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    color: white;
}

footer .footer-nav .footer-nav-link:hover {
    text-decoration: underline;
}

footer .footer-contact .footer-contact-item,
footer .footer-contact .footer-contact-item a {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    color: white;
}

footer .footer-social .bi {
    color: white;
}

footer .copy-right,
footer .copy-right a {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    color: white;
}

footer .copy-right a b {
    font-weight: 600;
}

#contact-section .contact-section-title {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    color: var(--primary-text-color);
}

#contact-section .contact-section-title span.line {
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

#contact-section .contact-section-body {
    line-height: 18px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    color: var(--primary-text-color);
}

#contact-section .write-us {
    margin-top: 40px;
    margin-bottom: 15px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    color: var(--primary-text-color);
}

#contact-section .write-us-btn {
    padding: 8px 30px;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

#references-section {
    padding-left: 80px;
    padding-right: 80px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#references-section .references-img {
    width: 100%;
}

#references-section .references-title {
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    color: var(--primary-text-color);
}

#references-section .references-text {
    line-height: 26px;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: var(--primary-text-color);
}

#references-section .references-title span.line {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

#certificate-section {
    padding-left: 80px;
    padding-right: 80px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#certificate-section .certificate-body {
    width: 100%;
    height: 420px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: var(--primary-color) url("../images/certificate_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

#certificate-section .certificate-body h1 {
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 34px;
    color: white;
}

#certificate-section .certificate-body .certificate-icon {
    width: 52px;
    height: 63px;
}

#certificate-section .certificate-body .certificate-text {
    max-width: 775px;
    text-transform: uppercase;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    color: white;
}

#certificate-section .certificate-body .certificate-btn {
    padding: 8px 30px;
    border: 1px solid white;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
}

#main-products {
    margin-top: 50px;
}

#main-products .product-item {
    position: relative;
}

#main-products .product-text {
    margin-top: -70px;
    background-color: var(--primary-color);
    padding: 60px 15px 40px 15px;
    border-radius: 0 0 8px 8px;
    width: 100%;
    text-align: center;
    color: white;
    overflow: hidden;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
}

#main-products .product-text h5 {
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
}

#main-products .product-text a h5 {
    color: white;
}

.main-product-btn {
    padding: 8px 30px;
    background-color: white;
    color: var(--primary-color);
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

#main-products .product-img {
    width: 100%;
    height: 450px;
    padding: 25px;
    background: #a8abac url("../images/product_bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

#main-products .product-img>img {
    width: 100%;
    height: auto;
}

#content-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

#content-section .content-block {
    line-height: 26px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: var(--primary-text-color);
}

#content-section .content-header {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 35px;
}

#content-section .content-title {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 34px;
    color: #010101;
}

#content-section .content-img>img {
    border-radius: 15px;
}

#content-section .content-img.product-img > img {
    background-color: #a8abac;
    padding: 15px;
}

.breadcrumb-item {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 14px;
    color: #010101;
}


#product-documents {
    margin-top: 35px;
}

#product-documents .product-document-item {
    display: flex;
    justify-content: start;
    align-items: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: var(--secondary-color);
}

#product-documents .product-document-item:hover {
    text-decoration: underline;
    color: orange;
}


#references .reference-title {
    display: block;
    margin-top: 20px;
}

#references .reference-title,
#references .reference-title h5 {
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 14px !important;
    color: var(--primary-text-color);
}

#references .reference-img {
    width: auto;
    max-width: 230px;
    height: 230px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
}

#boss-section {
    position: relative;
    background: #f1f1f1 url("../images/boss_bg.png");
    background-position: center;
    width: 100%;
    height: 450px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#boss-section .content-block {
    position: relative;
    z-index: 2;
}

#boss-section .boss-layer{
    bottom: 0;
    left: -25%;
    position: absolute;
    z-index: 1;
}

#boss-section .boss-layer > img {
    max-width: 100%;
    max-height: 100%;
}

#boss-section .content {
    z-index: 999999;
    max-width: 800px;
    line-height: 26px;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    color: var(--primary-text-color);
}

#boss-section .content h1{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 34px;
    color: var(--primary-text-color);
}

#boss-section .content h2 {
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    color: var(--primary-text-color);
}

#boss-section .content span.line {
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

#myVideo {
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    z-index: -101;
}

.qualification-img > img{
    max-width: 100%;
    max-height: 100%;
}

.references-carousel-item{
    height: 300px;
}

.references-carousel-item references-carousel-content{
    margin-top: 35px;
}

.product-list-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #3065ae;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    color: white;
    border: 1px solid transparent;
    border-radius: 5px;
}

.product-list-btn:hover{
    background: transparent;
    border-color: #3065ae;
    color: #3065ae;
    font-weight: bold;
}

.product-list-btn-icon-pdf{
    width: 15px;
    height: 20px;
    background: url("../images/pdf_icon2.png") no-repeat;
    margin-right: 5px;
}

.product-list-btn:hover .product-list-btn-icon-pdf{
    background: url("../images/pdf_icon2h.png") no-repeat;
}

.product-list-btn-icon-xx{
    width: 15px;
    height: 20px;
    background: url("../images/xx_icon.png") no-repeat;
    margin-right: 5px;
}

.product-list-btn:hover .product-list-btn-icon-xx{
    background: url("../images/xx_icon_h.png") no-repeat;
}

.gallery-card figure > img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* 1230px-nél kisebb */
@media screen and (max-width: 1230px) {
    #boss-section .boss-layer {
        display: none;
    }
    #boss-section .content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}

/* 1700px-nél kisebb */
@media screen and (max-width: 1700px) {
    #boss-section .content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}

/* 1920px-nél kisebb */
@media screen and (max-width: 1700px) {
    #boss-section .content {
        max-width: 700px;
    }
}

/* xl-nél kisebb */
@media (max-width: 1200px) {
    .navbar-nav {
        align-items: center;
    }

    .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 20px;
    }

    .social .bi {
        font-size: 24px;
    }

    #certificate-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    #contact-section .contact-section-body {
        text-align: center;
    }

    #contact-section .contact-section-title {
        text-align: center;
    }

    #contact-section .contact-section-title span.line {
        margin-left: auto;
        margin-right: auto;
    }
}

/* lg-nél kisebb */
@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    #certificate-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Dropdown hover functionality */
.dropdown-hover .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    margin-top: 0;
}

.dropdown-hover:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-hover .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-hover .dropdown-item {
    padding: 10px 20px;
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--primary-text-color);
    transition: all 0.2s ease;
}

.dropdown-hover .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-hover .dropdown-toggle {
    cursor: pointer;
    text-align: center;
}

/* Make dropdown parent link active and clickable */
.dropdown-hover:hover .dropdown-toggle {
    background-color: var(--primary-color);
    color: white !important;
}

/* md-nél kisebb */
@media (max-width: 768px) {
    .video-container{
        display: none;
    }

    .contact-block{
        display: none !important;
    }

    #main-products{
        margin-top: 15px;
    }

    #main-products .product-img{
        height: auto;
        padding-bottom: 5px;
    }

    #references-section {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    #boss-section {
        padding-top: 15px;
        height: auto;
        background-size: cover !important;
    }

    /* Mobile: Show submenus as expanded list */
    .dropdown-hover .dropdown-menu {
        display: block !important;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        margin-top: 0;
        padding: 0;
        margin-left: 0;
        border: 1px solid rgba(0,0,0, 0.15);
    }

    .dropdown-hover:hover .dropdown-menu {
        display: block !important;
    }

    .dropdown-hover .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }

    .dropdown-hover .dropdown-item {
        padding: 8px 15px;
        font-size: 18px;
        color: var(--primary-text-color);
        border-bottom: 1px solid #e7e7e7;
        background-color: transparent;
    }

    .dropdown-hover .dropdown-item:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .dropdown-hover .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-hover:hover .dropdown-toggle {
        background-color: transparent;
        color: var(--primary-text-color) !important;
    }
}
