/* ============================= */
/* General Reset */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

/* ============================= */
/* Navbar */
/* ============================= */
header {
  background: #1f2937;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #d1d5db;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #3b82f6;
}

/* Burger menu */
.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.burger:hover {
  transform: scale(1.1);
}

/* ============================= */
/* Sections */
/* ============================= */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #111827;
}

/* ============================= */
/* Experience */
/* ============================= */
.experience-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.experience-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-left: 3px solid #2c3e50;
  border-radius: 8px;
  background: #fafafa;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.experience-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.experience-info h3 {
  font-size: 1rem;
  color: #2c3e50;
}

.experience-info h3 span {
  font-weight: normal;
  font-size: 0.9rem;
  color: #666;
}

.experience-duration {
  font-size: 0.8rem;
  color: #888;
  margin: 0.3rem 0;
}

.experience-info p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #333;
}

.experience-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #2c3e50;
  background: #e8f0f7;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  margin-top: 0.3rem;
}

/* ============================= */
/* Skills */
/* ============================= */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.skill {
  background: #e5e7eb;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.skill:hover {
  background: #3b82f6;
  color: #fff;
}

/* ============================= */
/* Projects */
/* ============================= */
.project-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card img:hover {
  transform: scale(1.05);
}

.project-card h3 {
  margin: 10px 0 5px;
  color: #111827;
}

.project-card p {
  font-size: 0.9rem;
  color: #555;
}

/* ============================= */
/* Footer */
/* ============================= */
.footer {
  background-color: #1e1e1e;
  color: #f1f1f1;
  padding: 50px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
  border-bottom: 2px solid #f1f1f1;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00bfff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #aaaaaa;
  border-top: 1px solid #333333;
  padding-top: 15px;
}

/* ============================= */
/* Responsive Footer */
/* ============================= */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    margin: 15px 0;
  }
}

/* ============================= */
/* Mobile Navbar */
/* ============================= */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 10px;
    flex-direction: column;
    background-color: #111827;
    display: none;
    width: 180px;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }
}
/* === Experience Section Base === */
#experience {
  padding: 2rem 1rem;
  background: #f9f9f9;
}

#experience h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

.experience-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

/* === Experience Card === */
.experience-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.experience-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.experience-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: #222;
}

.experience-duration {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.experience-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 0.7rem;
}

.experience-tag {
  display: inline-block;
  background: #eef4f9;
  color: #1d3557;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* === Promotion Timeline (LinkedIn Style) === */
.promotion-timeline {
  margin-top: 1rem;
  border-left: 2px solid #0073b1; /* LinkedIn blue */
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
}

.promotion-item {
  position: relative;
  padding-left: 0.5rem;
}

.promotion-item::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #0073b1;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #0073b1;
}

.promotion-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0073b1;
  margin-bottom: 2px;
}

.promotion-title {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .experience-card {
    flex-direction: column;
    text-align: left;
  }

  .experience-card img {
    margin-bottom: 0.5rem;
  }
}

