/* Global Defaults */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f9fbfd;
  color: #333;
}

.tutorial-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.tutorial-header {
  text-align: center;
  margin-bottom: 4rem;
}

.tutorial-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.tutorial-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Steps Layout */
.step-card {
  display: flex;
  align-items: center;
  background: white;
  margin-bottom: 3rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-card:nth-child(even) {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
  padding: 3rem;
}

.step-number {
  display: inline-block;
  background: #0f3f99;
  color: white;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.step-content h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.step-content p {
  color: #667;
  line-height: 1.7;
  margin-bottom: 0;
}

.step-image {
  flex: 1;
  height: 350px;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.step-card:hover .step-image img {
  transform: scale(1.05);
}

/* Video Section */
.video-section {
  text-align: center;
  margin: 5rem 0;
  padding: 3rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .step-card,
  .step-card:nth-child(even) {
    flex-direction: column;
  }

  .step-image {
    width: 100%;
    height: 250px;
  }

  .step-content {
    padding: 2rem;
  }
}
