html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.mainLayout{
    border-radius:0px;
    filter:drop-shadow(0px 0px 0px rgba(0,0,0,0.2));
    margin:10px;
}
.main_Layout {
    border-radius:11px;
    filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.3));
    margin: 10px;
}
.shadows {
    position: relative;
    text-transform: uppercase;
    text-shadow: -15px 5px 20px #fefefc;
    color: white;
    letter-spacing: -0.01em;
    font-family: 'Anton', Arial, sans-serif, Tahoma;
    user-select: none;
    text-transform: uppercase;
    font-size: 50px;
    transition: all 0.25s ease-out;
}

    .shadows:hover {
        text-shadow: -16px 6px 15px #474749;
    }
.shadowsH {
    position: relative;
    /*text-transform: uppercase;*/
    text-shadow: -15px 5px 20px #6b6767;
    color: white;
    letter-spacing: -0.01em;
    font-family: 'Anton', Arial, sans-serif, Tahoma;
    user-select: none;
   /* //text-transform: uppercase;*/
    font-size: 50px;
    transition: all 0.25s ease-out;
}

    .shadowsH:hover {
        text-shadow: -16px 6px 15px #424242;
    }
.dynamic-text-shadow {
    /*  larger font size, more shadow distance  */
    text-shadow: .1em .1em 0 hsl(200 50% 30%);
}
.logo-1 {
    color: white;
    animation: neon 3s infinite;
}

@keyframes neon {
    0% {
        text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light), 0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light), 0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
    }

    50% {
        text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light), 0 0 5px var(--shadow-color-light), 0 0 15px var(--shadow-color-light), 0 0 25px var(--shadow-color-light), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 60px var(--shadow-color), 0 0 80px var(--shadow-color), 0 0 110px var(--shadow-color), 0 0 210px var(--shadow-color);
    }

    100% {
        text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light), 0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light), 0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
    }
}

.blue-color {
    color: blue;
}

.green-color {
    color: green;
}

.teal-color {
    color: teal;
}

.yellow-color {
    color: yellow;
}

.red-color {
    color: red;
}
.relink, header {
    /*background-image: url('../../../images/BK.PNG');
    background-repeat: no-repeat;
    background-size: cover;
    float: none;*/
    background-color:#eceff5;
}
/*//Additional login page*/
/* Page background */
body {
    background: linear-gradient(to right, #fcfdfe, #f9fafb);
    color: #111827;
}

/* Main container */
.login-container {
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
}

/* Image wrapper */
.image-wrapper {
    margin-bottom: -60px;
    z-index: 2;
    position: relative;
}

/* Stylish Image */
.login-image {
    width: 400px; /* adjust smaller/larger */
    height: auto; /* keeps proportions */
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

    /* Hover Zoom Effect */
    .login-image:hover {
        transform: scale(2.5);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }

/* Login card */
.login-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Modern input fields */
.modern-input {
    height: 45px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding-left: 15px;
}

    .modern-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,.15);
    }

/* Button */
.modern-btn {
    height: 45px;
    border-radius: 10px;
    font-weight: 500;
}

/*//_layout*/
/* ===== Header ===== */
.relink-logo {
    height:auto; /* increase this to make bigger */
    width: 100%;
}
.main-header {
    background: linear-gradient(to right, #0b1f3a, #1e3a8a); /*linear-gradient(to right, #0b1f3a, #1e3a8a);*/
    color: white;
}

/* Logo */

.relink-logo {
    height: 100px;
    width: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
/*.relink-logo {
    height: 6vh;*/ /* scales with screen height */
    /*max-height: 80px;
    min-height: 40px;
    width: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}*/
/* Tablet */
@media (max-width: 992px) {
    .relink-logo {
        height: 70px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .relink-logo {
        height: 50px;
    }
}

/* Title */
.relink-title {
    font-weight: 800;
    font-size: 80px;
    color: #fcfdfe;
    letter-spacing: 1px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
    .relink-title:hover {
        transform: scale(1.08);
    }
.relink-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 100;
    color: #e1e6ef;
    font-style:italic;
}

/* ===== Buttons ===== */

.btn-register {
    /*background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);*/
    background: white;
    border: 2px solid #2563eb;
    color: #010c23; /*#2563eb;*/
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-register:hover {
        /*transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
        color: white;*/
        background: #0943c2; /*#2563eb;*/
        color: white;
        transform: translateY(-2px);
    }

.btn-signin {
    background: white;
    border: 2px solid #2563eb;
    color: #010c23; /*#2563eb;*/
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-signin:hover {
        background: #0943c2; /*#2563eb;*/
        color: white;
        transform: translateY(-2px);
    }

/* ===== Footer ===== */

.footer-modern {
    background: linear-gradient(to right, #0b1f3a, #1e3a8a);
    color: white;
}

.footer-logo {
    width: 150px;
}

.footer-title {
    font-weight: 700;
    font-size: 16px;
}

.footer-subtitle {
    font-size: 14px;
    opacity: 0.9;
   
}

.footer-text {
    font-size: 12px;
    opacity: 0.8;
    max-width: 700px;
    margin: auto;
}
/* Sidebar styling */
/*.sidebar {
    min-height: calc(100vh - 120px);*/ /* adjust if header height changes */
    /*border-right: 1px solid #ddd;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}*/

    /* Force vertical menu links */
    /*.sidebar a {
        display: block;
        white-space: nowrap;*/ /* keep text on one line */
        /*overflow: hidden;
        text-overflow: ellipsis;*/ /* truncate with ... */
        /*color: #191919 !important;
        font-size: medium;
    }

        .sidebar a:hover {
            background-color: #e9e8e8;
            text-decoration: none;
            color: #0f76f1 !important;
            font-size:larger;
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight:700;
        }*/
.dropdown {
    position: relative;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
}
    .dropdown > a:hover {
        color: #1c5fed !important;
        font-weight: bold;
        font-size: 1.20em;
    }
/*.dropdown-item {
    font-size: medium;
    font-weight: 500;
    color: #0c3367 !important;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}*/
/*.dropdown-item :hover {
    font-weight: bolder;*/ /* bold */
    /*font-size: 2.12em;*/ /* optional: slightly larger text */
    /*color: #5d8aef;
    background-color: #e9e8e8;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}*/
.dropdown:hover .dropdown-menu {
    position: absolute;
    display: inline-block;
    z-index: 1;
    text-align: right;
    font-weight: bolder;
    color:#4c77ef;
    
}
/* Username + Sign Out under logo, one line */
.user-info {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

    /* Prevent wrapping */
    .user-info .text-nowrap {
        white-space: nowrap;
    }

/* Sign Out link styling */
.signout-link {
    color: #FFFFFF;
    font-weight: 600;
    /*text-decoration: none;*/
    transition: 0.5s ease;
    font-style: italic;
}

    .signout-link:hover {
        color: #ffbb00;
        text-decoration: underline;
    }
/*.sg {
    font-size: 15px;
    font-weight: 600;
    margin-left: 4%;
    font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
    transition: all 0.2s ease-in-out;
}

    .sg:hover {
        font-size: 18px;*/ /* Larger font */
        /*color: #dc3545 !important;*/ /* Bootstrap text-danger */
        /*font-weight: bolder !important;
        text-decoration: underline;
    }*/
/* Make the container relative */
.voice-wrapper {
    position: relative;
    width: 100%;
}

/* Position mic inside textarea at bottom-right */
.voice-mic {
    position: absolute;
    right: 15px; /* distance from right edge */
    bottom: 10px; /* distance from bottom edge */
    font-size: 18px;
    color: #3BB3FF;
    cursor: pointer;
    z-index: 2;
}
.voice-mike {
    position: absolute;
    right: 15px;
    top: 38%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #3BB3FF;
    font-size: 18px;
    z-index: 2;
}
.voice-mike2 {
    position: absolute;
    right: 15px;
    top: 14%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #3BB3FF;
    font-size: 18px;
    z-index: 2;
}

    /* Mic pulse animation when listening */
    .voice-mic.listening {
        color: red;
        animation: pulse 1s infinite;
    }

/* Optional: slightly reduce textarea padding to make room for mic */

.voice-textarea {
    padding-bottom: 40px; /* ensures text doesn't overlap mic */
}
.voice-textbox {
    padding-right: 40px; /* space for mic icon */
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

    .voice-mic:hover {
        color: #007bff;
    }
.voice-panel {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f5f7fa;
    width: fit-content;
    margin-bottom: 20px;
}

.voice-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

#globalMicIcon {
    color: #3BB3FF;
    font-size: 16px;
}

    #globalMicIcon.listening {
        color: red;
        animation: pulse 1s infinite;
    }

#voiceCanvas {
    height: 30px;
    width: 150px;
}
.chat-btn {
    background-color:white ;//#0078d4;
    color: darkblue;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
}

    .chat-btn:hover {
        /*background-color: #005fa3;*/
        font-size:larger;
        color:darkblue;
    }
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
}

.chat-message {
    display: flex;
    margin: 10px 0;
}

    .chat-message.user {
        justify-content: flex-end;
    }

    .chat-message.ai {
        justify-content: flex-start;
    }

.bubble {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 70%;
    word-wrap: break-word;
    font-size: 14px;
}

.user .bubble {
    background-color: #007bff;
    color: white;
    border-bottom-right-radius: 0;
}

.ai .bubble {
    background-color: #f1f1f1;
    color: black;
    border-bottom-left-radius: 0;
}
.avatar {
    font-size: 20px;
    margin: 0 8px;
    display: flex;
    align-items: center;
}
@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1)
    }
}
/* Optional: Add some shadow and rounded corners to the form */
.form-control {
    border-radius: 6px;
}

.input-group-text {
    background-color: #f3f3f3;
    border-radius: 6px 0 0 6px;
}
/* Image container */


/* Hover effect: enlarge and move to top of page */
/* Container for image */
.image-container {
    position: relative;
    background: linear-gradient(to right, #2277e9, #1e3a8a);
}

/* Base image */
.hover-banner {
    max-width: 90%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease, top 0.3s ease, left 0.3s ease, width 0.3s ease;
    cursor: pointer;
}

/* On hover: grow by 20% and move slightly up */
.image-container:hover .hover-banner {
    position: fixed; /* remove from stacking context */
    /*top: 100px;*/ /* distance from top of viewport */
    left: 33%; /* center horizontally */
    transform: translateX(-50%) scale(1.6); /* grow 80% and center */
    z-index: 9999; /* above all other elements */
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    max-width: 50%;
}
/* Toggle password icon color */
#togglePassword .fa {
    color: #555;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .col-md-6.d-none.d-md-flex {
        display: none !important;
    }
}