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

body {
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
  color: #222;
  line-height: 1.6;
}


/* ---------- HEADER ---------- */
header {
  background: #0a192f;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.85;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #64ffda;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

/* ---------- SECTIONS ---------- */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 3rem auto;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0a192f;
  border-left: 5px solid #64ffda;
  padding-left: 10px;
}

/* ---------- GRID DE PROJETOS ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  object-fit: cover;
  height: 230px;
  width: 100%;
  border-radius: 10px;
  transition: 100ms ease-in-out;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  
}

.card h3 {
  color: #0a192f;
  margin-top: 1rem;
}

.card p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  background: #64ffda;
  color: #0a192f;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #52d7b5;
}

/* ---------- CONQUISTAS (TIMELINE) ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 20px; 
}
.timeline h3 {
    transition: 300ms ease-in-out;
    cursor: none;
}
.timeline h3:hover {
  color: #52d7b5;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #64ffda;
}

.timeline li {
  margin-bottom: 2rem;
  position: relative;
}

.timeline .year {
  background: #64ffda;
  color: #0a192f;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  position: absolute;
  left: -55px;
  top: 0;
  transition: 0.4s ease-in-out;
  cursor: none;
}
.timeline .year:hover {
    color: #fff;
}

.timeline h3 {
  margin-left: 1rem;
  color: #0a192f;
}

.timeline p {
  margin-left: 1rem;
  font-size: 0.95rem;
}

/* ---------- CONTATO ---------- */
.contato a {
  color: #0a192f;
  text-decoration: none;
  font-weight: 600;
  transition: 300ms ease-in-out;
}

.contato a:hover {
  color: #64ffda;
}

/* ---------- FOOTER ---------- */
footer {
  background: #0a192f;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVIDADE ---------- */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .timeline .year {
    left: -45px;
  }
}

/* ---------- CURSOS ---------- */
.courses-list {
  list-style: none;
  padding-left: 0;
}

.courses-list li {
  background: #fff;
  margin-bottom: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: 0.4s ease-in-out;
  cursor: none;
}
.courses-list li:hover {
    transform: translateY(-5px);
    background-color:#0a192f;
    color: #fff;
}
.courses-list span {
  color: #0a192f;
  font-weight: 700;
  transition: 0.4s ease-in-out;
}

.courses-list li:hover span {
  color: #fff;
}