@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0b3c5d;
  --secondary: #1c1f2b;
  --accent: #00b4d8;
  --light: #f8f9fa;
  --text: #1a1a2e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #f8f9fa;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 1.5rem;
}

.nav-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00b4d8;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 2rem;
}

.hero-content {
  flex: 1;
  text-align: center;
  max-width: 800px;
}

.hero-name {
  font-size: 4rem;
  margin-bottom: 0.8rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 1rem;
  color: #7dd3fc;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-subtext {
  font-size: 1.5rem;
  color: #aaa;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-tags span {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #0077b6;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
}

.btn-secondary:hover {
  background: #00b4d8;
  color: #fff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
}

/* Sections */
.about-intro {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  text-align: center;
}

.about-intro .section-title {
  color: #fff;
  margin-bottom: 2rem;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-intro-img {
  border-radius: 12px;
  overflow: hidden;
}

.about-intro-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.about-intro-content {
  text-align: left;
}

.about-intro-content p {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-intro .btn {
  background: #00b4d8;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.about-intro .btn:hover {
  background: #00a0c4;
}

.section {
  padding: 5rem 1.5rem;
}

.alt {
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #00b4d8;
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  position: relative;
}

.about-img-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
}

.about-img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-text {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 2.5rem 3rem 2.5rem 2rem;
  border-radius: 0 12px 12px 0;
}

.about-text p {
  color: #444;
  margin-bottom: 1rem;
}

.about-info div {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.about-info span {
  font-weight: 600;
  color: #1a1a2e;
}

/* CV */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cv-block {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cv-block h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #00b4d8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cv-block ul {
  list-style: none;
  padding: 0;
}

.cv-block li {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  position: relative;
}

.cv-block li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00b4d8;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.skill-card i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: #00b4d8;
}

.skill-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.skill-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

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

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.project-img {
  height: 220px;
  background: linear-gradient(135deg, #e8e0f7, #d4c4f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-img i {
  font-size: 3.5rem;
  color: #00b4d8;
  opacity: 0.7;
}

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

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
}

.project-info p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  background: #e8e0f7;
  color: #00b4d8;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Expeditions */
.expeditions-grid {
  display: grid;
  gap: 2.5rem;
}

.expedition-card .project-img {
  background: linear-gradient(135deg, #0b3c5d, #1a5276);
  overflow: hidden;
}

.expedition-card .project-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.expedition-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.expedition-meta i {
  color: #00b4d8;
  width: 18px;
  margin-right: 0.3rem;
}

.expedition-summary {
  font-size: 0.95rem;
  line-height: 1.7;
}

.expedition-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

.expedition-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0b3c5d;
  margin-bottom: 0.6rem;
}

.expedition-block ul {
  list-style: none;
  padding: 0;
}

.expedition-block li {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4rem;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.expedition-block li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00b4d8;
}

.expedition-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .about-intro {
    padding: 3rem 1.5rem;
  }

  .about-intro-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro-img img {
    height: 280px;
  }

  .about-intro-content {
    text-align: center;
  }

  .about-intro-content p {
    font-size: 1rem;
  }

  .expedition-details {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00b4d8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-info i {
  margin-right: 0.75rem;
  color: #00b4d8;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8e0f7;
  color: #00b4d8;
  font-size: 1.2rem;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #00b4d8;
  color: #fff;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: #0b3c5d;
  color: #fff;
}

.cta-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: 1.1rem;
  color: #b0d4e8;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #1a1a2e;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(26, 26, 46, 0.98);
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

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

  .hero-tagline {
    font-size: 0.9rem;
  }

  .hero-subtext {
    font-size: 1.2rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img-wrapper {
    border-radius: 12px 12px 0 0;
    max-height: 300px;
  }

  .about-text {
    border-radius: 0 0 12px 12px;
    padding: 2rem;
  }

  .about-info {
    text-align: left;
    display: inline-block;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-photo img {
    width: 250px;
    height: 250px;
  }

  .about-img img {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Projects filter */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border: 2px solid #00b4d8;
  background: transparent;
  color: #00b4d8;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #00b4d8;
  color: #fff;
}

/* Projects accordion cards */
.project-section-title {
  font-size: 1.3rem;
  color: #0b3c5d;
  margin: 2.5rem 0 1.2rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #00b4d8;
}

.projects-accordion-grid {
  display: grid;
  gap: 1rem;
}

.project-card.accordion {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.project-card.accordion:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  user-select: none;
  background: #fff;
  gap: 1rem;
}

.project-card-header-left {
  flex: 1;
  min-width: 0;
}

.project-card-header-left h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: #1a1a2e;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  font-size: 0.82rem;
  color: #777;
}

.project-meta i {
  color: #00b4d8;
  width: 16px;
  margin-right: 0.3rem;
}

.toggle-icon {
  font-size: 0.9rem;
  color: #00b4d8;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.toggle-icon.open {
  transform: rotate(180deg);
}

.project-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  background: #fafafa;
}

.project-card-body.open {
  max-height: 2000px;
  padding: 1.2rem 1.5rem;
}

.project-card-body p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.project-card-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.8rem;
}

.project-card-body li {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.project-card-body li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00b4d8;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  background: #e8f4f8;
  color: #0b3c5d;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.project-link:hover {
  background: #00b4d8;
  color: #fff;
}

.project-link i {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .project-card-header {
    flex-wrap: wrap;
  }

  .project-card-header-left h3 {
    font-size: 0.95rem;
  }

  .project-meta {
    font-size: 0.78rem;
  }
}

/* Field Stories */
.story-section {
  padding: 5rem 1.5rem;
}

.story-section.alt {
  background: #fff;
}

.story-container {
  max-width: 1100px;
  margin: 0 auto;
}

.story-header {
  margin-bottom: 2.5rem;
}

.story-header h2 {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.story-header .story-subtitle {
  font-size: 1.05rem;
  color: #00b4d8;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.story-divider {
  width: 60px;
  height: 4px;
  background: #00b4d8;
  border-radius: 2px;
}

.story-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.story-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

.story-text p {
  margin-bottom: 1rem;
}

.story-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e0e8f0, #c8d8e8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b3c5d;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.story-image-placeholder i {
  font-size: 3rem;
  color: #00b4d8;
  margin-right: 0.75rem;
  opacity: 0.6;
}

.story-image-placeholder .placeholder-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-media-grid .story-image-placeholder {
  aspect-ratio: 4 / 3;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: #0b3c5d;
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.story-link i {
  font-size: 0.8rem;
}

.story-link:hover {
  background: #00b4d8;
}

.story-link-outline {
  background: transparent;
  border: 2px solid #0b3c5d;
  color: #0b3c5d;
}

.story-link-outline:hover {
  background: #0b3c5d;
  color: #fff;
}

.story-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.story-video-placeholder i {
  font-size: 3rem;
  color: #00b4d8;
  margin-bottom: 0.75rem;
}

.story-video-placeholder span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.story-video-placeholder:hover {
  background: #2a2a4e;
}

.story-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

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

  .story-media-grid {
    grid-template-columns: 1fr;
  }

  .story-header h2 {
    font-size: 1.5rem;
  }
}

/* Professional Profile / CV */
.profile-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.profile-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.profile-hero .profile-tagline {
  font-size: 1.15rem;
  color: #7dd3fc;
  margin-bottom: 1rem;
  font-weight: 500;
}

.profile-hero p {
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

.profile-hero-badge {
  display: inline-block;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: #7dd3fc;
  padding: 0.35rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* CV Preview */
.cv-preview {
  background: #fff;
  padding: 5rem 1.5rem;
}

.cv-preview-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cv-preview-box {
  background: #f8f9fa;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 340px;
  transition: border-color 0.3s;
  cursor: pointer;
}

.cv-preview-box:hover {
  border-color: #00b4d8;
}

.cv-preview-box i {
  font-size: 4rem;
  color: #00b4d8;
  margin-bottom: 1rem;
}

.cv-preview-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.cv-preview-box p {
  font-size: 0.9rem;
  color: #777;
}

/* Metrics */
.metrics-section {
  padding: 5rem 1.5rem;
  background: #1a1a2e;
  color: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.metric-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #00b4d8;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.9rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Timeline */
.timeline-section {
  padding: 5rem 1.5rem;
  background: #fff;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00b4d8;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #00b4d8;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #00b4d8;
}

.timeline-date {
  font-size: 0.82rem;
  color: #00b4d8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.15rem;
}

.timeline-institution {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* Certs & Lang grid */
.cert-lang-section {
  padding: 5rem 1.5rem;
  background: #f8f9fa;
}

.cert-lang-container {
  max-width: 900px;
  margin: 0 auto;
}

.cert-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.cert-list {
  list-style: none;
  padding: 0;
}

.cert-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.95rem;
  color: #444;
}

.cert-list li:last-child {
  border-bottom: none;
}

.cert-list i {
  color: #00b4d8;
  font-size: 1.1rem;
  margin-top: 2px;
  width: 20px;
  text-align: center;
}

.lang-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.lang-bar:last-child {
  border-bottom: none;
}

.lang-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a2e;
  min-width: 110px;
}

.lang-level {
  font-size: 0.85rem;
  color: #555;
  min-width: 40px;
}

.lang-track {
  flex: 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.lang-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b4d8, #0b3c5d);
  border-radius: 4px;
}

/* Skills bar */
.core-skills-section {
  padding: 5rem 1.5rem;
  background: #fff;
}

.core-skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.skills-bars {
  display: grid;
  gap: 1.2rem;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.skill-bar-header span:first-child {
  font-weight: 600;
  color: #1a1a2e;
}

.skill-bar-header span:last-child {
  color: #00b4d8;
  font-weight: 500;
}

.skill-bar-track {
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b4d8, #0b3c5d);
  border-radius: 5px;
  width: 0%;
}

/* CTA */
.cta-download {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #0b3c5d, #1a5276);
  text-align: center;
  color: #fff;
}

.cta-download h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-download p {
  font-size: 1.05rem;
  color: #b0d4e8;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-download:hover {
  background: #0090b0;
  transform: translateY(-2px);
}

.btn-download i {
  font-size: 1.2rem;
}

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

  .metric-number {
    font-size: 2rem;
  }

  .cert-lang-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-hero h1 {
    font-size: 1.8rem;
  }

  .timeline {
    padding-left: 2rem;
  }
}

/* Field Experience Map */
.field-map-section {
  padding: 5rem 1.5rem;
  background: #0d1b2a;
  color: #fff;
}

.field-map-container {
  max-width: 1000px;
  margin: 0 auto;
}

.field-map-container .section-title {
  color: #fff;
}

.map-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.map-wrapper svg,
.spilhaus-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-location {
  cursor: pointer;
}

.map-pin {
  fill: #00b4d8;
  transition: r 0.3s, fill 0.3s;
}

.map-location:hover .map-pin {
  fill: #7dd3fc;
  r: 7;
}

.map-pin-ring {
  fill: none;
  stroke: #00b4d8;
  stroke-width: 2;
  opacity: 0.4;
  animation: pulse-ring 2s ease-in-out infinite;
}

.map-location:hover .map-pin-ring {
  opacity: 0.8;
}

@keyframes pulse-ring {
  0%, 100% { r: 10; opacity: 0.3; }
  50% { r: 15; opacity: 0.1; }
}

.map-label {
  fill: rgba(255,255,255,0.6);
  font-size: 8px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  pointer-events: none;
}

.map-location:hover .map-label {
  fill: #7dd3fc;
  font-weight: 600;
}

.map-route {
  fill: none;
  stroke: rgba(0, 180, 216, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 6,4;
  stroke-linecap: round;
}

.map-route-arrow {
  fill: rgba(0, 180, 216, 0.3);
}

.map-water {
  fill: #0d1b2a;
}

.map-land {
  fill: #1e3a5f;
  stroke: #3a7abf;
  stroke-width: 0.8;
}

.map-land-sea {
  fill: #0a1628;
}

.map-graticule {
  fill: none;
  stroke: rgba(255,255,255,0.04);
  stroke-width: 0.5;
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  background: rgba(13, 27, 42, 0.95);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  min-width: 220px;
  max-width: 280px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip h4 {
  font-size: 0.95rem;
  color: #7dd3fc;
  margin-bottom: 0.15rem;
}

.map-tooltip .tooltip-location {
  font-size: 0.78rem;
  color: #00b4d8;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.map-tooltip ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-tooltip li {
  font-size: 0.78rem;
  color: #bbb;
  padding: 0.2rem 0;
  padding-left: 0.8rem;
  position: relative;
  line-height: 1.4;
}

.map-tooltip li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00b4d8;
  font-size: 0.7rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00b4d8;
}

.map-legend-line {
  width: 30px;
  height: 2px;
  border-top: 2px dashed rgba(0, 180, 216, 0.4);
}

@media (max-width: 768px) {
  .map-tooltip {
    min-width: 180px;
    max-width: 220px;
    padding: 0.8rem;
  }

  .map-legend {
    gap: 0.8rem 1.2rem;
    font-size: 0.75rem;
  }
}
