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

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #0d1117;
  color: #c9d1d9;
  line-height: 1.8;
  padding: 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
  color: #58a6ff;
}

p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

section {
  margin: 50px 0;
}

h2 {
  color: #79c0ff;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* ----- Stack Section ----- */
.tools {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.tool {
  background: #161b22;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

.tool img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

/* ----- Architecture Diagram ----- */
.diagram {
  max-width: 85%;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ----- CI/CD Steps ----- */
.pipeline-steps {
  list-style-position: inside;
  text-align: left;
  max-width: 700px;
  margin: 20px auto;
  padding-left: 0;
  line-height: 1.8;
}

.pipeline-steps li {
  margin-bottom: 12px;
  background: #161b22;
  padding: 10px 15px;
  border-radius: 8px;
  border-left: 4px solid #238636;
  color: #c9d1d9;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ----- Dashboard Gallery ----- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.gallery img {
  width: 310px; /* adjusted slightly smaller */
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ----- Button ----- */
.button {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 25px;
  background: #238636;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.button:hover {
  background: #2ea043;
}

/* ----- Responsive ----- */
@media (max-width: 700px) {
  .tool {
    width: 80%;
  }
  .diagram {
    max-width: 95%;
  }
  .gallery img {
    width: 250px;
  }
}
