:root {
  --bg-light: #ffffff;
  --text-light: #000000;
  --card-light: #ffffff;
  --border-light: #e5e5e5;
  --accent-light: #0066cc;
  --accent-soft-light: #f0f7ff;
  --muted-light: #4b5563;
  --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.03);

  --bg-dark: #000000;
  --text-dark: #ffffff;
  --card-dark: #0a0a0a;
  --border-dark: #262626;
  --accent-dark: #ffffff;
  --accent-soft-dark: #1a1a1a;
  --muted-dark: #a0a0a0;
  --shadow-dark: 0 5px 20px rgba(255, 255, 255, 0.03);

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-lg: 40px;

  --transition: 0.25s ease;
}

body.light-mode {
  --bg: var(--bg-light);
  --text: var(--text-light);
  --card-bg: var(--card-light);
  --border: var(--border-light);
  --accent: var(--accent-light);
  --accent-soft: var(--accent-soft-light);
  --muted: var(--muted-light);
  --shadow: var(--shadow-light);
  color: #000000;
}

body.dark-mode {
  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --card-bg: var(--card-dark);
  --border: var(--border-dark);
  --accent: var(--accent-dark);
  --accent-soft: var(--accent-soft-dark);
  --muted: var(--muted-dark);
  --shadow: var(--shadow-dark);
  color: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Consolas', 'Courier New', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
li,
label,
input,
textarea,
button,
strong,
b {
  font-weight: 700 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800 !important;
}

small,
.date,
.edu-date,
.exp-period,
.volunteer-date,
.extra-date,
.project-status,
.project-note {
  font-weight: 600 !important;
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0.8rem 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.logo-group:hover {
  color: var(--text);
}

.logo-name {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  gap: 1.8rem;
}

.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 40px;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 700;
}

.theme-toggle i {
  position: absolute;
  transition: opacity 0.2s, transform 0.3s;
}

.fa-sun {
  opacity: 0;
  transform: rotate(90deg);
}

.fa-moon {
  opacity: 1;
  transform: rotate(0);
}

body.dark-mode .fa-sun {
  opacity: 1;
  transform: rotate(0);
}

body.dark-mode .fa-moon {
  opacity: 0;
  transform: rotate(-90deg);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 40px;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 0.8rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.mobile-drawer.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-link {
  padding: 0.7rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s;
  font-weight: 700;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--accent);
  padding-left: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) 2rem;
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.title-marker {
  opacity: 0.5;
  margin-right: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 0.3rem;
  font-weight: 700;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s ease;
}

.hero-section {
  padding-top: calc(var(--spacing-xl) + 1rem);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.5s ease;
}

.hero-role {
  font-size: 1.6rem;
  min-height: 3rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.5s ease 0.1s both;
  font-weight: 700;
}

.typed-role {
  border-right: 2px solid var(--accent);
  padding-right: 6px;
  animation: blink 0.9s step-end infinite;
  font-weight: 700;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-bio {
  font-size: 1.1rem;
  max-width: 550px;
  margin: 1.5rem 0 2rem;
  color: var(--text);
  animation: fadeInUp 0.5s ease 0.2s both;
  font-weight: 700;
}

.mark {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.8rem;
  animation: fadeInUp 0.5s ease 0.3s both;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  border: 2px solid;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  animation: fadeInUp 0.5s ease 0.4s both;
  font-weight: 700;
}

.quick-info i {
  color: var(--accent);
  width: 1.6rem;
}

.hero-social {
  display: flex;
  gap: 1.2rem;
  font-size: 1.6rem;
  margin-top: 1rem;
  animation: fadeInUp 0.5s ease 0.5s both;
}

.hero-social a {
  color: var(--muted);
  transition: all 0.2s;
  font-weight: 700;
}

.hero-social a:hover {
  color: var(--accent);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease 0.2s both;
}

.img-frame {
  width: 300px;
  height: 300px;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.img-frame:hover {
  transform: scale(1.02);
}

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

.status-chip {
  margin-top: 1.2rem;
  background: var(--accent-soft);
  padding: 0.4rem 1.2rem;
  border-radius: 0;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.edu-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.edu-card:hover {
  border-color: var(--accent);
}

.edu-icon {
  font-size: 2rem;
  color: var(--accent);
  min-width: 2.8rem;
}

.edu-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.edu-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.edu-date {
  font-size: 0.8rem;
  background: var(--accent-soft);
  padding: 0.2rem 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.edu-institute {
  color: var(--muted);
  margin: 0.2rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.edu-score {
  font-size: 0.95rem;
  margin: 0.6rem 0;
  font-weight: 700;
}

.edu-score strong {
  font-weight: 800;
}

.exp-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.exp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.2s;
}

.exp-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.exp-left {
  min-width: 200px;
}

.exp-company {
  font-weight: 800;
  color: var(--accent);
  display: block;
  font-size: 1.1rem;
}

.exp-period {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.exp-right {
  flex: 1;
}

.exp-right h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
}

.exp-description {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.8rem;
  transition: all 0.2s;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-header h3 {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 800;
}

.project-status {
  font-size: 0.7rem;
  padding: 0.2rem 0.9rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
}

.project-status.in-progress {
  background: transparent;
  border-color: var(--accent);
}

.project-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
  flex-grow: 1;
  font-weight: 700;
}

.project-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  font-weight: 600;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  align-self: flex-start;
}

.project-link:hover {
  gap: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.achievement-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.achievement-card:hover {
  border-color: var(--accent);
}

.achievement-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.achievement-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.achievement-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-cluster-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 800;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-pills span {
  background: var(--accent-soft);
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
  font-weight: 700;
}

.skill-pills span:hover {
  border-color: var(--accent);
  color: var(--accent);
  cursor: default;
}

.extra-club {
  margin-bottom: 2.5rem;
}

.club-name {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}

.extra-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 700px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: all 0.2s;
  font-weight: 700;
}

.extra-item:hover {
  border-color: var(--accent);
}

.extra-item i {
  color: var(--accent);
  font-size: 0.8rem;
}

.extra-date {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 1rem;
  background: var(--bg);
  padding: 0.2rem 0.8rem;
  font-weight: 600;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.cert-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  border-color: var(--accent);
}

.cert-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cert-header i {
  font-size: 2rem;
  color: var(--accent);
}

.cert-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.cert-iframe-container {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.cert-iframe-container iframe {
  width: 100%;
  height: 100%;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: auto;
}

.cert-image-container {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cert-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cert-image-container img:hover {
  transform: scale(1.02);
}

.cert-link:hover {
  gap: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ref-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.2s;
}

.ref-card:hover {
  border-color: var(--accent);
}

.ref-card h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.ref-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.ref-institution {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.ref-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-weight: 700;
}

.ref-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.volunteer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.volunteer-card:hover {
  border-color: var(--accent);
}

.volunteer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.volunteer-header i {
  font-size: 2rem;
  color: var(--accent);
}

.volunteer-header h3 {
  font-size: 1.3rem;
  color: var(--accent);
  flex: 1;
  font-weight: 800;
}

.volunteer-date {
  font-size: 0.8rem;
  background: var(--accent-soft);
  padding: 0.2rem 0.8rem;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.volunteer-org {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.volunteer-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 700;
}

.volunteer-list {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 0;
}

.volunteer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 700;
}

.volunteer-list li::before {
  content: "▹";
  color: var(--accent);
  font-weight: bold;
}

.site-footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-main {
  max-width: 500px;
  margin: 0 auto;
}

.footer-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  font-size: 1.8rem;
  margin: 1.5rem 0 1rem;
}

.footer-social a {
  color: var(--muted);
  transition: all 0.2s;
  font-weight: 700;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-contact {
  color: var(--muted);
  margin: 1rem 0;
  font-weight: 700;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-weight: 700;
}

.pulse {
  display: inline-block;
  animation: pulseSmall 2s infinite;
  font-weight: 700;
}

@keyframes pulseSmall {
  0% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.7;
  }
}

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
  transition: all 0.2s;
  border: 2px solid white;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}

.wa-float:hover {
  background: #128C7E;
  transform: scale(1.05);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  cursor: pointer;
}

.dropdown-trigger i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.dropdown-trigger:hover,
.dropdown-trigger.active {
  color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: var(--shadow);
  border-radius: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: left;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  padding-left: 2rem;
}

.dropdown-menu a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease;
}

.animate-slide-up {
  animation: fadeInUp 0.6s ease;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .quick-info {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .exp-card {
    flex-direction: column;
    gap: 0.5rem;
  }

  .exp-left {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .dropdown {
    display: none;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .hero-name {
    font-size: 2.5rem;
  }

  .hero-role {
    font-size: 1.3rem;
  }

  .img-frame {
    width: 220px;
    height: 220px;
  }

  .quick-info {
    flex-direction: column;
    gap: 0.8rem;
  }

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

  .wa-float {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
    bottom: 15px;
    right: 15px;
  }

  .volunteer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .volunteer-date {
    align-self: flex-start;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cert-card {
    padding: 1.5rem;
  }

  .cert-iframe-container,
  .cert-image-container {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}