* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #0d001e;
  color: #e6eef7;
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
}


header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeDown 1s ease-out;
}

header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(160, 32, 240, 0.6);
}

header p {
  color: #c7d2e0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.highlight {
  color: #a020f0;
  font-weight: 700;
}


.about-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 50px;
  border: 1px solid rgba(160, 32, 240, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(160, 32, 240, 0.1);
  animation: fadeUp 1s ease-out;
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #a020f0;
  text-align: center;
}
p {
  opacity: 0.7;
}
p:hover {
  opacity: 1;
}

h2 {
  opacity: 0.7;
}
h2:hover {
  opacity: 1;
}
.about-section p {
  color: #e6eef7;
  line-height: 1.8;
  font-size: 16px;
  text-align: center;
}


.instructors-section {
  text-align: center;
  margin-bottom: 60px;
}

.instructors-section h2 {
  font-size: 38px;
  color: #ffffff;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(160, 32, 240, 0.4);
}

.instructors-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: 200%;
  animation: swipe 8s infinite ease-in-out;
}

.instructor-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #1a013a;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 40px rgba(160, 32, 240, 0.3);
  border: 1px solid rgba(160, 32, 240, 0.3);
  width: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  margin: 0 15px;
}

.instructor-image-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  min-width: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(45deg, #a020f0, #ff00ff);
  padding: 5px;
  box-shadow: 0 0 30px rgba(160, 32, 240, 0.8),
    inset 0 0 10px rgba(255, 255, 255, 0.2); /* Intense glow */
  margin-right: 40px;
}

.instructor-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.instructor-details {
  text-align: left;
  flex-grow: 1;
}

.instructor-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 0 8px #a020f0;
}

.instructor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tag {
  background-color: rgba(160, 32, 240, 0.2);
  color: #e6eef7;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(160, 32, 240, 0.4);
}

.instructor-bio {
  font-size: 16px;
  color: #c7d2e0;
  line-height: 1.7;
  margin-bottom: 20px;
}

.instructor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.chip {
  background-color: #3b006d;
  color: #ff99ff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #7a00cc;
}

.instructor-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn.primary:hover {
  background-color: #8a00d0;
  box-shadow: 0 6px 20px rgba(160, 32, 240, 0.8);
  transform: translateY(-2px);
}

.btn.secondary {
  background-color: transparent;
  color: #a020f0;
  border: 2px solid #a020f0;
  box-shadow: 0 0 10px rgba(160, 32, 240, 0.3);
}

.btn.secondary:hover {
  background-color: rgba(160, 32, 240, 0.1);
  color: #ffffff;
  border-color: #ff99ff;
  box-shadow: 0 0 20px rgba(160, 32, 240, 0.6);
  transform: translateY(-2px);
}


.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #444;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid transparent;
  animation: dotActive 20s infinite ease-in-out;
}

@keyframes dotActive {
  0%,
  45% {
    background-color: #a020f0;
    transform: scale(1.2);
    border-color: #ff99ff;
  }
  50%,
  95% {
    background-color: #444;
    transform: scale(1);
    border-color: transparent;
  }
}


.skills-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #1a013a;
  border-radius: 20px;
  padding: 50px;
  margin-top: 60px;
  border: 1px solid rgba(160, 32, 240, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 40px rgba(160, 32, 240, 0.3);
  animation: fadeUp 1s ease-out;
  gap: 40px;
}

.skills-content {
  flex: 1;
}

.skills-section h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 0 10px rgba(160, 32, 240, 0.4);
}

.skills-section p.intro {
  font-size: 17px;
  margin-bottom: 35px;
  line-height: 1.7;
  text-align: left;
  color: #c7d2e0;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 16px;
  color: #e6eef7;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.skill-item span {
  opacity: 0.7;
}
.skill-item span:hover {
  opacity: 1;
}
.skill-item i {
  color: #a020f0;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.skill-item:nth-child(1) {
  animation-delay: 0.2s;
}
.skill-item:nth-child(2) {
  animation-delay: 0.4s;
}
.skill-item:nth-child(3) {
  animation-delay: 0.6s;
}
.skill-item:nth-child(4) {
  animation-delay: 0.8s;
}

.skills-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.skills-image img {
  max-width: 100%;
  height: auto;
  width: 400px;
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(160, 32, 240, 0.5), 0 0 80px rgba(0, 0, 0, 0.8);
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


@keyframes swipe {
  0%,
  45% {
    transform: translateX(0);
  }
  50%,
  95% {
    transform: translateX(calc(-50% - 30px));
  }
  100% {
    transform: translateX(0);
  }
}



.footer {
  padding-top: 50px;
  margin-top: 50px;
  animation: fadeUp 1.5s ease;
}

.footer::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #220337, #0a0c10, #230860);
  background-size: 400% 400%;
  animation: gradientMove 6s ease infinite;
  z-index: -1;
}

.footer-top-border {
  height: 4px;
  background: linear-gradient(to right, #a855f7, #ec4899, #f97316);
  margin-bottom: 40px;
  animation: gradientShift 6s linear infinite alternate;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
  gap: 80px;
}

.footer-col {
  flex: 1 1 200px;
  margin-bottom: 30px;
}

.footer-logo {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #a855f7;
}

.footer-desc {
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  color: #c5c5c5;
  background: #8e3cdb;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 15px;
  text-decoration: none;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-social a:nth-child(1):hover {
  background: #0a66c2;
}
.footer-social a:nth-child(2):hover {
  background: #ff0000;
}
.footer-social a:nth-child(3):hover {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #c5c5c5;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a:hover {
  color: #a855f7;
  transform: translateX(10px);
}

.footer-col p {
  color: #c5c5c5;
  line-height: 1.7;
  font-size: 15px;
}

.footer-col p i {
  margin-right: 20px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1f1f23;
  padding: 15px 0;
  margin-top: 20px;
  font-size: 14px;
  color: white;
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}



@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-social {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 30px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col p,
  .footer-col ul li a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
  }
}


@media (max-width: 1024px) {
  header h1 {
    font-size: 40px;
  }
  .about-section h2,
  .instructors-section h2,
  .skills-section h2 {
    font-size: 30px;
  }
  .instructor-card {
    padding: 25px;
    margin: 0 10px;
  }
  .instructor-image-wrapper {
    width: 150px;
    height: 150px;
    min-width: 150px;
    margin-right: 30px;
  }
  .instructor-name {
    font-size: 28px;
  }
  .skills-section {
    padding: 40px;
  }
}

@media (max-width: 880px) {
  .instructor-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 5px;
  }
  .instructor-image-wrapper {
    margin-right: 0;
    margin-bottom: 25px;
  }
  .instructor-details {
    text-align: center;
  }
  .instructor-tags,
  .instructor-chips,
  .instructor-actions {
    justify-content: center;
  }

  .skills-section {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
  .skills-section h2,
  .skills-section p.intro {
    text-align: center;
  }
  .skills-list {
    align-items: center;
  }
  .skill-item {
    text-align: left;
  }
  .skills-image {
    padding: 0;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 32px;
  }
  header p {
    font-size: 16px;
  }
  .about-section h2,
  .instructors-section h2,
  .skills-section h2 {
    font-size: 26px;
  }
  .about-section,
  .instructors-section,
  .skills-section {
    padding: 25px;
    margin-bottom: 30px;
  }
  .instructor-card {
    padding: 20px;
  }
  .instructor-image-wrapper {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }
  .instructor-name {
    font-size: 24px;
  }
  .tag,
  .chip {
    font-size: 12px;
    padding: 4px 10px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .skills-section {
    padding: 25px;
  }
  .skills-section p.intro {
    font-size: 15px;
  }
  .skill-item {
    font-size: 15px;
  }
  .skill-item i {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .instructor-tags,
  .instructor-chips,
  .instructor-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn {
    width: 100%;
    max-width: 200px;
  }
}



::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    #0f0337,
    #35373b,
    #230860
  ); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #0e1e99,
    #0a0c10,
    #360e93
  );
  border-radius: 10px;
  border: 3px solid rgba(34, 3, 55, 0.3); 
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #232fdb,
    #0a0c10,
    #7f0a94
  );
}
