/* ============================================================
   STYLE.CSS - Premium Dark Portfolio Theme
   ============================================================
   Same premium dark design as React version, built with vanilla CSS.
   No Tailwind, no frameworks — pure CSS for maximum compatibility.
   ============================================================ */

/* ==================== IMPORTS ==================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* ==================== CSS VARIABLES (Design Tokens) ==================== */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-card: #111111;
  --border-color: #1f1f1f;
  --border-hover: rgba(99, 102, 241, 0.25);
  --text-white: #ffffff;
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
  --text-gray-500: #6b7280;
  --text-gray-600: #4b5563;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --pink-400: #c4b5fd;
  --pink-500: #a78bfa;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --cyan-400: #22d3ee;
  --red-400: #f87171;
  --teal-400: #2dd4bf;
  --max-width: 1152px;
  --nav-height: 72px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-gray-400);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-label span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label .line {
  height: 1px;
  width: 3rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
}

/* Background glow effect */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* ==================== LANGUAGE TOGGLE ==================== */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.25rem;
  gap: 0;
}

.lang-btn {
  padding: 0.35rem 0.75rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--text-gray-500);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--blue-500), var(--purple-600));
  color: white;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s;
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
  transition: transform 0.3s;
}

.navbar-logo:hover img {
  transform: scale(1.1);
}

.navbar-logo span {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-gray-400);
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-600));
  color: white !important;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s;
  font-size: 0.875rem;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transform: scale(1.05);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(31, 31, 31, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-gray-300);
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
}

.hero-bg .orb-1 {
  top: 25%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(120px);
}

.hero-bg .orb-2 {
  bottom: 25%;
  right: 25%;
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(100px);
}

.hero-bg .orb-3 {
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.06);
  filter: blur(80px);
}

.hero-bg .grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-bg .radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, #0a0a0a 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.hero-badge .pulse {
  position: relative;
  display: flex;
  width: 0.625rem;
  height: 0.625rem;
}

.hero-badge .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--green-400);
  animation: ping 1.5s infinite;
  opacity: 0.75;
}

.hero-badge .pulse-dot {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--green-500);
}

.hero-badge span {
  color: var(--green-400);
  font-size: 0.875rem;
  font-weight: 500;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 .name-gradient {
  background: linear-gradient(
    90deg,
    var(--blue-400),
    var(--purple-400),
    var(--blue-400)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero h1 .name-underline {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--blue-400),
    var(--purple-400),
    var(--blue-400)
  );
  border-radius: 9999px;
  opacity: 0.5;
}

.hero h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.hero h2 span {
  background: linear-gradient(
    90deg,
    var(--text-gray-300),
    var(--text-gray-500)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-gray-400);
  max-width: 36rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-600));
  color: white;
  font-weight: 500;
  border-radius: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.btn-primary i {
  transition: transform 0.3s;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-linkedin {
  background: #0077b5;
}

.btn-linkedin:hover {
  box-shadow: 0 0 40px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover i {
  transform: scale(1.1);
}

.btn-cv {
  background: linear-gradient(135deg, var(--green-500), var(--teal-400));
}

.btn-cv:hover {
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
}

.tech-stack {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-stack p {
  font-size: 0.75rem;
  color: var(--text-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pills span {
  padding: 0.375rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-gray-400);
  transition: all 0.3s;
}

.tech-pills span:hover {
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
}

/* Hero image */
.hero-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

.hero-image-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.6);
  transition: transform 0.7s;
}

.hero-image-circle:hover img {
  transform: scale(1.65);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray-600);
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-indicator .mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator .mouse-dot {
  width: 0.25rem;
  height: 0.5rem;
  background: var(--text-gray-600);
  border-radius: 9999px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ==================== ABOUT ==================== */
.about {
  background: var(--bg-secondary);
}

.about-card {
  position: relative;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.about-card .about-text {
  font-size: 1.25rem;
  color: var(--text-gray-300);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-card .about-text .highlight {
  color: var(--blue-400);
  font-weight: 600;
}

.about-card .about-sub {
  color: var(--text-gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.info-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  transition: all 0.3s;
}

.info-badge:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.info-badge .badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-badge .badge-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-400);
}
.info-badge .badge-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-400);
}

.info-badge span {
  color: var(--text-gray-300);
}

.goal-banner {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

.goal-banner i {
  color: var(--blue-400);
}
.goal-banner .goal-label {
  color: var(--text-gray-500);
}

/* ==================== EDUCATION & EXPERIENCE TIMELINE ==================== */
.timeline {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: 1.5rem;
  top: 2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.timeline-card {
  transition: all 0.3s;
}

.timeline-card:hover {
  border-color: var(--border-hover);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.timeline-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--text-gray-500);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.timeline-card:hover .timeline-title.edu-title {
  color: var(--blue-400);
}
.timeline-card:hover .timeline-title.exp-title {
  color: var(--green-400);
}

.timeline-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.timeline-subtitle i {
  opacity: 0.5;
}

.tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple-400);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.tag-gray {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-gray-400);
}
.tag-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-400);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.tag-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-400);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-desc {
  color: var(--text-gray-500);
  line-height: 1.7;
}

.timeline-desc li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.timeline-desc li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--text-gray-600);
}

/* ==================== SKILLS ==================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-card {
  transition: all 0.5s;
}

.skill-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.skill-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  transition: all 0.5s;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(3deg);
}

.skill-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-pill {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-gray-300);
  font-size: 0.875rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.skill-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.skill-pill .level {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray-500);
}

/* ==================== PROJECTS ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s;
  padding: 0;
}

.project-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.project-gradient {
  height: 13rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gradient .project-icon {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.project-card:hover .project-icon {
  transform: scale(1.1) rotate(6deg);
}

.project-gradient .project-icon i {
  font-size: 1.75rem;
  color: white;
}

.project-links-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.3s;
}

.project-card:hover .project-links-overlay {
  opacity: 1;
}

.project-link-btn {
  width: 3.5rem;
  height: 3.5rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.125rem;
  transition: transform 0.3s;
}

.project-link-btn:hover {
  transform: scale(1.1);
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.project-card:hover .project-info h3 {
  color: var(--orange-400);
}

.project-info p {
  font-size: 0.875rem;
  color: var(--text-gray-500);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-info .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-info .project-tags span {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray-400);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
}

/* Gradients for project cards — unified blue-indigo palette */
.grad-orange {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}
.grad-blue {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.grad-green {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
.grad-purple {
  background: linear-gradient(135deg, #6366f1, #818cf8);
}
.grad-red {
  background: linear-gradient(135deg, #4338ca, #6366f1);
}
.grad-cyan {
  background: linear-gradient(135deg, #3b82f6, #818cf8);
}
.grad-amber {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
}
.grad-pink {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}
.grad-teal {
  background: linear-gradient(135deg, #2563eb, #6366f1);
}

.github-cta {
  text-align: center;
  margin-top: 4rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: white;
  font-weight: 500;
  border-radius: 1rem;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline .arrow {
  transition: transform 0.3s;
}

.btn-outline:hover .arrow {
  transform: translateX(0.5rem);
}

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: rgba(236, 72, 153, 0.3);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-link:hover .contact-icon {
  transform: scale(1.1) rotate(3deg);
}

.contact-link .contact-label {
  font-size: 0.75rem;
  color: var(--text-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-link .contact-value {
  color: var(--text-white);
  font-weight: 500;
}

.contact-link .contact-arrow {
  margin-left: auto;
  color: var(--text-gray-600);
  transition: transform 0.3s;
}

.contact-link:hover .contact-arrow {
  transform: translateX(0.5rem);
}

/* Contact form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-gray-400);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-white);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 8rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-600));
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-submit:hover {
  box-shadow: 0 0 40px rgba(236, 72, 153, 0.3);
}

.form-success {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.98);
  border-radius: 1.5rem;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.form-success.show {
  display: flex;
}

.form-success .success-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--green-400), #10b981);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success .success-icon i {
  font-size: 1.75rem;
  color: white;
}

.form-success h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-gray-400);
}

/* ==================== FOOTER ==================== */
.footer {
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  object-fit: cover;
}

.footer-logo span {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-desc {
  color: var(--text-gray-500);
  line-height: 1.7;
}

.footer-links {
  text-align: center;
}

.footer-links h4,
.footer-social-col h4 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.footer-link-list a {
  font-size: 0.875rem;
  color: var(--text-gray-500);
  transition: color 0.3s;
}

.footer-link-list a:hover {
  color: var(--text-white);
}

.footer-social-col {
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.social-icon {
  width: 3rem;
  height: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-500);
  font-size: 1.125rem;
  transition: all 0.3s;
}

.social-icon:hover {
  color: var(--text-white);
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
}

.footer-quote {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-quote p {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--text-gray-500);
}

.footer-quote .quote-author {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-gray-600);
  margin-top: 0.5rem;
}

.footer-quote .quote-icon {
  color: rgba(59, 130, 246, 0.3);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-gray-600);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .nav-links,
  .nav-cta,
  .lang-toggle-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
  }

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

  .hero-image {
    justify-content: center;
    order: 1;
  }

  .hero-image-wrapper {
    width: 250px;
    height: 250px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .tech-stack {
    text-align: center;
  }

  .tech-pills {
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social-col {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .info-badges {
    flex-direction: column;
    align-items: center;
  }
}
