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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9fafc;
  color: #222;
}

/* ========== CONTAINERS ========== */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ========== HEADER ========== */
header {
  background: linear-gradient(135deg, #0a74da, #0066cc);
  color: #fff;
  text-align: center;
  padding: 60px 20px 50px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.3rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 25px;
}

header .links a {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 5px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

header .links a:hover {
  background: #fff;
  color: #0a74da;
}

/* ========== SECTIONS ========== */
section {
  background: #fff;
  margin: 30px 0;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

section:hover {
  transform: translateY(-3px);
}

h2 {
  color: #0a74da;
  border-bottom: 2px solid #0a74da20;
  padding-bottom: 6px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

h3 {
  color: #333;
  margin-top: 12px;
  margin-bottom: 6px;
}

/* ========== LISTS ========== */
ul {
  list-style-type: disc;
  margin-left: 25px;
}

ul li {
  margin-bottom: 6px;
}

/* ========== PROJECT GRID ========== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.project {
  background: #f8faff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.project h3 {
  color: #0a74da;
  margin-bottom: 5px;
}

.project a {
  display: inline-block;
  margin-top: 6px;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

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

/* ========== LINKS & PARAGRAPHS ========== */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 10px;
  font-size: 0.97rem;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  padding: 25px;
  background: #f0f3f9;
  border-top: 1px solid #ddd;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  header {
    padding: 40px 10px;
  }

  header h1 {
    font-size: 1.9rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .container {
    width: 95%;
  }

  section {
    padding: 20px;
  }
}