/* Body Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

/* Header Style */
header {
  background: #111827;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Nav Bar Style */
.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-btn {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Home Page Design */
.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #111827, #1e3a8a);
  color: white;
  padding: 80px 25px;
}

.hero-content {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.intro {
  color: #38bdf8;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 52px;
  margin-bottom: 15px;
}

.hero span {
  color: #38bdf8;
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #38bdf8;
  color: #111827;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: white;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid #38bdf8;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #111827;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

/* Image Style */
/* .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-image img {
  width: 200px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
} */

/* Section Style */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
  text-align: center;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #111827;
}

.section p {
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.skills span {
  background: #111827;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 15px;
  transition: 0.3s;
}

.skills span:hover {
  background: #38bdf8;
  color: #111827;
  transform: translateY(-3px);
}

/* Project Section */
.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

.project-card p {
  font-size: 16px;
  margin-bottom: 15px;
}

.project-link {
  display: inline-block;
  margin: 10px 5px 0;
  padding: 8px 15px;
  border-radius: 6px;
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.project-link:hover {
  background: #38bdf8;
  color: #111827;
}

.project-card img {
  width: 100%;
  height: 200px;  
  object-fit: cover;
  border-radius: 10px;
}

/* Tech Used in Projects */
.tech-stack {
  margin: 10px 0;
}

.tech-stack span {
  background: #111827;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 13px;
  margin: 3px;
  display: inline-block;
}

/* Highlight a Project */
.project-card.featured {
  border: 2px solid #38bdf8;
  position: relative;
}

.project-card.featured::before {
  content: "Featured Project";
  position: absolute;
  top: 15px;
  left: 15px;
  background: #38bdf8;
  color: #111827;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

/* Contact Section */
.contact {
  background: #f9f9f9;
  border-radius: 12px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-card {
  background: white;
  padding: 25px 35px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s;
  min-width: 220px;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: #1e3a8a;
}

.contact-card p {
  font-size: 14px;
  color: #555;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: #111827;
  color: white;
}

.contact-card:hover h3 {
  color: #38bdf8;
}

.contact-card:hover p {
  color: #ddd;
}

.contact-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1e3a8a;
  display: block;
}

.contact-card:hover i {
  color: #38bdf8;
}

/* Footer Style */
footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Mobile Style */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #111827;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 180px;
    padding: 15px;
    border-radius: 10px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }
}
