* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

header {
  background: #222;
  color: #fff;
  padding: 15px 0;
}

nav {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

nav h1 {
  font-size: 1.5em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #ff9800;
}

#hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #0078d7, #00bcd4);
  color: white;
}

#hero span {
  color: #ffeb3b;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #fff;
  color: #0078d7;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #ffeb3b;
  color: #222;
}

section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

h2 {
  margin-bottom: 15px;
  text-align: center;
  color: #0078d7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  text-align: center;
}

.skills-grid div {
  background: #eee;
  padding: 15px;
  border-radius: 8px;
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project a {
  display: inline-block;
  margin-top: 10px;
  color: #0078d7;
  text-decoration: none;
  font-weight: bold;
}

.project a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  background: #222;
  color: white;
  padding: 15px 0;
  margin-top: 50px;
  font-size: 0.9em;
}

#about {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.about-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  padding: 40px;
  gap: 40px;
}

.about-left {
  flex: 1;
}

.about-left h2 {
  color: #0078d7;
  margin-bottom: 15px;
}

.about-left p {
  color: #444;
  line-height: 1.6;
  font-size: 1rem;
}

.about-right {
  flex-shrink: 0;
}

.about-right img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 800px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-right img {
    margin-top: 20px;
    width: 180px;
    height: 180px;
  }
}
