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: 80px;
    background-image: url('/images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

#sidebar {
    background: rgba(0, 0, 0, 0.85) !important;
    transition: transform 0.3s ease;
}
/* Mobile — hide sidebar off screen by default */
@media (max-width: 767px) {
    #sidebar {
        transform: translateX(-100%);
    }

        #sidebar.open {
            transform: translateX(0);
        }
}



/* Scrollable nav if too many items */
#sidebar ul.nav {
    overflow-y: auto;
    flex: 1;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.nav-card {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .nav-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

.nav-card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0 0 12px 12px;
}

/* try to add white card for coocies baner*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 16px;
    background: transparent;
}

.cookie-banner__content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    padding: 24px 32px;
    max-width: 900px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

    .cookie-banner__content p {
        margin: 0;
        flex: 1;
        font-size: 14px;
        color: #333;
        min-width: 200px;
    }

    .cookie-banner__content a {
        color: #0066cc;
        text-decoration: underline;
    }

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .cookie-banner__buttons button {
        padding: 10px 20px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

        /* Accept All - primary */
        .cookie-banner__buttons button:first-child {
            background: #0066cc;
            color: #ffffff;
        }

            .cookie-banner__buttons button:first-child:hover {
                background: #0052a3;
            }

        /* Necessary Only - secondary */
        .cookie-banner__buttons button:nth-child(2) {
            background: #f0f0f0;
            color: #333;
        }

            .cookie-banner__buttons button:nth-child(2):hover {
                background: #ddd;
            }

        /* Manage Preferences - outlined */
        .cookie-banner__buttons button:nth-child(3) {
            background: transparent;
            color: #0066cc;
            border: 1px solid #0066cc;
        }

            .cookie-banner__buttons button:nth-child(3):hover {
                background: #f0f6ff;
            }

/*Mobile adjustments */
@media (max-width: 600px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .cookie-banner__buttons {
        width: 100%;
    }

        .cookie-banner__buttons button {
            flex: 1;
            text-align: center;
        }
}