/* ===============================
   GLOBAL STYLING
================================= */

:root {
  --bg: #f5f7f9;
  --dark: #0f1720;
  --accent: #1f3a4a;
  --steel: #2d3e4f;
  --light: #ffffff;
  --muted: #6b7280;
  --border: #e2e8f0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
}

/* ===============================
   HEADER
================================= */

header {
  background: linear-gradient(135deg, #0f1720, #1f3a4a);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

header h2 {
  font-weight: 400;
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

nav {
  margin-top: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 14px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #9cc9e3;
}

/* ===============================
   SECTIONS
================================= */

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

section h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* ===============================
   ABOUT
================================= */
/* 
.lead {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 900px;
} */
.lead {
  text-align: justify;
  text-justify: inter-word;
   font-size: 1.15rem;
  color: var(--steel);
  /* max-width: 950px; */
}

/* ===============================
   GRID + CARDS
================================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}


.card {
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.card h4 {
  margin-bottom: 15px;
  font-size: 1.15rem;
  color: var(--accent);
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 15px;
}

.card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  transition: 0.3s ease;
}

.card a:hover {
  border-bottom: 2px solid var(--accent);
}

/* ===============================
   LISTS
================================= */

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 15px;
  padding-left: 18px;
  position: relative;
}

ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===============================
   CONTACT
================================= */

#contact p {
  margin-bottom: 12px;
}

#contact a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

#contact a:hover {
  text-decoration: underline;
}

/* ===============================
   FOOTER
================================= */

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

footer a {
  color: #9cc9e3;
  text-decoration: none;
}
