* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background: #0f172a;
  color: #fff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  padding: 20px 10%;
}

nav .left {
  font-size: 1.5rem;
  font-weight: bold;
  color: #38bdf8;
}

nav .right ul {
  display: flex;
  list-style: none;
}

nav .right ul li {
  margin-left: 20px;
}

nav .right ul li a {
  text-decoration: none;
  color: #f1f5f9;
  transition: color 0.3s;
}

nav .right ul li a:hover {
  color: #38bdf8;
}

.firstSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 10%;
}

.leftSection {
  font-size: 2rem;
}

.leftSection .purple {
  color: #38bdf8;
  font-weight: bold;
}

.rightSection img {
  max-width: 300px;
  border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.container {
  padding: 60px 10%;
}

.sub-title {
  font-size: 2.2rem;
  color: #38bdf8;
  margin-bottom: 20px;
}

.tab-titles {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.tab-links {
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.tab-links.active-link::after {
  content: '';
  width: 100%;
  height: 2px;
  background: #38bdf8;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.tab-contents {
  display: none;
  margin-top: 20px;
}

.tab-contents.active-tab {
  display: block;
}

.card {
  background: #1e293b;
  padding: 20px;
  margin: 20px 0;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2);
}

.contact-links a {
  display: inline-block;
  margin-right: 15px;
  color: #38bdf8;
  text-decoration: none;
  font-weight: bold;
}
.about-col-1 img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-col-1,
.about-col-2 {
  flex: 1 1 300px;
}
.tab-contents ul li span {
  color: #ff6f61; /* Default color */
  font-weight: 600;
}

/* Optional: Color-code each skill separately */
.tab-contents ul li:nth-child(1) span {
  color: #ff6f61; /* UI/UX - Coral */
}
.tab-contents ul li:nth-child(2) span {
  color: #4db6ac; /* Web Dev - Teal */
}
.tab-contents ul li:nth-child(3) span {
  color: #9575cd; /* Python Dev - Purple */
}
