/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
}

h1, h2, h3 {
  margin: 0.5em 0;
  color: #444;
}

p {
  margin: 1em 0;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header Styles */
header {
  background: #333;
  color: #fff;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 0 1em;
}

.nav-links a {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/arpit_2.jpg') center/contain no-repeat;
  color: #fff;
  text-align: center;
  padding: 4em 1em;
  background-size: contain;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content {
  padding-top: 4em; /* Adjust this value as needed */
}

.hero-content h1 {
  color: #f9f9f9;
  font-size: 2.8em;
  margin-bottom: 0.5em;
}


.cta-buttons .btn {
  display: inline-block;
  padding: 0.6em 1.8em;
  margin: 0 0.6em;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-buttons .btn:hover {
  background: #0056b3;
}

/* Section Styles */
section {
  padding: 3em 1em;
  text-align: center;
}

#about {
  text-align: left !important;
  background: #f9f9f9;
}
#resume {
  background: #f9f9f9;
  text-align: center;
}
#about, #about *{
  text-align: left !important;
}

.skills {
  list-style: none;
  padding: 0;
}

.skills li {
  margin: 0.5em 0;
}

.skills-bubbles {
  list-style: none;
  padding: 0;
  margin: 0.5em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.skills-bubbles li {
  background: #007BFF;
  color: #fff;
  padding: 0.3em 0.6em;
  border-radius: 15px;
  font-size: 0.9em;
}

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

.project-card {
  background: #fff;
  padding: 1.5em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

form input, form textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #0056b3;
}

.contact-links a {
  display: inline-block;
  margin: 0.5em 1em;
  color: #007BFF;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
      flex-direction: column;
      text-align: center;
  }
  .cta-buttons {
      flex-direction: column;
  }
  .project-grid {
      grid-template-columns: 1fr;
  }
}
