/* === CUSTOM PROPERTIES === */
:root {
  --coral: #f97066;
  --coral-dark: #e85d52;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-800: #1e293b;
  --white: #ffffff;
  --black: #0a0a0a;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --section-padding: 100px 40px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-400);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-resume-btn {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.2s, background 0.3s !important;
}

.nav-resume-btn:hover {
  transform: translateY(-1px);
  background: var(--coral-dark) !important;
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === FLOATING RESUME BUTTON === */
.floating-resume {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--coral);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(249, 112, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-resume:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(249, 112, 102, 0.5);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 112, 102, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: var(--max-width);
}

.hero-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--navy));
  padding: 4px;
  flex-shrink: 0;
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-text {
  color: var(--gray-400);
  font-size: 14px;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-text h1 span {
  color: var(--coral);
}

.hero-tagline {
  font-size: 22px;
  color: var(--gray-400);
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.hero-cta {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, background 0.3s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--coral-dark);
}

/* === ABOUT === */
.about-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-photo {
  width: 300px;
  height: 380px;
  border-radius: 12px;
  background: var(--gray-800);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 16px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.pillar {
  background: rgba(249, 112, 102, 0.08);
  border: 1px solid rgba(249, 112, 102, 0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.pillar-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.pillar h4 {
  color: var(--coral);
  font-size: 16px;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--gray-400);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}

.quote {
  border-left: 3px solid var(--coral);
  padding: 16px 24px;
  margin-top: 32px;
  font-style: italic;
  color: var(--gray-400);
}

/* === SECTION DARK BACKGROUND === */
.section-dark {
  background: var(--navy);
}

/* === BACKGROUND IMAGE SECTIONS === */
.bg-image-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-image-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-image-section > * {
  position: relative;
  z-index: 2;
}

/* Timeline: healthcare/hospital */
.bg-timeline {
  background-image: url('../images/timeline-bg.jpg');
}
.bg-timeline::after {
  background: rgba(15, 23, 42, 0.88);
}

/* Achievements: team/leadership */
.bg-achievements {
  background-image: url('../images/achievements-bg.jpg');
}
.bg-achievements::after {
  background: rgba(10, 10, 10, 0.85);
}

/* Testimonials: Sara's photo */
.bg-testimonials {
  background-image: url('../images/hero-headshot.jpg');
}
.bg-testimonials::after {
  background: rgba(15, 23, 42, 0.92);
}

/* Leadership: team meeting */
.bg-leadership {
  background-image: url('../images/leadership-bg.jpg');
}
.bg-leadership::after {
  background: rgba(10, 10, 10, 0.85);
}

/* Contact: Sara's approachable photo */
.bg-contact {
  background-image: url('../images/about-photo.jpg');
}
.bg-contact::after {
  background: rgba(249, 112, 102, 0.85);
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--coral), var(--navy));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--coral);
  border-radius: 50%;
  border: 3px solid var(--navy);
}

.timeline-year {
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
}

/* === METRICS === */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.metric {
  text-align: center;
}

.metric-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  display: inline;
}

.metric-suffix {
  font-size: 40px;
  font-weight: 800;
  color: var(--coral);
  display: inline;
}

.metric-label {
  color: var(--gray-400);
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.achievement-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achievement {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  padding: 24px;
}

.achievement h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--white);
}

.achievement p {
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonial-section {
  text-align: center;
  padding: 100px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-quote-mark {
  font-size: 120px;
  color: rgba(249, 112, 102, 0.15);
  line-height: 1;
  margin-bottom: -40px;
}

.testimonial-text {
  font-size: 22px;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto 24px;
  font-style: italic;
}

.testimonial-author {
  color: var(--coral);
  font-size: 16px;
  font-weight: 600;
}

.testimonial-role {
  color: var(--gray-500);
  font-size: 14px;
}

/* === LEADERSHIP === */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leadership-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(249, 112, 102, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.leadership-card:hover {
  transform: translateY(-6px);
}

.leadership-card-img {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 24px;
  text-align: center;
}

.leadership-card-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.leadership-card-detail {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.5;
}

.leadership-card-body {
  padding: 24px;
}

.leadership-card-body h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.leadership-card-body p {
  color: var(--gray-400);
  font-size: 13px;
  line-height: 1.5;
}

/* === CONTACT === */
.contact-section {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  padding: 100px 40px;
  text-align: center;
}

.contact-section h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.contact-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  outline: none;
  transition: background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.contact-form button:hover {
  transform: translateY(-2px);
  background: var(--navy-light);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.form-status.success {
  color: var(--navy);
}

.form-status.error {
  color: #fff3cd;
}

.social-links {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--white);
}

/* === SCROLL ANIMATION BASE === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SECTION COMMON === */
.section {
  padding: var(--section-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title span {
  color: var(--coral);
}

.section-subtitle {
  color: var(--gray-400);
  font-size: 16px;
  margin-bottom: 48px;
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  text-align: center;
  padding: 24px 40px;
  color: var(--gray-500);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === RESPONSIVE: MOBILE === */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 20px;
  }

  .nav {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .floating-resume {
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    font-size: 13px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-photo {
    width: 220px;
    height: 220px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .about-grid {
    flex-direction: column;
    gap: 32px;
  }

  .about-photo {
    width: 100%;
    height: 280px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .timeline-role {
    font-size: 18px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .metric-number {
    font-size: 40px;
  }

  .metric-suffix {
    font-size: 28px;
  }

  .achievement-cards {
    grid-template-columns: 1fr;
  }

  .testimonial-section {
    padding: 60px 20px;
  }

  .testimonial-quote-mark {
    font-size: 80px;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 60px 20px;
  }

  .contact-section h2 {
    font-size: 28px;
  }
}
