body {
    background: #060432;
    color: #babddd;
     font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 32px;
    max-width: 1200px;
    padding: 0 30px;
    /* height: auto; */
    
}

header {
    padding: 25px 170px;
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    top: 0;
    left: 0;
    
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}


nav a {
    font-size: 1.2rem;
    color: #babddd;
    text-decoration: none;
    /* background-color: #fff; */
    margin: 0 16px;
    font-weight: 500;
}

 


.logo {
  animation: hideLogo 1s linear both;
  animation-timeline: scrollLogoTimeline;
}


nav .profile {
    background: #202040;
    border-radius: 18px;
    padding: 4px 12px;
    color: #fafafa;
    margin-left: 24px;
    display: inline-block;
}

.bold {
    font-weight: bold;
    color: #fafafa;
}
/* 🌐 GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0d0b21;
  color: #fafafa;
  overflow-x: hidden;
}

/* 🎥 Background Video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.15; 
  pointer-events: none; 
}

/* 🧩 MAIN SECTION */
main {
  height: 90vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6%;
  gap: 60px;
}

/* 🧠 LEFT CONTENT */
.content {
  flex: 1 1 40%;
  min-width: 320px;
  animation: fadeIn 1.2s ease forwards;
}

h1 {
  font-size: 3rem;
  color: #fafafa;
  margin-bottom: 14px;
  line-height: 1.2;
}

.purple {
  color: #6a35ff;
  animation: glow 2.5s infinite;
}

.desc {
  color: #babddd;
  font-size: 1.2rem;
  margin-bottom: 26px;
  line-height: 1.6;
}

/* 🌐 SOCIAL ICONS */
.socials {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.socials span {
  font-size: 1.6rem;
  opacity: 0.9;
  cursor: pointer;
}
.socials span:hover {
  transform: scale(1.2);
  color: #a78bfa;
}

/* 🖱️ BUTTONS */
.buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn.primary {
  background: linear-gradient(90deg, #9333ea, #7e22ce);
  color: #fff;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
}
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.7);
}
.btn.secondary {
  background: transparent;
  color: #a855f7;
  border: 2px solid #a855f7;
}
.btn.secondary:hover {
  background: #a855f7;
  color: #fff;
  transform: translateY(-3px);
}

/* 📊 STATS */
.stats {
  margin-top: 34px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.stats div {
  text-align: center;
  font-size: 1rem;
}
.bold {
  font-weight: bold;
  font-size: 1.6rem;
  color: #7d6aff;
}

/* 💻 EDITOR RIGHT SIDE */
.editor {
  background: linear-gradient(135deg, #272647 0%, #1c1d32 100%);
  border-radius: 26px;
  box-shadow: 0px 0px 90px #2707c633;
  padding: 28px;
  border: 3px solid #f5f5f737;
  min-width: 450px;
  max-width: 550px;
  position: relative;
  overflow: hidden;
}
.editor-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.editor-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-right: 7px;
  display: inline-block;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.editor-title {
  margin-left: 18px;
  color: #fafafa;
  font-size: 1em;
}
.live {
  color: #20f47b;
  margin-left: auto;
  font-size: 0.97em;
  animation: blink 2s infinite;
}

.code-block {
  background: transparent;
  color: #babddd;
  font-family: 'Fira Mono', monospace;
  font-size: 1em;
  white-space: pre;
  line-height: 1.6;
}

.code-purple { color: #a085ff; }
.code-blue { color: #56a2f3; }

/* ✨ ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
  0%, 100% { text-shadow: 0 0 3px #a085ff, 0 0 8px #a085ff; }
  50% { text-shadow: 0 0 10px #8c6fee, 0 0 10px #8c6fee; }
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* 🌈 NAV HOVER EFFECTS */
nav a:hover {
  color: #ffffff; 
  text-shadow: 0 0 8px #a78bfa;
  padding: 6px 10px;
  border-radius: 50px;
  background-color: #3610a1;
}

/* 🧱 MEDIA QUERIES */

/* 🖥️ Tablets (≤1000px) */
@media (max-width: 1000px) {
  main {
    flex-direction: column;
    /* justify-content: center; */
    height: auto;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }
  .editor {
    margin-top: 40px;
    min-width: 80%;
    width: 90%;
  }
  h1 {
    font-size: 2.5rem;
  }
}

/* 📱 Mobile (≤768px) */
@media (max-width: 768px) {
  main {
    flex-direction: column;
    height: auto;
    padding: 80px 20px;
  }
  .content {
    text-align: center;
    width: 100%;
  }
  .editor {
    margin: 40px auto;
    width: 95%;
    min-width: unset;
    border-radius: 18px;
    padding: 20px;
  }
  .buttons {
    justify-content: center;
  }
  .stats {
    justify-content: center;
    gap: 20px;
  }
  h1 {
    font-size: 2rem;
  }
  .desc {
    font-size: 1rem;
  }
}

/* 📱 Extra Small (≤480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  .desc {
    font-size: 0.95rem;
  }
  .editor {
    padding: 16px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


/* permium section =====================courses   =====================================================*/



  .premium-section {
    max-width: 1200px;
    /* height: 100vh; */
    margin: 60px auto 80px;
    padding: 0 30px;
    text-align: center;
  }
  .premium-section h2 {
    font-weight: 700;
    font-size: 3.2rem;
    color: #e3e3e3;
    margin-bottom: 12px;
  }

  .premium-section h2 .highlight {
    color: #825ef7;
  }

  .premium-section p {
    font-weight: 400;
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #7c9ecf;
  }

  .underline {
    height: 3px;
    background-color: #825ef7;
    width: 90px;
    margin: 0 auto 40px;
    border-radius: 2px;
    animation: underlineGrow 1.5s ease forwards;
  }

  @keyframes underlineGrow {
    0% {width: 0;}
    100% {width: 90px;}
  }

  .course-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .course-card {
    background: linear-gradient(135deg, #251a63 0%, #11121c 100%);
    border-radius: 12px;
    box-shadow: 0 0 24px #553bdf88;
    width: 320px;
    color: #a2a4b2;
    overflow: hidden;
    text-align: left;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
  }


  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  .course-image {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .tags {
    display: flex;
    gap: 12px;
    margin: 10px 12px 10px;
    flex-wrap: wrap;
  }

  .tag {
    background-color: #6349b1;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    color: white;
    white-space: nowrap;
  }

  .lectures {
    background: #1d1d3a;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-left: auto;
    align-self: center;
    font-weight: 600;
  }

  .course-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 12px 6px;
    color: white;
  }

  .course-subtitle {
    margin: 0 12px 10px;
    font-size: 0.88rem;
    color: #8ba2cc;
  }

  .course-desc {
    padding: 15px;
    margin: 0 12px 18px;
    color: #a2a4b2;
  }


  /*  */
  .learning-journey {
  height:auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
/* @media(max-width:768px){
  .learning-journey{
    height: auto;
     width: 100%;
  }
} */

.learning-journey h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ebe7f3;
  margin-bottom: 20px;
}

.learning-journey p {
  font-size: 1.6rem;
  color: #64626b;
  margin-bottom: 40px;
  line-height: 1.4;
}

.learning-journey button {
  background: #5d0cdf;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learning-journey button:hover {
  background: #7f3eff;
  transform: scale(1.05);
}

/* 🌀 Animations */
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.course-card:hover img {
  transform: scale(1.1);
}

.course-card:nth-child(1) { animation-delay: 0.2s; }
.course-card:nth-child(2) { animation-delay: 0.4s; }
.course-card:nth-child(3) { animation-delay: 0.6s; }

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(155, 92, 255, 0.3);
}

/* =====================================instructor ========================================= */


.instructors-section {
  text-align: center;
  width: 100%;
  padding: 50px 20px;
}


.instructors-section h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.instructors-section h2 span {
  color: #a855f7;
}

.instructors-section p {
  color: #a1a1aa;
  font-size: 1rem;
  margin-bottom: 40px;
}

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

}


.instructor-card {
  background: #141420;
  border-radius: 20px;
  padding: 30px;
  width: 600px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.2);
  transition: transform 0.4s ease;
}

.instructor-card:hover {
  transform: translateY(-8px);
}

.instructor-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid #a855f7;
  object-fit: cover;
}

.instructor-info {
  text-align: left;
}

.instructor-info h3 {
  font-size: 1.6rem;
  color: #fff;
}

.role {
  color: #a855f7;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.tags span {
  background: #2a2a3a;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.bio {
  color: #a1a1aa;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #a855f7;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #9333ea;
}

.btn-outline {
  border: 2px solid #a855f7;
  color: #a855f7;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #a855f7;
  color: #fff;
}

@media (max-width:1000px){
    .carousel {
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    }
    .instructor-card {
        display:flex;
      /* flex-direction:column; */
        width: 600px;
        height: auto;
        overflow: hidden;
    }
}


/* ===========Contact ============================================================================== */

.contact-section {
  width: 100%;
  padding: 60px 8%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-left {
  flex: 1 1 45%;
}

.contact-left h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-left h2 span {
  color: #a855f7;
}

.contact-left p {
  color: #a1a1aa;
  margin-bottom: 30px;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full-width {
  flex: 1 1 100%;
}

label {
  font-size: 0.9rem;
  color: #a1a1aa;
}

input,
textarea {
  background: #141420;
  border: 1px solid #2a2a3a;
  border-radius: 10px;
  padding: 12px 15px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #a855f7;
}

textarea {
  resize: none;
  min-height: 120px;
}

.btn-primary {
  background: linear-gradient(90deg, #9333ea, #a855f7);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* --- Right Section --- */
.contact-right {
    margin-top: 14%;
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box {
  background: #141420;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.15);
  position: relative;
  text-align: center;
}

.image-box img {
  width: 300px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.status {
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.quick {
  position: absolute;
  bottom: 10px;
  left: 20px;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 20px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-left, .contact-right {
    flex: 1 1 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .image-box img {
    width: 250px;
  }
  .contact-left {
  /* flex: 1 1 45%; */
  width: 500px;
}

}


/* ========================================================================= */
/* ===== Footer Style ===== */

.footer {

  color: #d1d1d1;
  font-family: "Poppins", sans-serif;
  padding-top: 2rem;
  overflow-x: hidden;
}

.footer-top {
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, #7f00ff, #e100ff);
  margin-bottom: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.footer-col {
  flex: 1 1 250px;
}

.footer h2, .footer h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.highlight {
  color: #a855f7;
}

.footer-col p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #a855f7;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #d1d1d1;
  font-size: 20px;
  background: #323233;
  padding: 4px 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #e7dede;
  background: #a855f7;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid #202020;
  font-size: 14px;
  color: #9a9a9a;
}

.footer-bottom .highlight {
  color: #a855f7;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    justify-content:center;
    gap: 0px;

  }

  .social-icons {
    justify-content: center;
  }
  

}



