/* Main Element Designs*/

body {
  background-color: #fcfaf2;
  color: #2d312e;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px;
  line-height: 1.6;
}

h1 {
  color: #1b3b2b;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
h2 {
  color: #1b3b2b;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e3da;
}

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

/* Create the multi-column alignment grid */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px;
  margin-top: 24px;
}

/* Style the clickable card containers */
.project-card {
  display: block;
  background-color: #ffffff;
  border: 1px solid #e6e3da;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Add an active card hover response */
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(43, 76, 63, 0.08);
}

/* Format the layout images properly */
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Crops the photo dynamically to fill the container nicely without squishing */
  border-bottom: 1px solid #e6e3da;
}

/* Add clean spacing inside the text box */
.card-content {
  padding: 16px;
}

.card-content h3 {
  color: #1b3b2b;
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.card-content p {
  color: #555c56;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-tab {
  text-decoration: none;
  color: #555c56;
  padding: 8px;
}
.nav-tab.active {
  color: #010199;
  font-weight: bold;
}

/* button style */

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 10vh;
}
.button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #222;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.button:hover {
  background-color: #444;
}

/*style for contact form*/
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px
}

.form-group label {
  font-weight:600;
  font-size: 0.9rem;
  color:#1b3b2b;
  margin-bottom: 6px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e6e3da;
  border-radius: 6px;
  background-color: #ffffff;
  font-family: inherit;
  color: #2d312e;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1b3b2b;
  box-shadow: 0 0 0 3px rgba(27, 59, 43, 0.1);
}

.submit-btn {
  background-color: #1b3b2b;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #2c5e44;
}