/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #4e54c8, #8f94fb);
  color: white;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  background: white;
  color: #4e54c8;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #e0e0ff;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Skills Section */
.skills-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.skills-list li {
  background: #4e54c8;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

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

/* Project Card */
.project-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Thumbnail */
.project-thumbnail {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

/* Title & Subtitle */
.project-title h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: #4e54c8;
}

.project-title .subtitle {
  font-size: 1rem;
  color: #555;
}

/* Tech Stack Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span {
  background: #4e54c8;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  font-size: 0.8rem;
}

/* Bullet Points */
.project-points {
  list-style: disc;
  padding-left: 1.2rem;
  color: #333;
}

/* Buttons */
.project-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-buttons .btn {
  text-decoration: none;
  color: #4e54c8;
  background: white;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: 0.3s;
}

.project-buttons .btn:hover {
  background: #e0e0ff;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.contact-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  color: #4e54c8;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  margin-top: 2rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .skills-list {
    gap: 0.5rem; /* smaller gap between tags */
  }

  .skills-list li {
    padding: 0.3rem 0.6rem; /* smaller padding */
    font-size: 0.85rem; /* smaller font */
  }

}


