/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a1a2f;
  color: #f9fafb;
  line-height: 1.6;
}

/* ===== Layout ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Header & Nav ===== */
header {
  background: rgba(10, 26, 47, 0.95);
  border-bottom: 1px solid #1f2933;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00c2ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00c2ff;
}

/* ===== Hero ===== */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, #00c2ff22, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p {
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  border: 1px solid #374151;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.btn-row {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #00c2ff;
  color: #0b1120;
  font-weight: 600;
}

.btn-primary:hover {
  background: #38d5ff;
}

.btn-outline {
  border-color: #4b5563;
  color: #e5e7eb;
}

.btn-outline:hover {
  border-color: #9ca3af;
}

/* ===== Sections ===== */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #9ca3af;
  margin-bottom: 2rem;
}

/* ===== Grids & Cards ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #111827;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid #1f2933;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: #9ca3af;
  font-size: 0.95rem;
}

/* ===== Projects ===== */
.project-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  color: #e5e7eb;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  background: #020617;
  color: #f9fafb;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid #1f2933;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.section-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #1f2933;
  display: block;
}
