/* *{
    background-color: #0d6efd;
} */
body {
    text-decoration: none;
  /* background-color: #031d38; */
  /*background-image: url('https://img.freepik.com/free-vector/wave-background-abstract-gradient-design_483537-3688.jpg');*/
  background-size: cover;
  background-attachment: fixed;
  color: #d9d9df;
  /* background-color: #2359a4; */

  font-family: 'Alegreya', serif;
  text-align: center;
  font-size: 1.15rem;
}
h2, h5, p, a, .navbar-brand, .nav-link, .project-links a {
  color: #d9d9df !important;
}

navbar {
  background-color: #181a1b;
  z-index: 10;
}
.container-narrow {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}
.section-title .highlight {
  color: #00dfc4;
}

.section-title {
  border-bottom: 2px solid #4d5052;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.nav-link {
  color: #d9d9df;
}
.nav-link:hover {
  color: #0d6efd;
}
.hover-zoom {
  transition: transform 0.3s ease;
}
.hover-zoom:hover {
  transform: scale(1.05);
}
.social-icons a {
  color: #d9d9df;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
  color: #0d6efd;
}
.project-card {
  background-color: transparent;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
  border: 1px solid #00dfc4;
}
.project-card:hover {
  transform: scale(1.03);
}
.project-links a {
  display: inline-block;
  margin: 0.5rem 1rem;
  color: #00dfc4;
  text-decoration: none;
}
.project-links a:hover {
  text-decoration: underline;
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.skill-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #00dfc4;
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.skill-box:hover {
  transform: scale(1.05);
}

/* experience section */
/* Container */
.experience-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

/* Tabs (Left Side) */
.experience-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  border-left: 2px solid #00dfc4;
}

.experience-tabs li {
  padding: 10px 16px;
  cursor: pointer;
  color: #7f8c99;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.experience-tabs li.active {
  color: #00dfc4;
  font-weight: bold;
  border-left: 2px solid #00dfc4;
}

/* Right Content */
.experience-content {
  flex: 1;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

.tab-content h3 {
  font-size: 1.2rem;
  color: #eaf2f8;
}

.tab-content h3 span {
  color: #00dfc4;
}

.duration {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.tab-content ul {
  list-style: none;
  padding-left: 0;
}

.tab-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #cfd8e3;
}

.tab-content li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00dfc4;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🌐 Mobile Responsive */
@media (max-width: 768px) {
  .experience-container {
    flex-direction: column;
  }

  .experience-tabs {
    display: flex;
    overflow-x: auto;
    border-left: none;
    border-bottom: 2px solid #00dfc4;
  }

  .experience-tabs li {
    flex: 1;
    text-align: center;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .experience-tabs li.active {
    border-bottom: 2px solid #00dfc4;
  }
}

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

/* Card Styling */
.project-card {
  background: #101822;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* Header: folder + links */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.folder {
  font-size: 1.6rem;
  color: #00dfc4;
}

.card-links a {
  margin-left: 12px;
  color: #cfd8e3;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.card-links a:hover {
  color: #00dfc4;
}

/* Title & Description */
.project-title {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: #eaf2f8;
}

.project-desc {
  font-size: 0.95rem;
  color: #aab6c4;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.project-tech {
  font-size: 0.85rem;
  color: #7f8c99;
}
