 /* Style for the WhatsApp button */
.whatsapp-button {
    position: fixed;
    bottom: 10px;
    right: 70px;
    z-index: 1000;
}

.whatsapp-button a {
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.whatsapp-button a:hover {
    background-color: #128c7e;
}

.view-details-button {
    background-color: #007BFF; /* Button background color */
    color: #fff; /* Text color */
    border: none; /* Remove the button border */
    padding: 12px 20px; /* Add some padding for better spacing */
    border-radius: 4px; /* Rounded corners */
    font-size: 12px; /* Font size */
    cursor: pointer; /* Add a pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth color transition on hover */
}

/* Hover effect */
.view-details-button:hover {
    background-color: #0056b3; /* Darker color on hover */
}


/* Hire me and download CV */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.btn:hover {
    background-color: #007BFF;
}

.hire-btn {
    background-color: #28a745;
    margin-right: 0px;
    margin-top: 1px;
}

.hire-btn:hover {
    background-color: #218838;
}

.skills-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  font-family: 'Arial', sans-serif;
}

.skills-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.skills-category {
  margin-bottom: 40px;
}

.skills-category h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #444;
  border-left: 4px solid #ff7a00;
  padding-left: 10px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.skill-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(250,250,250,0.65));
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.5);
  transition: box-shadow 0.3s ease;
}

/* Minimal hover — only a subtle shadow change */
.skill-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}










.portfolio-section {
  text-align: center;
  padding: 60px 20px;
}

.portfolio-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-section p {
  color: #6b7280;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
}

@media (min-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* max 3 per row */
  }
}

.portfolio-grid:has(:only-child) {
  grid-template-columns: minmax(280px, 50%); /* half screen */
  justify-content: center;
  justify-content: start;
}

.portfolio-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.portfolio-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.portfolio-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 10px;
}

.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.view-details-button.secondary {
  background: #f3f4f6;
  color: #374151;
  box-shadow: none;
}

.view-details-button.secondary:hover {
  background: #e5e7eb;
}


.portfolio-filters {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-button {
  background: #f3f4f6;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.filter-button:hover {
  background: #e5e7eb;
}

.filter-button.active {
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
