@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#main-container {
    padding-bottom: 120px; /* Adjust based on the height of your footer */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #00566F;
}

.btn-primary {
    color: #fff;
    background-color: #00566F;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/*#components-reconnect-modal {
    display: flex !important;
    opacity: 1 !important;
    background-color: rgb(255 255 255 / 80%) !important;
}

    #components-reconnect-modal::before {
        content: '';
        width: 300px;
        height: 65px;
        background: #fff3cd;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }

    #components-reconnect-modal h5 {
        margin-top: 50px !important;
        padding: .75rem 1.25rem;
        width: 300px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1050;
        color: #856404;
        background-color: #fff3cd;
        box-shadow: 0px 10px 10px 0px hsl(0deg 0% 0% / 20%);
    }

    #components-reconnect-modal div {
        border-color: rgb(133 100 4) rgb(212 188 118) rgb(230 218 178) !important;
        margin: auto;
        z-index: 1050;
    }

    #components-reconnect-modal h5 a {
        color: #092464 !important;
    }*/

.navbar {
    justify-content: center;
}

.navbar-nav {
    flex-direction: row;
}

    .navbar-nav .nav-item {
        margin-left: 15px;
        margin-right: 15px;
    }

.navbar-brand img {
    height: 60px; /* Adjust as needed */
}

/* Add this to your site.css */
.dark-color {
    color: #005670;
}

.light-color {
    background-color: #E1E37C;
}

.tab-content {
    margin-top: 20px;
}

.btn-custom {
    background-color: #005670;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-custom:hover {
        background-color: #003d4f;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-color: #005670;
    }



.tabbed-box {
    width: 600px;
    margin: 0 auto; /* Center the box horizontally */
}
.navbar-frame {
    border: 2px solid #005670; /* Dark color */
    border-radius: 15px;
    padding: 10px;
}
.navbar-menu {
    border: 2px solid #005670; /* Dark color */
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.divider {
    width: 100%;
    height: 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #E1E37C; /* Light color */
}
@keyframes fadeInOut {
    0%, 45% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInOutDelayed {
    0%, 50% {
        opacity: 0;
    }

    55%, 100% {
        opacity: 1;
    }
}

.fade-text {
    position: relative;
    height: 70px; /* Adjust height as needed */
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

    .fade-text h1 {
        position: absolute;
        width: 100%;
        animation: fadeInOut 5s linear infinite;
    }

        .fade-text h1:nth-child(2) {
            animation: fadeInOutDelayed 5s linear infinite;
        }
.solutions-section {
    background-color: #f0f0f0; /* Light grey background */
    padding: 20px 0; /* Top and bottom padding */
    width: 100vw; /* Ensure it spans the full width */
    margin-left: calc(-50vw + 50%); /* Center the div if needed */
    border-radius: 0; /* Optional: remove rounded corners for full-width sections */
}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #005670;
    color: white;
    text-align: center;
    padding: 20px 0;
    height: 60px; /* Adjust height as needed */
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

    .footer-link:hover {
        text-decoration: underline;
    }
p.text-center.mt-4 {
    margin-bottom: 50px; /* Adjust the value as needed */
}

.video-container {
    text-align: center; /* Center the video horizontally */
    padding: 20px 0; /* Add some vertical padding */
}

    .video-container video {
        width: 100%; /* Ensure it spans the modal width */
        height: auto; /* Maintain the aspect ratio */
    }


.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #007bff;
    }

.navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar-nav .dropdown-item {
    transition: background-color 0.3s ease;
}

    .navbar-nav .dropdown-item:hover {
        background-color: #f8f9fa;
    }

/* In your site.css or a dedicated CSS file */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* or your preferred background color */
    z-index: 9999; /* Ensure it's on top */
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top-color: #1d72b8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.ai-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 420px;
    height: 60vh;
    max-width: 90vw;
    max-height: 90vh;
    min-width: 320px;
    min-height: 240px;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-head {
    cursor: move;
    user-select: none
}

.ai-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column
}

.ai-log {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 10px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: var(--bs-body-bg);
}

.ai-input {
    flex: 0 0 auto
}

.ai-resize {
    position: absolute;
    width: 14px;
    height: 14px;
    right: 0;
    bottom: 0;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 0 49%, var(--bs-border-color) 50%, var(--bs-border-color) 60%, transparent 61% 100%);
    opacity: .7;
}

@@media (max-width:768px) {
    .ai-float {
        left: 8px;
        right: 8px;
        width: auto;
        height: 60vh;
    }
}