* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}
html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #2563eb;
}
.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  background: none;
  padding: 0.5rem;
}
@media (width <= 768px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 0.5rem 1rem;
  }
  .nav-links a:hover {
    background-color: #f8fafc;
  }
}
/* Hero section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text {
  z-index: 2;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.hero h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.cta-button.primary {
  background-color: white;
  color: #2563eb;
}
.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.hero-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }
}
/* About Section */
.about {
  padding: 100px 0;
  background-color: #f8fafc;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text {
  max-width: 100%;
}
.about-text p {
  margin-bottom: 1.5rem;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.8;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.skill-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
}
.skill-card h3 {
  margin-bottom: 0.5rem;
  color: #2563eb;
  font-size: 1.2rem;
}
.skill-card p {
  color: #4b5563;
  font-size: 1.2rem;
}

@media (width <= 1024px) {
  .about-content {
    gap: 2rem;
  }
}
@media (width <= 768px) {
  .about {
    padding: 60px 0;
  }
  .about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-text {
    text-align: center;
  }
  .about-text p {
    font-size: 1rem;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  .skill-card {
    padding: 1.2rem;
  }
}
@media (width <= 480px) {
  .about h2 {
    font-size: 1.8rem;
  }
  .about-text p {
    font-size: 0.95rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}
/* Project Section */
.projects {
  padding: 100px 0;
}
.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.project-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.project-card img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
}
.project-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.project-info h3 {
  margin-bottom: 0.75rem;
  color: #2563eb;
  font-size: 1.5rem;
}
.project-info p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}
.project-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #2563eb;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.project-link:hover {
  background-color: #2563eb;
  color: white;
}
/* Responsive */

@media (width <= 768px) {
  .project {
    padding: 60px 0;
  }
  .project h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-card img {
    height: 200px;
  }
}

@media (width <= 480px) {
  .project-card img {
    height: 180px;
  }
  .project-info h3 {
    font-size: 1.3rem;
  }
  .project-info p {
    font-size: 0.95rem;
  }
}

/* Contact Section */

.contact {
  padding: 100px 0;
  background-color: #f8fafc;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.contact-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #2563eb;
}

/* Responsive of contact section */
@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-item {
    min-width: 100%;
    max-width: 100%;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .contact-link {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact h2 {
    font-size: 1.8rem;
  }

  .contact-intro {
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
    gap: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .contact-link {
    font-size: 0.95rem;
  }
}

/* Footer */
.footer {
  background-color: #1e293b;
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.social-link {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.social-link:hover {
  color: #2563eb;
}
