/* Global Styling */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Header */
  header {
    background-color: #292b4d;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #a093f0;
  }
  
  .login-btn {
    background-color: #605dec;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .login-btn:hover {
    background-color: #433ec4;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    background: linear-gradient(45deg, #605dec, #a093f0);
    padding: 100px 0;
    color: white;
  }
  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
  }
  
  .cta-btn {
    display: inline-block;
    background-color: #433ec4;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
  }
  
  .cta-btn:hover {
    background-color: #292b4d;
  }
  
  /* Section Styling */
  section {
    padding: 60px 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 32px;
    color: #605dec;
    margin-bottom: 20px;
  }
  
  .section-content {
    text-align: center;
    max-width: 800px;
    margin: auto;
  }
  
  /* Services Grid */
  .services {
    background-color: #f1f1f1;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .service-card h3 {
    color: #433ec4;
    margin-bottom: 10px;
  }
  
  .service-card p {
    font-size: 14px;
    color: #666;
  }
  
  /* Contact Section */
  .contact {
    background-color: #605dec;
    color: #ffffff;
  }
  
  .contact p {
    text-align: center;
  }
  
  /* Footer */
  footer {
    background-color: #292b4d;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
  }
  
  footer a {
    color: #a093f0;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
 

/* About Section */
.about {
  padding: 80px 0;
  background-color: #f9f9f9; /* Matches the global background */
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about .section-title {
  font-size: 36px;
  color: #605dec;
  margin-bottom: 40px;
  font-weight: bold;
}

.about-content .text {
  max-width: 800px;
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 20px;
}

.about-content .trusted-text {
  font-size: 22px;
  font-weight: bold;
  color: #605dec;
  display: inline-block;
  position: relative;
  margin-top: 20px;
}

/* Logo Placeholder */
.about-content .logo-placeholder {
  width: 300px;  /* Increased width for better alignment */
  height: 100px;
  background-color: #e6e6fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 2px dashed #605dec;
  margin-top: 20px;
  opacity: 0; /* Initially hidden */
  position: relative;
  top: 50px;
  flex-wrap: nowrap; /* Prevent letters from wrapping */
  gap: 5px; /* Reduced gap between letters */
}

.about-content .logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
}

/* Floating Letters Styling */
.floating-letter {
  position: absolute;
  font-size: 100px;
  color: #605dec;
  opacity: 0;
  animation: float 3s forwards;
  transition: all 0.1s ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(-200px) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(100px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
    opacity: 1;
  }
}

.floating-letter-final {
  position: static;
  opacity: 1;
  transform: translateY(0);
}

/* Login Section */
.login {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.login .container {
  width: 90%;
  max-width: 500px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #605dec;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Login Form Styling */
.login-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-size: 16px;
  color: #333;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 5px;
}

input[type="text"]:focus, input[type="password"]:focus {
  border-color: #605dec;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #605dec;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #433ec4;
}

.forgot-password {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.forgot-password a {
  color: #605dec;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.signup-link {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

.signup-link a {
  color: #605dec;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}


/* Register Section */
.register {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.register .container {
  width: 90%;
  max-width: 500px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #605dec;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Register Form Styling */
.register-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-size: 16px;
  color: #333;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 5px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
  border-color: #605dec;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #605dec;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #433ec4;
}

.login-link {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

.login-link a {
  color: #605dec;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}


/* Members Section */
.members {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.add-member-btn {
  background-color: #605dec;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.add-member-btn:hover {
  background-color: #433ec4;
}

.members-table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
}

.members-table th, .members-table td {
  padding: 10px 15px;
  border: 1px solid #ccc;
  text-align: center;
}

.members-table th {
  background-color: #605dec;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

form .form-group {
  margin-bottom: 15px;
  text-align: left;
}

form label {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}

form input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form .submit-btn {
  background-color: #605dec;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

form .submit-btn:hover {
  background-color: #433ec4;
}
/*dms*/

/* Container */
.dms-container {
  display: flex;
  flex-direction: column;
  height: 80vh;
  max-width: 1000px;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

/* Header */
.dms-header {
  position: sticky;
  top: 0;
  background-color: #605dec;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 18px;
  z-index: 1000;
}

/* Body */
.dms-body {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

/* Members List */
.members-list {
  flex: 0 0 30%;
  background-color: #f1f1f1;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.search-box {
  margin-bottom: 10px;
}

.search-box input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#member-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex-grow: 1;
}

.member-item {
  padding: 10px;
  margin: 5px 0;
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.member-item:hover {
  background-color: #e0e0e0;
}

/* Chat Area */
.chat-area {
  flex: 0 0 70%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: #f9f9f9;
  position: relative;
}

#chat-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
}

.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  max-width: 70%;
  word-wrap: break-word;
}

.message.sent {
  background-color: #605dec;
  color: #fff;
  align-self: flex-end;
}

.message.received {
  background-color: #ddd;
  color: #333;
  align-self: flex-start;
}

.message-input {
  display: flex;
  padding: 50px;
  border-top: 1px solid #ddd;
}

.message-input input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 5px; 
}

.message-input button {
  background-color: #605dec;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.message-input button:hover {
  background-color: #433ec4;
}
.active-member {
  background-color: #605dec;
  color: #fff;
  font-weight: bold;
}
.add-member-btn {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #605dec;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-member-btn:hover {
  background-color: #433ec4;
}

/*activity*/
.activity-feed {
  background-color: #fff;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.activity-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.activity-time {
  font-size: 14px;
  color: #888;
}

.activity-item p {
  font-size: 16px;
}

/* Upcoming Tasks */
.upcoming-tasks {
  margin-top: 50px;
}

.task-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.task-title {
  font-size: 18px;
  font-weight: bold;
  color: #433ec4;
}

.progress-bar {
  background-color: #f1f1f1;
  height: 8px;
  border-radius: 5px;
  margin: 10px 0;
}

.progress {
  background-color: #605dec;
  height: 100%;
  border-radius: 5px;
}

.due-date {
  font-size: 14px;
  color: #888;
}

/* Real-Time Activity */
.real-time-activity {
  margin-top: 50px;
}

.real-time-feed {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.real-time-item {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Personal Progress */
.personal-progress {
  margin-top: 50px;
}

.progress-bar {
  background-color: #f1f1f1;
  height: 8px;
  border-radius: 5px;
  margin: 10px 0;
}

.progress {
  background-color: #433ec4;
  height: 100%;
  border-radius: 5px;
}

.progress-text {
  font-size: 16px;
  color: #433ec4;
}

/* Footer */
footer {
  background-color: #292b4d;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.bookmarks {
  padding: 50px 0;
}

.bookmark-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-size: 36px;
  color: #605dec;
}

.add-bookmark-btn {
  background-color: #605dec;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.search-bookmarks {
  margin-top: 20px;
}

.search-bookmarks input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Bookmark List */
.bookmark-list {
  margin-top: 30px;
}

.bookmark-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bookmark-info {
  max-width: 70%;
}

.bookmark-title {
  font-size: 20px;
  color: #433ec4;
}

.bookmark-description {
  font-size: 14px;
  color: #888;
}

.bookmark-link {
  color: #605dec;
  text-decoration: none;
  font-size: 14px;
}

.bookmark-actions button {
  background-color: #fff;
  color: #605dec;
  border: 1px solid #605dec;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}

.bookmark-actions button:hover {
  background-color: #605dec;
  color: #fff;
}

/* Modal for Adding Bookmark */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  width: 400px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 25px;
  cursor: pointer;
}

/*meet*/
.container {
  width: 80%;
  margin: 0 auto;
}

.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.video {
  width: 45%;
  margin: 10px;
  background-color: black;
}

#remote-videos {
  display: flex;
  flex-wrap: wrap;
}

.controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

button:active {
  background-color: #3e8e41;
}

.start-meeting-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.start-meeting-btn:hover {
  background-color: #0056b3;
}
.meeting iframe {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/*profilei icon*/
/* General Reset */

/* Profile container styling */
.profile-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Circular profile icon */
.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ccc; /* Add border for aesthetic */
  background-color: #eee; /* Fallback color */
}

/* Profile image styling */
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dropdown menu */
.profile-dropdown {
  display: none;
  position: absolute;
  top: 50px; /* Position dropdown below the profile icon */
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  z-index: 1;
}

.profile-container:hover .profile-dropdown {
  display: block;
}

/* Username styling */
.username {
  padding: 10px;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #333;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}

/* Dropdown list styling */
.profile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-dropdown ul li {
  padding: 8px 12px;
}

.profile-dropdown ul li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.profile-dropdown ul li a:hover {
  background-color: #f1f1f1;
}

/* Optional: Adding some styling for the links when hovered */
.profile-dropdown ul li a:focus,
.profile-dropdown ul li a:active {
  background-color: #e1e1e1;
}

/* Profile icon and dropdown styles */
.profile {
  position: relative;
}

.profile-icon {
  width: 40px;
  height: 40px;
  background-color: #4CAF50;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 200px;
  z-index: 10;
}

.profile-dropdown.show {
  display: block;
}

.profile-info {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.profile-info p {
  margin: 5px 0;
}

#logoutBtn {
  width: 100%;
  padding: 10px;
  background-color: #f44336;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center;
}

#logoutBtn:hover {
  background-color: #d32f2f;
}

/* Game Icon Button */
#game-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f39c12;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
#game-icon:hover {
  background-color: #d35400;
}

/* Game Popup */
#game-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  z-index: 1000;
}
#game-popup h2 {
  margin-top: 0;
}
#game-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Background Overlay */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Button Styles */
.btn {
  padding: 10px 15px;
  margin: 5px 0;
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #218838;
}

/* Style for the slider container */
.slider-container {
  position: relative;
  width: 100px;
  height: 30px;
  background-color: #ddd;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Style for the slider button */
.slider-button {
  position: absolute;
  top: 3px;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  transition: left 0.3s;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

/* When the slider is active */
.slider-container.active {
  background-color: #c32d2d; /* Green color when 'Busy' */
}

/* When the slider is inactive */
.slider-container.inactive {
  background-color: #47b34e; /* Blue color when 'Learning' */
}
#sliderContainer {
  display: block;  /* Ensure it's visible */
}

.status {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status.learning {
  background-color: green;
}

.status.busy {
  background-color: red;
}

.status.offline {
  background-color: grey;
}


    .status {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .status.learning {
      background-color: green;
    }

    .status.busy {
      background-color: red;
    }

    .status.offline {
      background-color: grey;
    }

    /* Add any other necessary styling */
  
