@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Orbitron:wght@400;500;700&display=swap");

:root {
  --bg-color: #0a0a0a;
  --text-color: #e0e0e0;
  --accent-color: #ff0040;
  --accent-glow: rgba(255, 0, 64, 0.3);
  --secondary-bg: #1a1a1a;
  --card-bg: #141414;
  --gradient-dark: linear-gradient(to right, #0a0a0a, #1a1a1a);
  --gradient-glow: linear-gradient(to right, var(--accent-glow), transparent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "JetBrains Mono", monospace;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Background grid effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.97)),
    repeating-linear-gradient(
      transparent,
      transparent 50px,
      rgba(255, 0, 64, 0.03) 50px,
      rgba(255, 0, 64, 0.03) 51px
    );
  z-index: -1;
}

header {
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

nav ul li {
  margin: 0 1rem;
  position: relative;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent-color);
}

nav ul li a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
}

nav ul li a:hover::after {
  width: 100%;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 80px;
}

/* Common section styling - Card-like structure for all sections */
section:not(#hero):not(#home) {
  background-color: var(--secondary-bg);
  padding: 3rem;
  border-radius: 15px;
  margin-bottom: 6rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 64, 0.1);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(
    circle at top right,
    rgba(255, 0, 64, 0.05),
    transparent 70%
  );
}

/* Headings styles */
h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 1rem;
  position: relative;
}

h1 {
  font-size: 3rem;
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-glow);
  letter-spacing: 2px;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-glow);
  box-shadow: 0 0 10px var(--accent-glow);
}

h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Code bracket decorations for all sections */
section:not(#hero):not(#home)::before {
  content: "<section>";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 0, 64, 0.2);
  font-size: 0.8rem;
}

section:not(#hero):not(#home)::after {
  content: "</section>";
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 0, 64, 0.2);
  font-size: 0.8rem;
}

/* Specific section coding tags */
#about::before {
  content: "<about>";
}

#about::after {
  content: "</about>";
}

#follow-me::before {
  content: "<follow>";
}

#follow-me::after {
  content: "</follow>";
}

#tech-stack::before {
  content: "<tech>";
}

#tech-stack::after {
  content: "</tech>";
}

#projects::before {
  content: "<projects>";
}

#projects::after {
  content: "</projects>";
}

#skills::before {
  content: "<skills>";
}

#skills::after {
  content: "</skills>";
}

#blog::before {
  content: "<blog/>";
}

#contact::before {
  content: "<contact>";
}

#contact::after {
  content: "</contact>";
}

#freelance-services::before {
  content: "<services>";
}

#freelance-services::after {
  content: "</services>";
}

/* Remove redundant styling now handled by the common section styling */
#follow-me {
  text-align: center;
}

#about {
  /* Keep any specific styling but remove duplicates */
}

#tech-stack {
  /* Keep any specific styling but remove duplicates */
  text-align: center;
}

#skills {
  /* Keep any specific styling but remove duplicates */
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(255, 0, 64, 0.05) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 0, 64, 0.05) 0%,
      transparent 25%
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

#blog {
  /* Keep any specific styling but remove duplicates */
  text-align: center;
}

#contact {
  /* Keep any specific styling but remove duplicates */
  padding: 4rem 2rem;
}

#freelance-services {
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 64, 0.05),
    rgba(0, 255, 0, 0.05)
  );
  border: 2px solid rgba(255, 0, 64, 0.2);
}

.services-container {
  max-width: 800px;
  margin: 0 auto;
}

.service-intro {
  margin-bottom: 3rem;
}

.service-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.service-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upwork-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(45deg, #14a800, #37b24d);
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 168, 0, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.upwork-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.3s ease;
}

.upwork-button:hover::before {
  left: 0;
}

.upwork-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 168, 0, 0.4);
}

.upwork-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.upwork-button span {
  font-size: 1.1rem;
  font-weight: 600;
}

.upwork-button .arrow-right {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.upwork-button:hover .arrow-right {
  transform: translateX(5px);
}

/* Hero section */
#hero {
  margin-top: 60px;
  margin-bottom: 6rem;
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.hero-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-image img {
  width: 200px !important;
  height: 200px !important;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
  transition: box-shadow 0.3s ease;
  object-fit: cover;
}

.hero-image img:hover {
  box-shadow: 0 0 30px var(--accent-glow);
}

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

#dynamic-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#dynamic-tags p {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
  background-color: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

#dynamic-tags p:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 0, 64, 0.2);
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background: #ff0040;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 2px solid #ff0040;
  box-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button.secondary {
  background: transparent;
  color: #ff0040;
}

.cta-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-button.download {
  background-color: rgba(255, 0, 64, 0.2);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  margin-left: 10px;
}

.cta-button.download:hover {
  background-color: rgba(255, 0, 64, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.3);
}

/* Add a download icon */
.cta-button.download::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 512 512'%3E%3Cpath d='M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Follow me section */
#follow-me ul {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style-type: none;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#follow-me li {
  background-color: var(--card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#follow-me li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 0, 64, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

#follow-me li:hover::before {
  transform: translateX(100%);
}

#follow-me li:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 0, 64, 0.15);
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  z-index: 1;
  position: relative;
}

.social-link span {
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--accent-color);
}

.social-icon {
  position: relative;
  transition: transform 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-link:hover i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px currentColor);
}

/* About section */
#about p {
  line-height: 1.8;
  font-size: 16px;
  color: #cccccc;
  position: relative;
  z-index: 1;
}

/* Tech Stack Section */
.tech-category {
  margin-bottom: 2.5rem;
  text-align: center;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}

#tech-stack h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

#tech-stack h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  box-shadow: 0 0 10px var(--accent-glow, rgba(255, 0, 64, 0.5));
}

#tech-stack h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 5px rgba(255, 0, 64, 0.3);
}

#tech-stack h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-glow, rgba(255, 0, 64, 0.5));
}

.tech-icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%) brightness(0.9);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 64, 0.1);
}

.tech-icons img:hover {
  transform: translateY(-10px) scale(1.1);
  filter: grayscale(0%) brightness(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 0, 64, 0.2);
  border-color: rgba(255, 0, 64, 0.3);
}

/* Add staggered animation delay for tech icons */
@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.tech-icons img:nth-child(odd) {
  animation: floatIcon 3s ease-in-out infinite;
}

.tech-icons img:nth-child(even) {
  animation: floatIcon 3s ease-in-out infinite 1.5s;
}

/* Skills section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 64, 0.1);
}

.skill-category h3 {
  color: #ff0040;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.skill-category h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff0040;
  box-shadow: 0 0 5px rgba(255, 0, 64, 0.7);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skill {
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
}

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-level {
  height: 100%;
  background: linear-gradient(90deg, #cc0033, #ff0040);
  border-radius: 10px;
  transition: width 1.5s ease;
  position: relative;
}

.skill-level span {
  position: absolute;
  right: 5px;
  top: -20px;
  font-size: 0.75rem;
  color: #ff0040;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.skill:hover .skill-level span {
  opacity: 1;
}

@keyframes skillAnimation {
  0% {
    width: 0;
  }
}

.appear .skill-level {
  animation: skillAnimation 1.5s ease forwards;
}

/* Projects section */
#projects {
  text-align: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project {
  background: var(--gradient-dark);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.project-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.project h3::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 2px;
  background: var(--accent-color);
  bottom: -5px;
  left: 0;
  box-shadow: 0 0 5px var(--accent-glow);
}

.project p {
  margin-bottom: 1.5rem;
  color: #cccccc;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background-color: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.project-tech span:hover {
  background-color: rgba(255, 0, 64, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: var(--accent-color);
  text-shadow: 0 0 5px var(--accent-glow);
}

.project-link:hover i {
  transform: translateX(2px);
}

/* External link icon */
.fa-external-link {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e0e0e0' d='M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z'/%3E%3C/svg%3E");
}

/* Blog section */
#blog {
  text-align: center;
}

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

.blog-post {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  z-index: 1;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 0, 64, 0.1);
}

/* Update blog post structure styling to match the new fetchBlogs.js output */
.blog-image-link {
  display: block;
  overflow: hidden;
  height: 180px;
  position: relative;
}

.blog-post img.blog-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-post .blog-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-post .blog-date {
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 0.7rem;
  font-family: "JetBrains Mono", monospace;
  opacity: 0.8;
}

.blog-post p {
  margin: 0.7rem 0 1.2rem;
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.blog-tags span {
  background-color: rgba(255, 0, 64, 0.05);
  border: 1px solid rgba(255, 0, 64, 0.2);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.blog-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: auto;
  padding: 0.5rem 0;
}

.blog-link .arrow-right {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.blog-link:hover {
  color: var(--accent-color);
}

.blog-link:hover .arrow-right {
  transform: translateX(5px);
}

.blog-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .blog-container {
    grid-template-columns: 1fr;
  }

  .blog-post {
    max-width: 500px;
    margin: 0 auto;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

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

  #follow-me ul {
    gap: 1.5rem;
  }

  #follow-me li {
    min-width: 120px;
  }

  .tech-icons img {
    width: 85px;
    height: 85px;
  }

  #skills ul {
    grid-template-columns: 1fr;
  }

  /* Ensure consistent section padding on mobile */
  section:not(#hero):not(#home) {
    padding: 2rem 1.5rem;
  }

  #tech-stack,
  #skills,
  #contact,
  #about,
  #follow-me,
  #projects,
  #blog,
  #freelance-services {
    text-align: center;
  }

  .tech-category {
    margin-bottom: 2rem;
  }

  .tech-icons {
    justify-content: center;
    gap: 1.5rem;
  }

  .tech-icons img {
    width: 85px;
    height: 85px;
    padding: 12px;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-button {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .cta-button.download {
    margin-left: 0;
  }

  .upwork-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    gap: 0.8rem;
  }

  .service-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Footer */
footer {
  background-color: var(--secondary-bg);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 0, 64, 0.1);
  font-size: 0.9rem;
  color: #888;
}

footer p {
  position: relative;
  display: inline-block;
}

footer p::before,
footer p::after {
  content: "//";
  color: var(--accent-color);
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #ff0040;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Text selection */
::selection {
  background: rgba(255, 0, 64, 0.3);
  color: #fff;
}

/* Enhance social icons with glow effect */
.social-icon i:hover {
  color: #ff0040;
  text-shadow: 0 0 10px rgba(255, 0, 64, 0.7);
}

/* Add animated border for the contact section */
#contact {
  padding: 4rem 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: var(--card-bg, #0f0f0f);
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow, rgba(255, 0, 64, 0.5));
}

.contact-card:nth-child(1) {
  animation-delay: 0.1s;
}

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

.contact-card:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-card:nth-child(4) {
  animation-delay: 0.4s;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 0, 64, 0.1);
}

.contact-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.contact-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-glow, rgba(255, 0, 64, 0.5));
}

.contact-header h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-left: 1rem;
  text-shadow: 0 0 5px rgba(255, 0, 64, 0.3);
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 0, 64, 0.1);
  border-radius: 50%;
  padding: 6px;
  border: 1px solid rgba(255, 0, 64, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover .contact-icon {
  box-shadow: 0 0 15px var(--accent-glow, rgba(255, 0, 64, 0.5));
  transform: scale(1.1);
}

.contact-icon i {
  width: 24px;
  height: 24px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Contact icons */
.contact-icon-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E");
}

.contact-icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}

.contact-icon-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 384 512'%3E%3Cpath d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z'/%3E%3C/svg%3E");
}

.contact-icon-availability {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 512 512'%3E%3Cpath d='M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z'/%3E%3C/svg%3E");
}

.contact-info {
  padding-top: 1rem;
}

.contact-info a,
.contact-info p {
  color: #ccc;
  font-size: 1rem;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.contact-message {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255, 0, 64, 0.05);
  border-radius: 10px;
  border-left: 3px solid var(--accent-color);
  text-align: center;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.contact-message p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Enhanced Navigation */
nav {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 0, 64, 0.2);
}

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

.logo a {
  color: #ff0040;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 0, 64, 0.5);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff0040;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #ff0040;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #ff0040;
  margin: 3px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bar.cross:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.bar.hide {
  opacity: 0;
}

.bar.cross:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 0, 64, 0.2);
  }

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

  .nav-links a {
    padding: 0.8rem 2rem;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  color: #ff0040;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid #ff0040;
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: #ff0040;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 0, 64, 0.7);
}

/* Blog loading animation */
@keyframes blogPulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

#blog.loading::after {
  content: "Loading posts...";
  display: block;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-color);
  margin-top: 2rem;
  animation: blogPulse 1.5s infinite;
}

/* Empty state styling */
#blog p {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Add hover effects for blog elements */
.blog-post:hover img.blog-cover {
  transform: scale(1.05);
}

.blog-post h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-color);
  transition: color 0.3s ease;
  line-height: 1.4;
}

.blog-post h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-post:hover h3 a {
  color: var(--accent-color);
  text-shadow: 0 0 5px rgba(255, 0, 64, 0.3);
}

.blog-tags span:hover {
  background-color: rgba(255, 0, 64, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Enhanced Skills Section */
#skills {
  background-color: var(--secondary-bg);
  padding: 3rem;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 64, 0.1);
  overflow: hidden;
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(255, 0, 64, 0.05) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 0, 64, 0.05) 0%,
      transparent 25%
    ),
    linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

#skills h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

#skills h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  box-shadow: 0 0 10px var(--accent-glow);
}

#skills::before {
  content: "<skills>";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 0, 64, 0.2);
  font-size: 0.8rem;
}

#skills::after {
  content: "</skills>";
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 0, 64, 0.2);
  font-size: 0.8rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Animation for skill cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 0, 64, 0.1);
}

.skill-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  position: relative;
}

.skill-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-glow);
}

.skill-header h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-left: 1rem;
  text-shadow: 0 0 5px rgba(255, 0, 64, 0.3);
}

/* Staggered animation delay for cards */
.skill-card:nth-child(1) {
  animation-delay: 0.1s;
}

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

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

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

.skill-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Glowing effect on hover */
.skill-card:hover .skill-icon {
  box-shadow: 0 0 15px var(--accent-glow);
  transform: scale(1.1);
}

.skill-icon {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 0, 64, 0.1);
  border-radius: 50%;
  padding: 6px;
  border: 1px solid rgba(255, 0, 64, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-icon i {
  width: 24px;
  height: 24px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Skill icons */
.skill-icon-backend {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 640 512'%3E%3Cpath d='M128 32C92.7 32 64 60.7 64 96V352h64V96H512V352h64V96c0-35.3-28.7-64-64-64H128zM19.2 384C8.6 384 0 392.6 0 403.2C0 445.6 34.4 480 76.8 480H563.2c42.4 0 76.8-34.4 76.8-76.8c0-10.6-8.6-19.2-19.2-19.2H19.2z'/%3E%3C/svg%3E");
}

.skill-icon-frontend {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 640 512'%3E%3Cpath d='M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z'/%3E%3C/svg%3E");
}

.skill-icon-other {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 512 512'%3E%3Cpath d='M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 1 0-160 80 80 0 1 1 0 160z'/%3E%3C/svg%3E");
}

.skill-icon-languages {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 640 512'%3E%3Cpath d='M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z'/%3E%3C/svg%3E");
}

.skill-icon-soft {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ff00' viewBox='0 0 640 512'%3E%3Cpath d='M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z'/%3E%3C/svg%3E");
}

.skill-content {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Card color accents based on type */
.skill-card.backend::before {
  background: linear-gradient(to bottom, #ff0040, #800020);
}

.skill-card.frontend::before {
  background: linear-gradient(to bottom, #00ffaa, #005533);
}

.skill-card.other::before {
  background: linear-gradient(to bottom, #00aaff, #0033aa);
}

.skill-card.languages::before {
  background: linear-gradient(to bottom, #aa00ff, #330055);
}

.skill-card.soft::before {
  background: linear-gradient(to bottom, #ff00aa, #550033);
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Interactive skills */
.interactive-skill {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: normal;
  display: inline-block;
}

.interactive-skill.highlight {
  color: var(--accent-color);
  font-weight: bold;
  text-shadow: 0 0 5px var(--accent-glow);
}

.interactive-skill:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--accent-color);
  box-shadow: 0 0 5px var(--accent-glow);
  transition: width 0.3s ease;
}

.interactive-skill.highlight:after {
  width: 100%;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .tech-category {
    margin-bottom: 2rem;
  }

  #tech-stack,
  #skills,
  #contact,
  #about,
  #follow-me,
  #projects,
  #blog {
    padding: 2rem 1.5rem;
  }

  .tech-icons {
    justify-content: center;
    gap: 1.5rem;
  }

  .tech-icons img {
    width: 85px;
    height: 85px;
    padding: 12px;
  }

  #tech-stack h3 {
    margin-bottom: 1rem;
  }
}

/* Home section for proper navigation */
#home {
  margin: 0;
  padding: 0;
  height: 0;
  display: block;
  margin-top: 0;
  margin-bottom: 0;
}
