/* Root Variables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --background-light: #ffffff;
  --background-dark: #111827;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --transition-speed: 0.3s;
  --light-bg: #f9f9f9;
  --dark-bg: #121212;
  --card-bg: #2d3748;
  --border-color: #4a5568;
  --text-dark: #ffffff;
  --text-light: #9ca3af;
  --text-muted: #6b7280;
  --dark-text: #1f2937;
  --dark-text-light: #4b5563;
  --dark-text-muted: #9ca3af;
  --dark-card-bg: #374151;
  --dark-border: #4a5568;
  --primary-dark: #1d4ed8;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide scrollbar for all elements */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/* Hide scrollbar thumb */
::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Hide scrollbar track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox */
* {
  scrollbar-width: none;
}

/* IE & Edge */
* {
  -ms-overflow-style: none;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
  transition: background-color var(--transition-speed);
  overflow-x: hidden;
}



:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --background-light: #ffffff;
  --background-dark: #111827;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --transition-speed: 0.3s;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  height: 45px;
  width: auto;
  border-radius: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #6366f1;
}

.nav-links a:hover::after {
  width: 80%;
}

/* Existing styles */

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  margin: 0 10px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  padding: 10px;
  display: block;
}

.nav-dropdown .dropdown-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
}

.nav-dropdown .dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown .dropdown-container ul li {
  padding: 10px;
}

.nav-dropdown .dropdown-container ul li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.nav-dropdown .dropdown-container ul li a:hover {
  background-color: #f5f5f5;
}

.nav-dropdown:hover .dropdown-container {
  display: block;
}

/* Courses Dropdown Styles */
.nav-links .nav-dropdown {
  position: relative;
}

.nav-links .nav-dropdown .dropdown-container {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-links .nav-dropdown:hover .dropdown-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-container ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.nav-links .dropdown-container ul li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.nav-links .dropdown-container ul li a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  font-size: 1rem;
}

/* Dark mode support */
.dark-mode .nav-links .dropdown-container {
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-links .dropdown-container ul li a {
  color: #e5e7eb;
}

.dark-mode .nav-links .dropdown-container ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #818cf8;
}

.search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #f9fafb;
}

.search-bar::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-input:focus {
  outline: none;
  border-color: #6366f1;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dark-mode-toggle {
  background: none;
  border: none;
  color: #4b5563;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
}

.profile-icon {
  font-size: 1.5rem;
  color: #4b5563;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.profile-icon:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}

.profile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 280px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.profile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), transparent);
}

.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #6366f1, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.profile-info h4 {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.profile-info span {
  color: #6366f1;
  font-size: 0.875rem;
}

.profile-sections {
  padding: 0.75rem;
}

.profile-section {
  margin-bottom: 0.5rem;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-link:hover {
  color: #6366f1;
  transform: translateX(4px);
}

.profile-link:hover::before {
  opacity: 1;
}

.profile-link i {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #6366f1;
  transition: transform 0.3s ease;
}

.profile-link:hover i {
  transform: scale(1.1);
}

.profile-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), transparent);
  margin: 0.75rem 0;
}

/* Sign Out Button Special Styling */
.profile-link.sign-out {
  color: #ef4444;
  margin-top: 0.5rem;
}

.profile-link.sign-out i {
  color: #ef4444;
}

.profile-link.sign-out:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Hero Section */
.hero {
  margin-top: 80px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../image/bb3.avif');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: -1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #e0f2fe);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  transition: opacity var(--transition-speed);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-primary,
.cta-secondary {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition-speed);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.cta-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.cta-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.cta-secondary:hover {
  background-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* Dark Mode Styles */
.dark-mode {
  background-color: var(--background-dark);
  color: var(--background-light);
}

.dark-mode .header {
  background-color: rgba(17, 24, 39, 0.95);
}

.dark-mode .nav-links a {
  color: var(--background-light);
}

.dark-mode .nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .profile-icon {
  color: var(--background-light);
}

.main {
  display: none;
}

/* Dropdown container styles */
.nav-dropdown .dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown .dropdown-container ul li {
  padding: 10px;
}

.nav-dropdown .dropdown-container ul li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Space between icon and text */
}

.nav-dropdown .dropdown-container ul li a i {
  font-size: 16px;
  /* Icon size */
}

.nav-dropdown .dropdown-container ul li a:hover {
  background-color: #f5f5f5;
}

/* Existing styles */

/* Dropdown in menu-sections */
.menu-dropdown-item {
  position: relative;
}

.menu-dropdown-item .menu-dropdown-container {
  display: none;
  position: static;
  background-color: #f9f9f9;
  border-left: 3px solid #007bff;
  margin-top: 5px;
  padding-left: 20px;
}

.menu-dropdown-item .menu-dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-dropdown-item .menu-dropdown-container ul li {
  padding: 8px 0;
}

.menu-dropdown-item .menu-dropdown-container ul li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-dropdown-item .menu-dropdown-container ul li a:hover {
  color: #007bff;
}

.menu-dropdown-item .dropdown-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.menu-dropdown-item.active .dropdown-icon {
  transform: rotate(180deg);
}

.menu-dropdown-item.active .menu-dropdown-container {
  display: block;
}

/* Course Dropdown Styles */
.menu-dropdown-item .menu-dropdown-container {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 250px;
}

.menu-dropdown-item .menu-dropdown-container ul li {
  padding: 0;
}

.menu-dropdown-item .menu-dropdown-container ul li a {
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.menu-dropdown-item .menu-dropdown-container ul li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  transform: translateX(5px);
}

.menu-dropdown-item .menu-dropdown-container ul li a i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
}

/* Dark mode support */
.dark-mode .menu-dropdown-item .menu-dropdown-container {
  background: #2d3748;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .menu-dropdown-item .menu-dropdown-container ul li a {
  color: #e2e8f0;
}

.dark-mode .menu-dropdown-item .menu-dropdown-container ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 830px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .main {
    display: block;
  }

  .search-bar {
    order: 2;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* Quick Access Section Styles */
.quick-access {
  padding: 4rem 2rem;
  margin-top: -2rem;
  /* Adjusted to account for removed announcements section */
  background: var(--background-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #6366f1);
  border-radius: 2px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quick-access-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.quick-access-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.3);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(99, 102, 241, 0.05));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.quick-access-card:hover .card-bg {
  opacity: 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.3);
  transition: transform 0.3s ease;
}

.quick-access-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon i {
  font-size: 1.75rem;
  color: white;
}

.card-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.card-text p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #2563eb;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.action-btn i {
  transition: transform 0.3s ease;
}

.action-btn:hover {
  background: #1d4ed8;
  transform: translateX(4px);
}

.action-btn:hover i {
  transform: translateX(4px);
}

/* Dark Mode Support */
body.dark-mode .quick-access {
  background: #1f2937;
}

body.dark-mode .quick-access-card {
  background: #2d3748;
}

body.dark-mode .card-text h3 {
  color: #f3f4f6;
}

body.dark-mode .card-text p {
  color: #9ca3af;
}

body.dark-mode .card-bg {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.1));
}

body.dark-mode .quick-access-card:hover .card-bg {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(99, 102, 241, 0.15));
}

/* Coming Soon Tag Styles */
.coming-soon-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  z-index: 10;
  overflow: hidden;
  animation: tagFloat 3s ease-in-out infinite;
}

.tag-text {
  position: relative;
  z-index: 2;
}

.tag-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  opacity: 0.6;
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes tagPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
}

/* Dark mode styles for coming soon tag */
body.dark-mode .coming-soon-tag {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

body.dark-mode .tag-pulse {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

/* Personalized Courses Section */
.personalized-courses {
  padding: 4rem 0;
  background: var(--background-light);
  transition: background-color 0.3s ease;
}

.courses-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.courses-container h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
}

.courses-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.courses-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0;
  cursor: grab;
}

.courses-track:active {
  cursor: grabbing;
}

.course-card {
  min-width: 300px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.course-image {
  position: relative;
  height: 160px;
  background: #f3f4f6;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-tag.trending {
  background: #ef4444;
  color: white;
}

.course-tag.new {
  background: #6366f1;
  color: white;
}

.course-tag.featured {
  background: #8b5cf6;
  color: white;
}

.course-tag.high-demand {
  background: #10b981;
  color: white;
}

.course-content {
  padding: 1.25rem;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.course-tags span {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: #f3f4f6;
  border-radius: 12px;
  color: #4b5563;
}

.course-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.instructor-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor span {
  font-size: 0.875rem;
  color: #4b5563;
}

.course-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.course-stats i {
  color: #f59e0b;
}

.progress-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.progress {
  height: 100%;
  background: #6366f1;
  border-radius: 2px;
}

.completion-text {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.course-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-btn.primary {
  background: #6366f1;
  color: white;
}

.course-btn.primary:hover {
  background: #4f46e5;
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover:not([style*="cursor: not-allowed"]) {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active:not([style*="cursor: not-allowed"]) {
  transform: translateY(-50%) scale(0.95);
}

.scroll-btn.prev {
  left: -20px;
}

.scroll-btn.next {
  right: -20px;
}

@media (max-width: 768px) {
  .courses-container {
    padding: 0 1rem;
  }

  .scroll-btn {
    display: none;
  }

  .courses-track {
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
  }

  .course-card {
    scroll-snap-align: start;
  }
}

/* Dark Mode Updates */
.dark-mode .personalized-courses {
  background: var(--background-dark);
}

.dark-mode .course-card {
  background: #2d3748;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .course-content h3 {
  color: #f3f4f6;
}

.dark-mode .course-tags span {
  background: #374151;
  color: #9ca3af;
}

.dark-mode .instructor span,
.dark-mode .course-stats {
  color: #9ca3af;
}

.dark-mode .scroll-btn {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}

.dark-mode .scroll-btn:hover:not([style*="cursor: not-allowed"]) {
  background: #4a5568;
  color: #f3f4f6;
  border-color: #6b7280;
}

.dark-mode .courses-container h2 {
  color: #f3f4f6;
}

/* Career Paths Section */
.career-paths {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.career-paths .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.career-paths-content {
  text-align: center;
}

.career-paths-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #2563eb, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.career-paths-content .subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.path-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.path-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.path-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  background: #f3f4f6;
  color: #6366f1;
}

.path-card.software .path-icon {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.path-card.data .path-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.path-card.finance .path-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.path-card.engineering .path-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.path-card.design .path-icon {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.path-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.path-specializations {
  list-style: none;
  margin-bottom: 1.5rem;
}

.path-specializations li {
  color: #4b5563;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e5e7eb;
}

.path-specializations li:last-child {
  border-bottom: none;
}

.path-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
}

.path-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-container {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(4px);
}

.cta-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
  .career-paths {
    padding: 4rem 0;
  }

  .career-paths-content h2 {
    font-size: 2rem;
  }

  .paths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .path-card {
    padding: 1.5rem;
  }
}

/* Updated Career Preview Styles */
.career-preview {
  position: relative;
  padding: 4rem 2rem;
  background-color: var(--background-light);
  transition: background-color 0.3s ease;
}

body.dark-mode .career-preview {
  background-color: #1f2937;
  color: #fff;
}

.preview-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../image/career.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.career-preview .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  color: white;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.preview-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #818cf8, #c7d2fe);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.preview-header .subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(129, 140, 248, 0.5);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(45deg, #2563eb, #6366f1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  filter: blur(8px);
  opacity: 0.4;
  z-index: -1;
}

.feature-item h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.benefits-section {
  margin: 4rem 0;
}

.benefit-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #818cf8;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #818cf8, #c7d2fe);
  -webkit-background-clip: text;
  color: transparent;
}

.stat-label {
  color: #94a3b8;
  font-size: 1rem;
}

.cta-section {
  margin-top: 4rem;
  text-align: center;
}

.premium-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(45deg, #2563eb, #6366f1);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.premium-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.3);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .career-preview {
    padding: 3rem 1.5rem;
  }

  .preview-header h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-stats {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Social Proof Section */
.social-proof {
  margin-top: 2rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
}

.stars {
  color: #f59e0b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .career-preview {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }

  .preview-header h2 {
    font-size: 1.75rem;
  }

  .path-categories {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Updated Inspiration Section Styles */
.inspiration-section {
  background: var(--background-light);
  padding: 4rem 0;
  transition: background-color 0.3s ease;
}

body.dark-mode .inspiration-section {
  background: #1f2937;
}

.section-background {
  background: linear-gradient(145deg, #f8fafc, #ffffff);
}

body.dark-mode .section-background {
  background: linear-gradient(145deg, #1f2937, #111827);
}

.section-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
  backdrop-filter: none;
  /* Remove blur effect */
}

.section-header h2 {
  font-size: 2.25rem;
  background: linear-gradient(45deg, #818cf8, #c7d2fe);
  -webkit-background-clip: text;
  color: transparent;
}

.content-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  margin: 0 -1rem;
}

.content-track {
  display: none;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 1rem;
}

.content-track.active {
  display: flex !important;
  /* Force flex display */
  flex-direction: row !important;
  /* Force row direction */
  width: max-content;
  /* Allow container to grow with content */
}

.story-card,
.thought-card {
  flex: 0 0 350px;
  /* Fixed width for cards */
  margin-right: 20px;
  /* Space between cards */
  width: 350px;
  /* Ensure consistent width */
}

.inspiration-section .content-slider {
  display: flex;
  overflow-x: auto;
  width: 100%;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.story-card {
  min-width: 350px;
  background: rgba(255, 255, 255, 0.9);
  /* Adjusted for better visibility */
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  margin: 1rem;
}

.story-card:hover {
  transform: translateY(-10px);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent,
      rgba(8, 11, 42, 0.7) 50%,
      rgba(8, 11, 42, 0.95));
}

.story-content {
  position: relative;
  padding: 2rem;
  color: var(--text-primary);
  /* Adjusted for better visibility */
  z-index: 2;
}

.legend-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  /* Adjusted for better visibility */
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legend-role {
  color: #818cf8;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legend-quote {
  color: var(--text-secondary);
  /* Adjusted for better visibility */
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(129, 140, 248, 0.2);
  color: var(--text-primary);
  /* Adjusted for better visibility */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(129, 140, 248, 0.4);
}

.story-cta:hover {
  background: rgba(129, 140, 248, 0.3);
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.6);
}

.story-cta i {
  transition: transform 0.3s ease;
}

.story-cta:hover i {
  transform: translateX(4px);
}

/* Content slider improvements */
.content-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  margin: 0 -1rem;
}

.content-track {
  display: none;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 1rem;
}

.content-track.active {
  display: flex;
  flex-direction: row;
}

/* Switch styling improvements */
.content-switch {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.switch-label {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Add navigation controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(129, 140, 248, 0.3);
  border-color: rgba(129, 140, 248, 0.5);
}

.explore-section {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #2563eb, #6366f1);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: translateX(-100%);
  transition: none;
}

.explore-btn:hover .btn-shine {
  transform: translateX(100%);
  transition: all 0.5s ease;
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.3);
}

/* Footer Styles */
.footer {
  background: #1f2937;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #6366f1;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6366f1;
}

.footer-contact p {
  color: #9ca3af;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #6366f1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .inspiration-section .container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }

  .story-image {
    width: 100%;
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Menu Button and Dropdown Styles */
.menu-wrapper {
  position: relative;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: none;
  border-radius: 8px;
  color: #6366f1;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.menu-header h3 {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
}

.close-menu {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.close-menu:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-sections {
  padding: 1rem 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.menu-section {
  padding: 0.5rem 1.5rem;
}

.menu-section h4 {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.menu-section ul {
  list-style: none;
}

.menu-section li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-section li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-section li a i {
  width: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
}

.menu-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-tag.new {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

/* Add smooth scrollbar styling */
.menu-sections::-webkit-scrollbar {
  width: 6px;
}

.menu-sections::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.menu-section li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-section li a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-section li a i {
  width: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
}

.menu-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.menu-tag.new {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

/* Add smooth scrollbar styling */
.menu-sections::-webkit-scrollbar {
  width: 6px;
}

.menu-sections::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.menu-sections::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.inspiration-section .content-slider {
  display: flex;
  overflow-x: auto;
  flex-direction: row;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  /* Adjust padding as needed */
}

.inspiration-section .content-track {
  display: flex;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.inspiration-section .content-track .story-card,
.inspiration-section .content-track .thought-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin-right: 20px;
  /* Adjust the margin as needed */
  width: 300px;
  /* Adjust width as needed */
}

.inspiration-section .story-content,
.inspiration-section .thought-content {
  color: var(--text-primary);
  /* Use CSS variables for better theme management */
  text-shadow: none;
  /* Remove text shadow if any */
}

.inspiration-section .container {
  max-width: 1200px;
  /* Adjust max-width as needed */
  margin: 0 auto;
  padding: 0 20px;
  /* Adjust padding as needed */
}

.story-card .legend-quote,
.thought-card .thought-text {
  color: var(--text-secondary);
  /* Use CSS variables for better theme management */
  font-style: italic;
  margin-top: 10px;
  display: block;
  text-align: center;
}

/* Light theme adjustments */
body.light-theme .inspiration-section .story-content,
body.light-theme .inspiration-section .thought-content {
  --text-primary: #000;
  /* Darker text color for light theme */
  --text-secondary: #333;
  /* Darker secondary text color for light theme */
}

/* Dark theme adjustments */
body.dark-mode .inspiration-section .story-content,
body.dark-mode .inspiration-section .thought-content {
  --text-primary: #fff;
  /* Lighter text color for dark theme */
  --text-secondary: #ccc;
  /* Lighter secondary text color for dark theme */
}

.inspiration-section .thought-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.inspiration-section .thought-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inspiration-section .thought-text {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.inspiration-section .thought-author {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.inspiration-section .thought-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(129, 140, 248, 0.2);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(129, 140, 248, 0.4);
}

.inspiration-section .thought-cta:hover {
  background: rgba(129, 140, 248, 0.3);
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.6);
}

.inspiration-section .thought-cta i {
  transition: transform 0.3s ease;
}

.inspiration-section .thought-cta:hover i {
  transform: translateX(4px);
}

/* Dark Mode Styles */
body.dark-mode .inspiration-section .thought-cta {
  background: rgba(129, 140, 248, 0.2);
  color: #fff;
  border: 1px solid rgba(129, 140, 248, 0.4);
}

body.dark-mode .inspiration-section .thought-cta:hover {
  background: rgba(129, 140, 248, 0.3);
  border-color: rgba(129, 140, 248, 0.6);
}

body.dark-mode .inspiration-section .thought-text {
  color: #ccc;
}

body.dark-mode .inspiration-section .thought-author {
  color: #999;
}

/* Light Mode Styles */
body.light-theme .inspiration-section .thought-cta {
  background: rgba(129, 140, 248, 0.2);
  color: #333;
  border: 1px solid rgba(129, 140, 248, 0.4);
}

body.light-theme .inspiration-section .thought-cta:hover {
  background: rgba(129, 140, 248, 0.3);
  border-color: rgba(129, 140, 248, 0.6);
}

body.light-theme .inspiration-section .thought-text {
  color: #333;
}

body.light-theme .inspiration-section .thought-author {
  color: #666;
}

/* Add your existing CSS styles here */

/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .header,
body.dark-mode .footer,
body.dark-mode .nav-container,
body.dark-mode .menu-dropdown,
body.dark-mode .profile-menu,
body.dark-mode .quick-access-card,
body.dark-mode .course-card,
body.dark-mode .feature-item,
body.dark-mode .story-card {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark-mode .cta-primary,
body.dark-mode .cta-secondary,
body.dark-mode .action-btn,
body.dark-mode .course-btn.primary,
body.dark-mode .premium-cta {
  background-color: #333333;
  color: #ffffff;
}

.explore-more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  min-width: 300px;
  padding: 2rem;
}

.explore-content {
  text-align: center;
  color: white;
}

.explore-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.explore-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var (--primary-color);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.explore-btn i {
  transition: transform 0.3s ease;
}

.explore-btn:hover i {
  transform: translateX(4px);
}

/* Dark mode support */
.dark-mode .explore-more-card {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.dark-mode .explore-btn {
  background: #2d3748;
  color: white;
}

/* Enhanced Notification Styles */
.notification-center {
  position: relative;
}

.notification-bell {
  position: relative;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.notification-bell i {
  font-size: 1.25rem;
  color: #4b5563;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  right: -10rem;
  width: 380px;
  max-height: 85vh;
  /* Set maximum height relative to viewport */
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.notification-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  background: linear-gradient(to right, rgba(99, 102, 241, 0.05), transparent);
}

.notification-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.notification-subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.notification-filters {
  padding: 0.75rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(99, 102, 241, 0.02);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.notification-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.filter-btn.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-count {
  font-size: 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 10px;
}

.notification-body {
  flex: 1;
  min-height: 0;
  /* Critical for flex child scrolling */
  position: relative;
}

.notification-list {
  height: 100%;
  max-height: calc(85vh - 180px);
  /* Adjust based on header/footer height */
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem;
  scroll-behavior: smooth;
}

/* Override the global scrollbar hiding for notification list */
.notification-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
}

.notification-list::-webkit-scrollbar-track {
  background: transparent;
  display: block;
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
  display: block;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

/* Reset Firefox scrollbar for notification list */
.notification-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

/* Ensure the notification items stack properly */
.notification-item {
  width: 100%;
  min-height: fit-content;
  margin-bottom: 0.5rem;
}

.notification-item {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 1rem;
  position: relative;
}

.notification-item:hover {
  background: rgba(99, 102, 241, 0.05);
  transform: translateX(4px);
}

.notification-item.unread {
  background: rgba(99, 102, 241, 0.05);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--primary-color);
  border-radius: 0 4px 4px 0;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notification-icon.placement {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.notification-icon.academic {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.notification-icon.events {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  max-height: 2.5rem; /* Approximately 2 lines */
  line-height: 1.25;
}

.notification-message.expanded {
  -webkit-line-clamp: unset;
  max-height: 120px; /* Allow up to ~6 lines */
  overflow-y: auto;
  padding-right: 8px;
}

.notification-message.expanded::-webkit-scrollbar {
  width: 4px;
}

.notification-message.expanded::-webkit-scrollbar-track {
  background: transparent;
}

.notification-message.expanded::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 2px;
}

.notification-message.expanded::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

.notification-message.expanded {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.show-more-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.show-more-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.show-more-btn i {
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.show-more-btn.expanded i {
  transform: rotate(180deg);
}

.notification-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

/* Dark mode support for notification actions */
body.dark-mode .show-more-btn {
  color: #6366f1;
}

body.dark-mode .show-more-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

body.dark-mode .notification-message.expanded::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
}

body.dark-mode .notification-message.expanded::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* Mobile responsiveness for notification actions */
@media (max-width: 768px) {
  .notification-actions {
    margin-top: 0.75rem;
  }
  
  .show-more-btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
  
  .notification-message.expanded {
    max-height: 100px; /* Smaller max height on mobile */
  }
}

@media (max-width: 480px) {
  .notification-message.expanded {
    max-height: 80px; /* Even smaller on very small screens */
  }
  
  .show-more-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

.notification-footer {
  padding: 1rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  background: white;
  position: sticky;
  bottom: 0;
}

.mark-all-read {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mark-all-read:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

/* Dark Mode Support */
.dark-mode .notification-dropdown {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .notification-bell i {
  color: #e5e7eb;
}

.dark-mode .notification-header {
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), transparent);
}

.dark-mode .filter-btn.active {
  background: #2d3748;
}

.dark-mode .notification-item {
  background: #1f2937;
}

.dark-mode .notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode .notification-footer {
  background: #1f2937;
}

/* Custom Scrollbar */
.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

/* Additional Notification Styles */
.notification-loading,
.notification-error,
.notification-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
}

.notification-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.notification-error {
  color: #ef4444;
}

.notification-error button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-error button:hover {
  background: rgba(239, 68, 68, 0.2);
}

.notification-empty {
  color: var(--text-secondary);
  padding: 3rem 1rem;
}

.notification-empty i {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Enhanced notification item hover effect */
.notification-item {
  position: relative;
  overflow: hidden;
}

.notification-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      transparent,
      rgba(99, 102, 241, 0.05),
      transparent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.notification-item:hover::after {
  transform: translateX(100%);
}










.chatbot-container {
  background-color: #ffffff;
  width: 450px;
  height: 640px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: fixed;
  bottom: 30px;
  right: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1999;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom right;
}

.chatbot-container.active {
  opacity: 1;
  transform: scale(1);
}

.chatbot-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #5540af;
  box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-attention 2s infinite;
}

.chatbot-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(85, 64, 175, 0.5);
  animation: none;
}

.chatbot-button.active {
  transform: scale(0);
  opacity: 0;
}

.chatbot-icon {
  font-size: 34px;
  color: white;
  animation: blink-icon 4s infinite;
}

.chatbot-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.chatbot-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.chat-header {
  background-color: #5540af;
  color: white;
  text-align: center;
  padding: 15px;
  font-weight: bold;
  font-size: 18px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.header-btn span {
  font-size: 14px;
}

.header-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
  pointer-events: none;
}

.chat-messages {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
}

.message {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 85%;
  margin: 8px 0;
  font-size: 14px;
  clear: both;
  position: relative;
  word-wrap: break-word;
  line-height: 1.4;
}

.user-message {
  background-color: #5540af;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bot-message {
  background-color: #ffffff;
  color: #333;
  margin-right: auto;
  border-bottom-left-radius: 5px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bot-avatar {
  width: 30px;
  height: 30px;
  background-color: #5540af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  margin-right: 8px;
  margin-bottom: 5px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  margin-left: 8px;
  margin-bottom: 5px;
}

.message-with-avatar {
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
  width: 100%;
}

.message-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.bot-img-container {
  position: absolute;
  bottom: 80px;
  left: 10px;
  display: flex;
  align-items: flex-end;
  animation: popUp 1s ease-out;
  z-index: 10;
  transition: all 0.3s ease;
}

.bot-img-wrapper {
  position: relative;
}

.close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 11;
}

.close-btn:hover {
  transform: scale(1.1);
  background-color: #ff3333;
}

.bot-img-container img {
  width: 70px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.bot-dialogue {
  background-color: #ffffff;
  color: #333;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  margin-left: -5px;
  margin-bottom: 35px;
  font-size: 13px;
  font-weight: 500;
  max-width: 200px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  line-height: 1.4;
}

@keyframes popUp {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-input-container {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #ffffff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
}

.chat-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  outline: none;
  margin-right: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.chat-input:focus {
  border-color: #5540af;
  box-shadow: 0 0 0 2px rgba(85, 64, 175, 0.2);
}

/* 
.action-btn {
  background-color: #5540af;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  background-color: #4a378f;
  transform: scale(1.05);
}

.action-btn.secondary {
  background-color: #f1f1f1;
  color: #555;
  margin-right: 8px;
}

.action-btn.secondary:hover {
  background-color: #e0e0e0;
} */

.typing-indicator {
  font-size: 12px;
  color: #777;
  margin: 5px 0 0 0;
  font-style: italic;
  animation: blink 1.5s infinite;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.typing-indicator span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  margin: 0 2px;
  animation: bounce 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.file-input-label {
  position: relative;
  display: inline-block;
}

.file-input-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-info {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 10px;
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 12px;
  max-width: 200px;
  z-index: 20;
}

.file-info.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.attached-file-preview {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background-color: #f5f5f5;
  border-radius: 8px;
  margin: 5px 0;
  position: relative;
  max-width: 90%;
  font-size: 12px;
  word-break: break-all;
}

.attached-file-icon {
  font-size: 18px;
  margin-right: 8px;
  color: #5540af;
}

.attached-file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.remove-file-btn {
  background: none;
  border: none;
  color: #ff3333;
  cursor: pointer;
  font-size: 16px;
  margin-left: 8px;
  padding: 2px;
}

.file-attachment-area {
  position: absolute;
  bottom: 70px;
  width: 90%;
  max-height: 100px;
  overflow-y: auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px;
  z-index: 5;
  display: none;
}

.file-attachment-area.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.file-preview {
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
  margin: 5px;
  border-radius: 5px;
  border: 1px solid #eee;
}

@keyframes slideUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.emoji-panel {
  position: absolute;
  bottom: 70px;
  left: 10px;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  z-index: 100;
  width: 250px;
}

.emoji-panel.show {
  display: grid;
}

.emoji-btn {
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.1);
}



.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  gap: 8px;
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

.quick-action-btn {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}



.history-panel {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 120px);
  background-color: white;
  z-index: 100;
  padding: 15px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.history-panel.show {
  transform: translateX(0);
}

.history-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

.history-item:hover {
  background-color: #f5f5f5;
}










.history-item-title {
  font-weight: bold;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5540af;
}

.history-item-preview {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-time {
  font-size: 10px;
  color: #999;
  text-align: right;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

.overlay.show {
  display: block;
}

.voice-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #5540af;
  transition: all 0.2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.voice-btn:hover {
  background-color: rgba(85, 64, 175, 0.1);
}

.voice-btn.listening {
  animation: pulse 1.5s infinite;
  background-color: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.speak-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  color: #5540af;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  margin-right: 5px;
  transition: all 0.2s;
}

.speak-btn:hover {
  background-color: rgba(85, 64, 175, 0.1);
}

.speak-btn-icon {
  margin-right: 4px;
}

.stop-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  color: #dc3545;
  border-radius: 4px;
  display: none;
  align-items: center;
  margin-top: 5px;
  transition: all 0.2s;
}

.stop-btn.active {
  display: inline-flex;
}

.stop-btn:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

.stop-btn-icon {
  margin-right: 4px;
}

.voice-controls {
  display: flex;
  margin-top: 5px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

.header-btn-group {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.voice-settings-panel {
  position: absolute;
  top: 45px;
  left: 0;
  width: 280px;
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  border: 1px solid #e0e0e0;
}

.voice-settings-panel.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.voice-settings-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 16px;
  height: 16px;
  background-color: white;
  transform: rotate(45deg);
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

.header-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.voice-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 14px;
  margin-bottom: 10px;
}

.voice-setting-group {
  margin-bottom: 12px;
}

.voice-setting-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.voice-setting-group input[type="range"] {
  width: 100%;
  margin: 5px 0;
}

.voice-setting-group span {
  font-size: 12px;
  color: #666;
}

.voice-test-btn,
.voice-set-btn {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.voice-test-btn {
  background-color: #5540af;
  color: white;
  margin-bottom: 8px;
}

.voice-test-btn:hover {
  background-color: #4a378f;
}

.voice-set-btn {
  background-color: #4CAF50;
  color: white;
}

.voice-set-btn:hover {
  background-color: #45a049;
}

.header-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.chat-notification {
  position: absolute;
  bottom: 100px;
  right: 30px;
  background-color: #5540af;
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 990;
}

.chat-notification.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .chatbot-container {
    width: 95%;
    height: 80%;
    right: 2.5%;
    bottom: 10%;
    max-height: 640px;
  }

  .chatbot-button {
    width: 60px;
    height: 60px;
    right: 20px;
    bottom: 20px;
  }

  .chatbot-icon {
    font-size: 28px;
  }

  .message {
    max-width: 90%;
  }

  .message-wrapper {
    max-width: 90%;
  }
}

@keyframes pulse-attention {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(85, 64, 175, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(85, 64, 175, 0.4);
  }
}

@keyframes blink-icon {

  0%,
  100% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0.5;
  }

  80% {
    opacity: 1;
  }
}

.welcome-tour {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.welcome-tour.show {
  display: flex;
}

.tour-container {
  background-color: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: popIn 0.5s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.disclaimer {
  background-color: #fff3cd;
  color: #856404;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 13px;
  margin: 10px;
  border: 1px solid #ffeeba;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-icon {
  font-size: 16px;
}

/* Latest Blogs Section */
.latest-blogs {
  background: #f6f8fe;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(99, 102, 241, 0.07), 0 1.5px 4px 0 rgba(99, 102, 241, 0.03);
  border: 1px solid #e5e9f2;
  padding: 60px 0 40px 0;
  margin: 40px 0;
}

/* Remove underline from all links in blog section */
.latest-blogs a,
.latest-blogs a:visited,
.latest-blogs a:active {
  text-decoration: none !important;
  color: inherit;
}

.latest-blogs a:hover {
  text-decoration: none !important;
  color: #2563eb;
}

/* Blog card text color fix */
.latest-blogs .blog-card,
.latest-blogs .blog-card * {
  color: #222 !important;
}

.dark-mode .latest-blogs {
  background: #23263a;
  border: 1px solid #353a50;
  box-shadow: 0 4px 16px 0 rgba(30, 41, 59, 0.18), 0 1.5px 4px 0 rgba(30, 41, 59, 0.09);
}

.dark-mode .latest-blogs .blog-card,
.dark-mode .latest-blogs .blog-card * {
  color: #fff !important;
}

.latest-blogs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.latest-blogs .section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 40px;
  position: relative;
}

.latest-blogs .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.see-more-container {
  text-align: center;
  margin-top: 40px;
}

.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.see-more-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.see-more-btn i {
  transition: transform 0.3s ease;
}

.see-more-btn:hover i {
  transform: translateX(5px);
}

/* Dark Mode Support */
.dark-mode .latest-blogs {
  background-color: var(--dark-bg);
}

.dark-mode .blog-card {
  background: var(--dark-card-bg);
  border-color: var(--dark-border);
}

.dark-mode .blog-title {
  color: var(--dark-text);
}

.dark-mode .blog-excerpt {
  color: var(--dark-text-light);
}

.dark-mode .blog-meta {
  color: var(--dark-text-muted);
  border-color: var(--dark-border);
}

.dark-mode .see-more-btn {
  background-color: var(--primary-color);
}

.dark-mode .see-more-btn:hover {
  background-color: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .blogs-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .latest-blogs {
    padding: 40px 0;
  }

  .latest-blogs .section-title {
    font-size: 1.8rem;
  }

  .blogs-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Blog Card Background for Light Theme */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

/* Remove underline from blog-title links and set color */
.blog-title a {
  text-decoration: none;
  color: inherit;
}

/* Blog Card Background for Dark Theme */
.dark-mode .blog-card {
  background: var(--dark-card-bg);
  border-color: var(--dark-border);
}

.dark-mode .blog-title a {
  color: inherit;
  text-decoration: none;
}

/* Blog Card Text and Link Styling */
.blog-card,
.blog-card * {
  color: #222 !important;
}

.blog-card a {
  text-decoration: none !important;
  color: #222 !important;
  transition: color 0.3s;
}

.blog-card a:hover {
  text-decoration: none !important;
}

.dark-mode .blog-card,
.dark-mode .blog-card * {
  color: #fff !important;
}

.dark-mode .blog-card a {
  color: #fff !important;
}

.dark-mode .blog-card a:hover {
  text-decoration: none !important;
}

/* Blog Card Style Like Quick Access */
.blog-card {
  background: #f6f8fe !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px 0 rgba(99, 102, 241, 0.07), 0 1.5px 4px 0 rgba(99, 102, 241, 0.03);
  border: 1px solid #e5e9f2 !important;
  transition: box-shadow 0.3s, background 0.3s;
}

.blog-card:hover {
  box-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.12), 0 3px 8px 0 rgba(99, 102, 241, 0.06);
}

/* Blog Card Dark Mode */
.dark-mode .blog-card {
  background: #23263a !important;
  border: 1px solid #353a50 !important;
  box-shadow: 0 4px 16px 0 rgba(30, 41, 59, 0.18), 0 1.5px 4px 0 rgba(30, 41, 59, 0.09);
}

/* Latest Blogs Title Color */
.latest-blogs .section-title {
  color: #222 !important;
}

.dark-mode .latest-blogs .section-title {
  color: #fff !important;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .menu-dropdown-item {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .search-bar {
    display: none;
  }

  .menu-dropdown {
    /* Changed for fixed, full-height menu */
    position: fixed;
    top: 0;
    left: 0;
    /* Slide in from the left */
    height: 100vh;
    /* Full viewport height */
    width: 300px;
    /* Set a fixed width for the side menu */
    max-width: 90%;
    /* Ensure it doesn't exceed viewport width on smaller screens */
    background: white;
    /* Set background explicitly */
    border-radius: 0;
    /* Remove border radius */
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.15);
    /* Keep box shadow */
    margin-top: 0;
    /* Remove margin-top */
    opacity: 0;
    visibility: hidden;
    /* Adjust transform for sliding effect */
    transform: translateX(-100%);
    /* Start off-screen to the left */
    transition: all 0.3s ease-in-out;
    /* Smoother transition */
    z-index: 1000;
  }

  .menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    /* Slide in */
  }

  .menu-sections {
    /* Adjust max-height for fixed header/footer if necessary, or keep for scrollable content */
    max-height: 100%;
    /* Allow scrolling within the full height */
    overflow-y: auto;
    padding: 1rem 0;
    /* Keep padding */
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .stat-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .courses-track {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .preview-header h2 {
    font-size: 1.8rem;
  }

  .feature-item {
    padding: 20px;
  }

  .stat-item {
    flex: 0 0 100%;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .content-switch {
    flex-direction: column;
    gap: 10px;
  }

  .story-card,
  .thought-card {
    flex-direction: column;
  }

  .story-image {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .preview-header h2 {
    font-size: 1.5rem;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .blog-title {
    font-size: 1.2rem;
  }
/* 
  .notification-dropdown {
    width: 100%;
    max-width: none;
    right: 0;
  } */

  .chatbot-container {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
  }

  .chatbot-button {
    right: 15px;
    bottom: 15px;
  }

  .menu-dropdown {
    width: 280px;
    max-width: 90vw;
  }

  .profile-menu {
    width: 280px;
    max-width: 90vw;
    right: 0;
  }

  .menu-dropdown {
    width: 100%;
    /* Allow full width on very small screens */
    left: 0;
    transform: translateX(0);
    /* Remove transform */
    border-radius: 0;
    /* Remove border radius for full width */
  }

  .menu-dropdown {
    /* Full width on very small screens */
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: translateX(-100%);
    /* Start off-screen */
  }

  .menu-dropdown.active {
    transform: translateX(0);
    /* Slide in */
  }
}

/* Fix for mobile notifications */
@media (max-width: 576px) {
  .notification-filters {
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter-btn {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }
}

/* Fix for mobile chat */
@media (max-width: 576px) {
  .chat-header {
    padding: 10px;
  }

  .header-btn {
    padding: 8px;
  }

  .chat-messages {
    padding: 10px;
  }

  .message {
    padding: 8px;
  }

  .chat-input-container {
    padding: 10px;
  }
}

/* Fix for mobile footer */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .footer-contact p {
    text-align: center;
  }
}

/* Fix for mobile quick access cards */
@media (max-width: 576px) {
  .quick-access-card {
    padding: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-text h3 {
    font-size: 1.1rem;
  }

  .card-text p {
    font-size: 0.9rem;
  }
}

/* Fix for mobile career preview */
@media (max-width: 768px) {
  .preview-background {
    background-size: cover;
  }

  .premium-cta {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Fix for mobile inspiration section */
@media (max-width: 768px) {
  .inspiration-section {
    padding: 40px 0;
  }

  .story-content {
    padding: 20px;
  }

  .legend-name {
    font-size: 1.2rem;
  }

  .legend-role {
    font-size: 0.9rem;
  }

  .legend-quote {
    font-size: 1rem;
  }
}

/* Responsive Notification Dropdown */
/* @media (max-width: 600px) {
  .notification-dropdown {
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    border-radius: 0 0 12px 12px !important;
    top: 48px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0 0 16px 0;
  }

  .notification-header,
  .notification-filters,
  .notification-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .notification-list {
    max-height: 45vh;
    min-height: 120px;
  }

  .notification-item {
    font-size: 1rem;
    padding: 12px 8px;
  }

  .notification-title h3 {
    font-size: 1.1rem;
  }

  .filter-btn {
    font-size: 0.95rem;
    padding: 6px 10px;
  }
} */

/* Responsive Footer Section */
@media (max-width: 800px) {
  .footer-content {
    padding: 0 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 12px auto;
    display: block;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
    padding: 10px 0;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
  }

  .footer-contact p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .footer-links h3,
  .footer-contact h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .footer-brand p {
    font-size: 1rem;
  }

  .social-links {
    justify-content: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  .footer {
    padding: 24px 0 10px 0;
  }

  .footer-logo {
    width: 60px;
    height: auto;
  }

  .footer-links ul {
    font-size: 0.98rem;
  }

  .footer-contact p,
  .footer-brand p {
    font-size: 0.95rem;
  }

  .footer-bottom {
    font-size: 0.92rem;
  }
}

/* Mobile-specific optimizations for 370px width */
@media (max-width: 370px) {
  .nav-container {
    padding: 0.5rem;
  }

  .logo {
    height: 35px;
  }

  .menu-btn {
    padding: 0.4rem;
    font-size: 0.8rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quick-access-card {
    padding: 1rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .card-text h3 {
    font-size: 1rem;
  }

  .card-text p {
    font-size: 0.8rem;
  }

  .courses-container h2 {
    font-size: 1.5rem;
  }

  .course-card {
    min-width: 280px;
  }

  .preview-header h2 {
    font-size: 1.5rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .feature-item h3 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.8rem;
  }

  .benefit-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    width: 100%;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    min-width: 280px;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-excerpt {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-contact p {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .chatbot-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .chatbot-button {
    width: 45px;
    height: 45px;
    right: 10px;
    bottom: 10px;
  }

  .chat-header {
    padding: 0.8rem;
  }

  .header-btn {
    width: 32px;
    height: 32px;
  }

  .chat-messages {
    padding: 0.8rem;
  }

  .message {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .chat-input-container {
    padding: 0.8rem;
  }

  .chat-input {
    font-size: 0.9rem;
    padding: 0.8rem;
  }


  .notification-filters {
    padding: 0.8rem;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .notification-item {
    padding: 0.8rem;
  }

  .notification-title {
    font-size: 0.9rem;
  }

  .notification-message {
    font-size: 0.8rem;
  }

  .menu-dropdown {
    width: 100%;
    max-width: 100%;
    left: 0;
    border-radius: 0;
  }

  .menu-section h4 {
    font-size: 1rem;
  }

  .menu-section li a {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .profile-menu {
    width: 100%;
    max-width: 100%;
    right: 0;
    border-radius: 0;
  }

  .menu-dropdown {
    width: 100%;
    max-width: 100%;
    left: 0;
    border-radius: 0;
  }

  .menu-section h4 {
    font-size: 1rem;
  }

  .menu-section li a {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .profile-menu {
    width: 100%;
    max-width: 100%;
    right: 0;
    border-radius: 0;
  }

  /* Ensure menu dropdown is full height and slides */
  .menu-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    transform: translateX(-100%);
    /* Start off-screen */
  }

  .menu-dropdown.active {
    transform: translateX(0);
    /* Slide in */
  }
}





.course-image {
  position: relative;
}

.save-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 25px;
  color: blue;
  transition: color 0.3s ease;
}

.save-tag.saved {
  color: rgb(24, 123, 229);
}

.save-tag:hover {
  color: rgb(101, 222, 21);
}

.save-tag.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #007bff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.course-tags span {
  display: inline-block;
  background-color: #e0e7ff;
  /* Light background for visibility */
  color: #1e3a8a;
  /* Dark text color */
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}


.save-tag {
  cursor: pointer;
  color: rgb(122, 124, 127);
  /* Unsaved state: light gray */
}

.save-tag.saved {
  color: #007bff;
  /* Saved state: blue */
}

.course-card {
  cursor: default !important;
  /* Keeps default cursor even when clicking */
}



.logout-btn {
  margin-left: 10px;
  padding: 8px 12px;
  background-color: #dc3545;
  /* Bootstrap danger color */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.logout-btn:hover {
  background-color: #c82333;
}

.logout-btn i {
  margin-right: 5px;
}





.menu-dropdown-container {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 200px;
}

.menu-dropdown-container.active {
  display: block;
}

.menu-dropdown-item {
  position: relative;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown-icon.active {
  transform: rotate(180deg);
}

.menu-dropdown-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-dropdown-container li {
  padding: 10px 15px;
}

.menu-dropdown-container li a {
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
}

.menu-dropdown-container li a:hover {
  background: #f0f0f0;
}




/* Container for the courses track */
.courses-track {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-behavior: smooth;
}

/* Course card container */
.course-card {
  flex: 0 0 300px;
  /* Fixed width for consistency */
  max-width: 300px;
  /* Prevent overflow */
  height: 450px;
  /* Fixed height for uniformity */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

/* Course card hover effect */
.course-card:hover {
  transform: translateY(-5px);
}

/* Course image section */
.course-image {
  position: relative;
  height: 180px;
  /* Fixed height for image */
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #007bff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}

.save-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
}

/* Course content section */
.course-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Course tags section */
.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 60px;
  /* Limit height to prevent overflow */
  overflow: hidden;
  /* Hide excess tags */
  margin-bottom: 10px;
}

.course-tags span {
  background: #e9ecef;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 100%;
  /* Ensure tags don't overflow */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Course title */
.course-content h3 {
  font-size: 16px;
  margin: 0 0 10px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
}

/* Instructor section */
.instructor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.instructor-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor span {
  font-size: 14px;
  color: #666;
}

/* Course stats */
.course-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.course-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Course button */
.course-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.course-btn:hover {
  background: #0056b3;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .course-card {
    flex: 0 0 280px;
    max-width: 280px;
    height: 420px;
  }

  .course-image {
    height: 160px;
  }

  .course-content h3 {
    font-size: 14px;
  }

  .course-tags {
    max-height: 50px;
  }

  .course-tags span {
    font-size: 11px;
    padding: 3px 6px;
  }

  .course-stats {
    font-size: 11px;
  }

  .course-btn {
    font-size: 13px;
    padding: 8px;
  }
}

/* Ensure explore more card matches course card styling */
.explore-more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8f9fa;
}

.explore-content {
  padding: 20px;
}

.explore-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.explore-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background: #007bff;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.explore-btn:hover {
  background: #0056b3;
}










/* Loading spinner container */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  /* Adjust based on your design */
  text-align: center;
}

.loading-spinner p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Spinner animation */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .loading-spinner {
    height: 150px;
  }

  .spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }

  .loading-spinner p {
    font-size: 12px;
  }
}

/* Loading spinner container */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  /* Adjust based on your design */
  text-align: center;
}

.loading-spinner p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Spinner animation */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .loading-spinner {
    height: 150px;
  }

  .spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }

  .loading-spinner p {
    font-size: 12px;
  }
}



/* home.css (add or update) */
.menu-dropdown-container {
  display: none;
  /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  min-width: 200px;
  padding: 0.5rem 0;
}

.menu-dropdown-item.active .menu-dropdown-container {
  display: block;
  /* Show when parent is active */
}

.menu-dropdown-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-dropdown-container li {
  padding: 0;
}

.menu-dropdown-container a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.menu-dropdown-container a:hover {
  background: #f5f5f5;
}

body.dark-mode .menu-dropdown-container {
  background: #1f2937;
}

body.dark-mode .menu-dropdown-container a {
  color: #e5e7eb;
}

body.dark-mode .menu-dropdown-container a:hover {
  background: #374151;
}

/* Ensure dropdown icon rotates when active */
.dropdown-icon {
  transition: transform 0.3s ease;
}

.menu-dropdown-item.active .dropdown-icon {
  transform: rotate(180deg);
}

/* --- Modern Notification & Alert Styles --- */
.auth-error,
.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  min-width: 260px;
  max-width: 350px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  z-index: 2000;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 1.5px 4px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInAlert 0.4s forwards;
}

.auth-error {
  background: linear-gradient(90deg, #ff5858 0%, #f857a6 100%);
  color: #fff;
  border-left: 6px solid #d90429;
}

.notification.success {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  border-left: 6px solid #1fa463;
}

.notification.error {
  background: linear-gradient(90deg, #ff5858 0%, #f857a6 100%);
  color: #fff;
  border-left: 6px solid #d90429;
}

.notification.info {
  background: linear-gradient(90deg, #36d1c4 0%, #5b86e5 100%);
  color: #fff;
  border-left: 6px solid #2d9cdb;
}

.auth-error i,
.notification i {
  font-size: 1.3em;
  margin-right: 0.5em;
  opacity: 0.85;
}

@keyframes fadeInAlert {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {

  .auth-error,
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    min-width: unset;
    max-width: 95vw;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
}

/* --- End Notification & Alert Styles --- */

/* --- Custom Modal Styles for Logout Confirmation --- */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.custom-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  min-width: 320px;
  max-width: 90vw;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.custom-modal-header i {
  color: #f857a6;
  font-size: 1.5em;
}

.custom-modal-body {
  font-size: 1.08rem;
  color: #374151;
  margin-bottom: 2rem;
  text-align: center;
}

.custom-modal-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.modal-btn {
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.07);
}

.modal-btn.confirm {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  border-left: 4px solid #1fa463;
}

.modal-btn.confirm:hover {
  background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
}

.modal-btn.cancel {
  background: #f3f4f6;
  color: #374151;
  border-left: 4px solid #f857a6;
}

.modal-btn.cancel:hover {
  background: #f857a6;
  color: #fff;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 500px) {
  .custom-modal-content {
    min-width: 90vw;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }

  .custom-modal-header {
    font-size: 1.1rem;
  }

  .modal-btn {
    font-size: 0.98rem;
    padding: 0.6rem 1rem;
  }
}

/* Dark mode support */
body.dark-mode .custom-modal-content {
  background: #23263a;
  color: #fff;
}

body.dark-mode .custom-modal-header {
  color: #fff;
}

body.dark-mode .custom-modal-body {
  color: #e5e7eb;
}

body.dark-mode .modal-btn.cancel {
  background: #2d3748;
  color: #fff;
}

body.dark-mode .modal-btn.cancel:hover {
  background: #f857a6;
  color: #fff;
}

/* --- End Custom Modal Styles --- */


@media (max-width: 993px) {
  .main {
    display: block;
  }
}



@media (max-width: 382px) {
  .notification-dropdown{
    left: 1px;
    
  }
}


@media (min-width: 333px) and (max-width: 372px) {
  .notification-dropdown {
    right: 0px;
    left: -10rem;
  }
}