/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  position: relative;
}

/* Header */
header {
  background-color: #0077cc;
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}
.subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
}
.profile-photo {
  position: absolute;
  top: 20px;
  right: 40px;
  width: 110px;
  height: auto;
  border: 3px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 0; /* <-- makes it a box */
}

/* Navigation */
nav {
  background-color: #005fa3;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px;
}
nav li {
  margin: 0 15px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  text-decoration: underline;
}

/* Main Content */
section {
  background: white;
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
h2 {
  color: #0077cc;
  margin-bottom: 15px;
}
ul {
  list-style: none;
}
ul li {
  margin-bottom: 10px;
}

/* Skills (Elaborated) */
.skill-list li {
  background-color: #e0f0ff;
  padding: 15px;
  border-radius: 5px;
  color: #005fa3;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.6;
}
.skill-list li strong {
  color: #003d66;
  display: block;
  margin-bottom: 5px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  background: #f9fcff;
  border: 1px solid #d0e6f7;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.project-card h3 {
  margin-bottom: 10px;
  color: #005fa3;
}
.project-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}
.btn:hover {
  background-color: #005fa3;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .profile-photo {
    position: static;
    display: block;
    margin: 20px auto 0 auto;
  }
}
/* Certificate Gallery */
.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.certificate-gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.certificate-gallery img:hover {
  transform: scale(1.03);
}








