/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: url('image/bg2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  scroll-behavior: smooth;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

/* Navigation */
header {
  background-color: #0a0a0a;
  border-bottom: 1px solid #f5efef;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: auto;
}

nav h1 {
  font-size: 1.5em;
  color: #007acc;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 600;
}

/* Hero */
.hero {
  text-align: center;
  max-width: 1200px;
  max-height: 500px;
  /*padding: 100px 50px;*/
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
              url('image/bg2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  box-sizing: border-box;
}

.hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  background-color: #131212;
  color: #007acc;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #e0f0ff;
}

/* Projects */
.project {
  background-color: #0c0c0c;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}





/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0f0f0f;
  font-size: 0.9em;
  color: #666;
}

/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2em;
  }


}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes text left, image right */
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.profile-pic {
  max-width: 300px; /* Adjust size as needed */
  max-height: 450px;
  border-radius: 0; /* Removes circle */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border: none;
  object-fit: contain;
}
.skills-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.skills-logos img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.skills-logos img:hover {
  transform: scale(1.1);
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  .profile-pic {
    width: 80%;
    max-width: 250px;
    height: auto;
  }

  .skills-logos img {
    width: 50px;
    height: 50px;
  }

  section {
    padding: 40px 15px;
  }
}
