/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.3rem;
}

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

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #222;
}

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

/* About Section */
.about h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about .highlight {
  color: #00bcd4;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background: #00bcd4;
  color: #fff;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #0097a7;
}

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

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
}

/* Experience Section */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid #00bcd4;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-item h3 {
  margin-bottom: 0.3rem;
  color: #222;
}

.timeline-item .company {
  font-size: 0.9rem;
  color: #666;
  display: block;
  margin-bottom: 0.8rem;
}

.timeline-item p {
  font-size: 1rem;
  color: #444;
}

/* Skills Section */
.skills-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.skills-list li {
  background: #eee;
  padding: 0.7rem 1.2rem;
  border-radius: 20px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer a {
  color: #00bcd4;
  text-decoration: none;
}
