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: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 10px;
}
.sidebar .fa-solid, .sidebar .fa-brands {
    color: #1b5fc8;
    font-size: 16px;
}
.dbc-body {
    width: calc(100% - 60px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sidebar-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
}

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

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

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

.sidebar-socials a:last-child {
    border-bottom: none;
}
a.g-partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding-bottom: 20px;
}

p.g-partner {
    font-size: 12px;
    text-align: center;
    color: #1b5fc8;
}
a.company-link img {
    width: 45px;
   filter: brightness(0) invert(28%) sepia(60%) saturate(2106%) hue-rotate(201deg) brightness(93%) contrast(96%);
}

a.hvac-icon img {
    width: 29px;
    filter: brightness(0) invert(28%) sepia(60%) saturate(2106%) hue-rotate(201deg) brightness(93%) contrast(96%);
}

a.mail-icon img {
    width: 29px;
    filter: brightness(0) invert(28%) sepia(60%) saturate(2106%) hue-rotate(201deg) brightness(93%) contrast(96%);
}

a.towing-icon img {
    width: 31px;
    filter: brightness(0) invert(28%) sepia(60%) saturate(2106%) hue-rotate(201deg) brightness(93%) contrast(96%);
}

a.hvac-icon {
    border-top: 1px solid #1b5fc8;
}
img.dbc-background {
    width: 100%;
    height: 40vh;
    object-fit: cover;
    object-position: 12%;
    position: relative;
}

.dbc-logo-container {
    position: absolute;
    z-index: 9999;
    top: 50px;
    right: 50px;
    height: 84px;
    /* background: #fff; */
    padding: 5px;
}

.dbc-logo-container img {
    width: 203.5px;
    height: 74px;
    object-fit: contain;
    object-position: center;
}

.dbc-content {
    width: 100%;
    position: relative;
    height: 60vh;
    background: #1b5fc8;
    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: 999;
    bottom: calc(60vh - 20px);
    right: 5vw;
    width: 50px;
    height: 50px;
    background: #6dc068;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    border-radius: 10px;
}
.dbc-company-info {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}
.agent-image-container {
    position: absolute;
    top: -95px;
    left: 23px;
    z-index: 9999;
    width: 115px;
    height: 115px;
}

.agent-image-container img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid #fff;
    object-fit: cover;
    height: 100%;
}
.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: 14px;
}

.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);
    background: #6dc068;
    margin: 3px;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none !important;
    max-width: 85px;
    border: 1px solid #fff;
}

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

.company-cta a p {
    font-size: 9px;
    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 #1b5fc8;
    border-left: 100vw solid transparent;
    position: absolute;
    content: '';
    width: 100%;
    left: -40px;
    top: -19vw;
    z-index: 999;
}


@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 #1b5fc8;
    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; }
    
    .dbc-logo-container {
    top: 27px;
    right: 25px;
}
  
    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; }
  }