
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f8fa;
  color: #1d2d44;
}

.navbar {
  padding: 1rem 2rem;
  background: #fff;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00b87b;
}
.cv-link {
  display: inline-block;
  background-color: #19b1f7; /* Change to your preferred color */
  color: white;
  padding: 8px 15px;
  border-radius: 4px; /* Set to 0px if you want a perfect square look */
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #19b1f7; /* Optional border */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-link:hover {
  background-color: white;
  color: #19b1f7;
}

.hero-container {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  display: flex;
  max-width: 700px;
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.card-img-top img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.card-content {
  padding: 1rem;
}
.card-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content small {
  color: #777;
  margin-top: 4px;
  display: block;
}

.card-content p {
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #333;
  line-height: 1.5;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #f97316;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.github-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2rem;
  color: #000;
}

.avatar {
  background-color: #1d2d44;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
}

.intro h1 {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 0;
}

.name {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

.bio {
  font-size: 1.1rem;
  line-height: 1.6;
}

.highlight-box {
  background-color: blueviolet;
  color: white;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

.social-section {
  margin-top: 2rem;
  text-align: center;
}

.social-section p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.social-icons a {
  font-size: 1.6rem;
  color: #000;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00b87b;
}

.skills-section {
  padding: 60px 20px;
  background-color: #fefefe;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.skills-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1a237e;
}

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

.skills-category h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 25px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

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

.skill-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.skill-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a237e;
}

.skill-card p {
  font-size: 15px;
  color: #555;
}

.tags {
  background: #f3e8ff;
  padding: 1rem;
  border-radius: 5px;
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #4c1d95;
  color: white;
  border-radius: 25px;
  text-decoration: none;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0 3rem;
}
.projects-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1a237e;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #f97316;
  color: white;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
}

.tag:nth-child(2) { background-color: #7c3aed; }
.tag:nth-child(3) { background-color: #0ea5e9; }
.tag:nth-child(4) { background-color: #22c55e; }
.tag:nth-child(5) { background-color: #ec4899; }

.certificates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.certificates-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1a237e;
  text-align: center;
}

.certificate {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.certificate img {
    width: 100%;
    height: 270px; /* Fixed height */
    object-fit: cover; /* Keep aspect ratio and crop if needed */
    border-radius: 8px;
}


@media (max-width: 900px) {
    .certificates {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .certificates {
        grid-template-columns: 1fr;
    }
}
footer {
  text-align: center;
  font-size: 14px;
  padding: 2rem 1rem;
  color: #777;
}
