body {
  font-family: system-ui;
  background: #f06d06;
  color: white;
  text-align: center;
}/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #121212;
  color: #fff;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #121212;
  padding: 15px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

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

.nav-logo {
  font-size: 1.8rem;
  color: #116466;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #bdbdbd;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #116466;
}

/* Hero section */
.container {
  text-align: center;
  padding: 140px 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

#dynamic-text {
  color: #116466;
  font-weight: 700;
}

p {
  font-size: 1.2rem;
  color: #bdbdbd;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #116466;
  color: #fff;
}

.btn-primary:hover {
  background-color: #159882;
}

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

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

/* Section headings */
section {
  padding: 100px 20px;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  color: #116466;
  margin-bottom: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 50px auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #116466;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 20px 0;
  padding: 10px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.timeline-item:nth-child(odd) {
  text-align: left;
}

.timeline-item:nth-child(even) {
  text-align: right;
}

.timeline-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #116466;
  border-radius: 3px;
}

.timeline-content {
  display: inline-block;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #116466;
  font-size: 1.5rem;
}

/* Projects section */
.projects-section {
  position: relative;
  background: #121212;
  padding: 80px 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px;
}

.project-card {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.project-card h3 {
  color: #116466;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.project-card p {
  color: #bdbdbd;
  font-size: 1rem;
}

/* Experience section */
.experience-section {
  position: relative;
  padding: 100px 20px;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.experience-timeline {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  position: relative;
  z-index: 2;
}

.experience-card {
  flex: 0 0 300px;
  background: #1e1e1e;
  border: 1px solid #116466;
  border-radius: 10px;
  padding: 20px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.experience-card h3 {
  color: #116466;
  margin-bottom: 10px;
}

.experience-card .date {
  font-size: 0.9rem;
  color: #bdbdbd;
  margin-bottom: 10px;
}

.experience-card ul {
  list-style: none;
  padding: 0;
}

.experience-card ul li {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.experience-card a {
  color: #159882;
  text-decoration: none;
}

.experience-card a:hover {
  text-decoration: underline;
}

/* Globe container */
#globe-container {
  position: relative;
  width: 100%;
  height: 400px;
  z-index: 0;
}

.projects-grid {
  position: relative;
  z-index: 1;
}
