body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
p {
    margin: 0;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

 
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.dbc-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.sidebar {
    width: 60px;
    height: 100%;
    background: #1faef8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 10px;
}
.sidebar .fa-solid, .sidebar .fa-brands {
    color: #fff;
    font-size: 20px;
}
.dbc-body {
    width: calc(100% - 60px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dbc-body:before {
    content: '';
    background: url(img/big-watermark.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    object-fit: contain;
    width: 97%;
    height: 67%;
    /* top: -25px; */
    left: 0;
    position: absolute;
    z-index: 15;
}


.sidebar-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
     z-index: 9999;
}

.sidebar-cta a {
    width: 100%;
    text-align: center;
    padding: 15px 0px;
}
.sidebar-cta a:last-child {
    border-bottom: none;
}
.mail-icon {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.sidebar-socials {
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.sidebar-socials a {
    width: 100%;
    text-align: center;
    padding: 15px 0px;
    border-bottom: 1px solid #fff;
}

.sidebar-socials a:last-child {
    border-bottom: none;
}

img.dbc-background {
    width: 100%;
    height: 40vh;
    filter: brightness(0.9);
    object-fit: cover;
    object-position: center;
    position: relative;
}

.dbc-logo-container {
    position: absolute;
    z-index: 9999;
    top: 50px;
    right: 50px;
    height: 140px;
    /* filter: drop-shadow(4px 6px 6px #fff); */
    /* background: #fff; */
    padding: 5px;
}

.dbc-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.dbc-content {
    width: 100%;
    position: relative;
    height: 60vh;
    background: #213776;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-block {
    width: 280px;
    height: 280px;
    position: absolute;
    z-index: 99999;
    display: none;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-end;
}

.qr-code-block.qr-open {
    display: flex;
}

.qr-code-block i {
    float: right;
    background: #ffffff;
    width: 25px;
    height: 25px;
    font-size: 25px;
    text-align: center;
}

.qr-code-block img {
    width: 100%;
    height: 100%;
}


.dbc-qr {
    position: absolute;
    z-index: 9999;
    bottom: calc(60vh - 20px);
    right: 5vw;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #1faef8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}
.dbc-company-info {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
     z-index: 999;
}

.company-name p {
    font-size: 24px;
    font-weight: bold;
}

.company-location, .company-phone, .company-mail {
    display: flex;
    align-items: center;
    margin: 5px 0;
    width: 100%;
}

.company-location p, .company-phone p, .company-mail p {
    margin-left: 10px;
    font-size: 14px;
}

.company-industry p {
    font-size: 15px;
}

.company-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    width: 100%;
    margin-top: 15px;
}

.company-cta a {
    width: calc(100% / 3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none !important;
}

.company-cta a i {
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    text-decoration: none !important;
   
}

.company-cta a p {
    font-size: 10px;
    text-align: center;
    text-decoration: none;
}

.company-cta a:nth-child(even) {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    text-decoration: none;
}

.company-name {
    width: 100%;
}

.company-industry {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 5px;
}

.dbc-content:before {
    border-bottom: 20vw solid #4e977a;
    border-left: 100vw solid transparent;
    position: absolute;
    content: '';
    width: 100%;
    left: -40px;
    top: -19vw;
     z-index: 14;
}


@media screen and (min-width: 600px) {
.dbc-container {
    width: 420px;
    height: 820px;
    background: url(img/iphone15.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 25px 26px;
}

img.dbc-background {
    height: 400px;
}

.dbc-content {
    height: calc(100% - 400px);
}

.dbc-content:before {
    top: -102px;
    border-bottom: 105px solid #213776;
    border-left: 375px solid transparent;
}

.dbc-qr {
    bottom: 368px;
    right: 23px;
}

.dbc-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    min-height: 840px;
    background: url(img/main-bg.webp);
    background-position: center;
    background-position-x: 80%;
    background-position-y: 50%;
    background-size: cover;
}

body {
    overflow: auto;
}
.sidebar {
    border-top-left-radius: 47px;
    border-bottom-left-radius: 47px;
}

.dbc-body {
    border-top-right-radius: 47px;
    border-bottom-right-radius: 47px;
}
.dbc-company-info {
    padding: 10px 10px;
}

.company-name p {
    font-size: 22px;
    line-height: 1.4;
}
    
}

/*  size fix */
 
@media screen and (max-width: 600px) {
    .dbc-logo-container,
    .dbc-logo-container img { max-width: 225px; }
  
    html, body { height: 100%; margin: 0; }
    body { overflow: hidden; } /* внимавай: без скрол = режеш излишъка */
  
    .viewport { min-block-size: 100vh; display: grid; }
    @supports (height: 100svh) {
      .viewport { min-block-size: 100svh; }
    }
  
    .viewport {
      grid-template-columns: clamp(240px, 40vw, 360px) 1fr;
      grid-auto-rows: 1fr;
      align-items: stretch;
    }
  
    .viewport > * { min-width: 0; } /* важно за да не прелива */
  
    .sidebar, .main {
      block-size: 100%;
      overflow: hidden; /* или auto, ако искаш вътрешен скрол */
    }
  
    .wrap-has-transform { transform: none !important; }
  
    :root { --safe-bottom: env(safe-area-inset-bottom); }
    .sidebar { padding-bottom: max(16px, var(--safe-bottom)); }
  
    .company-phone p, .company-phone p a { color: #fff; }
  }