/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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

a {
  text-decoration: none;
  color: #0066cc;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  margin-top: 20px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0055aa;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, #001c3d, #003366);
  color: white;
  padding: 60px 0;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

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

.nav-links a {
  color: white;
}

.nav-links a:hover {
  color: #cce6ff;
  text-decoration: none;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero span {
  color: #00ccff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 60px 0;
  background: white;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #003366;
  font-size: 2rem;
}

/* About */
#about p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Timeline for Experience */
.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  background: #f1f8ff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  border-left: 5px solid #0066cc;
}

.timeline-item h3 {
  color: #003366;
}

.timeline-item .company {
  color: #555;
  font-style: italic;
  margin: 5px 0 10px;
}

.timeline-item ul {
  margin-left: 20px;
}

.timeline-item li {
  margin-bottom: 6px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.skill-card {
  background: #e6f2ff;
  border: 1px solid #cce6ff;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  color: #003366;
}

/* Projects */
.project-card {
  background: #f1f8ff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid #cce6ff;
}

.project-card h3 {
  color: #003366;
  margin-bottom: 10px;
}

/* Certifications */
#certifications ul {
  max-width: 600px;
  margin: 20px auto;
  line-height: 2;
  font-size: 1.1rem;
}

/* Contact */
#contact {
  text-align: center;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: #001c3d;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 40px 0;
  }
}
