/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body Background */
body {
  background-color: #001b6b; 
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 10px 40px;
  position:sticky;
  top: 0;
  z-index: 10;
}


.logo h2 {
  color: #000;
  background: #facc15;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  background: linear-gradient(90deg, #000 0%, #00bcd4 100%);
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  transform: scale(1.1);
}

.login-btn {
  background-color: #7373f2;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.login-btn:hover {
  background-color: #5b5be3;
}

/* Hero Section */
#hero {
  position: relative;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  min-height: 80vh;
  overflow: hidden;
}

.hero-content {
  max-width: 50%;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

span{
  color: #22c55e;
  font-weight: 700;
}


.hero-content p {
  color: #e6e6e6;
  font-size: 1rem;
  margin-top: 20px;
  line-height: 1.6;
}

/* Image Animation */
.hero-img img {
  width: 230px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/*Wave Animation*/
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: white;
  clip-path: path("M0,100 C300,200 600,0 900,100 C1200,200 1500,0 1800,100 L1800,200 L0,200 Z");
  animation: waveMove 6s linear infinite;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-img {
    margin-top: 40px;
  }

  .hero-img img {
    width: 180px;
  }

  .nav-links {
    display: none;
  }

  #editor p{
     max-width: 80%;
  }

  .box{
    max-width: 80%;
  }
  .contact-container{
    max-width: 80%;
  }
}


/* launch */
#launch{
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #dce3ef;
  
}

.section-title span {
  color:#22c55e;
}

/* Cards Layout */
.cards-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual Card */
.launch-card {
  background-color: #121820;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
  transform: scale(0.9);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.launch-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(80, 150, 255, 0.3);
}

/* Card Image */
.card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card Content */
.card-content {
  padding: 1.2rem;
}

.card-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.card-content p {
  color: #b6c0d1;
  font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* headline part */
.poster{
    display: flex;
    justify-content: center;
    align-items: center;
}
.box{
    background-color: #22c55e;
    width: 800px;
    height: 50px;
     border-radius: 10px;
    padding: 10px;
    white-space: nowrap;
    overflow:hidden;
}
.box h1{
  color:rgba(255, 255, 255, 0.844);

  animation-name: mover;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction:normal;
}

/* Animations */
@keyframes mover{
    from{
       margin-left: 100%;
    }
    to{
      margin-left: -100%;
    }
}

.code{
  width: 100%;
  height:720px;
}
#editor p{
  margin-left:15px;
  color: #facc15;
}

/* Instructor */

#instructor-section {
  text-align: center;
  max-width: 1100px;
  padding: 50px 20px;
}

#instructor-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#instructor-section h1 span {
  color:#22c55e;
}

#instructor-section p {
  color: #9ba3af;
  margin-bottom: 40px;
  font-size: 1rem;
}

.instructors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.instructor-card {
  background-color: #161b22;
  border-radius: 15px;
  width: 330px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(77, 163, 255, 0.4);
}

.instructor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.info {
  padding: 20px;
  text-align: left;
}

.info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info h4 {
  color: #9ba3af;
  font-weight: 500;
  margin-bottom: 10px;
}

.highlight {
  color: #4da3ff;
  font-weight: 500;
  margin-bottom: 10px;
}

.info p {
  color: #d0d6de;
  line-height: 1.5;
  font-size: 0.95rem;
}

.card{
  display: flex;
  justify-content: center;
}


/* contact */
.contact-section {
  width: 90%;
  max-width: 1200px;
  padding: 40px 0;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.contact {
  flex: 1 1 550px;
}

.contact h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact h1 span {
  color:#22c55e;
}

.contact p {
  color: #b8b8b8;
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 6px;
  color: #dcdcdc;
  font-size: 14px;
}

.input-box {
  position: relative;
}

.input-box i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #8a8a8a;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #2d2d2d;
  border-radius: 10px;
  background-color: #1a1a1d;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.input-box input:focus,
.input-box textarea:focus {
  border-color: #9d4edd;
}

.send-btn {
  background:#22c55e;
  border: none;
  padding: 14px 28px;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.send-btn i {
  margin-left: 8px;
}

.send-btn:hover {
  background:#22c55e;
}

#contact-section{
  display: flex;
  justify-content: center;
  align-items: center;
}



/* footer */
.footer {
  background-color: #0c0e12;
  padding-top: 40px;
}

.footer-gradient {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #7e22ce, #ff6a00);
  margin-bottom: 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 0 20px 40px;
}

.footer-column {
  flex: 1 1 220px;
  margin: 20px;
}

.footer-column h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
}

.about h2 {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}

.about h2 span {
  color: #a855f7;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #bdbdbd;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #a855f7;
}

.footer-column p {
  max-width: 280px;
  line-height: 1.6;
  color: #cfcfcf;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1a1c22;
  border-radius: 50%;
  color: #d6d6d6;
  font-size: 18px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: #a855f7;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1f1f1f;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #bdbdbd;
}

.footer-bottom span {
  color: #a855f7;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin: 15px 0;
  }

  .social-icons {
    justify-content: center;
  }
  .footer-gradient{
    max-width: 80%;
  }
  .text{
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.social-icons img{
  width: 25px;
  height: 25px;
}


