/* Base styles for the Razat Naik personal site */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

header {
  background-color: #0A192F;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 24px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #64ffda;
}

.hero {
  background-image: url('../assets/hero.png');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  max-width: 800px;
}

.btn {
  display: inline-block;
  background-color: #64ffda;
  color: #0A192F;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #fff;
}

section {
  padding: 60px 40px;
}

.about,
.services,
.portfolio,
.contact {
  max-width: 1000px;
  margin: 0 auto;
}

.about h2,
.services h2,
.portfolio h2,
.contact h2 {
  margin-bottom: 20px;
  color: #0A192F;
  font-size: 2rem;
  text-align: center;
}

.about p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.services .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.services .service {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.services .service:hover {
  transform: translateY(-3px);
}

.services .service h3 {
  margin-bottom: 10px;
  color: #0A192F;
}

.services .service p {
  font-size: 0.9rem;
}

.portfolio .project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.portfolio .project {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.portfolio .project:hover {
  transform: translateY(-3px);
}

.portfolio .project h3 {
  color: #0A192F;
  margin-bottom: 10px;
}

.portfolio .project p {
  font-size: 0.9rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  font-size: 1rem;
}

.contact button {
  width: 200px;
  align-self: center;
  padding: 10px 20px;
  background-color: #64ffda;
  color: #0A192F;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background-color: #fff;
}

.footer {
  background-color: #0A192F;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.footer .social-icons a {
  color: #64ffda;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #fff;
}