* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00d4ff;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --dark: #0a0a0f;
  --dark-light: #151520;
  --text: #e5e7eb;
  --text-dim: #9ca3af;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a0f 0%, #151520 100%);
}

.bg-animation::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  top: -300px;
  right: -300px;
  animation: float 22s infinite ease-in-out;
}

.bg-animation::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  bottom: -250px;
  left: -250px;
  animation: float 18s infinite ease-in-out reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(35px, -55px) rotate(120deg);
  }
  66% {
    transform: translate(-25px, 25px) rotate(240deg);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  z-index: 1000;
  transition: all 0.4s ease;
}

header.scrolled {
  padding: 1rem 5%;
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--text);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5% 2rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text .greeting {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-text .subtitle {
  font-size: 1.5rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.profile-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-light), var(--dark));
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--primary);
  overflow: hidden;
}

.profile-circle .profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

/* About Section - Enhanced */
.section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  position: relative;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.about-text p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 80%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.about-icons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.about-icon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.about-icon-link i {
  font-size: 1.2rem;
  color: var(--primary);
}

.about-icon-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(124, 58, 237, 0.2)
  );
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-top: 0.7rem;
  position: relative;
  z-index: 1;
}

/* Skills Section - Enhanced */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.skill-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.skill-card:hover .skill-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.4));
}

.skill-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.skill-level {
  font-size: 0.95rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

/* Projects Section - Enhanced */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03),
    rgba(124, 58, 237, 0.03)
  );
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0, 212, 255, 0.3);
  border-color: var(--primary);
}

.project-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(0, 0, 0, 0.3));
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-image i {
  position: relative;
  z-index: 1;
}

.project-content {
  padding: 2.5rem;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.project-description {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.tag {
  padding: 0.5rem 1.1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  padding: 0.8rem 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.project-link:hover::before {
  width: 300px;
  height: 300px;
}

.project-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

/* Blog Section */
.blog-intro {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-intro p {
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.9;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  border-radius: 30px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.25);
  border-color: var(--primary);
}

.blog-header {
  padding: 3rem 3rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.08),
    rgba(124, 58, 237, 0.08)
  );
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.blog-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.blog-content {
  padding: 3rem;
}

.blog-description {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  text-align: center;
}

.blog-topics {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-topic {
  background: rgba(0, 212, 255, 0.03);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.blog-topic:hover {
  background: rgba(0, 212, 255, 0.06);
  border-color: var(--primary);
  transform: translateX(10px);
}

.blog-topic > i {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.blog-topic h4 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.blog-topic > p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.language-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.15),
    rgba(124, 58, 237, 0.15)
  );
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 30px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.lang-link i {
  color: var(--primary);
  font-size: 1.4rem;
}

.lang-link:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.25),
    rgba(124, 58, 237, 0.25)
  );
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.concept-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.concept-list li {
  padding: 1rem 1.5rem;
  color: var(--text-dim);
  line-height: 1.8;
  background: rgba(0, 212, 255, 0.03);
  border-left: 3px solid var(--primary);
  margin-bottom: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.concept-list li:hover {
  background: rgba(0, 212, 255, 0.08);
  transform: translateX(8px);
}

.concept-list strong {
  color: var(--primary);
  font-weight: 600;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  font-size: 1.05rem;
}

.resource-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.resource-item {
  background: rgba(0, 212, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.resource-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.08);
}

.resource-item i {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.resource-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.resource-item p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

/* Contact Section - Enhanced */
.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-intro p {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.8rem;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.contact-method i {
  font-size: 1.4rem;
  color: var(--primary);
}

.contact-method:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.2),
    rgba(124, 58, 237, 0.2)
  );
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.contact-form {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03),
    rgba(124, 58, 237, 0.03)
  );
  padding: 3.5rem;
  border-radius: 25px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 500;
  color: var(--text);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(10, 10, 15, 0.5);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
  background: rgba(10, 10, 15, 0.7);
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

/* Footer */
footer {
  background: var(--dark-light);
  padding: 2.5rem 5%;
  text-align: center;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: var(--text);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-socials a::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-socials a:hover::before {
  opacity: 1;
}

.footer-socials a:hover {
  color: var(--primary);
  transform: translateY(-5px) scale(1.1);
}

.copyright {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-image-wrapper {
    width: 300px;
    height: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    gap: 2rem;
    border-left: 1px solid rgba(0, 212, 255, 0.2);
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 5%;
  }

  .contact-form {
    padding: 2rem;
  }

  .skills-scroll-inner {
    animation-duration: 40s !important;
    gap: 1.5rem;
  }

  .skills-scroll-inner .skill-card {
    min-width: 140px;
    width: 140px;
  }

  .blog-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
  }

  .blog-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .blog-title {
    font-size: 1.5rem;
  }

  .blog-content {
    padding: 2rem 1.5rem;
  }

  .blog-description {
    font-size: 1rem;
  }

  .blog-topic {
    padding: 1.5rem;
  }

  .blog-topic > i {
    font-size: 1.5rem;
  }

  .blog-topic h4 {
    font-size: 1.2rem;
  }

  .blog-topic > p {
    font-size: 0.95rem;
  }

  .language-links {
    flex-direction: column;
  }

  .lang-link {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.2rem;
  }

  .concept-list li {
    font-size: 0.95rem;
    padding: 0.9rem 1.2rem;
  }

  .resource-link {
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-item {
    padding: 1.5rem;
  }

  .resource-item i {
    font-size: 2rem;
  }

  .resource-item h4 {
    font-size: 1.1rem;
  }

  .resource-item p {
    font-size: 0.9rem;
  }
}

.skills-scroll-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto 4rem auto;
  padding: 1.5rem 0;
}

/* Horizontal scroll animation for skills section */
.skills-scroll-inner {
  display: flex;
  gap: 2rem;
  width: fit-content;
  animation: skills-scroll-animate 40s linear infinite;
  will-change: transform;
}

@keyframes skills-scroll-animate {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

/* Ensure skill-card looks good in row layout */
.skills-scroll-inner .skill-card {
  min-width: 170px;
  width: 170px;
  flex-shrink: 0;
  margin: 0;
}

/* Work With Me Section */
.work-content {
  max-width: 1100px;
  margin: 0 auto;
}

.work-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.work-intro p {
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.work-card {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.work-card i {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.work-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.work-card p {
  color: var(--text-dim);
  line-height: 1.7;
}

.work-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.work-form-wrapper {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.03),
    rgba(124, 58, 237, 0.03)
  );
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 25px;
  padding: 3rem;
}

.work-form-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.work-form select {
  width: 100%;
  padding: 1.2rem;
  background: rgba(10, 10, 15, 0.5);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

.work-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Blog Categories */
.blog-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.blog-category {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05),
    rgba(124, 58, 237, 0.05)
  );
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.blog-category i {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.blog-category h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.blog-category p {
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 1rem;
}

.blog-category:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}
