/* === Base Styles === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  color: #2c3e50;
  margin: 0;
  padding: 0;
}

/* === Header Styles === */
.site-header {
  background-color: #1f2d3d;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.site-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.site-header p.lead {
  font-size: 1.2rem;
  font-style: italic;
  color: #dcdcdc;
  margin-bottom: 20px;
}

/* === Navigation Buttons === */
.nav-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.nav-buttons .btn {
  border-radius: 30px;
  font-weight: 500;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.nav-buttons .btn:hover {
  background-color: #ffffff;
  color: #1f2d3d;
}

/* === Section Styles === */
section {
  padding: 30px 20px;
  border-bottom: 1px solid #ddd;
  animation: fadeInUp 1s ease-out;
}

section h2 {
  color: #34495e;
  font-size: 1.8em;
  margin-bottom: 10px;
}

section ul {
  list-style-type: square;
  padding-left: 20px;
}

section p,
section li {
  font-size: 1em;
  line-height: 1.6;
}

/* === Resume Link Styling === */
a {
  color: #2980b9;
}

a:hover {
  color: #1abc9c;
}

/* === Hero Enhancements === */
h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}

p.lead {
  font-size: 1.3em;
  line-height: 1.6;
}

/* === Welcome Heading === */
h2.welcome {
  font-size: 3em;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #34495e;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  animation: fadeSlide 1s ease-out;
}

/* === Family Heading === */
h2.family {
  font-size: 1.8em;
  color: #34495e;
  margin-top: 20px;
}

/* === Contact Card Animation === */
.contact-card {
  animation: fadeIn 1s ease-out;
  animation-delay: 0.5s;
  animation-fill-mode: both;
}

/* === Animations === */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

}

/* Banner layout */
.site-banner {
  background: linear-gradient(180deg, #0b2740 0%, #08323a 100%);
  color: #fff;
  padding: 12px 20px;
}

.banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: space-between;
  gap: 16px;
}

/* Logo styling */
.logo-link {
  display: inline-block;
}
.site-logo { width: 120px; height: auto; border-radius: 6px; }

@media (min-width: 900px) {
  .site-logo { width: 200px; }        /* bigger on desktops */
}

@media (max-width: 640px) {
  .site-logo { width: 80px; }         /* still small on phones */
}

/* Navigation */
.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
}

/* Responsive: shrink logo on small screens */
@media (max-width: 640px) {
  .site-logo { width: 72px; }
  .main-nav { display: none; } /* optionally hide nav on small screens; replace with a hamburger if desired */
}

.cta-row {
  width: 100%;
  padding: 18px 0 8px;
  display: flex;
  justify-content: center;
}

.cta-inner {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: #0b8a7f;
  color: #fff;
  border: 1px solid #0b8a7f;
}

.btn.outline {
  background: transparent;
  color: #0b2740;
  border: 1px solid rgba(11,39,64,0.12);
}

@media (max-width: 640px) {
  .btn { min-width: 110px; padding: 9px 12px; font-size: 14px; }
  .cta-inner { gap: 10px; }
}

/* Banner shell */
.site-banner {
  width: 100%;
  background: linear-gradient(180deg,#f7fbfc,#eef8f5); /* adjust to taste */
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(11,39,64,0.06);
}

/* Inner layout */
.banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;        /* vertical centering */
  gap: 20px;
  justify-content: flex-start; 
}

/* Logo (square) */
.banner-logo-link { display:inline-block; flex: 0 0 auto; }
.banner-image {
  width: 120px;               /* desktop size — tweak as needed */
  height: 120px;              /* keep square */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Text area */
.banner-text { flex: 1 1 auto; min-width: 0; }
.banner-title {
  margin: 0 0 6px 0;
  font-size: 1.5rem;
  color: #0b2740;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-sub {
  margin: 0 0 8px 0;
  color: #0b8a7f;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.banner-tag {
  margin: 0;
  color: #374151;
  max-width: 720px;
  font-size: 0.95rem;
}

/* Responsive: stack on small screens */
@media (max-width: 760px) {
  .banner-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .banner-image {
    width: 110px;
    height: 110px;
  }
  .banner-title { white-space: normal; font-size: 1.25rem; }
  .banner-text { width: 100%; }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: #f9fcfd;
  border: 1px solid #e0f2f1;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card h2 {
  margin-top: 0;
  color: #0b2740;
  font-size: 1.4rem;
}

.project-card p {
  color: #374151;
  margin-bottom: 16px;
  line-height: 1.5;
}

.project-card .btn {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
}

.btn.launch-btn {
  background: linear-gradient(to right, #0b8a7f, #0a6f6f);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.launch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.btn.outline {
  background: transparent;
  color: #0b2740;
  border: 1px solid rgba(11,39,64,0.12);
}

.btn.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.resume-section {
  background: #f7fbfc;
  padding: 48px 20px;
}

.resume-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b2740;
  margin-bottom: 24px;
}

.resume-summary {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 32px;
}

.resume-category h3 {
  font-size: 1.3rem;
  color: #0a6f6f;
  margin-top: 24px;
}

.resume-category ul,
.resume-role ul,
.resume-list {
  padding-left: 20px;
  margin-bottom: 16px;
}

.resume-category li,
.resume-role li,
.resume-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #374151;
}

.resume-role h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 24px;
  color: #0b2740;
}

.date-range {
  font-weight: 400;
  color: #6b7280;
  font-size: 0.95rem;
  margin-left: 8px;
}

.resume-note {
  font-style: italic;
  color: #555;
  margin-top: 12px;
}

.resume-articles ul {
  list-style: none;
  padding-left: 0;
}

.resume-articles li {
  margin-bottom: 12px;
}

.resume-articles a {
  color: #0b2740;
  text-decoration: underline;
  font-weight: 600;
}

.contact-card {
  transition: box-shadow 0.3s ease;
  background: #1f2d3d;
}

.contact-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.legacy-section {
  padding: 60px 20px;
  background: #f9fbfc;
}

.legacy-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.legacy-intro h1 {
  font-size: 2rem;
  color: #0b2740;
  margin-bottom: 12px;
}

.legacy-intro p {
  font-size: 1.1rem;
  color: #374151;
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.legacy-card {
  text-decoration: none;
  color: inherit;
}

.legacy-card-inner {
  background: #fff;
  border: 1px solid #e0e7ec;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legacy-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.legacy-card-inner h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0a6f6f;
}

.legacy-card-inner p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 16px;
}

.legacy-read {
  font-weight: 600;
  color: #0b8a7f;
  font-size: 0.95rem;
}

.legacy-hero {
  background: #eef7fb;
  padding: 40px 20px;
}

.legacy-hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.legacy-hero-img-wrapper {
  flex-shrink: 0;
}

.legacy-hero-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.legacy-hero-text {
  max-width: 700px;
}

.legacy-hero-text h1 {
  font-size: 2rem;
  color: #0b2740;
  margin-bottom: 12px;
}

.legacy-hero-text p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.6;
}


.contact-card .contact-info {
  color: white;
}

.contact-card .contact-info a {
  color: #f0f0f0;
  text-decoration: underline;
}

.contact-card {
  max-width: 500px;
  padding: 16px;
  margin: 0 auto;
  gap: 16px;
}

@media (max-width: 600px) {
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}




