.navbar-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
    height: 100px;
    background-color: #31264B;
}
.nav-links .nav-item {
white-space: nowrap; /* Prevent text wrapping */
}


.navbar-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 1174px;
    max-width: 1174px;
    padding: 0 15px;
}

/* Navbar Links */
.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}
.nav-link{
    color: rgba(255, 255, 255, 0.55);
}
#navbarNav{
    max-width: 100%;
}

.nav-item {
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}


.nav-btn {
    background-color: #69CCA2;
    color: #31264B;
    border-radius: 30px;
    padding: 7px 18px;
    font-size: 14px;
    box-shadow: 2px 3px 1px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}
.nav-btn:hover{
    background-color: green;
}

.nav-item.active {
    border-bottom: 2px solid #69CCA2;
    color: white !important;

}
.nav-item .nav-link.active {
    border-bottom: 2px solid #69CCA2;
}
/* Left-align navbar text in mobile view */
@media (max-width: 768px) {
    .navbar-collapse {
        text-align: left; /* Aligns all text to the left */
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start; /* Align links to the left */
        gap: 0; /* Remove extra spacing */
        padding-left: 15px; /* Add left padding */
    }

    .nav-item {
        width: 100%; /* Full width for better alignment */
    }

    .nav-link {
        text-align: left; /* Ensures text aligns left */
        padding: 10px 15px; /* Add padding for spacing */
    }

    /* Adjust buttons (Switch Now, Login) */
    .nav-btn {
        text-align: left; /* Align button text to the left */
        width: 100%; /* Full width for consistency */
        margin-left: 0; /* Remove any margin on smaller screens */
    }
}


/* Footer */
.footer {
    background-color: #31264B;
    color: #FFFFFF;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer a:hover {
    color: #69CCA2;
    transition: color 0.3s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px;
    align-items: center;
    border-top: 1px solid #4A3A6B;
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.footer-content p {
    margin: 0;
    color: #B0AEB8;
}

.social-icons a {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #69CCA2;
}

/* Floating Chat Button */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #31264B;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.chat-button:hover {
    background-color: #554a6e;
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    
    flex-direction: column;
    z-index: 1000;
}

.chat-box-header {
    background-color: #31264B;
    color: #FFFFFF;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-box-body {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #31264B;
}

.chat-box-footer {
    padding: 10px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
}

.chat-input {
    flex-grow: 1;
    border: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    outline: none;
}

.send-button {
    margin-left: 10px;
    background-color: #31264B;
    color: #FFFFFF;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.send-button:hover {
    background-color: #2a2041;
}

.social-icons {
    padding-right: 15px;
  }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stacks content vertically */
        text-align: center;
    }

    .footer ul {
        margin-bottom: 20px;
    }

    .footer a {
        margin-bottom: 5px; /* Add spacing for touch-friendly links */
    }
}