body {
  font-size: 16px;
  line-height: 1.6;
  word-wrap: break-word;
  padding: 0 10px;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: url('assets/neural_grid_bkgd.png') repeat;
  background-size: 50%;
  color: #111;
}

header {
  background: #0753aaec;
  padding: 20px;
  text-align: center;
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 1s ease-out;
}

header nav {
  margin-top: 10px;
}

header a {
  margin: 0 15px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

header a:hover {
  color: #D62828;
}

.main-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.center-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin: 10px auto 40px auto;
  padding: 20px;
  font-size: 0.95em;
  animation: fadeIn 1s ease-in;
}

.three-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.side-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  padding: 20px;
  flex: 1 1 30%;
  animation: fadeIn 1s ease-in;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section h2 {
  color: #0055A5;
}

ul {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0753aa;
  color: #333;
  font-size: 0.9em;
  margin-top: 40px;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media screen and (max-width: 768px) {
  .three-columns {
    flex-direction: column;
  }

  .main-container {
    padding: 20px 10px;
  }

  .resume-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .resume-contact {
    text-align: center;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  h2, h3, h4 {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h2, h3, h4 {
    font-size: 1em;
  }
}
