:root {
  --bg-dark: #0b0f0d;
  --bg-light: #121916;
  --accent: #6b8f71;
  --text-main: #ffffff;
  --text-muted: #cfd8d3;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 20px;
  text-align: justify;
}

.section {
  padding: 80px 10%;
}

.section.dark {
  background-color: var(--bg-light);
}

h1, h2 {
  margin-bottom: 20px;
  color: var(--text-main);
}

h1 {
  font-size: 3.4rem;
}

h2 {
  font-size: 2.2rem;
}

.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center ;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 0 10%;
}

.hero-profile img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.hero-text h1 {
  font-size: 3rem;
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-meta li,
.hero-measurables span {
  list-style: none;
  display: block;
  color: var(--text-muted);
}

.hero-measurables {
  margin: 15px 0;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: var(--accent);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hudl-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
}

.hudl-link:hover {
  text-decoration: underline;
}


.film-main iframe,
.film-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  color: var(--text-muted);
}


blockquote span {
  display: block;
  margin-top: 10px;
  color: var(--text-main);
}

/* ================= TESTIMONIAL ROTATION ================= */

.testimonial-container {
  position: relative;
  min-height: 220px;
  margin-top: 30px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.testimonial.active {
  opacity: 1;
}


ul {
  list-style: none;
}

.contact-list li,
.academic-list li,
.resume-list li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-profile img {
    max-height: 300px;
  }
}
