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

/* BODY */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #e0e1e3;
  color: #1f2933;
  line-height: 1.7;
}

/* HEADER / NAV */
header {
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: auto;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  margin-left: 20px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
}

nav ul li a:hover {
  color: #0f766e;
}

/* HERO */
.hero {
  max-width: 1100px;
  margin: auto;
  padding: 140px 20px 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-photo img {
  width: 220px;
  border-radius: 12px;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  background: #0f766e;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* SECTIONS */
section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

h3 {
  margin-bottom: 24px;
  color: #0f766e;
}

/* GRID — FIXED & CLEAN */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.card {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.card h4 {
  margin-bottom: 10px;
}

.card ul {
  padding-left: 18px;
}

/* TECH TEXT */
.tools {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #64748b;
}

.tools::before {
  content: "Tech:";
  font-weight: 500;
  margin-right: 6px;
}

/* LINKS */
.links {
  margin-top: 12px;
}

.links a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 600;
  margin-right: 16px;
}

.links a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}
