/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", Times, serif;
  background: linear-gradient(to right, #fcf5f5, #f3e5e5);
  color: #1a1a1a;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  background: linear-gradient(to right, #3a1c71, #d76d77, #ffaf7b);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.er {
  color: #ffde59;
}

.name {
  color: white;
}

/* Skills Section */
.skills {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px;
  margin-bottom: 80px;
}

/* Skill Card */
.skill-card {
  display: flex;
  flex-direction: row;
  background: #fff5f5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 97, 136, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 97, 136, 0.35);
}

.skill-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background-color: white;
  padding: 10px;
  margin: 20px;
  border-radius: 12px;
}

.skill-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skill-details h3 {
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  color: #e91e63;
  margin-bottom: 8px;
}

.skill-details p {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* View Certificate Button */
.cert-btn {
  font-family: "Times New Roman", Times, serif;
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #e91e63;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cert-btn:hover {
  background: #c2185b;
  transform: scale(1.05);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 15px;
  background: #e91e63;
  color: white;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  .skill-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .skill-card img {
    margin: 20px auto 0;
  }

  .skill-details {
    padding: 16px;
  }
}
