
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: linear-gradient(to bottom, #eef2f3, #ffffff);
  color: #333;
}

header {
  background: linear-gradient(rgba(0, 64, 128, 0.9), rgba(0, 64, 128, 0.9));
  color: white;
  padding: 2rem;
  text-align: center;
}

header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.contact-links a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.contact-links a:hover {
  color: #ffd700;
}

.contact-links a:active {
  transform: scale(0.95);
}

.download-btn {
  margin-top: 1rem;
  display: inline-block;
  background-color: #ffd700;
  color: #004080;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #e6c200;
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  margin-bottom: 1rem;
  color: #004080;
  border-bottom: 3px solid #ffd700;
  display: inline-block;
}

ul, p {
  margin-bottom: 1rem;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.skills li {
  background: #004080;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
}

.project, .edu-entry, .achievement {
  background: #fff;
  padding: 1rem;
  border-left: 5px solid #004080;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.project:hover, .edu-entry:hover, .achievement:hover {
  transform: translateY(-5px);
}

.project a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #004080;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.project a:hover {
  color: #0066cc;
}

.project a:active {
  transform: scale(0.95);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.cert-slide {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.cert-slide:hover {
  transform: scale(1.03);
}

.cert-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cert-slide p {
  padding: 0.75rem;
  text-align: center;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #00254d;
  color: #fff;
}

@media (max-width: 600px) {
  header, section, footer {
    padding: 1rem;
  }
}
