* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: rgb(12, 12, 20);
  font-family: "Poppins", sans-serif;
  color: rgb(210, 180, 181);
}
header {
  position: sticky;
  top: 0;
  background-color: rgb(12, 12, 20);
  z-index: 10;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-logo {
  height: 60px;
  width: 60px;
}
.nav-links li {
  list-style: none;
  display: inline-block;
}
.nav-links li a {
  text-decoration: none;
  padding: 10px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  margin: 10px;
  color: rgb(210, 180, 181);
  transition: all 0.3s ease-out;
}
.nav-links li a:hover {
  box-shadow: 0 0 10px white;
  background-color: rgb(110, 75, 208);
  color: black;
}
.navbar .login {
  padding: 5px 15px;
  border-radius: 50px;
  border: none;
  background-color: rgb(110, 75, 208);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease-out;
}
.navbar .login,
button:hover {
  background-color: rgb(130, 95, 228);
}
.container {
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 5%;
}
.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.left-heading {
  font-size: 4rem;
  color: white;
  line-height: 1.2;
}

.left-about {
  margin-top: 20px;
  font-size: 1.5rem;
}
.learning-buttons {
  margin-top: 40px;
  display: flex;
}
.paid,
.demo {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  gap: 10px;
  transition: transform 0.3s ease-out;
}

.paid {
  background-color: rgb(110, 75, 208);
  color: white;
}

.demo {
  margin-left: 25px;
  display: flex;
  align-items: center;
  background-color: rgb(210, 180, 181);
  color: rgb(12, 12, 20);
  padding: 10px 20px;
  border-radius: 15px;
  transition: transform 0.3s ease-out;
}
.demo i {
  font-size: 1.2rem;
  margin-right: 10px;
  background-color: rgb(210, 180, 181);
}
.button {
  background: none;
  color: inherit;
  font-weight: 600;
  padding: 0;
  border: none;
  cursor: pointer;
}
.paid:hover,
.demo:hover {
  transform: scale(1.05);
}
.right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rotateImage 5s linear infinite;
  transform-origin: center center;
}
@keyframes rotateImage {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.courses,
.learning,
.whatlearn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 20px;
  text-align: center;
}

.courses h1,
.learning h1,
.whatlearn h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.courses p,
.learning p,
.whatlearn p {
  font-size: 1.5rem;
  max-width: 800px;
}
.course-container,
.free-course-container {
  margin-top: 1%;
  display: grid;
  gap: 2rem;
  padding: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.nexus,
.web-dev,
.HLD,
.genai,
.DSA,
.lld,
.Cplus {
  margin-top: 8%;
  background-color: inherit;
  border-radius: 5px;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s ease-out;
  box-shadow: 1px 1px 5px rgb(196, 194, 194);
}
.Cplus {
  margin-top: 15%;
}
.nexus:hover,
.web-dev:hover,
.HLD:hover,
.genai:hover,
.DSA:hover,
.lld:hover,
.Cplus:hover {
  transform: translateY(-20px);
}
.image-container img {
  width: 100%;
  display: block;
}
.level,
.lectures {
  display: inline-block;
  font-size: 1em;
  border-radius: 50px;
  border: none;
  padding: 5px 15px;
  margin-top: 10px;
}
.level {
  background-color: rgb(110, 75, 208);
  color: white;
}
.lectures {
  background-color: transparent;
  color: rgb(110, 75, 208);
}
.explore {
  display: block;
  margin: 40px auto;
  width: fit-content;
  padding: 15px 40px;
  background-color: rgb(110, 75, 208);
  font-size: 1.3rem;
  border-radius: 10px;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease-out, transform 0.2s ease-out;
}
.explore:hover {
  background-color: rgb(130, 95, 228);
  transform: scale(1.05);
}
.aboutInstructor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 5%;
  align-items: center;
  justify-items: center;
  background-color: inherit;
}
.aboutInstructor .Instructor1,
.aboutInstructor .Instructor2 {
  background-color: rgb(20, 20, 30);
  color: rgb(210, 180, 181);
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
}
.aboutInstructor .Instructor1:hover,
.aboutInstructor .Instructor2:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}
.imageRohit {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid rgb(110, 75, 208);
}
.imageRohit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aboutInstructor h1 {
  font-size: 1.8rem;
  color: white;
  margin: 10px 0;
}
.aboutInstructor p {
  font-size: 1.1rem;
  color: rgb(210, 180, 181);
  line-height: 1.5;
}
.getintouch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 40px;
  padding: 5%;
  background-color: rgb(12, 12, 20);
  color: rgb(210, 180, 181);
}
.formcontainer {
  background-color: rgb(20, 20, 30);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}
.formcontainer h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 1px;
}

.formcontainer p {
  font-size: 1.2rem;
  color: rgb(210, 180, 181);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
label {
  margin-bottom: 8px;
  font-size: 1rem;
  color: rgb(210, 180, 181);
}
input,
textarea {
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  background-color: rgb(30, 30, 40);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.3s ease;
}
input:focus,
textarea:focus {
  box-shadow: 0 0 8px rgb(110, 75, 208);
}
.fullwidth {
  grid-column: 1 / -1;
}
.send-btn {
  margin-top: 3%;
  width: 100%;
  padding: 14px;
  background-color: rgb(110, 75, 208);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.send-btn:hover {
  background-color: rgb(130, 95, 230);
  transform: scale(1.03);
}
.imagecontainer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.imagecontainer img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.footer {
  background: linear-gradient(90deg, #0a0a0f, #11111a);
  color: #d1d1d1;
  padding: 60px 8%;
  font-family: "Poppins", sans-serif;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-section h2 {
  color: #6c63ff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
}
.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bdbdbd;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 8px;
}
.footer-section ul li a {
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section ul li a:hover {
  color: #6c63ff;
}

.social-icons {
  margin-top: 15px;
}
.social-icons a {
  color: #bdbdbd;
  font-size: 2rem;
  margin-right: 20px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #6c63ff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #999;
}
@media (max-width: 768px) {
  .left-heading {
    font-size: 2.5rem;
  }

  .left-about {
    font-size: 1.2rem;
  }

  .paid,
  .demo {
    width: 100%;
    margin: 10px 0;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}
