@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --main-color: #6366f1;
  --secondary-color: #4f46e5;
  --red: #ef4444;
  --orange: #f97316;
  --green: #10b981;
  --white: #fff;
  --black: #1e293b;
  --light-color: #64748b;
  --light-bg: #f1f5f9;
  --dark-bg: #0f172a;
  --border: .1rem solid rgba(0, 0, 0, 0.1);
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --gradient: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

*::selection {
  background-color: var(--main-color);
  color: #fff;
}

*::-webkit-scrollbar {
  height: .5rem;
  width: .7rem;
}

*::-webkit-scrollbar-track {
  background-color: var(--light-bg);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 10px;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  background-color: var(--light-bg);
  padding-left: 30rem;
  color: var(--black);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

body.dark {
  --white: #1e293b;
  --black: #f8fafc;
  --light-color: #cbd5e1;
  --light-bg: #0f172a;
  --dark-bg: #020617;
  --border: .1rem solid rgba(255, 255, 255, 0.1);
}

body.active {
  padding-left: 0;
}

section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.btn,
.option-btn,
.delete-btn,
.inline-btn,
.inline-option-btn,
.inline-delete-btn {
  border-radius: 1rem;
  padding: 1.2rem 3rem;
  font-size: 1.8rem;
  color: #fff;
  margin-top: 1rem;
  text-transform: capitalize;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--box-shadow);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before,
.option-btn::before,
.delete-btn::before,
.inline-btn::before,
.inline-option-btn::before,
.inline-delete-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: width 0.5s ease;
}

.btn:hover::before,
.option-btn:hover::before,
.delete-btn:hover::before,
.inline-btn:hover::before,
.inline-option-btn:hover::before,
.inline-delete-btn:hover::before {
  width: 100%;
}

.btn,
.option-btn,
.delete-btn {
  display: block;
  width: 100%;
}

.inline-btn,
.inline-option-btn,
.inline-delete-btn {
  display: inline-block;
}

.btn,
.inline-btn {
  background: var(--gradient);
}

.option-btn,
.inline-option-btn {
  background: linear-gradient(135deg, var(--orange), #fb923c);
}

.delete-btn,
.inline-delete-btn {
  background: linear-gradient(135deg, var(--red), #f87171);
}

.btn:hover,
.option-btn:hover,
.delete-btn:hover,
.inline-btn:hover,
.inline-option-btn:hover,
.inline-delete-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.flex-btn {
  display: flex;
  gap: 1rem;
}

.message {
  position: sticky;
  top: 0;
  margin: 0 auto;
  background-color: var(--white);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  z-index: 1000;
  border-radius: 1rem;
  max-width: 1200px;
  animation: fadeInDown 0.5s ease;
  box-shadow: var(--box-shadow);
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.form {
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--white);
  top: 2rem;
  border-radius: .5rem;
}

.message span {
  font-size: 2rem;
  color: var(--black);
}

.message i {
  font-size: 2.5rem;
  color: var(--red);
  cursor: pointer;
  transition: .2s linear;
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  text-align: center;
}

.message i:hover {
  transform: rotate(90deg);
  background-color: var(--red);
  color: var(--white);
}

.empty {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  font-size: 2rem;
  color: var(--red);
  box-shadow: var(--box-shadow);
}

.heading {
  padding-bottom: 1.8rem;
  border-bottom: var(--border);
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.header {
  background-color: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.header .flex {
  padding: 1.5rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .flex .logo {
  font-size: 2.5rem;
  color: var(--main-color);
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
}

.header .flex .search-form {
  width: 50rem;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 2rem;
  background-color: var(--light-bg);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header .flex .search-form input {
  width: 100%;
  background: none;
  font-size: 2rem;
  color: var(--black);
}

.header .flex .search-form button {
  font-size: 2rem;
  color: var(--black);
  cursor: pointer;
  background: none;
}

.header .flex .search-form button:hover {
  color: var(--main-color);
}

.header .flex .icons div {
  font-size: 2rem;
  color: var(--black);
  border-radius: 50%;
  height: 4.5rem;
  cursor: pointer;
  width: 4.5rem;
  line-height: 4.5rem;
  background-color: var(--light-bg);
  text-align: center;
  margin-left: .7rem;
  transition: all 0.3s ease;
}

.header .flex .icons div:hover {
  background-color: var(--main-color);
  color: var(--white);
  transform: translateY(-3px);
}

#search-btn {
  display: none;
}

.header .flex .profile {
  position: absolute;
  top: 120%;
  right: 2rem;
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  width: 30rem;
  transform: scale(0);
  transform-origin: top right;
  box-shadow: var(--box-shadow);
}

.header .flex .profile.active {
  transform: scale(1);
  transition: .2s linear;
}

.header .flex .profile img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .5rem;
  border: 3px solid var(--light-bg);
}

.header .flex .profile h3 {
  font-size: 2rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.header .flex .profile span {
  color: var(--light-color);
  font-size: 1.6rem;
}

.side-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 30rem;
  background-color: var(--white);
  border-right: var(--border);
  z-index: 1200;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
}

.side-bar .close-side-bar {
  text-align: right;
  padding: 2rem;
  padding-bottom: 0;
  display: none;
}

.side-bar .close-side-bar i {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.4rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  background-color: var(--red);
  text-align: center;
  border-radius: 50%;
}

.side-bar .close-side-bar i:hover {
  background-color: var(--black);
  transform: rotate(90deg);
}

.side-bar .profile {
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: var(--border);
}

.side-bar .profile img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .5rem;
  border: 3px solid var(--light-bg);
}

.side-bar .profile h3 {
  font-size: 2rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.side-bar .profile span {
  color: var(--light-color);
  font-size: 1.6rem;
}

.side-bar .navbar a {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  margin: 0.5rem 0;
  font-size: 1.8rem;
  color: var(--black);
  border-radius: 0 2rem 2rem 0;
  transition: all 0.3s ease;
}

.side-bar .navbar a i {
  color: var(--main-color);
  margin-right: 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  text-align: center;
  background-color: var(--light-bg);
}

.side-bar .navbar a span {
  color: var(--light-color);
}

.side-bar .navbar a:hover {
  background-color: var(--light-bg);
  padding-left: 3rem;
  color: var(--main-color);
}

.side-bar .navbar a:hover i {
  margin-right: 2.5rem;
  transform: scale(1.1);
  background-color: var(--main-color);
  color: var(--white);
}

.side-bar.active {
  left: -31rem;
}

.quick-select .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27.5rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.quick-select .box-container .box {
  border-radius: 1rem;
  background-color: var(--white);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.quick-select .box-container .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.1);
}

.quick-select .box-container .box .title {
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.quick-select .box-container .box .title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.quick-select .box-container .box p {
  line-height: 1.5;
  padding-top: 1.5rem;
  color: var(--light-color);
  font-size: 1.8rem;
}

.quick-select .box-container .box p span {
  color: var(--main-color);
}

.quick-select .box-container .tutor {
  text-align: center;
}

.quick-select .box-container .tutor p {
  padding-bottom: 1rem;
}

.quick-select .box-container .box .flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
}

.quick-select .box-container .box .flex a {
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.6rem;
  background-color: var(--light-bg);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.quick-select .box-container .box .flex a i {
  margin-right: 1rem;
  color: var(--black);
  transition: all 0.3s ease;
}

.quick-select .box-container .box .flex a span {
  color: var(--light-color);
}

.quick-select .box-container .box .flex a:hover {
  background-color: var(--main-color);
  transform: translateY(-3px);
}

.quick-select .box-container .box .flex a:hover i {
  color: var(--white);
}

.quick-select .box-container .box .flex a:hover span {
  color: var(--white);
}

.courses .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.courses .box-container .box {
  border-radius: 1rem;
  background-color: var(--white);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.courses .box-container .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.courses .box-container .box .tutor {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.courses .box-container .box .tutor img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.courses .box-container .box .tutor h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.courses .box-container .box .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.courses .box-container .box .thumb {
  width: 100%;
  border-radius: 1rem;
  height: 20rem;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.courses .box-container .box:hover .thumb {
  transform: scale(1.05);
}

.courses .box-container .box .title {
  font-size: 2rem;
  color: var(--black);
  margin-top: 1rem;
  padding: .5rem 0;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.courses .more-btn {
  margin-top: 2rem;
  text-align: center;
}

.about .row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about .row .image {
  flex: 1 1 40rem;
}

.about .row .image img {
  width: 100%;
  height: 50rem;
  border-radius: 1rem;
}

.about .row .content {
  flex: 1 1 40rem;
  text-align: center;
}

.about .row .content h3 {
  font-size: 2.5rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.about .row .content p {
  line-height: 2;
  font-size: 1.8rem;
  color: var(--light-color);
  padding: 1rem 0;
}

.about .box-container {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about .box-container .box {
  flex: 1 1 25rem;
  display: flex;
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--box-shadow);
}

.about .box-container .box i {
  font-size: 3rem;
  color: var(--black);
  border-radius: 50%;
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  text-align: center;
  background-color: var(--light-bg);
}

.about .box-container .box h3 {
  color: var(--main-color);
  font-size: 2.5rem;
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.about .box-container .box span {
  font-size: 1.6rem;
  color: var(--light-color);
}

.reviews .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.reviews .box-container .box {
  border-radius: .5rem;
  padding: 2rem;
  background-color: var(--white);
  padding-top: 1.5rem;
  box-shadow: var(--box-shadow);
}

.reviews .box-container .box p {
  line-height: 2;
  font-size: 1.7rem;
  color: var(--light-color);
}

.reviews .box-container .box .user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.reviews .box-container .box .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.reviews .box-container .box .user h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.reviews .box-container .box .user .stars i {
  color: var(--main-color);
  font-size: 1.5rem;
}

.playlist .row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem;
  background-color: var(--white);
}

.playlist .row .col {
  flex: 1 1 40rem;
}

.playlist .row .col .save-list button {
  font-size: 2rem;
  border-radius: .5rem;
  background-color: var(--light-bg);
  padding: 1.2rem 2.5rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.playlist .row .col .save-list button i {
  color: var(--black);
  margin-right: 1rem;
}

.playlist .row .col .save-list button span {
  color: var(--light-color);
}

.playlist .row .col .save-list button:hover {
  background-color: var(--black);
}

.playlist .row .col .save-list button:hover i {
  color: var(--white);
}

.playlist .row .col .save-list button:hover span {
  color: var(--white);
}

.playlist .row .col .thumb {
  position: relative;
  height: 30rem;
}

.playlist .row .col .thumb span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-radius: .5rem;
  padding: .5rem 1.5rem;
  font-size: 2rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.3);
}

.playlist .row .col .thumb img {
  width: 100%;
  height: 100%;
  border-radius: .5rem;
  object-fit: cover;
}

.playlist .row .col .tutor {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.playlist .row .col .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.playlist .row .col .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.playlist .row .col .tutor span {
  color: var(--main-color);
  font-size: 1.5rem;
}

.playlist .row .col .details {
  padding-top: 1.5rem;
}

.playlist .row .col .details h3 {
  font-size: 2rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.playlist .row .col .details p {
  padding: 1rem 0;
  line-height: 2;
  color: var(--light-color);
  font-size: 1.7rem;
}

.playlist .row .col .details .date {
  font-size: 1.7rem;
  padding-top: .5rem;
}

.playlist .row .col .details .date i {
  color: var(--main-color);
  margin-right: 1rem;
}

.playlist .row .col .details .date span {
  color: var(--light-color);
}

.videos-container .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.videos-container .box-container .box {
  position: relative;
  border-radius: .5rem;
  padding: 2rem;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.videos-container .box-container .box img {
  height: 20rem;
  width: 100%;
  border-radius: .5rem;
  object-fit: cover;
}

.videos-container .box-container .box i {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 20rem;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  border-radius: .5rem;
  display: none;
}

.videos-container .box-container .box:hover i {
  display: flex;
}

.videos-container .box-container .box h3 {
  font-size: 2rem;
  color: var(--black);
  margin-top: 1rem;
  font-family: "Montserrat", sans-serif;
}

.videos-container .box-container .box:hover h3 {
  color: var(--main-color);
}

.watch-video .video-details {
  background-color: var(--white);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
}

.watch-video .video-details .video {
  width: 100%;
  border-radius: .5rem;
  background: #000;
  height: 50rem;
}

.watch-video .video-details .title {
  font-size: 2rem;
  color: var(--black);
  padding: 1.5rem 0;
  font-family: "Montserrat", sans-serif;
}

.watch-video .video-details .info {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}

.watch-video .video-details .info p {
  font-size: 1.6rem;
}

.watch-video .video-details .info p i {
  margin-right: 1rem;
  color: var(--main-color);
}

.watch-video .video-details .info p span {
  color: var(--light-color);
}

.watch-video .video-details .tutor {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.watch-video .video-details .tutor img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.watch-video .video-details .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.watch-video .video-details .tutor span {
  color: var(--light-color);
  font-size: 1.5rem;
}

.watch-video .video-details .flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.watch-video .video-details .flex a {
  margin-top: 0;
}

.watch-video .video-details .flex button {
  background-color: var(--light-bg);
  cursor: pointer;
  padding: 1rem 2.5rem;
  font-size: 2rem;
  border-radius: .5rem;
}

.watch-video .video-details .flex button i {
  color: var(--black);
  margin-right: 1rem;
}

.watch-video .video-details .flex button span {
  color: var(--light-color);
}

.watch-video .video-details .flex button:hover {
  background-color: var(--black);
}

.watch-video .video-details .flex button:hover i {
  color: var(--white);
}

.watch-video .video-details .flex button:hover span {
  color: var(--white);
}

.watch-video .video-details .description {
  padding-top: 2rem;
}

.watch-video .video-details .description p {
  line-height: 1.5;
  font-size: 1.7rem;
  color: var(--light-color);
  white-space: pre-line;
}

.comments .add-comment {
  background-color: var(--white);
  border-radius: .5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.comments .add-comment textarea {
  border-radius: .5rem;
  padding: 1.4rem;
  width: 100%;
  height: 20rem;
  background-color: var(--light-bg);
  resize: none;
  font-size: 1.8rem;
  color: var(--black);
}

.comments .show-comments {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  display: grid;
  gap: 2.5rem;
  box-shadow: var(--box-shadow);
}

.comments .show-comments .user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.comments .show-comments .user img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.comments .show-comments .user h3 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.comments .show-comments .user span {
  color: var(--light-color);
  font-size: 1.5rem;
}

.comments .show-comments .content {
  margin-bottom: 2rem;
}

.comments .show-comments .content p {
  font-size: 2rem;
  color: var(--black);
  padding: 0 1rem;
  display: inline-block;
}

.comments .show-comments .content span {
  font-size: 1.7rem;
  color: var(--light-color);
}

.comments .show-comments .content a {
  color: var(--main-color);
  font-size: 1.8rem;
}

.comments .show-comments .content a:hover {
  text-decoration: underline;
}

.comments .show-comments .text {
  border-radius: .5rem;
  background-color: var(--light-bg);
  padding: 1rem 1.5rem;
  color: var(--black);
  margin: .5rem 0;
  position: relative;
  z-index: 0;
  white-space: pre-line;
  font-size: 1.8rem;
}

.comments .show-comments .text::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  height: 1.2rem;
  width: 2rem;
  background-color: var(--light-bg);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.edit-comment form {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.edit-comment form .box {
  width: 100%;
  border-radius: .5rem;
  padding: 1.4rem;
  font-size: 1.8rem;
  color: var(--black);
  background-color: var(--light-bg);
  resize: none;
  height: 20rem;
}

.edit-comment form .flex {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: .5rem;
}

.teachers .search-tutor {
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background-color: var(--white);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
}

.teachers .search-tutor input {
  width: 100%;
  font-size: 1.8rem;
  color: var(--black);
  background: none;
}

.teachers .search-tutor button {
  font-size: 2rem;
  cursor: pointer;
  color: var(--black);
  background: none;
}

.teachers .search-tutor button:hover {
  color: var(--main-color);
}

.teachers .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
}

.teachers .box-container .box {
  border-radius: .5rem;
  padding: 2rem;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.teachers .box-container .box .tutor {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.teachers .box-container .box .tutor img {
  height: 5rem;
  width: 5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--main-color);
}

.teachers .box-container .box .tutor h3 {
  color: var(--black);
  font-size: 2rem;
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.teachers .box-container .box .tutor span {
  color: var(--main-color);
  font-size: 1.5rem;
}

.teachers .box-container .box p {
  padding-top: 1rem;
  font-size: 1.7rem;
  color: var(--light-color);
}

.teachers .box-container .box p span {
  color: var(--main-color);
}

.teachers .box-container .offer {
  text-align: center;
}

.teachers .box-container .offer h3 {
  font-size: 2rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.teachers .box-container .offer p {
  line-height: 2;
  padding-bottom: .5rem;
}

.tutor-profile .details {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.tutor-profile .details .tutor {
  margin-bottom: 2rem;
}

.tutor-profile .details .tutor img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .5rem;
  border: 3px solid var(--main-color);
}

.tutor-profile .details .tutor h3 {
  font-size: 2rem;
  color: var(--black);
  margin: .5rem 0;
  font-family: "Montserrat", sans-serif;
}

.tutor-profile .details .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.tutor-profile .details .flex {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.tutor-profile .details .flex p {
  flex: 1 1 25rem;
  border-radius: .5rem;
  background-color: var(--light-bg);
  padding: 1rem 3rem;
  font-size: 2rem;
  color: var(--light-color);
}

.tutor-profile .details .flex p span {
  color: var(--main-color);
}

.contact .row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact .row .image {
  flex: 1 1 50rem;
}

.contact .row .image img {
  height: 50rem;
  width: 100%;
  border-radius: 1rem;
}

.contact .row form {
  flex: 1 1 30rem;
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.contact .row form h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.contact .row form .box {
  width: 100%;
  margin: 1rem 0;
  border-radius: .5rem;
  background-color: var(--light-bg);
  padding: 1.4rem;
  color: var(--black);
  font-size: 1.8rem;
}

.contact .row form textarea {
  height: 20rem;
  resize: none;
}

.contact .box-container {
  margin-top: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact .box-container .box {
  flex: 1 1 30rem;
  border-radius: .5rem;
  background-color: var(--white);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.contact .box-container .box i {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.contact .box-container .box h3 {
  margin: 1.5rem 0;
  font-size: 2rem;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.contact .box-container .box a {
  display: block;
  font-size: 1.7rem;
  color: var(--light-color);
  line-height: 1.5;
  margin-top: .5rem;
}

.contact .box-container .box a:hover {
  text-decoration: underline;
  color: var(--main-color);
}

.profile .details {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.profile .details .user {
  text-align: center;
  margin-bottom: 2rem;
}

.profile .details .user img {
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: .5rem;
  border: 3px solid var(--main-color);
}

.profile .details .user h3 {
  font-size: 2rem;
  margin: .5rem 0;
  color: var(--black);
  font-family: "Montserrat", sans-serif;
}

.profile .details .user p {
  font-size: 1.7rem;
  color: var(--light-color);
}

.profile .details .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
}

.profile .details .box-container .box {
  background-color: var(--light-bg);
  border-radius: .5rem;
  padding: 2rem;
  flex: 1 1 30rem;
  box-shadow: var(--box-shadow);
}

.profile .details .box-container .box .flex {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-bottom: 1rem;
}

.profile .details .box-container .box .flex i {
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 50%;
  background-color: var(--black);
  line-height: 4.4rem;
  font-size: 2rem;
  color: var(--white);
  text-align: center;
}

.profile .details .box-container .box .flex h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.profile .details .box-container .box .flex span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.form-container form {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.form-container .login {
  width: 50rem;
}

.form-container .register {
  width: 80rem;
}

.form-container form h3 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
  text-transform: capitalize;
  font-family: "Montserrat", sans-serif;
}

.form-container form p {
  padding-top: 1rem;
  font-size: 1.7rem;
  color: var(--light-color);
}

.form-container form p span {
  color: var(--red);
}

.form-container .link {
  padding-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
}

.form-container .link a {
  color: var(--main-color);
}

.form-container .link a:hover {
  color: var(--black);
  text-decoration: underline;
}

.form-container form .box {
  width: 100%;
  border-radius: .5rem;
  margin: 1rem 0;
  font-size: 1.8rem;
  color: var(--black);
  padding: 1.4rem;
  background-color: var(--light-bg);
}

.form-container .flex {
  display: flex;
  gap: 2rem;
}

.form-container .flex .col {
  flex: 1 1 25rem;
}

.liked-videos .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, 35rem);
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: center;
  text-overflow: hidden;
}

.liked-videos .box-container .box {
  background-color: var(--white);
  border-radius: .5rem;
  padding: 2rem;
  overflow-x: hidden;
  box-shadow: var(--box-shadow);
}

.liked-videos .box-container .box .tutor {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.liked-videos .box-container .box .tutor img {
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--main-color);
}

.liked-videos .box-container .box .tutor h3 {
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: .2rem;
  font-family: "Montserrat", sans-serif;
}

.liked-videos .box-container .box .tutor span {
  font-size: 1.5rem;
  color: var(--light-color);
}

.liked-videos .box-container .box .thumb {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: 1rem;
}

.liked-videos .box-container .box .title {
  font-size: 2rem;
  color: var(--black);
  padding: .5rem 0;
  text-overflow: ellipsis;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
}

.footer {
  position: sticky;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--white);
  border-top: var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--black);
  font-size: 2rem;
  margin-top: 2rem;
  z-index: 1000;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.footer span {
  color: var(--main-color);
  font-weight: 600;
}

.visa-card {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color), #818cf8);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  transform-style: preserve-3d;
  transition: transform 0.5s;
  position: relative;
  overflow: hidden;
}

.visa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  z-index: 1;
}

.visa-card:hover {
  transform: rotateY(10deg) translateY(-10px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-name {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.card-balance-container p,
.card-number-container p {
  font-size: 14px;
  color: var(--white);
  margin: 0;
}

.card-balance,
.card-number {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.card-balance b {
  color: inherit;
}

.card-details {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.expiry-date,
.cvv {
  text-align: center;
  flex: 1;
}

.expiry-date p,
.cvv p {
  margin: 0;
  color: var(--white);
  font-size: 14px;
}

.expiry-date p:last-child,
.cvv p:last-child {
  font-size: 11px;
}

.billing-address {
  text-align: center;
  margin-top: 10px;
}

.billing-address p {
  margin: 0;
  color: var(--white);
  font-size: 14px;
}

.billing-address p:last-child {
  font-size: 11px;
}

.eye-icon {
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.eye-icon:hover {
  opacity: 0.8;
}

/* Thumbnail and video player styling */
.thumbnail {
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.thumbnail:hover .thumb {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #fff;
  background: rgba(99, 102, 241, 0.8);
  border-radius: 50%;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  background: var(--main-color);
  transform: translate(-50%, -50%) scale(1.1);
}


/* Logout popup styling */
#logoutPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 25px;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.popup-content h3 {
  margin-bottom: 15px;
  color: var(--black);
  font-size: 2.2rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.popup-content p {
  font-size: 1.6rem;
  color: var(--light-color);
  margin-bottom: 20px;
}

.popup-content button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1.6rem;
  cursor: pointer;
  margin: 0 5px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.popup-content .logout-btn {
  background: linear-gradient(135deg, var(--red), #f87171);
  color: white;
}

.popup-content .cancel-btn {
  background-color: var(--light-bg);
  color: var(--black);
}

.popup-content button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero section styling */
.hero {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  padding: 5rem 2rem;
  text-align: center;
  color: var(--white);
  margin-bottom: 2rem;
  border-radius: 0 0 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 40%);
  animation: rotate 30s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Montserrat", sans-serif;
}

.hero p {
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: .5rem;
  width: 100%;
  max-width: 40rem;
  box-shadow: var(--box-shadow);
}

.modal-box h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.modal-box p {
  margin-bottom: 2rem;
  color: var(--light-color);
  font-size: 1.4rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

   /* Edit Comment Form Styles */
.edit-comment-form {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    border: var(--border);
}

.edit-comment-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: .5rem;
    border: var(--border);
    background-color: var(--light-bg);
    font-size: 1.6rem;
    color: var(--black);
    resize: none;
    margin-bottom: 1.5rem;
    height: 15rem;
    transition: var(--transition);
}

.edit-comment-form textarea:focus {
    background-color: var(--white);
    border-color: var(--main-color);
}

.edit-comment-form .flex-btn {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Buttons */
.edit-comment-form .inline-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.6rem;
    border-radius: .5rem;
    transition: var(--transition);
}

.edit-comment-form .cancel-edit {
    background-color: var(--light-bg) !important;
    color: var(--red) !important;
    border: var(--border);
}

.edit-comment-form .cancel-edit:hover {
    background-color: var(--red) !important;
    color: var(--white) !important;
}
   /* === NEXT-LEVEL SWIPER STYLES === */
.swiper-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  margin-bottom: 3rem;
  transform-style: preserve-3d;
  perspective: 1000px;
}/* === NEXT-LEVEL SWIPER STYLES === */
.swiper-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  margin-bottom: 3rem;
  transform-style: preserve-3d;
  perspective: 1000px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.swiper {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #0f172a, #1e293b);
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16/9) {
  .swiper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
  }
  
  .slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transform-origin: center;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === FUTURISTIC NAVIGATION ARROWS === */
.swiper-button-prev,
.swiper-button-next {
  background: rgba(99, 102, 241, 0.15);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  display: none;
  transform: translateZ(20px);
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(99, 102, 241, 0.5);
  transform: scale(1.1) translateZ(20px);
  box-shadow:
    0 8px 25px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* === HOLOGRAPHIC PAGINATION === */
.swiper-pagination {
  position: absolute;
  bottom: 30px !important;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  width: 16px;
  height: 16px;
  transition: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
  background: var(--gradient);
  transform: scale(1.4);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 15px rgba(99, 102, 241, 0.6),
    0 0 30px rgba(99, 102, 241, 0.3);
}

.swiper-pagination-bullet-active::before {
  opacity: 0.6;
  animation: rotate 3s linear infinite;
}

/* === ANIMATIONS === */
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateZ(20px); }
  50% { transform: translateY(-10px) translateZ(20px); }
}

/* === RESPONSIVE ENHANCEMENTS === */
@media (min-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .swiper:hover .slide-img {
    transform: scale(1.03);
  }
}

@media (max-width: 1024px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 50px;
    height: 50px;
  }
  
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 1.5rem;
  }
  
  .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 768px) {
  .swiper-container {
    border-radius: 12px;
    margin-bottom: 2rem;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 44px;
    height: 44px;
  }
  
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 1.2rem;
  }
  
  .swiper-pagination {
    bottom: 20px !important;
    gap: 10px;
  }
  
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
  
  .swiper-pagination-bullet-active {
    transform: scale(1.3);
  }
}

@media (max-width: 480px) {
  .swiper-container {
    border-radius: 10px;
    margin-bottom: 1.5rem;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }
  
  .swiper-pagination {
    bottom: 15px !important;
    gap: 8px;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  
  .swiper-pagination-bullet-active {
    transform: scale(1.2);
  }
  
  .slide-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
/* media queries  */

@media (max-width: 1200px) {
  body {
    padding-left: 0;
  }

  .side-bar {
    transition: 0.01s ease;
    left: -30rem;
  }

  .side-bar.active {
    left: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
  }

  .side-bar .close-side-bar {
    display: block;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 768px) {
  #search-btn {
    display: inline-block;
  }

  .header .flex .search-form {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    width: auto;
    border-top: var(--border);
    border-bottom: var(--border);
    background-color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: .2s linear;
  }

  .header .flex .search-form.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .form-container .flex {
    display: flex;
    gap: 0;
    flex-flow: column;
  }

  .watch-video .video-details .video {
    height: 30rem;
  }
}

@media (max-width: 450px) {
 html {
   font-size: 50%;
 }

 .heading {
   font-size: 2rem;
 }

 .flex-btn {
   flex-flow: column;
   gap: 0;
 }

 .about .row .image img {
   height: auto;
 }

 .playlist .row .col .thumb {
   height: 20rem;
 }

 .contact .row .image img {
   height: auto;
 }

 .courses .box-container {
   grid-template-columns: 1fr;
 }
}/* Icon container styling */
.icon-container {
  display: flex;
  justify-content: space-between; /* Space icons evenly */
  gap: 20px; /* Gap between icons */
  margin: 20px 0; /* Add some margin */
}

/* Icon link styling */
.icon-link {
  text-align: center;
  text-decoration: none;
  color: var(--black); /* Use your --black variable */
  transition: color 0.4s ease;
  flex: 1; /* Equal width for all icons */
}

/* Icon styling */
.icon-link i {
  font-size: 40px; /* Icon size */
  display: block; /* Ensure the icon is on its own line */
  margin-bottom: 10px; /* Space between icon and text */
}

/* Hover effect for icons */
.icon-link:hover {
  color: var(--main-color); /* Use your --main-color variable */
}

/* Text below icons */
.icon-link span {
  font-size: 16px;
  display: block; /* Ensure text is below the icon */
}

/* Telegram icon with online status */
.telegram-icon {
  position: relative; /* Required for positioning the green circle */
}
/* Green circle for online status */
.telegram-icon::before {
  content: '';
  position: absolute;
  top: 0px; /* Adjust to move closer to the top of the icon */
  right: 18px; /* Adjust to move closer to the right of the icon */
  width: 18px; /* Size of the circle */
  height: 18px; /* Size of the circle */
  background-color: #4CAF50; /* Green color */
  border-radius: 50%; /* Make it a circle */
  border: 2px solid var(--white); /* Add a white border (use your --white variable) */
  z-index: 1; /* Ensure it's above the icon */
  animation: glow 1.5s infinite; /* Add glowing animation */
}

/* Glowing animation keyframes */
@keyframes glow {
  0% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); /* Start with no glow */
  }
  50% {
      box-shadow: 0 0 10px 5px rgba(76, 175, 80, 0.7); /* Bright glow */
  }
  100% {
      box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); /* Fade out glow */
  }
}

/* Hover effect for Telegram icon */
.telegram-icon:hover::before {
  background-color: #45a049; /* Darker green on hover */
  animation: glow 1s infinite; /* Faster glow on hover */
}


/* Wallet Section */
.wallet-section {
 padding: 1rem;
 width: 100%;
 max-width: 100%;
 margin: 0 auto;
 box-sizing: border-box;
}

.wallet-title {
 font-size: clamp(1.5rem, 4vw, 2rem);
 text-align: center;
 margin-bottom: 1.5rem;
 color: var(--black);
}

/* Wallet Card Container */
.wallet-card-wrapper {
 width: 100%;
 max-width: 420px;
 margin: 0 auto;
 padding: 0 1rem;
 box-sizing: border-box;
}

/* Main Card Styling */
.wallet-card {
 background: var(--gradient);
 color: white;
 border-radius: 16px;
 padding: 1.5rem;
 position: relative;
 overflow: hidden;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
 width: 100%;
 min-height: 240px;
 display: flex;
 flex-direction: column;
 box-sizing: border-box;
}

/* Card Number Spacing (Mastercard style) */
.spaced-number {
 font-family: monospace;
 letter-spacing: 0.15em;
 display: inline-block;
 word-spacing: 0.5em;
 position: relative;
 padding-left: 0.5em;
}

/* For masking character spacing */
.spaced-number::before {
 content: attr(data-number);
 position: absolute;
 left: 0;
 letter-spacing: 0.15em;
 word-spacing: 0.5em;
}

/* Card Header */
.wallet-card-header {
 display: flex;
 justify-content: space-between;
 align-items: flex-start;
 margin-bottom: 1.2rem;
 gap: 0.5rem;
}

.wallet-card-holder {
 font-size: clamp(1.1rem, 4vw, 1.5rem);
 font-weight: 600;
 margin: 0;
 line-height: 1.3;
 flex: 1;
 min-width: 0;
}

.wallet-card-balance-group {
 text-align: right;
 min-width: 120px;
}

/* Labels and Values */
.wallet-card-label {
 font-size: clamp(0.7rem, 3vw, 0.85rem);
 opacity: 0.9;
 margin: 0 0 0.2rem 0;
}

.wallet-card-amount {
 font-size: clamp(0.9rem, 3.5vw, 1.1rem);
 font-weight: 600;
 margin: 0;
}

.wallet-currency-eth { color: #10b981; }
.wallet-currency-tb { color: #fbbf24; }
.wallet-currency-birr { color: #ef4444; }

/* Card Number Section */
.wallet-card-number-group {
 background: rgba(255, 255, 255, 0.1);
 padding: 0.8rem;
 border-radius: 10px;
 margin-bottom: 1.2rem;
}

.wallet-card-number {
 font-size: clamp(0.9rem, 3.5vw, 1.1rem);
 font-weight: 500;
 margin: 0.3rem 0 0 0;
}

/* Card Details */
.wallet-card-details {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 1rem;
 margin-bottom: 1.2rem;
}

.wallet-card-detail {
 background: rgba(255, 255, 255, 0.1);
 padding: 0.6rem;
 border-radius: 8px;
}

.wallet-card-detail-value {
 font-size: clamp(0.75rem, 3vw, 0.9rem);
 margin: 0.2rem 0 0 0;
 font-weight: 500;
}

/* Card Footer */
.wallet-card-footer {
 border-top: 1px solid rgba(255, 255, 255, 0.2);
 padding-top: 0.8rem;
 margin-top: auto;
}

.wallet-card-email {
 font-size: clamp(0.75rem, 3vw, 0.9rem);
 margin: 0 0 0.2rem 0;
 font-weight: 500;
 word-break: break-all;
}
/* Visibility Toggle Container */
.wallet-card-visibility-container {
 display: flex;
 justify-content: flex-end; /* move to the right */
 margin-top: 0.8rem;
 padding-top: 0.8rem;
 border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Toggle Icon Button */
.wallet-card-visibility-toggle {
 cursor: pointer;
 background: none;         /* no background */
 width: auto;              /* remove fixed size */
 height: auto;
 border: none;             /* no border */
 border-radius: 0;         /* no circle */
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.6rem;
 color: white;             /* icon stays white */
 transition: none;
 padding: 0;
 margin: 0;
 right: unset;             /* remove manual positioning */
 bottom: unset;
}

.wallet-card-visibility-toggle:hover {
 transform: none;          /* no hover effect */
}

/* [Previous CSS styles remain the same until .wallet-card-number] */

.wallet-card-number {
 font-size: clamp(0.9rem, 3.5vw, 1.1rem);
 font-weight: 500;
 margin: 0.3rem 0 0 0;
 display: flex;
 align-items: center;
 gap: 8px;
}

/* Copy Icon Styles */
.copy-icon {
 cursor: pointer;
 font-size: 1.6rem;
 opacity: 0.7;
 transition: all 0.2s ease;
 padding: 4px;
 border-radius: 4px;
}

.copy-icon:hover {
 opacity: 1;
 background: rgba(255, 255, 255, 0.2);
 transform: scale(1.1);
}

.copy-icon:active {
 transform: scale(0.95);
}

/* Tooltip for copy feedback */
.copy-tooltip {
 position: fixed;
 background: var(--dark-bg);
 color: white;
 padding: 6px 12px;
 border-radius: 4px;
 font-size: 0.8rem;
 pointer-events: none;
 z-index: 1000;
 opacity: 0;
 transition: opacity 0.2s;
}

.copy-tooltip.show {
 opacity: 1;
}

/* [Rest of your existing CSS remains the same] */

/* Very small screens */
@media (max-width: 340px) {
 .wallet-card {
    padding: 1rem;
 }
 
 .wallet-card-header {
    flex-direction: column;
 }
 
 .wallet-card-balance-group {
    text-align: left;
    width: 100%;
 }
 
 .wallet-card-details {
    grid-template-columns: 1fr;
 }
}
.styled-search-form form {
   display: flex;
   align-items: center;
   width: 98%;
   max-width: 600px;
}

.styled-search-form input[type="text"] {
   flex: 1;
   padding: 1rem;
   border: var(--border);
   border-radius: 5px 0 0 5px;
   background-color: var(--white);
   color: var(--black);
   font-size: 2rem;
   height: 50px;
}

.styled-search-form button {
   padding: 1rem;
   border: var(--border);
   border-left: none;
   border-radius: 0 5px 5px 0;
   background-color: var(--main-color);
   color: var(--white);
   font-size: 2.4rem;
   cursor: pointer;
   height: 50px;
   width: 50px;
}

.thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 10px; /* Optional: Add rounded corners */
}

.thumbnail {
  position: relative;
  cursor: pointer;
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  margin: 0 auto;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px; /* Size of the play icon */
  color: #fff; /* White color for the icon */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  border-radius: 50%; /* Circular shape */
  width: 50px; /* Width of the play button */
  height: 50px; /* Height of the play button */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.play-button:hover {
  background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
  transform: translate(-50%, -50%) scale(1.1); /* Slightly enlarge on hover */
}

.play-button i {
  margin-left: 5px; /* Adjust the play icon position */
}

.styled-search-form form {
  display: flex;
  align-items: center;
  width: 98%;
  max-width: 600px;
  margin: 0 auto; /* Center the form */
}

.styled-search-form input[type="text"] {
  flex: 1;
  padding: 0.8rem;
  border: var(--border);
  border-radius: 5px 0 0 5px;
  background-color: var(--white);
  color: var(--black);
  font-size: 1rem;
  height: 40px;
}

.styled-search-form button {
  padding: 0.8rem;
  border: var(--border);
  border-left: none;
  border-radius: 0 5px 5px 0;
  background-color: var(--main-color);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  height: 40px;
  width: 40px;
}

/* Medium devices (tablets, 600px and up) */
@media (min-width: 600px) {
  .styled-search-form input[type="text"] {
    font-size: 1.6rem;
    height: 45px;
    padding: 1rem;
  }
  
  .styled-search-form button {
    font-size: 1.8rem;
    height: 45px;
    width: 45px;
    padding: 1rem;
  }
}

/* Large devices (desktops, 900px and up) */
@media (min-width: 900px) {
  .styled-search-form input[type="text"] {
    font-size: 2rem;
    height: 50px;
  }
  
  .styled-search-form button {
    font-size: 2.4rem;
    height: 50px;
    width: 50px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .styled-search-form input[type="text"] {
    font-size: 2.4rem;
  }
  
  .styled-search-form button {
    font-size: 2.6rem;
  }
}
/* verification page css starts */
    .verification-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.verification-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  transition: var(--transition);
  min-height: 400px; /* Adjust this value as needed */
}
      
      .verification-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
      }
      
      .verification-header {
        text-align: center;
        margin-bottom: 2rem;
      }
      
      .verification-header h2 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        color: var(--black);
        font-weight: 700;
      }
      
      .verification-header p {
        color: var(--light-color);
        font-size: 1.1rem;
      }
      
      .status-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.2rem;
        border-radius: 0.8rem;
        margin-bottom: 2rem;
        font-weight: 600;
        gap: 0.8rem;
      }
      
      .status-icon {
        font-size: 1.5rem;
      }
      
      .status-pending {
        background-color: rgba(249, 115, 22, 0.1);
        color: var(--orange);
        border: 1px solid rgba(249, 115, 22, 0.2);
      }
      
      .status-approved {
        background-color: rgba(16, 185, 129, 0.1);
        color: var(--green);
        border: 1px solid rgba(16, 185, 129, 0.2);
      }
      
      .status-rejected {
        background-color: rgba(239, 68, 68, 0.1);
        color: var(--red);
        border: 1px solid rgba(239, 68, 68, 0.2);
      }
      
      .status-not-submitted {
        background-color: rgba(99, 102, 241, 0.1);
        color: var(--main-color);
        border: 1px solid rgba(99, 102, 241, 0.2);
      }
      
      .requirements-card {
        background: var(--light-bg);
        border-radius: 0.8rem;
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-left: 4px solid var(--main-color);
      }
      
      .requirements-card h4 {
        margin-top: 0;
        color: var(--main-color);
        font-size: 1.2rem;
        margin-bottom: 1rem;
      }
      
      .requirements-list {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      .requirements-list li {
        position: relative;
        padding-left: 1.8rem;
        margin-bottom: 0.8rem;
        color: var(--light-color);
      }
      
      .requirements-list li:before {
        content: "•";
        color: var(--main-color);
        font-weight: bold;
        position: absolute;
        left: 0;
      }
      
      .form-group {
        margin-bottom: 1.5rem;
      }
      
      .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--black);
      }
      
      .form-group .box {
        width: 100%;
        padding: 1rem;
        border-radius: 0.8rem;
        background: var(--light-bg);
        border: var(--border);
        font-size: 1rem;
        color: var(--black);
        transition: var(--transition);
      }
      
      .form-group .box:focus {
        border-color: var(--main-color);
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        outline: none;
      }
      
      .file-upload {
        position: relative;
        display: block;
      }
      
      .file-upload .box {
        padding: 0.8rem;
      }
      
      .file-note {
        font-size: 0.9rem;
        color: var(--light-color);
        margin-top: 0.5rem;
      }
      
      .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
        margin: 1.5rem 0;
      }
      
      .checkbox-group input[type="checkbox"] {
        margin-top: 0.3rem;
        accent-color: var(--main-color);
      }
      
      .checkbox-group label {
        font-size: 0.95rem;
        color: var(--light-color);
        line-height: 1.5;
      }
      
      .btn-primary {
        background: var(--gradient);
        color: var(--white);
        padding: 1rem 2rem;
        border-radius: 0.8rem;
        font-weight: 600;
        font-size: 1rem;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        width: 100%;
        display: block;
        text-align: center;
      }
      
      .btn-primary:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1.5rem rgba(99, 102, 241, 0.3);
      }
      
      .success-content {
        text-align: center;
        padding: 2rem 0;
      }
      
      .success-icon {
        font-size: 4rem;
        color: var(--green);
        margin-bottom: 1.5rem;
      }
      
      .success-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--black);
      }
      
      .success-content p {
        color: var(--light-color);
        margin-bottom: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
      }
      
      .action-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
      }
      
      .inline-btn {
        background: var(--gradient);
        color: #ffff;
        padding: 0.8rem 1.5rem;
        border-radius: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        display: inline-block;
      }
      
      .inline-btn:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1.5rem rgba(99, 102, 241, 0.3);
      }
      
      .inline-btn.outline {
        background: var(--main-color);
        color: #ffff;
      }
      
      
      @media (max-width: 1200px) {
        body {
          padding-left: 0;
        }
      }
      
      @media (max-width: 768px) {
        .verification-card {
          padding: 1.5rem;
        }
        
        .action-buttons {
          flex-direction: column;
        }
        
        .inline-btn {
          text-align: center;
        }
      }
      /* verification page ends */