:root {
    --branch-primary: #1C1F3E;
    --branch-emphasys: rgba(128, 124, 182);
    --branch-secondary: #946137;
    --branch-highlight-primary: #F39208;
    --branch-highlight-secondary: #F4C125;
}

section {
    padding: 60px 0;
    overflow: hidden;
}

#hero {
    width: 100%;
    height: 90vh;
    background: url(../img/hero-bg.webp) top left no-repeat;
    background-size: cover;
    position: relative;
}

#certs {
    width: 100%;
    background: url(../img/certs-bg.webp) top left no-repeat;
    background-size: cover;
    position: relative;
}

#contact {
    width: 100%;
    height: 30vh;
    background: url(../img/contact-bg.webp) top left no-repeat;
    background-size: cover;
    position: relative;
}

#valagr {
    background-color: rgb(81, 82, 110);
}

#valagr svg {
    height: 100px;
    margin: 20px 0 20px 20px;
}

#sa-hero {
    width: 100%;
    background-size: cover;
    position: relative
}

#sa-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 115%;
    min-height: 115%;
    width: auto;
    height: auto;
    z-index: -1000;
    overflow: hidden
}

.section-content {
    width: 100%;
    background: url(../img/section-bg.webp) top left no-repeat;
    background-size: cover;
    position: relative;
}

#gmp-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/gmp-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#kp-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/kp-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#ss-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/ss-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#si-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/si-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#bb-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/bb-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#bs-hero {
    width: 100%;
    height: 533px;
    background: url(../img/branchs-bg/bs-hero-bg.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#ss-vid-container {
    margin: 25px 0;
    position: relative;
    background-size: cover;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

#ss-vid-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 115%;
    min-height: 115%;
    width: auto;
    height: auto;
    z-index: 1;
    overflow: hidden
}

#text {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    padding: 30px;
    display: flex;
    justify-content: end;
    align-items: center;
    color: var(--branch-primary);
    z-index: 2;
    transition: opacity 0.3s;
}

#ss-vid-container:hover #text {
    opacity: 0;
}

#ss-vid-container:hover #overlay {
    opacity: 0.8;
}

#overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: opacity 0.3s;
}

#overlay #cont {
    background-color: #fff;
    margin: 30px;
    padding: 40px;
    color: var(--branch-primary);
}

#si-content {
    width: 100%;
    height: 333px;
    background: url(../img/branch-content/interior-fabrica.webp) center no-repeat;
    background-size: cover;
    position: relative;
}

#si-content div {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    justify-content: start;
    align-items: center;
}

#si-content p {
    background-color: var(--branch-primary);
    color: #fff;
}

.emp-bg-primary {
    background-color: var(--branch-primary);
    color: #fff;
}

.emp-btn-primary {
    background-color: var(--branch-primary);
    color: #fff;
}

.emp-btn-primary:hover {
    background-color: var(--branch-emphasys);
    color: #fff;
}

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