
.cursor {
    height: 25px;
    width: 25px;
    background-color: orange;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
}

.cursor-blur {
    height: 300px;
    width: 300px;
    background-color: orange;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
}

#nav {
    height: 100px;
    width: 100%;
    background-color: hsla(0, 0%, 0%, 0);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#4A4112", endColorstr="#FBE9D7", GradientType=1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: fixed;
    gap:50px;
    top: 0; /* Ensure it stays at the top */
    left: 0;
    z-index: 1000; /* Ensures it is above everything */
}

.navb {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 50px;
    padding-right: 0%;
}

.navbar img {
    height: 40px !important; /* Force smaller height */
    width: 40px !important; /* Force smaller width */
    padding: 5px !important;
    margin: 5px !important;
}

#nav img {
    height: 120px;
    width: 120px;
    border-radius: 10px;
    padding: 25px;
    margin: 10px;
}

#nav h4 {
    text-transform: uppercase;
    font-weight: 500;
}

.navbar a {
    position: relative;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
    transition: all 0.9s;
    margin-right: 50px;
}

.navbar a:hover {
    color: #f6f0f099;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.9s;
}

.navbar a:hover::before {
    width: 100%;
    background-color: #cdc7c7b1;
}

.chatboticon{
    cursor: pointer;
}



@media (max-width: 480px) {
    .chatbox {
        width: 90%;
        right: 5%;
        bottom: 20px;
    }

    .prompt {
        font-size: 12px;
    }

    .arrow {
        width: 35px;
        height: 35px;
    }

    .arrow img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    #nav {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        height: auto;
    }

    .navb {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .navbar a {
        margin: 10px 0;
    }

    #nav img {
        height: 100px;
        width: 100px;
    }
}
.chatbox {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.chatbox.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-container{
    width:100%;
    height:70%;
    overflow:auto;
    min-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.h1{
    font-size: 3vw;
    text-align: center;
    color: #fff;
}
.input-area{
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
    gap: 10px;
}

.arrow {
    width: 45px;
    height: 45px;
    margin: 0px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* White arrow */
.arrow img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Prevent blue glow on hover and add subtle effect */
.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}


.prompt {
    flex: 1;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.user-chat-box {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    align-self: flex-end;
    padding: 10px 15px;
    margin: 8px;
    max-width: 70%;
    border-radius: 20px 20px 0 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
.ai-chat-box {
    background-color: rgba(255, 255, 255, 0.85);
    color: black;
    align-self: flex-start;
    padding: 10px 15px;
    margin: 8px;
    max-width: 70%;
    border-radius: 20px 20px 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-right: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
