/* ============================================
   Romenia Silva - Academic Portfolio
   Simple, modern, elegant - romenia.lk
   ============================================ */

/* CSS Variables - Pastel & Light Palette */
:root {
  /* Base colors */
  --color-bg: #faf9f7;
  --color-bg-alt: #f5f3f0;
  --color-white: #ffffff;
  
  /* Pastel neutrals */
  --color-beige: #ebe6e0;
  --color-blush: #f5e6e8;
  --color-lavender: #e8e4f0;
  --color-mint: #e4f0eb;
  --color-sky: #e4eef5;
  
  /* Accent colors */
  --color-coral: #e8a598;
  --color-teal: #6b9b9b;
  --color-teal-dark: #3d6b6b;
  --color-sunflower: #e8c96b;
  --color-soft-purple: #a99bc4;
  
  /* Text */
  --color-text: #3d3a36;
  --color-text-muted: #6b6560;
  --color-text-light: #8a8580;
  
  /* Borders & shadows */
  --border-soft: 1px solid rgba(61, 58, 54, 0.08);
  --shadow-soft: 0 4px 20px rgba(61, 58, 54, 0.06);
  --shadow-hover: 0 8px 32px rgba(61, 58, 54, 0.1);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #faf9f7 0%, #f5e6e8 40%, #e4eef5 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(250,249,247,0.95) 100%);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing & sizing */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 50%;
  --transition: 0.3s ease;
}

/* Dark mode variables */
[data-theme="dark"] {
  --color-bg: #1a1a1a;
  --color-bg-alt: #252525;
  --color-white: #2d2d2d;
  --color-beige: #3a3836;
  --color-blush: #3a3234;
  --color-lavender: #34323a;
  --color-mint: #2a3532;
  --color-sky: #2a3238;
  --color-coral: #c97d72;
  --color-teal: #7ab3b3;
  --color-teal-dark: #5a9a9a;
  --color-sunflower: #c9a84d;
  --color-soft-purple: #8a7ba8;
  --color-text: #e8e6e3;
  --color-text-muted: #b5b2ad;
  --color-text-light: #8a8680;
  --border-soft: 1px solid rgba(232, 230, 227, 0.12);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
  --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2a2528 40%, #1e252a 100%);
  --gradient-card: linear-gradient(180deg, rgba(45,45,45,0.95) 0%, rgba(37,37,37,0.98) 100%);
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Offset for fixed header when navigating to sections */
section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-beige);
  border-top-color: var(--color-teal-dark);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-soft-purple);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background decorative shapes */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-blush);
  top: -120px;
  right: -120px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-sky);
  bottom: 20%;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--color-lavender);
  bottom: -50px;
  right: 15%;
}

/* Floating social links */
.floating-social {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 50;
}

.floating-social-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border: var(--border-soft);
  transition: all var(--transition);
}

.floating-social-btn:hover {
  background: var(--color-teal);
  transform: translateX(-4px);
  box-shadow: var(--shadow-hover);
}

.floating-social-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Go to top button */
.go-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border: var(--border-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), box-shadow var(--transition);
}

.go-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top:hover {
  box-shadow: var(--shadow-hover);
  background: var(--color-teal);
  color: var(--color-white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-soft);
  transition: box-shadow var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(26, 26, 26, 0.9);
}

.header.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text) !important;
}

.nav-logo:hover {
  color: var(--color-teal) !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--color-teal);
  background: rgba(107, 155, 155, 0.1);
}

.theme-icon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger to X transformation when menu is open */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted) !important;
}

.nav-menu a:hover {
  color: var(--color-teal) !important;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background: var(--gradient-hero);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  flex-shrink: 0;
}

.hero-image {
  width: 280px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 4px solid var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

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

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-blush), var(--color-lavender));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  color: var(--color-soft-purple);
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-teal-dark);
  color: var(--color-white) !important;
  box-shadow: 0 4px 14px rgba(61, 107, 107, 0.35);
}

.btn-primary:hover {
  background: #2d5555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 107, 107, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-teal-dark) !important;
  border: 2px solid var(--color-teal-dark);
}

.btn-secondary:hover {
  background: var(--color-mint);
  transform: translateY(-2px);
}

/* Section styles */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 3rem;
}

/* Cards */
.card {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

/* About */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-text {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.about-text:last-child {
  margin-bottom: 0;
}

/* Education */
.education-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-card {
  position: relative;
  padding-left: 4rem;
}

.education-icon {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  font-size: 2rem;
}

.education-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.education-institution {
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.education-period {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.education-grade {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.education-detail {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.research-highlight {
  background: linear-gradient(135deg, rgba(232, 228, 240, 0.6), rgba(228, 238, 245, 0.6));
  border-left: 4px solid var(--color-soft-purple);
}

[data-theme="dark"] .research-highlight {
  background: linear-gradient(135deg, rgba(52, 48, 58, 0.8), rgba(42, 50, 56, 0.8));
  border-left-color: var(--color-soft-purple);
}

[data-theme="dark"] .research-highlight .thesis-title,
[data-theme="dark"] .research-highlight .research-supervisors {
  color: var(--color-text-muted);
}

.research-highlight h4 {
  font-size: 1rem;
  color: var(--color-soft-purple);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.thesis-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.research-supervisors {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Teaching */
.teaching-header {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 1.5rem;
}

.teaching-icon {
  position: absolute;
  left: 1rem;
  top: 1.5rem;
  font-size: 2rem;
}

.teaching-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.teaching-institution {
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.teaching-period {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.teaching-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.course-card {
  padding: 1.25rem;
}

.course-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.course-code {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.course-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--color-mint);
  color: var(--color-teal-dark);
  border-radius: 6px;
}

.teaching-other {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Skills */
.skills-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.skills-block {
  flex: 1;
  min-width: 200px;
}

.skills-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-beige);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: var(--border-soft);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition);
}

.skill-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.skill-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.skill-item--text .skill-text-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  background: var(--color-mint);
  border-radius: 6px;
}

/* Research / Publications */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-card {
  border-left: 4px solid var(--color-teal);
}

.pub-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.publication-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.publication-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.pub-detail {
  font-size: 0.9rem !important;
  color: var(--color-text-light) !important;
}

/* Achievements */
.achievement-card-single {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.achievement-block h3 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-beige);
}

.achievement-international h3 {
  color: var(--color-teal);
}

.achievement-block ul li {
  padding: 0.5rem 0;
  padding-left: 3.5rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.achievement-block .year {
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--color-coral);
  min-width: 2.5rem;
}

.achievement-block .award-org {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
  padding-left: 0;
  font-weight: 400;
}

/* Contact */
.contact-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  text-align: left;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details-col .contact-details {
  margin-bottom: 0;
}

.contact-details-col .social-links {
  justify-content: flex-start;
}

.contact-content .contact-form {
  max-width: 100%;
  margin-bottom: 0;
}

.contact-intro {
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

/* Honeypot - hidden from users, traps bots */
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  margin-bottom: 2rem;
  text-align: left;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form-field {
  margin-bottom: 1rem;
}

.contact-form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.contact-form-field .required {
  color: var(--color-coral);
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition);
  box-sizing: border-box;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: var(--color-teal);
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  margin-top: 0.5rem;
}

.contact-form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

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

.contact-form-status--error {
  color: var(--color-coral);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-details-col {
    text-align: center;
  }

  .contact-details-col .contact-details,
  .contact-details-col .contact-address {
    text-align: left;
    align-self: flex-start;
  }

  .contact-details-col .social-links {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

.contact-link,
.contact-address {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text) !important;
  font-weight: 500;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--color-teal) !important;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-teal);
}

.contact-address {
  color: var(--color-text-muted) !important;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  padding: 0.6rem 1.25rem;
  background: var(--color-white);
  border: 2px solid var(--color-teal-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-teal-dark) !important;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-mint);
  border-color: var(--color-teal-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  border-top: var(--border-soft);
  background: var(--color-bg-alt);
}

.footer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Responsive - Mobile first enhancements */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    margin: 0 auto;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-tagline {
    text-align: center;
  }

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

  .education-card,
  .teaching-header {
    padding-left: 2rem;
  }

  .education-icon,
  .teaching-icon {
    position: static;
    margin-bottom: 1rem;
  }
}

@media (max-width: 990px) {
  .floating-social {
    display: none;
  }

  .go-to-top {
    bottom: 1rem;
    left: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.5rem;
  }

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

@media (max-width: 480px) {
  .hero {
    padding-top: 6rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .achievement-block ul li {
    padding-left: 3rem;
  }

  .achievement-block .year {
    min-width: 2rem;
  }
}
