* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #333;
  transition: 0.3s ease;
}

.dark body {
  background: #121212;
  color: #f5f5f5;
}

nav {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  position: relative;
  transition: 0.3s;
}

.dark nav a {
  color: #f5f5f5;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  transform: translateY(-2px);
}

h1 {
  font-size: 55px;
  font-weight: 900;
  margin-bottom: 20px;

  background: linear-gradient(90deg, #6FDCBF, #90E0EF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  opacity: 0.7;
  margin-bottom: 50px;
}

.projects-wrapper {
  padding: 140px 40px 80px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  padding: 30px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: left;
  transition: 0.3s ease;
}

.dark .project-card {
  background: #1e1e1e;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card span {
  display: block;
  margin: 15px 0;
  color: #6FDCBF;
}

.project-links a {
  margin-right: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #6FDCBF;
  color: #6FDCBF;
  text-decoration: none;
  transition: 0.3s;
}

.project-links a:hover {
  background: #6FDCBF;
  color: #121212;
}

/* INTERNSHIP */
.internships-wrapper {
  padding: 80px 40px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.internship-card {
  margin-top: 40px;
  padding: 40px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: left;
  transition: 0.3s ease;
}

.dark .internship-card {
  background: #1e1e1e;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.internship-card:hover {
  transform: translateY(-6px);
}

.internship-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.internship-card h3 {
  margin: 15px 0;
  color: #6FDCBF;
}

.internship-card ul {
  padding-left: 20px;
}

.internship-card li {
  margin-bottom: 10px;
}

.internship-tags span {
  display: inline-block;
  margin: 10px 10px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #6FDCBF;
  color: #6FDCBF;
}

/* CERT BUTTON */
.cert-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #6FDCBF;
  color: #121212;
  text-decoration: none;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: #333;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.dark footer {
  background: #000;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  transition: 0.3s;
}

.footer-links img:hover {
  transform: translateY(-5px) scale(1.1);
}

#backToTop {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #6FDCBF;
  cursor: pointer;
}

.dark img[src*="Github"] {
  filter: invert(1);
} 