:root {
    --main-blue: #1e3a8a;
    --light-blue: #2563eb;
    --accent-yellow: #facc15;
    --accent-yellow-dark: #eab308;
    --site-bg: #f5f7fb;
}
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.admin-link {
    background: white;
    color: #1e3a8a !important;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-link:hover {
    background: #facc15;
    color: black !important;
}
.admin-link svg {
    color: #1e3a8a;
}
.navbar {
    background: var(--main-blue) !important;
}

.navbar-brand {
    color: white !important;
}

.nav-link {
    color: #e5e7eb !important;
}

    .nav-link:hover {
        color: var(--accent-yellow) !important;
    }



.admin-link {
    background: white;
    color: #1e3a8a !important;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .admin-link:hover {
        background: #facc15;
        color: black !important;
    }


    .hero-section {
        padding: 90px 0;
    }

.hero-text h1 {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.hero-btn {
    padding: 12px 26px;
    border-radius: 8px;
}

.hero-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}


.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.25s;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }


..contact-minimal {
    padding: 120px 0;
    background: #f6f6f6;
}

.contact-title {
    font-size: 44px;
    margin-bottom: 40px;
    font-weight: 600;
}

.minimal-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
    font-weight: 500;
}

.minimal-form input,
.minimal-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 15px;
    transition: 0.2s;
}

    .minimal-form input:focus,
    .minimal-form textarea:focus {
        outline: none;
        border-color: #222;
    }

.minimal-btn {
    margin-top: 30px;
    padding: 14px 28px;
    border: 2px solid #222;
    background: white;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.25s;
}

    .minimal-btn:hover {
        background: #222;
        color: white;
    }

.contact-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}
.contact-minimal {
    padding: 120px 0;
    background: white;
}

.contact-left h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.contact-text {
    color: #666;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

    .contact-info-item .icon {
        width: 40px;
        height: 40px;
        background: #eaeaea;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.minimal-form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 500;
}

.minimal-form input,
.minimal-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.minimal-btn {
    margin-top: 25px;
    padding: 14px 30px;
    border: 2px solid #222;
    background: white;
    border-radius: 40px;
    font-size: 16px;
    transition: 0.25s;
}

    .minimal-btn:hover {
        background: #222;
        color: white;
    }

.contact-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}
.service-card {
    transition: 0.25s;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }
.service-icon {
    font-size: 36px;
    color: #f0ad00;
    margin-bottom: 15px;
}
.faq-section {
    background: #f7f7f7;
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}
.faq-section {
    background: #f7f7f7;
    padding: 100px 0;
}

.faq-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 45px;
}

.faq-item {
    max-width: 350px;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

    .faq-question h4 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin-left: 34px;
}

.faq-icon {
    font-size: 20px;
    color: #444;
}
.hero-btn {
    background: var(--accent-yellow);
    border: none;
    color: black;
    font-weight: 600;
}

    .hero-btn:hover {
        background: var(--accent-yellow-dark);
    }
.service-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    transition: 0.3s;
    border-top: 4px solid var(--accent-yellow);
}

    .service-card:hover {
        transform: translateY(-5px);
    }
.service-icon {
    font-size: 28px;
    color: var(--main-blue);
}
body {
    background: var(--site-bg);
}
h1, h2, h3, h4 {
    color: var(--main-blue);
}
.faq-icon {
    color: var(--main-blue);
}

.faq-item h4 {
    color: var(--main-blue);
}
.navbar {
    border-bottom: 3px solid var(--accent-yellow);
}
.navbar {
    background: #1e3a8a !important;
    border-bottom: 3px solid #facc15;
}

.navbar-brand {
    color: white !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: #facc15 !important;
    }
.drop-zone {
    border: 2px dashed #ccc;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: 0.2s;
}

    .drop-zone.dragover {
        border-color: #0d6efd;
        background: #f0f6ff;
    }
.table td,
.table th {
    padding: 6px 10px;
    font-size: 14px;
}

.table td {
    vertical-align: middle;
}

.bi-folder-fill,
.bi-file-earmark,
.bi-file-earmark-pdf,
.bi-file-earmark-image {
    font-size: 16px;
}
.global-drop-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.drop-content {
    background: white;
    padding: 40px 60px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
mark {
    background: #fff3a3;
    padding: 1px 3px;
    border-radius: 3px;
}
mark {
    background: #ffe066;
    padding: 2px 3px;
    border-radius: 3px;
}
#filesTable tbody tr {
    cursor: pointer;
}
<div id="contextMenu" class="context-menu" >

<ul >
<li id="ctxOpen" > Відкрити</li >
<li id="ctxDownload" > Скачати</li >
<li id="ctxRename" > Перейменувати</li >
<li id="ctxDelete" class="text-danger" > Видалити</li >
</ul >

</div >
.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 9999;
    min-width: 180px;
}

.context-menu ul {
    list-style: none;
    padding: 5px 0;
    margin: 0;
}

.context-menu li {
    padding: 8px 15px;
    cursor: pointer;
}

    .context-menu li:hover {
        background: #f2f2f2;
    }
.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 9999;
    min-width: 180px;
}

    .context-menu ul {
        list-style: none;
        margin: 0;
        padding: 5px 0;
    }

    .context-menu li {
        padding: 8px 15px;
        cursor: pointer;
    }

        .context-menu li:hover {
            background: #f2f2f2;
        }
.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: none;
    z-index: 9999;
    min-width: 200px;
}

    .context-menu ul {
        list-style: none;
        margin: 0;
        padding: 6px 0;
    }

    .context-menu li {
        padding: 8px 16px;
        cursor: pointer;
        font-size: 14px;
    }

        .context-menu li:hover {
            background: #f3f3f3;
        }

#menuFolder {
    display: none;
}
.folder-hover {
    background: #eef4ff;
    border: 2px dashed #2563eb;
    transition: 0.15s;
}

.file-row.dragging {
    opacity: 0.5;
}
.context-menu {
    position: absolute;
    z-index: 9999;
    background: white;
    border: 1px solid #ccc;
    padding: 5px 0;
    display: none;
}

    .context-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .context-menu li {
        padding: 8px 15px;
        cursor: pointer;
    }

        .context-menu li:hover {
            background: #f2f2f2;
        }
.sortable {
    cursor: pointer;
}

    .sortable:hover {
        background: #f5f7fb;
    }
.text-purple {
    color: #7360F2;
}
.type-cell {
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

/* серый */
.type-empty {
    background-color: #f3f4f6 !important;
}

/* жёлтый */
.type-active {
    background-color: #fde047 !important;
}

/* зелёный */
.type-done {
    background-color: #86efac !important;
}
td:nth-child(4) {
    white-space: normal;
    line-height: 1.2;
}
.copy-phone {
    font-size: 13px;
}
td:nth-child(12) {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}
td:first-child {
    font-weight: 600;
}
th {
    white-space: normal;
    line-height: 1.1;
}
th {
    white-space: normal;
    font-size: 13px;
    padding: 6px 4px;
}
    th:nth-child(5),
    th:nth-child(6),
    th:nth-child(7),
    th:nth-child(8),
    th:nth-child(9),
    th:nth-child(10),
    th:nth-child(11) {
        font-size: 12px;
    }
th {
    white-space: normal;
    line-height: 1.1;
    font-size: 12px;
}
th {
    text-align: center;
    font-size: 11px;
}
table {
    table-layout: fixed;
    width: 100%;
}
td:nth-child(3) {
    white-space: nowrap;
    font-size: 13px;
}
td:nth-child(1) {
    font-weight: 600;
    font-size: 15px;
}
td:nth-child(4) {
    white-space: normal;
}
td:nth-child(3) {
    font-size: 15px;
}
td:nth-child(12) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.visit-status {
    min-width: 120px;
}

.visit-date {
    font-size: 13px;
    line-height: 1.1;
}

.visit-badge {
    margin-top: 4px;
}

    .visit-badge .badge {
        font-size: 11px;
        padding: 3px 6px;
    }
td:nth-child(13),
td:nth-child(14) {
    font-size: 12px;
}
td:nth-child(13),
td:nth-child(14),
th:nth-child(13),
th:nth-child(14) {
    text-align: left;
}
td:nth-child(2),
td:nth-child(3),
td:nth-child(5),
td:nth-child(6),
td:nth-child(7),
td:nth-child(8),
td:nth-child(9),
td:nth-child(10),
td:nth-child(11) {
    text-align: center;
}
.work-cell-yellow {
    background-color: #facc15;
}

.work-cell-green {
    background-color: #86efac;
    text-align: center;
    font-weight: bold;
}
.services-row {
    flex-direction: row !important;
}
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* центр по вертикалі */
    align-items: center; /* центр по горизонталі */
    text-align: center;
}
.hero-text {
    text-align: center;
}
.hero-btn {
    display: inline-block;
    margin: 20px auto 0;
}
.hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
}

.hero-small {
    display: block;
    font-size: 28px;
    font-weight: 500;
    margin-top: 10px;
}
.why-line {
    width: 100%;
    height: 3px;
    background: #2563eb;
    margin: 0 auto 35px;
    border-radius: 2px;
}

.why-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.why-text {
    max-width: 100%; /* було 800px */
    margin: 0 0 15px; /* прибрали auto (центр) */
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}
/* ===== MOBILE VERSION ===== */
@media (max-width: 768px) {

    /* HERO */
    .hero-text {
        text-align: center;
    }

        .hero-text h1 {
            font-size: 24px;
            line-height: 1.3;
        }

    .hero-small {
        font-size: 18px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-btn {
        width: 100%;
        margin-top: 15px;
    }

    .hero-img {
        margin-bottom: 20px;
    }

    /* WHY */
    .why-title {
        font-size: 22px;
    }

    .why-text {
        font-size: 14px;
        padding: 0 10px;
    }

    /* CARDS */
    .service-card {
        padding: 20px;
    }

    /* FAQ */
    .faq-grid {
        display: block;
    }

    .faq-item {
        margin-bottom: 20px;
    }

    /* CONTACT */
    iframe {
        height: 250px;
        margin-top: 20px;
    }
}

/* GLOBAL FIX */
img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}
.service-card i,
.contact i {
    font-size: 18px;
}

a i {
    color: #2563eb;
}

    a i:hover {
        color: #1e3a8a;
    }
.phone-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* ❗ головне */
}

.messengers {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .messengers a {
        font-size: 18px;
        display: flex;
        align-items: center;
    }
.contact-item {
    display: flex;
    align-items: center; /* ❗ головне — центр по вертикалі */
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
#contact iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
}
#contact .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#contact .row {
    align-items: stretch;
}
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
body {
    padding-top: 70px; /* щоб контент не заліз під меню */
}
.services-line {
    width: 100%;
    height: 4px;
    background: #facc15;
    margin-bottom: 15px;
    border-radius: 2px;
}

.services-title {
    font-size: 30px;
    font-weight: 700;
    color: #1e3a8a;
}
.services-line {
    width: 100%;
    height: 4px;
    background: #facc15;
    margin: 0 auto 20px;
    border-radius: 2px;
}
.services-title {
    margin-top: 40px; /* збільши якщо треба ще нижче */
}
.why-us {
    margin-bottom: 20px; /* зменшує відступ вниз */
}
#services {
    margin-top: 10px; /* було mt-5 → це велике */
}
html {
    scroll-behavior: smooth;
}