* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background: #f3f4f6;
  color: #333;
  padding-top: 70px;
  margin-top: 30px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f3f4f6;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  background-color: #6a0dad;
  border-radius: 20px;
  padding: 10px;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  border-radius: 20px;
  background-color: #ff6600;
  color: #ffffff;
  box-shadow: 0 0 8px #ff6600;
}

.auth-buttons button {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
}

.login {
  background: #6a0dad;
  color: #ffffff;
  animation: scrollUp 1.5s ease-out forwards;
  transition: all 0.3s ease;
}

.login:hover {
  color: #fff;
  background-color: #6a0dad;
  box-shadow: 0 0 10px #6a0dad;
  transform: scale(1.0);
}
.signup {
  background: #ff6600;
  color: white;
  transition: all 0.3s ease;
}

.signup:hover {
  color: #fff;
  background-color: #6a0dad;
  box-shadow: 0 0 10px #6a0dad;
  transform: scale(1.0);
}
.menu-icon {
    color: #6a0dad;
  display: none;
  font-size: 24px;
  cursor: pointer;
  text-shadow: 0 0 3px #6a0dad;
}
.menu-icon:hover{
    color: #ff6600;
    text-shadow: 0 0 3px #ff6600;
}

.side-nav {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background: #f3f4f6;
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease-in-out;
  padding-top: 60px;
  z-index: 1050;
  border-radius: 20px;
}

.side-nav ul {
  list-style: none;
  padding: 0;
}

.side-nav ul li {
  padding: 15px;
  text-align: center;
}

.side-nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  transition: all 0.4s ease;
  padding: 10px;
  border-radius: 20px;
}

.side-nav ul li a:hover {
  color: white;
  background-color: #6a0dad;
  box-shadow: 0 0 10px #6a0dad;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #ff6600;
}

.close-btn:hover{
    color: #6a0dad;
    text-shadow: 0 0 3px #6a0dad;
}

.side-nav.open {
  right: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1049;
  display: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-icon {
    display: block;
  }
  .auth-buttons {
    display: none;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  background: #f3f4f6;
  min-height: 90vh;
  position: inherit;
  overflow: hidden;
}

.hero-text {
  max-width: 800px;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1.5s ease-in-out forwards;
}

.hero-text h1 {
  font-size: 50px;
  color: #6a0dad;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 4px #6a0dad;
}

.hero-text p {
  font-size: 22px;
  font-weight: 550;
  margin: 15px 0;
  color: #ff6600;
  text-shadow: 0 0 2px #ff6600;
}

.hero-buttons {
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out 1s forwards;
}

.hero-buttons button {
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  border-radius: 25px;
  margin: 10px;
  transition: all 0.3s ease, transform 0.3s ease-in-out;
}

.about {
  background: #ff6600;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.about:hover {
  background-color: #6a0dad;
  box-shadow: 0 0 15px #6a0dad;
  transform: scale(1.1);
  
}

.know-more {
  background: #6a0dad;
  color: white;
  box-shadow: 0 4px 10px rgba(106, 13, 173, 0.3);
}

.know-more:hover {
  background-color: #ff6600;
  box-shadow: 0 0 15px #ff6600;
  transform: scale(1.1);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 1.5s ease-in-out forwards, shake 1s ease-in-out 1.5s;
}

.hero-image img {
  max-width: 90%;
  height: auto;
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

.hero-image img:hover {
  transform: scale(1.05);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text p {
    font-size: 18px;
  }

  .hero-buttons button {
    font-size: 16px;
    padding: 12px 18px;
  }

  .hero-image img {
    max-width: 100%;
  }
}

.about-section,
.know-more-section {
  padding: 20px;
  text-align: center;
  margin: 30px auto;
  max-width: 100%;
}

.about-section h2,
.know-more-section h2 {
  font-size: 38px;
  color: #6a0dad;
  margin-bottom: 25px;
  font-weight: bold;
  text-shadow: 0 0 3px #6a0dad;
}

#founder-p {
  color: #000000;
}

#about-p {
  color: #000000;
  font-size: 14px;
  font-weight: bold;
}

.about-section p,
.know-more-content p {
  font-size: 20px;
  color: #000000;
  line-height: 1.8;
  max-width: 1200px;
  margin: 0 auto;
  font-weight: 500;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  background: #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 0px 10px black;
  max-width: 600px;
  margin: 30px auto;
  transition: all 0.3s ease;
}

.founder:hover {
  box-shadow: 0 0 10px #6a0dad;
}

.founder img {
  width: 160px;
  height: 160px;
  border-radius: 100px;
  border: 1px solid #000000;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.founder img:hover {
  box-shadow: 0 0 10px #6a0dad;
  transform: scale(1.05);
}

.founder p {
  font-size: 20px;
  color: #ff6600;
  font-weight: 500;
}

.social-media {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.social-media a {
  font-size: 34px;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 10px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.social-media a:hover {
  transform: scale(1.2);
}

.linkedin {
  color: #6a0dad;
}

.github {
  color: #6a0dad;
}

.linkedin:hover {
  color: #ff6600;
}

.github:hover {
  color: #ff6600;
}

.know-more-content ul {
  text-align: left;
  max-width: 700px;
  margin: 30px auto;
  font-size: 18px;
  color: #333;
}

.know-more-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}

#know-highlight {
  background-color: #6a0dad;
  border-radius: 20px;
  font-weight: bold;
  color: white;
  transition: all 0.3s ease;
  padding: 5px;
  box-shadow: 0 0 10px #6a0dad;
}

#know-highlight:hover {
  background-color: #ff6600;
  color: white;
  box-shadow: 0 0 10px #ff6600;
}

.know-highlight-link{
  font-weight: bold; 
  text-decoration: none;
}

.whatsapp-icon {
  width: 5px; /* Adjust size */
  height: 5px;
}
@media (max-width: 768px) {
  .about-section,
  .know-more-section {
    padding: 40px 15px;
    max-width: 95%;
  }

  .about-section h2,
  .know-more-section h2 {
    font-size: 32px;
  }

  .about-section p,
  .know-more-content p {
    font-size: 16px;
  }

  .founder {
    padding: 15px;
  }

  .founder img {
    width: 140px;
    height: 140px;
  }

  .social-media a {
    font-size: 28px;
  }

  .know-more-content ul {
    font-size: 16px;
  }
}

.resources {
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 95%;
}

.resources h2 {
  font-size: 36px;
  color: #6a0dad;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 3px #6a0dad;
}

.resources-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  transition: all 0.3s ease;
}
.resource-box:hover {
  box-shadow: 0 0 10px #6a0dad;
}

.resource-box h3 {
  font-size: 24px;
  color: #6a0dad;
  margin-bottom: 10px;
}

.resource-box p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

.download-btn,
.youtube-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 8px 14px;
  border-radius: 5px;
  margin: 5px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn {
  background: #6a0dad;
}

.youtube-btn {
  background: #ff6600;
}

.download-btn:hover{
    transform: scale(1.1);
    box-shadow: 0 0 10px #6a0dad;
}
.youtube-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #ff6600;
}

@media (max-width: 768px) {
  .resources h2 {
    font-size: 28px;
  }

  .resources-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  color: #6a0dad;
}

.modal-content input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: #6a0dad;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

button:hover {
  background: #6a0dad;
  box-shadow: 0 0 10px #ff6600;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.code-editor-section {
  padding: 40px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.compiler-head {
  font-size: 32px;
  color: #6a0dad;
  margin-bottom: 20px;
  text-shadow: 0 0 3px #6a0dad;
}

select {
  padding: 10px;
  font-size: 18px;
  margin-bottom: 20px;
  border-radius: 10px;
}
label {
  font-size: 20px;
  font-weight: bold;
}
.editor-container {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.editor {
  background: #6a0dad;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  color: white;
  flex: 1;
}

textarea {
  width: 100%;
  height: 150px;
  background: #000000;
  border: none;
  color: white;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
}

iframe {
  width: 100%;
  height: 300px;
  border: 2px solid #2c3e50;
  border-radius: 12px;
}

button {
  padding: 10px 20px;
  font-size: 18px;
  background: #6a0dad;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #ff6600;
}

pre {
  background: #1e272e;
  color: white;
  padding: 15px;
  border-radius: 10px;
  text-align: left;
  font-size: 16px;
  overflow-x: auto;
  height: 150px;
}

.testimonials {
  text-align: center;
  padding: 50px;
}


.testimonials h2 {
  font-size: 32px;
  color: #6a0dad;
  margin-bottom: 20px;
  text-shadow: 0 0 3px #6a0dad;
  
}

.testimonial-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-box {
  cursor: pointer;
  display: none;
  width: 60%;
  background: #f3f4f6;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.testimonial-box:hover{
  box-shadow: 0 0 10px #6a0dad;
}

.testimonial-box img {
  width: 30%;
  height: 30%;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial-box h3 {
  font-size: 22px;
  color: #6a0dad;
}

.testimonial-box p {
  font-size: 18px;
  color: #333;
  margin-top: 10px;
}

.prev,
.next {
  top: 50%;
  font-size: 24px;
  background: #6a0dad;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 20px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.prev:hover,
.next:hover {
  background: #ff6600;
}

.contact-section {
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #6a0dad;
  margin-bottom: 20px;
  text-shadow: 0 0 3px #6a0dad;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  width: 100%;
  max-width: 1000px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-form h2 {
  font-size: 28px;
  color: #6a0dad;
  margin-bottom: 20px;
  text-shadow: 0 0 2px #6a0dad;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
  color: black;
  background-color: white;
}

.contact-form button {
  background: #6a0dad;
  color: white;
  font-size: 18px;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
  width: 50%;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #ff6600;
  transform: scale(1.0);
  box-shadow: 0 0 10px #ff6600;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form {
    width: 90%;
  }
}

.footer {
  color: #6a0dad;
  padding: 20px 20px;
  text-align: center;
  font-weight: bold;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.footer-brand:hover {
  color: #ff6600;
}

.footer-brand h2 {
  font-size: 22px;
  color: black;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-info1 {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.contact-info1 h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #000000;
}

.info-box1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.info-box1 i {
  font-size: 22px;
  color: #6a0dad;
  transition: color 0.3s ease-in-out;
}

.info-box1 i:hover {
  color: #ff6600;
}

.info-box1 p,
.info-box1 a {
  font-size: 16px;
  font-weight: bold;
  color: #6a0dad;
  text-decoration: none;
}

.info-box1 a:hover {
  color: #ff6600;
}

.footer-social {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.footer-social h2 {
  color: #000000;
  font-size: 22px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 28px;
  color: #6a0dad;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.3);
  color: #ff6600;
}

.footer-bottom {
  color: black;
  margin-top: 30px;
  font-size: 16px;
  padding-top: 15px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-brand,
  .contact-info1,
  .footer-social {
    text-align: center;
  }

  .info-box1 {
    flex-direction: column;
    gap: 8px;
  }

  .social-icons {
    justify-content: center;
  }
}
