/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* ------------------ Home Page ------------------ */
body.home {
  height: 100vh;
  background-color: #e6f2e6; /* light green background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b3a2d; /* dark green text for contrast */
}

.container {
  text-align: center;
}

.name {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1b3a2d; /* dark green text */
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  text-decoration: none;
  padding: 15px 30px;
  border: 2px solid #2e8b57; /* green border */
  color: #2e8b57;            /* green text */
  font-size: 1.1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #2e8b57;
  color: white;
}

/* ------------------ About Me & Projects Page ------------------ */
body {
  background-color: #f0f7f0; /* light greenish background */
  color: #1b3a2d;            /* dark green text */
}

.page {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1b3a2d; /* dark green */
  text-align: center;
}

.page p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Highlight strong text for projects/companies */
.page strong {
  color: #2e8b57; /* green highlights */
}

/* Horizontal separator for sections */
.page hr {
  border: none;
  border-top: 1px solid #c3e0c3; /* soft green line */
  margin: 40px 0;
}

/* Back link */
.page a {
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
  color: #2e8b57;
  font-weight: 600;
  transition: color 0.3s;
}

.page a:hover {
  color: #1b3a2d;
}

/* ------------------ Project Cards ------------------ */
.project-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 40px;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h2 {
  color: #2e8b57;
  margin-bottom: 15px;
}

.project-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 15px 0;
  border-radius: 8px;
  object-fit: cover;
}

.project-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 15px;
}

.project-card .btn {
  display: inline-block;
  margin-top: 10px;
}

/* Back Button Styling */
.back-button-container {
  text-align: left;
  margin-top: 30px; 
}

.back-btn {
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  border: 2px solid #2e8b57;
  color: #2e8b57;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.back-btn:hover {
  background-color: #2e8b57;
  color: white;
}

/* ------------------ Responsive Design ------------------ */
@media (max-width: 600px) {
  .page {
    margin: 20px;
    padding: 20px;
  }

  .page h1 {
    font-size: 2rem;
  }

  .page p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }
}
