body {
   font-family: 'Noto Sans Bengali', sans-serif;
    margin: 0;
    padding: 0; 
    padding-top: 60px;
    padding-right: 0px; 
    background-color: #fff;
}

.navbar {
    background-color: #d32f2f;
    color: white;
    padding: 20px;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Make it fixed */
    top: 0; /* Position it at the top */
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it's on top of other content */
    height:30px;
}



.navbar .logo img {
    width: 120px; 
    padding-left: 0;
}



.menu-and-profile {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 60px;
    padding-left: 0; /* Reset padding */
    margin-left: -10px; /* Use margin for negative spacing */
}

.nav-linksm {
    display: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 9px;
    position: relative;
    padding: 3px;
    font-size: 1.5em; /* Adjust icon size as needed */
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.profile-dropdown {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    padding-right:15px;
}

.profile-dropdown .profile {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-dropdown .profile img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.profile-dropdown .profile i {
    color: white;
}

.profile-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 70px;
	width:150px;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
}

.profile-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    text-align: left;
    border: none;
    background-color: #d32f2f;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.dropdown-menu button:hover {
    background-color: #a10f0f;
}

.dropdown-menu .btn-secondary {
    background-color: #007bff;
}

.dropdown-menu .btn-secondary:hover {
    background-color: #0056b3;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer; 
	position:absolute;
}

.hamburger-menu span {
    height: 4px;
    width: 20px;
	
    background-color: white;
    margin: 4px 0px 4px -16px;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.mobile-menu {
    display: none;
}

.mobile-menu .dropdown-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #d32f2f;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 999;
}

.mobile-menu .dropdown-menu.open {
    display: flex;
}

.mobile-menu .dropdown-menu button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-menu .dropdown-menu button:hover {
    background-color: #a10f0f;
}

.mobile-menu .dropdown-menu button a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}


@media screen and (max-width: 768px) {
 
 .nav-linksm {
    display: flex;
    gap: 1px;
    padding-left: 0; /* Reset padding */
}


.nav-linksm a {
    color: white;
    text-decoration: none;
    margin: 0 9px;
    position: relative;
    padding: 2px;
    font-size: 1.5em; /* Adjust icon size as needed */
    transition: background-color 0.3s ease;
}

.nav-linksm a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

 .nav-links {
    display: none; 
}

 

    .nav-links {
        display: yes;
    }

    .navbar .hamburger-menu {
        display: flex;  
    }

    .navbar.open .nav-links {
        display: flex;
    }

    .navbar.open .hamburger-menu span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar.open .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    .navbar.open .hamburger-menu span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .profile-dropdown .profile-name {
        display: none;
    }

    .profile-dropdown .profile img {
        width: 40px; /* Smaller profile picture for mobile */
        height: 40px;
    }

    .nav-links a {
        font-size: 1.2em; /* Smaller icon size for mobile */
    }

    .profile-dropdown .profile i {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

 
 
 
  





.profile-details {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.profile-details h2 {
    margin-top: 0;
}
.profile-details p {
    margin: 10px 0;
}
.profile-details .btn-primary {
    margin-top: 10px;
}




.messages-container {
    display: flex;
}
.conversations {
    width: 30%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-right: 20px;
    overflow-y: auto;
    max-height: 80vh;
}
.conversations h2 {
    margin-top: 0;
}
.conversation {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}
.conversation img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.conversation-name {
    font-weight: bold;
    margin-right: 10px;
}
.conversation-snippet {
    color: #777;
}
.chat-window {
    width: 70%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.chat-window h2 {
    margin-top: 0;
}
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 60vh;
    margin-bottom: 20px;
}
.message {
    margin-bottom: 15px;
}
.message p {
    padding: 10px;
    border-radius: 5px;
}
.message.received p {
    background-color: #f1f1f1;
    margin-right: auto;
}
.message.sent p {
    background-color: #d32f2f;
    color: white;
    margin-left: auto;
}
.send-message {
    display: flex;
    align-items: center;
}
.send-message textarea {
    flex-grow: 1;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}





.notifications {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.notifications h2 {
    margin-top: 0;
}
.notification {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}
.notification:last-child {
    border: none;
}
.notification-date {
    color: #777;
    font-size: 0.9em;
    margin-top: 5px;
}





.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust as necessary for the height of the viewport */
}

.logout-message {
    background-color: #fff;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.logout-message h2 {
    margin-top: 0;
}
.logout-message p {
    margin: 20px 0;
}
.logout-message .btn-primary {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #d32f2f;
    border-radius: 5px;
}












.contact-us-form {
    background-color: #fff;
    padding: 40px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
}
.contact-us-form h2 {
    margin-top: 0;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    background-color: #d32f2f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Adjust as necessary for the height of the viewport */
}








.terms-and-conditions {
    background-color: #fff;
    padding: 40px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}
.terms-and-conditions h2 {
    margin-top: 0;
}
.terms-and-conditions ul {
    list-style-type: disc;
    margin-left: 20px;
}
.terms-and-conditions ul li {
    margin-bottom: 10px;
}









.privacy-policy {
    background-color: #fff;
    padding: 40px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}
.privacy-policy h2 {
    margin-top: 0;
}
.privacy-policy h3 {
    margin-top: 20px;
}
.privacy-policy p {
    margin-bottom: 15px;
}
.privacy-policy ul {
    list-style-type: disc;
    margin-left: 20px;
}






.btn-secondary {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #0056b3;
}




 /* Your existing CSS */
/* Ensure the chat popup styles are included */

.chat-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

.chat-popup.open {
    display: block;
}

.chat-popup-header {
    background-color: #f0f0f0;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.chat-popup-header .close-button {
    float: right;
    cursor: pointer;
}

.chat-popup-body {
    padding: 10px;
    height: 250px; /* Adjust height as needed */
    overflow-y: auto;
}

.chat-popup-footer {
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-popup-input {
    width: calc(100% - 20px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.chat-popup-button {
    padding: 8px 15px;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
} 