html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Product Sans", sans-serif !important;
    height: 100vh;
    max-height: 100vh !important;
}

header {
    background-image: url(../img/banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    background-position-y: center;
    mix-blend-mode: multiply;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    height: 10%;
    min-height: 125px;
}

.container-xl {
    justify-content: flex-end;
}
/* img[alt="company logo"] {
    align-self: center;
} */

.employee-profile {
    z-index: 1 !important;
    width: 25%;
    height: fit-content;
    background: #fff;
}
/* .employee-profile-v2 {
    z-index: 1 !important;
    width: 15%;
    height: fit-content;
    background: transparent;
    position: absolute !important;
    top: 25%;
    left: 5%;
    border-radius: 50% !important;
    border: 5px solid #fff !important;
} */

img[alt="employee's photo"].employee-profile {
    width: 20%;
}

.horizontal-line1,
.horizontal-line2 {
    border-width: 0;
    opacity: 1 !important;
    border: 2.5px solid #28bfef;
    position: absolute;
    top: 100px;
    z-index: 0.5;
}

.horizontal-line1 {
    width: 90% !important;
}

.horizontal-line2 {
    width: 25% !important;
    /* right: 0; */
}

.horizontal-line1.isolutions,
.horizontal-line2.isolutions {
    border-color: #28bfef;
}

.horizontal-line1.qareb,
.horizontal-line2.qareb {
    border-color: #00b1e1;
}

.horizontal-line1.dstc,
.horizontal-line2.dstc {
    border-color: #41aae0;
}

.horizontal-line1.baladna,
.horizontal-line2.baladna {
    border-color: #c39761;
}

section h1.isolutions,
section h2.isolutions {
    color: #000000;
}

section h1.qareb,
section h2.qareb {
    color: #2d65af;
}

section h1.dstc,
section h2.dstc {
    color: #213368;
}

section h1.baladna,
section h2.baladna {
    color: #96262c;
    border-color: #c39761;
}

.add-contact-btn {
    background: #28bfef !important;
    border-radius: 24.5px !important;
    color: #fff !important;
}

.add-contact-btn.isolutions {
    background: #28bfef !important;
}

.add-contact-btn.qareb {
    background: #00b1e1 !important;
}

.add-contact-btn.dstc {
    background: #41aae0 !important;
}

.add-contact-btn.baladna {
    background: #c39761 !important;
}

.pe-xl-2.baladna {
    filter: brightness(0) saturate(100%) invert(59%) sepia(66%) saturate(284%)
        hue-rotate(353deg) brightness(93%) contrast(87%);
}

.ps-xl-2.border-start.border-dark.baladna {
    filter: brightness(0) saturate(100%) invert(59%) sepia(66%) saturate(284%)
        hue-rotate(353deg) brightness(93%) contrast(87%);
}

.qr-code-divison {
    border-radius: 41px;
    z-index: 1;
    min-height: max-content;
    height: 65vh;
    flex-basis: 40%;
}

.qr-code-divison.isolutions {
    background: #00517d;
}

.qr-code-divison.qareb {
    background: #2d65af;
}

.qr-code-divison.dstc {
    background: #213368;
}

.qr-code-divison.baladna {
    background: #96262c;
}

.qr-code-img {
    z-index: 2;
    border-radius: 10px !important;
}

.contact-details {
    color: #213368;
    font-size: 1rem;
}

.border-end.pe-xl-3.d-none.d-xl-inline {
    border-color: #213368 !important;
}

.branch-border {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    border-top: 7px solid #d9d9d9 !important;
    opacity: 1;
}

.branch-border.toggled.isolutions {
    border-top: 7px solid #28bfef !important;
}

.branch-border.toggled.qareb {
    border-top: 7px solid #00b1e1 !important;
}

.branch-border.toggled.dstc {
    border-top: 7px solid #41aae0 !important;
}

.branch-border.toggled.baladna {
    border-top: 7px solid #c39761 !important;
}

.branch-details {
    display: none;
}

.branch-details.toggledBranch {
    display: block;
}

.copy-icon {
    border-left: 1px solid #000;
}

footer {
    border-top: 1px solid #28bfef;
}

.meeting-btn {
    cursor: pointer;
    background-color: #fff !important;
    transition: all 0.2s ease-in !important;
}

.qr-employee-section {
    height: 100%;
    border-radius: 20px !important;
}

.meeting-btn:hover {
    filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}
.modal.fade .modal-dialog {
    transform: translateY(100px) !important; /* Start from below */
    transition: transform 0.3s ease-out !important; /* Smooth transition */
}

.modal.show .modal-dialog {
    transform: translateY(0) !important; /* End at center */
}

/* Modal Container Styling */
.modal-dialog-centered {
    align-items: flex-end !important;
}
.scrollable-employee-items {
    position: relative !important;
    height: 30vh !important;
    overflow-y: auto !important; /*easier on mobile */
}

.scrollable-employee-items:focus-visible,
.scrollable-employee-items:focus-within,
.scrollable-employee-items:hover,
.scrollable-employee-items:focus {
    overflow-y: scroll !important;
}
.scrollable-employee-items::-webkit-scrollbar {
    width: 0.3rem !important;
    height: 20px !important;
    background-color: rgb(214, 194, 194) !important;
    border: 50% !important;
    border-radius: 10% !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
}
.scrollable-employee-items::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10% !important;
}

.tooltip-box {
    display: none;
    position: absolute;
    background: #3d3c3c;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    white-space: normal;
    max-width: 300px;
    min-height: 40px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    word-wrap: break-word;
    overflow: auto;
}

.tooltip-box.active {
    display: block;
    top: 0 !important;
    left: 0 !important;
}

@media (min-width: 768px) {
    .section-employee-data-list {
        max-height: 25vh;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .section-employee-data-list::-webkit-scrollbar {
        display: none;
    }
    .qr-employee-section {
        position: static;
    }
}

@media (min-width: 1200px) {
    .contact-details {
        width: auto !important;
    }

    .contact-address-text {
        width: 60% !important;
    }
}

@media (max-width: 1200px) {
    header {
        background-image: url(../img/banner_mobile.png);
        background-size: cover;
        height: 15%;
    }

    /* img[alt="company logo"] {
        margin: 0 auto;
    } */

    /* section h1 {
        border-bottom: 2px solid #28bfef;
    } */

    .employee-profile {
        width: 30%;
        margin: auto;
    }

    /* .employee-profile-v2 {
        width: 30%;
        margin: auto;
        position: absolute !important;
        top: 50%;
        left: 5%;
    } */

    .horizontal-line1,
    .horizontal-line2 {
        display: none;
    }

    /* img[alt="employee qr code"] {
        width: 20vw;
        margin: 0rem -2rem 0rem -4rem !important;
        border: 1px solid black;
        padding: 1px;
    } */

    .contact-details img:first-child {
        width: 22px;
        height: auto;
        border: 0 !important;
    }

    img[alt="copy icon"] {
        border: 0 !important;
    }

    span.border-end.border-dark.pe-3 {
        border-right: 0 !important;
    }

    .contact-details {
        font-size: 1rem;
    }

    .contact-address-text {
        max-width: auto !important;
    }

    .copy-icon {
        border: 0;
    }

    footer {
        width: 90%;
        margin: auto;
        font-size: 0.5rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 10%;
        margin-bottom: 15%;
        /* box-shadow: 0px 30px 12px #f5f5f5 !important; */
    }

    .fs-7 {
        font-size: 0.9rem;
    }

    .fs-8 {
        font-size: 0.8rem;
    }

    .qr-employee-section {
        position: absolute;
        right: 0;
        top: 0;
        height: fit-content !important;
        background-color: unset !important;
    }

    /* img[alt="company logo"] {
        margin: 0 auto;
    } */
}
@media (max-aspect-ratio: 9/16) {
    .scrollable-employee-items {
        /* Styles for very tall screens */
        height: 40h !important;
    }
}
@font-face {
    font-family: "Product Sans";
    src: url("../font/Product\ Sans\ Regular.ttf");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Product Sans";
    src: url("../font/Product\ Sans\ Bold.ttf");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
