/* ===============================
   RESUME PAGE — FINAL COMPACT DESIGN
================================= */

/* ===== Base ===== */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  color: #eaeaea;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}


/* ===============================
   NAVBAR — Logo Left / Menu Center
=============================== */
.navbar {
  width: 100%;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 1000;
}

/* LOGO (top-left corner) */
.logo {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.logo a {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

/* NAV LINKS CENTERED */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

/* Hire Me Button */
.nav-links .btn {
  border: 1px solid var(--accent-color);
  border-radius: 25px;
  padding: 8px 20px;
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

/* Hide on desktop */
.menu-icon {
  display: none;
}


/* ===== Section Title ===== */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--accent-color);
  font-family: 'Space Mono', monospace;
  margin-top: 100px;
  margin-bottom: 50px;
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid #1a1a1a;
  color: #aaa;
  font-family: var(--font-mono, 'Space Mono', monospace);
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.tab-btn.active {
  background: var(--accent-color);
  color: #000;
  font-weight: 700;
}

/* ===== Tab Content ===== */
.tab-content {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.tab-content.active {
  display: block;
}

/* ===== About Section ===== */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 80px;
  background: #121212;
  border: 1px solid #1e1e1e;
  border-radius: 25px;
  padding: 45px;
  transition: 0.4s ease;
}

.about-flex:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 25px #00ff8840;
  transform: translateY(-5px);
}

.about-img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 25px #00ff8825;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: #bcbcbc;
}

.about-text strong {
  color: var(--accent-color);
}

/* ===== Experience / Education ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  max-width: 950px;
  margin: 0 auto 80px;
}

.timeline-item {
  background: transparent;
  border: 1px solid #00ff9d;
  border-radius: 15px;
  padding: 20px 25px;
  text-align: center;
  transition: 0.4s ease;
  min-height: 130px;
}

.timeline-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px #00ff8840;
  transform: translateY(-5px);
}

.timeline-item h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-item .company {
  color: #00ff9d;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-item .duration {
  color: #aaa;
  font-size: 0.85rem;
}

/* ===== SKILLS GRID (Compact 4 per row) ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 90px;
}

.skill {
  background: transparent;
  border: 1px solid #373737;
  border-radius: 12px;
  padding: 18px 10px;
  width: 130px;
  height: 110px;
  text-align: center;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skill:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px #00ff8840;
  transform: translateY(-4px);
}

.skill img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 8px;
}

.skill p {
  font-size: 0.8rem;
  color: #ccc;
  font-family: 'Space Mono', monospace;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Resume Section Wrapper ===== */
.resume {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 60px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #1a1a1a;
  color: #666;
  margin-top: auto;
  font-size: 0.8rem;
}

