/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; background: #fff; border-bottom: 1px solid #ddd; padding: 15px 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 20px; }
.menu-toggle { display: none; font-size: 24px; background: none; border: none; }

/* Hero */
.hero { padding: 120px 0; display: flex; align-items: center; }
.hero-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero-text h2 { color: #007bff; margin-bottom: 20px; }
.hero-img img { width: 300px; border-radius: 50%; }
a.btn {
  display: inline-block;   /* anchor ko button ki tarah behave karne ke liye */
  padding: 10px 20px;      /* same padding jaise button me hai */
  border-radius: 5px;
  text-align: center;
}


/* Buttons */
.btn { padding: 10px 20px; border-radius: 5px; cursor: pointer; }
.primary { background: #007bff; color: #fff; border: none; }
.outline { border: 2px solid #007bff; background: transparent; color: #007bff; }

/* Sections */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.grid { display: grid; gap: 20px; }
.grid.skills-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));font-weight: 600; }
.skill { background: #f4f4f4; padding: 20px; text-align: center; border-radius: 8px;font-weight: 500PX; }

/* Cards */
.card { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fff; transition: 0.3s; }
.card:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 15px; }

/* About */
.about-container { display: flex; gap: 30px; flex-wrap: wrap; }
.about-img img { border-radius: 10px; height:150px;}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; }


/* Footer */
.footer { background: #f4f4f4; padding: 20px 0; text-align: center; margin-top: 50px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: #fff; position: absolute; top: 60px; right: 20px; padding: 20px; border: 1px solid #ddd; }
  .menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
}
