:root {
  --primary-color: #00ff9d;
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --card-bg: #1a1a1a;
  --hover-color: #00cc7d;
  --section-spacing: 120px;
  --text-spacing: 1.5rem;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Navigation */
nav {
  background-color: rgba(10, 10, 10, 0.98);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Sections */
section {
  padding: var(--section-spacing) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#home {
  text-align: center;
  padding-top: 150px;
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--primary-color), #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  color: #a0a0a0;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn {
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.primary:hover {
  background-color: var(--hover-color);
}

.secondary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.download {
  background-color: var(--card-bg);
  border: 2px solid var(--primary-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.download:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.contact-item span {
  color: var(--text-color);
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.skill-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.skill-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.blog-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, #1c1c1c, #151515);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.blog-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.4;
}

.blog-card p {
  flex-grow: 1;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #888;
}

.blog-card small {
  display: block;
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-card .btn {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.contact-item a,
.contact-item span {
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--card-bg);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .skills-grid,
  .blog-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .skill-card,
  .blog-card {
    padding: 1.8rem;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-card,
.blog-card {
  animation: fadeUp 0.6s ease-out forwards;
}

.skill-card:nth-child(2) {
  animation-delay: 0.2s;
}

.skill-card:nth-child(3) {
  animation-delay: 0.4s;
}
