html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

:root {
  --primary: #2563eb;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #1d4ed8;
}

.skills {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 36px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.skill-card:hover {
  transform: translateY(-10px);
}

.skill-icon {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 20px;
}

.skill-card h3 {
  margin-bottom: 15px;
}

.projects {
  padding: 100px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img {
  height: 200px;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.project-info {
  padding: 20px;
  background-color: white;
}

.project-info h3 {
  margin-bottom: 10px;
}

.project-info p {
  color: var(--gray);
  margin-bottom: 15px;
}

.project-links a {
  margin-right: 15px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact {
  padding: 100px 0;
  background-color: white;
  text-align: center;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--gray);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  color: var(--dark);
  font-size: 24px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary);
}

footer {
  padding: 30px 0;
  text-align: center;
  color: var(--gray);
  font-size: 14px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
}