* {
  /* font-family: "Libre Baskerville", serif; */
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------------------- Root colors ---------------------- */
:root {
  --primary-color: #2a2f4f;
  --secondary-color: #917fb3;
  --light-color: #e5beec;
  --text-color: #34495e;
  --text-color-bold: #2c3e50;
  --text-color-black: #2d2d2d;
  --icon-color: #f0f0f0;
  --body-color-light: #f9f9ff;
  --body-color-dark: #eeeef2;
  --gradient-1: linear-gradient(135deg, #2a2f4f 0%, #917fb3 100%);
  --gradient-2: linear-gradient(45deg, #e5beec 0%, #917fb3 100%);

  /* ---------------------- Transitions ---------------------- */
  --tran-02: all 0.2s ease;
  --tran-03: all 0.3s ease;
  --tran-04: all 0.4s ease;
  --tran-05: all 0.5s ease;

  /* ---------------------- Effects ---------------------- */
  --shadow-sm: 0 2px 15px rgba(42, 47, 79, 0.1);
  --shadow-md: 0 5px 15px rgba(42, 47, 79, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 10px;
  --border-radius-md: 20px;
  --border-radius-lg: 30px;
}

body {
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: var(--body-color-light);
  color: var(--text-color);
}

/* ---------------------- Webkit Styles Starts ---------------------- */
/* .sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 3px;
} */

/* Hide the spinner arrows */
/* input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
} */

/* ---------------- Dark Mode Toggle Start --------------- */
  /* Dark Mode Toggle */
  .dark-mode-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: var(--icon-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

    /* Dark Mode Toggle Animation */
    .dark-mode-toggle {
      transition: var(--tran-03);
  }

  body.dark-mode .dark-mode-toggle {
      transform: rotate(180deg);
  }
  /* ---------------- Dark Mode Toggle End --------------- */


/* ---------------- Prompt Styles Start --------------- */
.prompt {
  position: fixed;
  top: 50%;
  left: 50%;
  font-size: 1.3rem;
  transform: translate(-50%, -50%);
  padding: 1rem 2rem;
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInOut 3s forwards;
  z-index: 10001;
}

.prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  overflow: hidden;
}

.prompt i {
  margin-right: 1rem;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }

  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  90% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
}

.prompt--success {
  background: #28a745;
}

.prompt--warning {
  background: #ffc107;
  color: #333;
  border: 1px solid white;
}

.prompt--info {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  color: #f8f9fa;
}

.prompt--error {
  background: #dc3545;
}
/* ---------------- Prompt Styles End --------------- */

/* ---------------- Top Progress-bar Styles Start --------------- */
.top-progress-container {
  width: 100%;
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  border-radius: 8px;
}

.top-progress-bar {
  height: 100%;
  /* background-color: var(--secondary-color); */
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  width: 0%;
  border-radius: 8px;
  transition: width 0.4s ease-in-out;
  animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
  0% {
    width: 0%;
  }

  50% {
    width: 50%;
  }

  100% {
    width: 100%;
  }
}

.loaded {
  display: none;
}
/* ---------------- Scrollbar Progress-bar Styles End --------------- */

/* ---------------- Scrollbar Design CSS --------------- */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--secondary-color), var(--primary-color));

  border-radius: 8px;
  border: 2px solid var(--primary-color);
}
/* ---------------------- Webkit Styles Ends ---------------------- */

/* ---------------------- Top Navbar CSS Starts ---------------------- */
.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 1.3rem 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 90px;
  position: fixed;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger {
  display: block;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.bar {
  position: absolute;
  height: 3px;
  width: 100%;
  /* background-color: white; */
  background-color: var(--text-color);
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.bar:nth-child(1) {
  top: 0;
}

.bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.bar:nth-child(3) {
  bottom: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* .navbar.scrolled {
  padding: 1rem 2%;
  background: rgba(255, 255, 255, 0.98);
} */

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* cursor: pointer; */
  justify-content: center;
  background-color: white;
}

.logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  height: 50px; /* Same as Profile icon height. */
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  /* transition: color var(--tran-05) ease; */
  transition: all var(--tran-05) ease;
  position: relative;
}

.nav-links > li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links > li a:hover {
  color: var(--secondary-color);
}

.nav-links > li a:hover::after {
  width: 100%;
}

/* Search-bar Styles */
.search-bar {
  background: var(--body-color-dark);
  height: 50px;
  width: 30vw;
  display: flex;
  padding: 0 20px;
  border-radius: 6px;
  align-items: center;
  display: none;
}

.search-bar form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.search-bar input {
  background: transparent;
  width: 100%;
  height: 40px;
  font-weight: 500;
  border: none;
  outline: none;
  padding: 0;
  color: var(--light-color);
  text-align: left;
}

.search-bar button {
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}

.search-bar button i {
  color: var(--light-color);
  transition: color 0.3s ease;
  font-size: 1rem;
}

.search-bar button:hover i {
  color: var(--primary-color);
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* Brand Container CSS */
/* .brand-container {
  display: flex;
  align-items: center;
  gap: 15px;
} */

/* .brand-container__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  border: 2px solid #fff;
}

.brand-container__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.brand-container__logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
} */

.brand-container {
  display: flex;
  align-items: center;
}

.brand-container__name {
  color: var(--gradient-1);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.full {
  font-size: 1.3rem;
  color: #917fb3;
  margin-left: 8px;
  display: inline-block;
  vertical-align: baseline;
}

.home-url {
  text-decoration: none;
  color: var(--text-color);
}

/* User Profile CSS */
.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.profile_for_mobile {
  display: none;
}

.user-profile__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  border: 2px solid #fff;
}

.user-profile__icon img {
  width: 50px;
  height: 50px;
}

.user-profile__icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px var(--light-color);
  /* box-shadow: 0 0 10px rgba(244, 6, 6, 0.2); */
}

.user-profile__dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-radius: 10px;
  padding: 10px 0;
  width: 160px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-profile__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-profile__item {
  padding: 5px 20px;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.user-profile__item i {
  padding-right: 0.5rem;
}

.user-profile__item:hover {
  background: var(--light-bg);
  padding-left: 25px;
  color: var(--secondary-color);
}

.user-profile__separator {
  height: 1px;
  background: #eee;
  margin: 8px 0;
}

/* Notification Styles */
.notification-container {
  position: relative;
  margin-left: 1rem;
}

.notification-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--tran-02);
}

.notification-icon:hover {
  background: var(--secondary-color);
  color: var(--icon-color);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: var(--body-color-light);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  display: none;
  z-index: 1000;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--tran-03);
}

.notification-dropdown.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.notification-title {
  font-weight: 600;
  color: var(--primary-color);
}

.notification-clear {
  color: var(--text-color-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--tran-02);
}

.notification-clear:hover {
  color: var(--secondary-color);
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  padding: 0.8rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  transition: var(--tran-02);
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.notification-item.unread {
  background: rgba(145, 127, 179, 0.1);
}

.notification-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.notification-time {
  font-size: 0.8rem;
  color: var(--text-color-light);
}

.notification-content {
  font-size: 0.9rem;
  color: var(--text-color);
}

.notification-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-color-light);
}

/* Typing Section */
.home-typing {
  padding: 180px 5% 100px;
  background: var(--gradient-1);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.home-typing::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(45deg);
  animation: glow 8s infinite linear;
}

.home-typing h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  opacity: 0;
  animation: typingTitle 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.home-typing p {
  font-size: 1.3rem;
  opacity: 0.9;
  transform: translateY(30px);
  opacity: 0;
  animation: typingText 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.typing-container {
  font-size: 2.5rem;
  height: 3.5rem;
  margin-top: 3rem;
  position: relative;
}

.typing-text {
  color: var(--light-color);
  font-weight: bold;
  border-right: 2px solid var(--light-color);
  animation: typing_blink 0.75s step-end infinite;
  text-shadow: 0 0 10px rgba(229, 190, 236, 0.5);
}

.floating-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.typing_circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-2);
  opacity: 0.1;
  animation: typing_float 15s infinite ease-in-out;
}

.typing_circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 22%;
  left: 5%;
  animation-delay: 0s;
}

.typing_circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.typing_circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes typing_blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--light-color);
  }
}

@keyframes typing_float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.typing_glow {
  position: absolute;
  left: 500px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--light-color) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(20px);
  animation: typing_pulse 4s ease-in-out infinite;
}

.typing_glow:nth-child(1) {
  top: -100px;
  left: -100px;
}

.typing_glow:nth-child(2) {
  bottom: -100px;
  right: -100px;
}

@keyframes typing_pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.15;
  }
}

/* Enhanced Features Grid */
.features {
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features a {
  text-decoration: none;
  color: var(--text-color);
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-2);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* Enhanced Quiz Banner */
.quiz-banner {
  background: var(--gradient-2);
  color: white;
  padding: 5rem 5%;
  text-align: center;
  /* margin: 6rem 0; */
  position: relative;
  transform: rotate(-1deg);
}

.quiz-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.quiz-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Blog Preview */
.home_blog-section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.home_blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.home_blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.home_blog-card:hover {
  transform: translateY(-10px);
}

.home_blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home_blog-card:hover img {
  transform: scale(1.05);
}

.home_blog-content {
  padding: 1.5rem;
}

/* Homepage Buttons */
/* .cta-btn {
  background: var(--gradient-2);
  border: none;
  padding: 1rem 3rem;
  margin-top: 4rem;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
} */
/* 
.cta-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: rotate(45deg);
  animation: glow 4s infinite linear;
} */

/* .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
} */

/* Homepage A Tag Button Effect*/
.cta-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;

  background: var(--gradient-2);
  border: none;
  padding: 1rem 3rem;
  margin-top: 3rem;
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

  line-height: normal;
  vertical-align: middle;
}

.cta-link::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  transform: rotate(45deg);
  animation: glow 4s infinite linear;
}

.cta-link:hover,
.cta-link:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: white !important;
  text-decoration: none;
}

/* Animations */
@keyframes typingTitle {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes typingText {
  to {
    transform: translateY(0);
    opacity: 0.9;
  }
}

@keyframes glow {
  0% {
    transform: rotate(45deg) translateX(0);
  }

  100% {
    transform: rotate(45deg) translateX(100%);
  }
}
/* ---------------------- Top Navbar CSS Ends ---------------------- */

/* ---------------------- Footer Starts ---------------------- */
.footer {
  background: var(--primary-color);
  color: var(--icon-color);
  padding: 2rem 5%;
  /* margin-top: 4rem; */
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section {
  position: relative;
  padding: 1rem;
}

.footer-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--tran-03);
}

.footer-section:hover::after {
  width: 100%;
}

.footer-section h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-section p {
  color: var(--icon-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.footer-links li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  transition: var(--tran-02);
}

.footer-links a {
  color: var(--icon-color);
  text-decoration: none;
  transition: var(--tran-02);
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: var(--tran-02);
}

.footer-links a:hover {
  color: var(--secondary-color);
  /* transform: translateX(5px); */
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--icon-color);
  opacity: 0.8;
}

.social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}
.social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}
/* ---------------------- Footer Ends ---------------------- */

/* ---------------------- Sidebar Styles Stars ---------------------- */
.sidebar {
  position: fixed;
  left: 0;
  top: 90px;
  height: calc(100vh - 90px);
  width: 270px;
  background: var(--primary-color);
  padding: 1.5rem 1rem;
  overflow-y: auto;
  z-index: 9999;
  white-space: nowrap;
}

.sidebar-close {
  position: absolute;
  top: 0;
  right: 0;
  /* display: flex; */
  justify-content: right;
  padding: 0.3em;
  font-size: 1.2rem;
  align-items: center;
  color: var(--body-color-dark);
  display: none;
}

.menu-icon {
  /* display: flex; */
  justify-content: end;
  position: relative;
  top: 2.4rem;
  right: 1.2rem;
  font-size: 1.2rem;
  display: none;
}

.tutorial-menu {
  list-style: none;
}

.tutorial-menu li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin: 0.5rem 0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--tran-03);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  /* letter-spacing: 0.3px; */
}

.tutorial-menu li a i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.9;
}

.tutorial-menu li a:hover {
  background: var(--secondary-color);
  transform: translateX(5px);
}

.tutorial-menu li a.active {
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* ---------------------- Sidebar Styles Ends ---------------------- */

/* ---------------------- Main Content Style Starts ---------------------- */
.main-container {
  display: flex;
  flex-direction: column;
  margin-top: 90px;
}

.main-content {
  margin-left: 270px;
  padding: 1rem;
  flex: 1;
}

.main-content .footer {
  border-radius: 8px;
  margin-top: 1rem;
}

#content-area {
  background: white;
  border-radius: 16px;
  padding: 2rem 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  animation: cardSlide 0.3s ease-out;
  min-height: calc(100vh - 180px);
}

#content-area p {
  margin-top: 0.5rem;
}

@keyframes cardSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------- Main Content Style Ends ---------------------- */

/* ---------------------- Navigation Buttons Starts ---------------------- */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 10px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--secondary-color);
  /* transform: translateY(-2px); */
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}
/* ---------------------- Navigation Buttons Ends ---------------------- */

/* ---------------------- Accordion Styles Stars ---------------------- */
.accordion {
  background: var(--gradient-1);
  color: white;
  padding: 20px 25px;
  width: 100%;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  /* margin: 10px 0; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--tran-03);
}

.accordion .icon {
  transition: transform 0.3s ease;
}

.accordion-active .icon i {
  transform: rotate(180deg);
}

.panel {
  margin-bottom: 0.5rem;
  background: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.panel.active {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.panel-contents {
  padding: 1rem;
  counter-reset: item;
}

.panel-contents p {
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.panel-contents a {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.panel-contents a span {
  position: relative;
  display: inline-block;
}

.panel-contents a span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.panel-contents a:hover span::after {
  width: 100%;
}

.panel-contents a::before {
  content: counter(item);
  counter-increment: item;
  background: var(--gradient-1);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
/* ---------------------- Accordion Styles Ends ---------------------- */

/* ---------------------- Code Block Styles Stars ---------------------- */
/* code {
  font-family: "JetBrains Mono", monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
} */

.code-block {
  position: relative;
  margin: 2rem 0;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: #2d2d2d;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  background: none;
}

.code-block code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  line-height: 1;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 0.4rem 0.8rem;
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.copy-btn i {
  font-size: 0.9rem;
}
/* ---------------------- Code Block Styles Ends ---------------------- */

/* ---------------------- Media Container Styles Stars ---------------------- */
.media-container {
  margin: 1rem 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-container img {
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.media-container:hover img {
  transform: scale(1.02);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* ---------------------- Media Container Styles Ends ---------------------- */

/* ---------------------- Main Content Styles Stars ---------------------- */
/* Content Styling */
.page-heading {
  color: #2c3e50;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  padding: 0.6rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(
      to right,
      var(--secondary-color),
      var(--primary-color)
    )
    1;
}

.topic-section {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topic-title {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-color);
}

.topic-definition {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #34495e;
}

/* Un-ordered and Ordered List Styles */
.ordered-list,
.unordered-list {
  padding-left: 2rem;
  margin: 0;
}

.list-title {
  font-weight: 600;
  color: var(--text-color-bold);
}

/* List styles of ordered and unordered */
.lower-roman {
  list-style: lower-roman;
}

.upper-roman {
  list-style: upper-roman;
}

.lower-alpha {
  list-style: lower-alpha;
}

.upper-alpha {
  list-style: upper-alpha;
}

.disc {
  list-style: disc;
}

.circle {
  list-style: disc;
}

.ordered-list > li,
.unordered-list > li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

/* Exercise Styling */
.exercise-container {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--secondary-color);
}

.exercise-list {
  padding-left: 1.5rem;
}

.exercise-list ul {
  padding-left: 2rem;
  margin-top: 0.5rem;
}

.exercise-list li {
  margin: 0.5rem 0;
  color: #34495e;
}

.example {
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 1rem 0 0;
  font-weight: 600;
  font-size: 1.1rem;
}

.link {
  color: #306998;
  text-decoration: none;
  font-weight: bold;
}

.link:hover {
  text-decoration: underline;
}

/* Base text utilities */
:where(.text-bold) {
  font-weight: 700 !important;
}

:where(.text-semibold) {
  font-weight: 600 !important;
}

:where(.text-italic) {
  font-style: italic !important;
}

:where(.text-bold-italic) {
  font-weight: 700 !important;
  font-style: italic !important;
}

:where(.text-underline) {
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}

:where(.text-highlight) {
  background-color: #fffc9e;
  padding: 0.1em 0.3em;
  box-decoration-break: clone;
}

:where(.text-oblique) {
  font-style: oblique 12deg !important;
}
/* ---------------------- Main Content Styles Ends ---------------------- */
