* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #f4f6f9;
  color: #1e293b;
  line-height: 1.7;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.hero {
  background-color: #115a7a;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero .subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card h2 {
  color: #115a7a;
  font-size: 1.35rem;
  margin-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-list li {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.project-item, .edu-item {
  margin-bottom: 15px;
}

.project-item:last-child {
  margin-bottom: 0;
}

.project-item h3, .edu-item h3 {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-section {
  text-align: center;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-email {
  background-color: #115a7a;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-whatsapp:hover, .btn-email:hover {
  opacity: 0.9;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .contact-buttons {
    flex-direction: column;
  }
}