*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}
:root{
  --bg-color: #0A0C10;
  --nav-color: #3E5879;
  --text: #ffffff;
  --btn-color: #6B30E3;
  --text2-color: #6b30e3;
  --gray-text: #94A3B8;
  --div-bg: #1a1d23;
  --border-color: #333333;
  --form-bg: #121212;
  --btn-hover: #9f5eff;
}
body{
  font-family: 'inter' , sans-serif;
  background-color: var(--bg-color);
}
.navbar{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  gap: 80px;
  font-size: 18px;
  font-weight: 500;
  transition: tranform 0.3s ease;
  position: fixed;
  top: 0;
  left: 200px;
  z-index: 10;
}
.logo{
  font-size: 30px;
  letter-spacing: 8px;
}
.logo span{
  color: var(--text2-color);
  font-size: 45px;
  font-weight: 700;
}
.logo a{
  color: var(--text);
}
.logo:hover{
  transform: scale(1.1);
}
.nav-list{
  display: flex;
  align-items: center;
  gap: 20px;
  border: 2px solid rgb(35, 27, 85);
  border-radius: 30px;
  padding-left: 30px;
  background-color: var(--bg-color);
}
.nav-list ul{
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
}
.nav-list ul li{
  margin-right: 30px;
  background-color: var(--bg-color);
  padding: 10px;
  border-radius: 25px;
  transition: tranform 0.3s ease, box-shadow 0.3s ease;
}
.nav-list ul li:hover{
  transform: scale(1.1);
  box-shadow: 0px 0px 5px 1px var(--btn-color);
}
.nav-list ul li a{
  color: var(--text);
}
.nav-btn{
  font-size: 18px;
  font-weight: 600;
  padding: 20px;
  border-radius: 30px;
  background-color: var(--btn-color);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.nav-btn a{
  color: var(--text);
}
.nav-btn:hover{
   transform: scale(1.1);
   background: var(--btn-hover);
}
.nav-btn i{
  margin-right: 10px;
  font-size: 18px;
}


/* ----------about------ */
.hero{
  max-width: 100%;
  margin: 20px auto;
  padding: 15px;
  padding-top: 120px;
}
#about{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  min-height: 320px;
}
.about-image img{
  height: 70%;
  width: 70%;
  object-fit: cover;
  display: block;
  margin-left: 30px;
  border-top-right-radius: 30%;
  border-bottom-left-radius: 30%;
  animation: float 4s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
}
@keyframes float{
  0%, 100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-20px);
  }
}
.about-image img:hover{
  box-shadow: 0px 0px 30px 2px var(--btn-color);
}
.about-text{
  margin-left: 60px;
}
.about-text h1{
  color: var(--text);
  font-size: 80px;
  animation: move 5s ease-in-out forwards;
}
@keyframes move{
  0%, 100%{
    transform: translateX(0);
  }
  50%{
    transform: translateX(-40px);
  }
}
.about-text span{
  color: var(--text2-color);
}
.about-text p{
  color: var(--gray-text);
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
}
.about-btn button{
  font-size: 20px;
  font-weight: 600;
  padding: 20px 30px;
  border-radius: 20px;
  background-color: var(--btn-color);
  border: none;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 40px;
}
.about-btn a{
  color: var(--text);
}
.about-btn button:hover{
  background: var(--btn-hover);
}

           /* ------course-------  */
#courses{
  margin-top: 80px;
}
.heading{
  color: var(--text);
  text-align: center;
  margin-bottom: 30px;
}
.heading h2{
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 30px;
}
.heading span{
  color: var(--text2-color);
}
.heading p{
  font-size: 30px;
  color: var(--gray-text);
}
.line{
  height: 8px;
  width: 200px;
  margin-bottom: 30px;
  background-color: var(--btn-color);
  border-radius: 5px;
  margin: auto;
}
/* course list  */
.course-list{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  min-height: 100vh;
  position: relative;
}

.course-card{
  background-color: var(--div-bg);
  width: 350px;
  height: 500px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover{
    box-shadow: 0px 0px 30px 2px var(--btn-color);
   transform: scale(0.9) rotate(-2deg); 
}
.course-card img{
  width: 100%;
  height: 300px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.course-card h3, p{
  padding: 10px 20px;
}
.course-card h3{
  color: var(--text);
  font-size: 25px;
}
.course-card p{
  color: var(--gray-text);
  font-size: 18px;
}
.course-card span{
  color: var(--text2-color);
  font-weight: 700;
}
.course-detail{
  height: 210px;
  width: 350px;
  position: absolute;
  left: 0; 
  bottom: 0;
  background-color: var(--nav-color);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  opacity: 0;
  transition: 0.3s ease;
}
.course-detail:hover{
  opacity: 1;
}
.course-detail ul li{
  list-style: none;
  padding-left: 20px;
  text-align: justify;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text);
}
.course-detail i{
  color: var(--gray-text);
  margin-right: 10px;
}
   /* team  */
#team{
  margin-bottom: 30px;
}
.team-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 100vh;
  transition: tranform 0.3s ease;
}
.team-card{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-wrap: wrap;
  padding: 30px;
  margin-top: 30px;
  background-color: var(--div-bg);
  border: 2px solid var(--border-color);
  border-radius: 30px;
}
.team-card:hover{
  transform: scaleX(1.1)
}
.team-img img{
  height: 300px;
  width: 100%;
  border-radius: 50%;
  transition: box-shadow 0.3s ease;
}
.team-img img:hover{
  box-shadow: 0px 0px 30px 2px var(--btn-color);
}
.team-detail{
  width: 600px;
}
.team-detail h3{
  color: var(--text);
  font-size: 40px;
  margin-bottom: 30px;
}
.team-detail span{
  color: var(--text);
  background-color: var(--btn-color);
  margin: 0px 5px;
  padding: 5px;
  border-radius: 15px;
}
.team-detail p{
  margin: 30px 0px;
  color: var(--gray-text);
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
  text-transform: capitalize;
  text-align: justify;
}
.team-detail button{
  font-size: 20px;
  font-weight: 600;
  padding: 20px 30px;
  border-radius: 20px;
  background-color: var(--btn-color);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.team-detail button a{
  color: var(--text);
}
.team-detail button:hover{
  background: var(--btn-hover);
}
/* contact */
.contact-form {
  width: 100%;
  width: 800px;
  margin: 50px auto;
  background: var(--div-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text);
}

input, textarea {
  background: #1e1e1e;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
}

input:focus, textarea:focus {
  border-color: #7b3eff;
  outline: none;
}

textarea {
  min-height: 100px;
  height: 200px;
  resize: none;
}

.send-btn {
  background: #7b3eff;
  border: none;
  padding: 20px 25px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 30px;
}
.send-btn:hover {
  background: var(--btn-hover);
}
/* footer  */
.footer {
  color: var(--gray-text);
  padding-top: 30px;
}
.footer-top {
  height: 3px;
  margin: 0px 100px;
  background: linear-gradient(90deg, #8a2be2, #ff4500);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 40px 100px;
}
.footer-section h3 {
  color: var(--text);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.footer-logo {
  color: #a855f7;
  font-weight: 700;
   font-size: 1.8rem;
   margin-bottom: 15px;
}

.footer-section p {
  font-size: 18px;
  line-height: 1.6;
  padding: 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #a855f7;
}
.footer-social a {
  display: inline-block;
  color: #ccc;
  font-size: 18px;
  margin: 20px 5px;
  transition: color 0.3s;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 50%;
  font-size: 20px;
}
.youtube:hover{
  background-color: red;
}
.linkedin:hover{
  background-color: #6366f1;
}
.instagram:hover{
  background-color: #cd0da9;;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin: 0px 100px;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  color: var(--gray-text);
  margin-bottom: 50px;
}
.footer-bottom span {
  color: #a855f7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    padding: 30px 20px;
    gap: 25px;
  }
}


     /* -----tabe-----  */

@media  (max-width: 1024px) {
    .logo{
    font-size: 20px;
  }
  .navbar{
    font-size: 14px;
  }
  .nav-list{
    padding-left: 2px;
  }
  .nav-list ul li{
    margin-right: 5px;
    padding: 2px;
  }
  #about{
    flex-direction: column;

  }
  .team-card{
    flex-direction: column;
  }
    .contact-form {
    width: 90%;
    padding: 25px;
  }

  .form-row {
    gap: 20px;
  }

  input, textarea {
    font-size: 1.1rem;
    padding: 12px;
  }

  .send-btn {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
}

     /* ----mobile-------  */
@media (max-width: 768px) {
  .logo{
    font-size: 20px;
  }
  .navbar{
    font-size: 14px;
  }
  .nav-list{
    padding-left: 2px;
  }
  .nav-list ul li{
    margin-right: 5px;
    padding: 2px;
  }
  #about{
    margin-top: 50px;
    flex-direction: column;
  }
  .about-text h1{
    font-size: 60px;
  }
   .team-card{
    flex-direction: column;
  }
  .nav-list{
    position: absolute;
    top: 80px;
    right: 0px;
  }
    .team-list {
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 95%;
    padding: 20px;
  }

  .team-img img {
    height: 200px;
    width: 200px;
  }

  .team-detail {
    width: 100%;
  }

  .team-detail h3 {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .team-detail p {
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.5;
  }

  .team-detail button {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
  }
}
  /* form  */
    .contact-form {
    width: 95%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  label {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  input, textarea {
    font-size: 1rem;
    padding: 10px;
  }

  .send-btn {
    width: 100%;
    font-size: 1.1rem;
  }

