*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #005398;
  --navy-dark: #193C53;
  --navy-deeper: #0a2334;
  --navy-card: #00295e;
  --yellow: #FFC810;
  --orange: #EC6625;
  --orange-hover: #d46a1a;
  --green: #227032;
  --white: #ffffff;
  --cream: #F1E5E2;
  --brown-section: #864E2E;
  --brown-dark: #4a3a2d;
  --tan: #917D6F;
  --gray-section: #E8E8E8;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV (shared) ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: var(--navy-dark);
  border-bottom: 2px solid rgba(245, 197, 24, 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo .logo-placeholder {
  width: 45px;
  height: 45px;
  background: none; 
  border-radius: 0;   
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .logo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--yellow); }
.nav-links a.active::after { width: 100%; }

/* ── ABOUT INTRO ── */
.about-intro {
  padding: 150px 32px 60px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-intro-image {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  background: var(--navy-card);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.about-intro-image span {
  display: block;
  width: 100%;
  height: 100%;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;        /* match the container's border-radius */
}

.about-intro-text h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: 14px;
}

.about-intro-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

/* ── HISTORY CARD ── */
.history-section {
  padding: 40px 32px 60px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.history-card {
  flex: 1;
  background: var(--navy-card);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  border: 1px solid rgba(245, 197, 24, 0.1);
}

.history-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 18px;
}

.history-card p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
}

.history-image {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: var(--navy-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  margin-top: 20px;
  border: 3px solid rgba(245, 197, 24, 0.15);
}

/* ── QUOTE ── */
.quote-section {
  padding: 70px 32px;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.quote-divider {
  display: block;
  margin: 0 auto 30px;
  color: var(--yellow);
  font-size: 1.5rem;
  letter-spacing: 2px;
  opacity: 0.6;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.4;
  margin-bottom: 30px;
}

.quote-divider-bottom {
  display: block;
  color: var(--yellow);
  font-size: 1.5rem;
  letter-spacing: 2px;
  opacity: 0.6;
}

/* ── MIFFY'S NAME ── */
.name-section {
  padding: 40px 32px 80px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.name-image {
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  background: var(--navy-card);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.name-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 16px;
}

.name-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deeper);
  padding: 50px 32px;
  text-align: center;
  border-top: 2px solid rgba(245, 197, 24, 0.12);
}

footer h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--yellow);
  margin-bottom: 16px;
}

footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.75rem; }
  .about-intro {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .about-intro-image { width: 150px; height: 150px; }
  .history-section {
    flex-direction: column-reverse;
    align-items: center;
  }
  .history-image { width: 120px; height: 120px; }
  .name-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .name-image { width: 150px; height: 180px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-intro { animation: fadeUp 0.6s ease-out both; }
.history-section { animation: fadeUp 0.6s 0.15s ease-out both; }
.quote-section { animation: fadeUp 0.6s 0.3s ease-out both; }
.name-section { animation: fadeUp 0.6s 0.45s ease-out both; }