/* === FONT & GENERAL STYLING === */
body {
  margin: 0;
  /* Using Merienda to match the home page */
  font-family: 'Merienda', cursive;
  font-weight: 400;
  background-color: #f4f9f8; /* A slightly different, clean background */
  color: #3d4a49;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === MAIN CONTAINER & HEADER === */
.dev-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.dev-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Using Sacramento for the main title to match the home page's "I'm Manoj" */
.dev-header h1 {
  font-family: 'Sacramento', cursive;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: #11999e;
  margin: 0;
}

.header-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #66bfbf;
  margin-top: 0;
}

/* === SHARED SECTION STYLING === */
section {
  margin-bottom: 60px;
}

section h2 {
  font-weight: 700;
  font-size: 2rem;
  color: #11999e;
  text-align: center;
  margin-bottom: 40px;
}

/* === TECHNOLOGY STACK === */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.tech-item {
  background-color: #e4f9f5;
  color: #11999e;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(17, 153, 158, 0.1);
}

/* === PROJECTS SECTION === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: left;
  border-top: 5px solid #66bfbf;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2); /* Using your cyan shadow color */
}

.card-content {
  padding: 25px 30px;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.project-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #5c6f6e;
}

.tech-used {
  font-size: 0.9rem;
  color: #66bfbf;
  margin-top: 20px;
}

/* === CERTIFICATIONS & RECOGNITIONS === */
.certs ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.certs li {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
}

.certs li strong {
  color: #11999e;
}

/* === FOOTER & HOME BUTTON === */
.dev-footer {
  text-align: center;
  margin-top: 80px;
}

.btn-home {
  display: inline-block;
  background-image: linear-gradient(45deg, #1dd1a1, #11999e);
  border: none;
  border-radius: 8px;
  font-family: "Merienda", cursive;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 32px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-home:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 15px rgba(29, 209, 161, 0.2);
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 767px) {
  .dev-container {
    padding: 20px 15px;
  }
  
  section h2 {
    font-size: 1.8rem;
  }

  .tech-item {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .certs li {
    font-size: 1rem;
  }
}