@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #2e2e2e;
  color: #e4e4e4;
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== Navbar ===== */
.navbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  background-color: #181818;
  border-bottom: 1px solid #2b2b2b;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.logo-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trial-btn {
  color: #ff6600;
  background: transparent;
  border: 1px solid #ff6600;
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 500;
}

.trial-btn:hover {
  background: #ff6600;
  color: #181818;
}

.menu-btn {
  background: transparent;
  color: #ccc;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: none; /* visible on mobile later */
}

/* ===== Main ===== */
.main-content {
  max-width: 680px;
  margin: 120px auto 0;
  padding: 0 16px;
}

.already-user {
  font-size: 1rem;
  color: #cfcfcf;
  margin-bottom: 25px;
}

.login-main {
  background-color: #2e2e2e;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 7px 16px;
  cursor: pointer;
  transition: 0.2s;
}

.login-main:hover {
  background-color: #ff6600;
  color: #181818;
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.last-updated {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.content p {
  font-size: 1.05rem;
  color: #eaeaea;
  margin-bottom: 16px;
}

.content strong {
  font-weight: 600;
  color: #fff;
}

.content2{
  position: relative;
  top: 50px;
}
.welcome-title1{ 
  position: relative;
  top: 33px;
}

/* Parent section */
.perbajtja {
  background-color: #181818;
  color: #e6edf3;
  font-family: "Poppins", sans-serif;
  padding: 60px 20px;
  max-width: 900px;
  margin: 100px auto;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* Title */
.perbajtja .title {
  font-size: 2rem;
  color: #ff6600;
  margin-bottom: 20px;
  text-align: center;
}

/* Description */
.perbajtja .desc {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

/* List */
.perbajtja .list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  
}

.perbajtja .list li {
  margin: 10px 0;
  background: rgba(88, 166, 255, 0.1);
  padding: 10px 15px;
  border-radius: 10px;
  transition: background 0.3s;
}

.perbajtja .list li:hover {
  background: rgba(88, 166, 255, 0.2);
}

/* Structure part */
.perbajtja .structure h3 {
  color: #ff6600;
  margin-bottom: 10px;
}

.perbajtja .structure ul {
  list-style: none;
  padding: 0;
}

.perbajtja .structure li {
  margin: 8px 0;
}

/* Ending paragraph */
.perbajtja .end {
  margin-top: 25px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  color: #c9d1d9;
}

/* Button */
/* Orange Themed CTA Button */
.perbajtja .btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6600, #ff914d);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 30px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.perbajtja .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.8);
  background: linear-gradient(135deg, #ff914d, #ff6600);
}



.footer {
  background-color: #181818;
  color: #c9d1d9;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.footer-about,
.footer-links,
.footer-social {
  flex: 1 1 250px;
}

.footer h3,
.footer h4 {
  color: #737272;
  margin-bottom: 15px;
}

.footer-about p {
  line-height: 1.7;
  color: #b3b3b3;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff6600;
}

/* Social Icons */
.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
  color: #ff6600;
  transform: translateY(-3px);
}

/* Bottom section */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #7d8590;
}

.footer-bottom span {
  color: #ff6600;
  font-weight: 600;
}

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








.lesson-container {
  max-width: 900px;
  margin: 80px auto 60px;
  padding: 50px;
  color: #e0e0e0;
}

.lesson-title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}


.code-block {
  background: #0d1117;
  color: #b5e853;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
}

.editor-preview {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#code-editor {
  width: 100%;
  height: 150px;
  background: #1a1a1a;
  color: #00ff9d;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-family: monospace;
  resize: vertical;
}

#run-btn {
  background: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

#output {
  min-height: 30px;
  background: #111;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  font-family: monospace;
}


.lesson-section {
  margin-bottom: 40px;
}

.lesson-section h2 {
  color: white;
  margin-bottom: 10px;
}

.lesson-section p, .lesson-section ul {
  line-height: 1.7;
  color: #ccc;
}

.lesson-section ul li {
  margin: 5px 0;
}

.code-block {
  background: #0d1117;
  color: #b5e853;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: monospace;
}


/* Teksti brenda mësimit */
.lesson-section p,
.lesson-section ul,
.lesson-section li {
  font-size: 1.1rem; /* më e madhe */
  line-height: 1.9; /* hapësirë më e qetë për sy */
  color: #e0e0e0; /* e bardhë e butë për dark mode */
}

/* Titujt */
.lesson-title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.lesson-section h2 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Teksti brenda kodit */
.code-block {
  font-size: 1rem;
  line-height: 1.6;
  background: #0d1117;
  color: #b5e853;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: monospace;
}
.lesson-section ul{
  position: relative;
  left: 20px;
}







/* New vertical layout */
.vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 120px 40px;
  min-height: 100vh;
  background: #0d0d0d;
  color: #e0e0e0;
}

/* Instructions (top section) */
.instructions-top {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.instructions-top p {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Editor (bottom section) */
.editor-bottom {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.monaco-editor {
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
}

#run-btn {
  background: linear-gradient(135deg, #5e5bfb, #00d4ff);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.2s ease;
  font-weight: 600;
}
#run-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(94, 91, 251, 0.5);
}

#output {
  margin-top: 15px;
  background: #0f0f0f;
  color: #00ff9d;
  min-height: 60px;
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  white-space: pre-wrap;
}

/* Navigation on top */
.top-nav {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Responsive */
@media (max-width: 800px) {
  .vertical-layout {
    padding: 100px 20px;
  }
  .instructions-top, .editor-bottom {
    padding: 20px;
  }
}


.code-block {
  font-size: 1rem;
  line-height: 1.7;
}



















/* challange 1 css*/

.monaco-editor {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Rest of your existing editor styles */
#run-btn {
  background: #5e5bfb;
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  width: fit-content;
  transition: 0.2s ease;
}
#run-btn:hover {
  background: #4a48d2;
}

#output {
  margin-top: 15px;
  background: #111;
  color: #fff;
  min-height: 40px;
  padding: 10px;
  border-radius: 8px;
  font-family: monospace;
}




/* buttons for nest lesson */

.lesson-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

/* Base button style */
.nav-btn {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.25s ease;
  border: none;
}

/* Back button style */
.back-btn {
  background: linear-gradient(135deg, #2d2d2d, #1b1b1b);
  color: #ffffff;
  border: 1px solid #444;
}
.back-btn:hover {
  background: linear-gradient(135deg, #383838, #222);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

/* Next button style */


/* Responsive */
@media (max-width: 600px) {
  .lesson-nav {
    flex-direction: column;
    gap: 15px;
  }
  .nav-btn {
    text-align: center;
  }
}



/* Orange Brand Style for "Next Lesson" Button */
.next-btn {
  background: linear-gradient(135deg, #ff6600, #ff914d);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
  transition: all 0.3s ease;
  font-weight: 700;
}

.next-btn:hover {
  background: linear-gradient(135deg, #ff914d, #ff6600);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.8);
  transform: translateY(-3px);
}

