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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  overflow-x: auto;
}

.nav-tab {
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-tab:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.nav-tab.active {
  background: #007bff;
  color: white;
  border-bottom-color: #0056b3;
}

.content {
  padding: 30px;
  min-height: 500px;
}

.section {
  display: none;
}

.section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.theory-box {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
}

.example-box {
  background: #1e1e1e;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  position: relative;
  overflow-x: auto;
}

.example-box::before {
  content: "💻 კოდის მაგალითი";
  position: absolute;
  top: -10px;
  left: 20px;
  background: #007bff;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
}

.example-box pre {
  margin-top: 15px;
}

.exercise-box {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.exercise-title {
  font-weight: bold;
  color: #d63384;
  margin-bottom: 10px;
}

.btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 5px;
}

.btn:hover {
  background: #0056b3;
}

.task-list {
  list-style: none;
  padding: 0;
}

.task-list li {
  background: white;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #28a745;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 15px;
  border-radius: 5px;
  margin: 15px 0;
}

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

.resource-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

  .nav-tab {
    text-align: center;
  }

  .content {
    padding: 20px;
  }
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0;
  background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 10px;
  color: white;
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.content {
  padding: 2rem;
}

.section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.section:hover {
  transform: translateY(-2px);
}

h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #3498db;
}

h3 {
  color: #34495e;
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid #3498db;
}

p,
li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.code-container {
  background: #2c3e50;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
  position: relative;
  overflow-x: auto;
}

.code-header {
  background: #34495e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px 5px 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  font-weight: bold;
}

pre {
  color: #ecf0f1;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.highlight {
  background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  margin: 1rem 0;
}

.important {
  background: linear-gradient(120deg, #ffeaa7 0%, #fab1a0 100%);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #e17055;
  margin: 1rem 0;
}

.example {
  background: linear-gradient(120deg, #d1f2eb 0%, #a8e6cf 100%);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
  border: 2px solid #27ae60;
}

.homework {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.homework h2 {
  color: white;
  border-bottom-color: white;
}

.homework h3 {
  color: #ecf0f1;
  border-left-color: white;
}

.task {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

ul {
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

.interactive-demo {
  background: #fff;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
}

button {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.output {
  background: #ecf0f1;
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  font-family: monospace;
  min-height: 2rem;
}

@media (max-width: 1024px) {
  .container {
    margin: 10px;
    padding: 15px;
  }

  h1 {
    font-size: 2em;
  }

  .nav-tabs {
    flex-direction: column;
    align-items: center;
  }

  .nav-tab {
    margin: 5px 0;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8em;
  }

  .nav-tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .content-section {
    padding: 20px;
  }

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

  .demo-navbar li {
    text-align: center;
  }

  .code-block {
    padding: 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 1.5em;
  }

  .nav-tab {
    padding: 10px 15px;
    font-size: 13px;
  }

  .content-section {
    padding: 15px;
  }

  .social-media-tips {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #e1e5e9;
  flex-wrap: wrap;
}

.nav-tab {
  padding: 15px 25px;
  background: #f8f9fa;
  border: none;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  margin: 0 5px;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-tab:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.nav-tab.active {
  background: #007bff;
  color: white;
  border-bottom: 3px solid #0056b3;
}

.content-section {
  display: none;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-section.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
} */
