/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a192f;
  color: #ffffff;
  line-height: 1.6;
}

/* ========== Navbar ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0a192f;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #64ffda;
}

.nav-links a {
  margin-left: 20px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #64ffda;
}

/* ========== Hero Section ========== */
.hero {
  height: 100vh;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #0a192f;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  background-color: #64ffda;
  color: #0a192f;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #52d4b5;
}

/* ========== Sections ========== */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  display: block;
  margin: 10px auto 0;
  background-color: #64ffda;
}

/* ========== Skills ========== */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.skills-list span {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  background-color: #112240;
  color: #64ffda;
}

/* ========== Projects ========== */
.projects-grid {
  display: grid;
  gap: 30px;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.project-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Remove the hover text altogether */
.project-info {
  display: none;
}

/* ========== Contact ========== */
#contact p,
#contact a {
  margin: 10px 0;
  color: #ffffff;
  text-decoration: none;
}

/* ========== Social Icons ========== */
.social-icons a img {
  width: 40px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #112240;
  color: #ffffff;
}

.back-to-top {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #64ffda;
  text-decoration: none;
}

.back-to-top:hover {
  color: #ffffff;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    max-width: 100%;
  }

  .project-card img {
    height: auto;
  }
}