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

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

/* ================= NAV ================= */
.hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding-bottom: 60px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

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

.nav ul li {
  margin-left: 25px;
}

.nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.logo {
  font-size: 24px;
}

.logo span {
  color: #ffd700;
}

/* ================= HERO ================= */
.hero-content {
  text-align: center;
  margin-top: 40px;
}

.hero-content img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 36px;
}

.hero-content p {
  opacity: 0.9;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 40px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
}

.section.alt {
  background: #ffffff;
  border-radius: 10px;
}

/* ================= CARDS ================= */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

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

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

/* ================= SKILLS ================= */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.skills span {
  background: #2a5298;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* ================= CONTACT ================= */
.socials {
  margin-top: 15px;
}

.socials a {
  font-size: 24px;
  margin-right: 15px;
  color: #2a5298;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  background: #1e3c72;
  color: white;
  margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
  }

  .nav ul {
    margin-top: 10px;
  }
}
