/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

/* Subtle background for homepage */
body.home-page {
  background-color: #f9fafb;
  background-image: radial-gradient(circle, #e0f2fe 1px, transparent 1px),
                    radial-gradient(circle, #e0f2fe 1px, transparent 1px);
  background-position: 0 0, 25px 25px;
  background-size: 50px 50px;
}

header {
  background-color: #3b82f6;
  color: white;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Header Title: subtle underline accent */
header h1 {
  font-size: 2rem;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 0.35rem;
  font-weight: 700;
  color: #dbeafe;
}

header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #2563eb;
  border-radius: 3px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #bfdbfe;
}

main.content-container {
  max-width: 1100px;
  padding: 2rem 1rem 3rem;
  margin: 0 auto;
  flex-grow: 1;
  text-align: center;
}

/* Main headline */
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1.5rem;
}

/* Highlight paragraph */
.highlight {
  font-weight: 600;
  font-size: 1.2rem;
  color: #374151;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Buttons */
.cv-button {
  background-color: #2563eb;
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
  padding: 0.9rem 2.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin: 0.5rem;
}

.cv-button:hover {
  background-color: #1e40af;
  box-shadow: 0 10px 20px rgba(29, 64, 175, 0.5);
  transform: translateY(-3px);
}

/* Quote Section */
.quote-section {
  max-width: 700px;
  margin: 3rem auto 2rem;
  padding: 1.5rem 2rem;
  background-color: #eff6ff;
  border-left: 6px solid #3b82f6;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
  font-style: italic;
  color: #1e40af;
  position: relative;
}

.quote-section blockquote {
  font-size: 1.3rem;
  margin: 0;
  padding-left: 1rem;
}

.quote-section blockquote::before {
  content: "“";
  font-size: 3rem;
  color: #3b82f6;
  position: absolute;
  left: 12px;
  top: -12px;
  line-height: 1;
}

.quote-section blockquote span {
  display: block;
  margin-top: 1rem;
  text-align: right;
  font-weight: 600;
  color: #2563eb;
  font-size: 1rem;
}

/* Quick Highlights */
.quick-highlights {
  margin-top: 2.5rem;
  background-color: #e0f2fe;
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.quick-highlights h3 {
  text-align: center;
  color: #1e40af;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.quick-highlights ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-highlights li::before {
  content: '•';
  color: #2563eb;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s; /* delay fade in slightly */
}

/* Footer */
footer {
  background-color: #e0e7ff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: auto;
}

/* Focus states */
a:focus,
button:focus {
  outline: 2px dashed #2563eb;
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 600px) {
  nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

  .quick-highlights ul {
    font-size: 0.95rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .highlight {
    font-size: 1.1rem;
  }
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
