:root {
  --bg: #0b0f1a;
  --card: #12182b;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --glow: 0 0 20px rgba(139, 92, 246, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ===== GLOBAL BACKGROUND ===== */
body {
  background: radial-gradient(circle at top left, #0f172a, #020617 60%);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

/* Headings / Hero / Section Titles */
h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
}

/* Optional: subtle gradient for headings */
h1,
h2 {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero-text h1,
.section-title {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.section-title {
  transition: transform 0.3s ease;
}

.section-title:hover {
  transform: scale(1.05);
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
}

.hero-image img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid transparent;
  background: linear-gradient(#240e3dad, #0b0f1a) padding-box,
  var(--gradient) border-box;
  box-shadow: var(--glow);
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text h3 {
  margin-top: 10px;
  font-weight: 600;
  color: var(--muted);
}

.hero-text p {
  margin-top: 20px;
  max-width: 500px;
  color: var(--muted);
}

.hero-text .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--glow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-text .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

/* HERO IMAGE ZOOM-OUT ANIMATION */
.hero-image-wrapper {
  opacity: 0;
  transform: translateY(50px) scale(1.3); /* start lower & zoomed in */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

/* When visible: normal position and scale */
.hero-image-wrapper.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* HERO TEXT SLIDE-IN FROM TOP */
.hero-text {
  opacity: 0;
  transform: translateY(-50px); /* slide from top */
  transition: all 1s ease-out;
}

.hero-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Social icons common style */
.social-icons-fixed a {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d400ff, #00ffb4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  cursor: pointer;
}

/* Icon images */
.social-icons-fixed a img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0b0f1a;
}

/* Different floating animations for each icon */
.social-icons-fixed a:nth-child(1) {
  top: -15px; 
  left: -15px;
  animation: float1 5s ease-in-out infinite alternate;
}

.social-icons-fixed a:nth-child(2) {
  top: -10px; 
  right: -10px;
  animation: float2 6s ease-in-out infinite alternate;
}

.social-icons-fixed a:nth-child(3) {
  bottom: -10px; 
  right: -10px;
  animation: float3 4s ease-in-out infinite alternate;
}

/* Keyframes for individual floating */
@keyframes float1 {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

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

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

/* Hover effect */
.social-icons-fixed a:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.7);
}

/* Mobile: same positions but slightly smaller */
@media (max-width: 768px) {
  .social-icons-fixed a {
    width: 45px;
    height: 45px;
  }

  .social-icons-fixed a img {
    width: 40px;
    height: 40px;
  }
}

.skills {
  padding: 100px 10%;
  text-align: center;
}

.skills h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.skills-subtitle {
  color: #aaa;
  margin-bottom: 50px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.skill-card {
  background: #11162a;
  border-radius: 20px;
  padding: 25px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(88, 101, 242, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}

.skill-logo img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.skill-name {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 20px;
  transition: width 0.5s ease;
}

/* Level Colors */
.level-a .skill-progress {
  width: 90%;
  background: #00ffb4;
  /* green */
}

.level-b .skill-progress {
  width: 75%;
  background: #00aaff;
  /* blue */
}

.level-c .skill-progress {
  width: 60%;
  background: #ffb400;
  /* yellow */
}

/* ===============================
   Skills - Mobile (2 columns)
================================ */
@media (max-width: 768px) {
  .skills {
    padding: 70px 6%;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .skill-card {
    padding: 20px 12px;
  }

  .skill-logo img {
    width: 50px;
    height: 50px;
  }

  .skill-name {
    font-size: 1rem;
  }
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: -60px;
}

.stat-card {
  background: var(--card);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.stat-card h3 {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card p {
  margin-top: 10px;
  color: var(--muted);
}

/* GRID SECTIONS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card);
  padding: 25px;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }
}

.social-logos {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #00aaff,
      #00ffb4);
  /* blue gradient ring */
  padding: 2px;
  /* thin ring */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-logos a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.6);
}

.social-logos img.social-icon {
  width: 46px;
  /* slightly smaller than container */
  height: 46px;
  border-radius: 50%;
  background: #0b0f1a;
  /* inner circle background */
  padding: 0;
  /* no extra padding inside */
}

.card,
.skill-card,
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  /* semi-transparent */
  backdrop-filter: blur(10px);
  /* glass blur */
  -webkit-backdrop-filter: blur(10px);
  /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* subtle border */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  /* soft shadow */
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.card:hover,
.skill-card:hover,
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.1);
  /* slightly brighter on hover */
}

.skill-logo img {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 10px;
}

.right-menu {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  /* keep it centered */
  display: flex;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 50px;
  background: rgba(18, 24, 43, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* only transform & shadow */
  gap: 10px;
}

/* Hover lift effect */
.right-menu:hover {
  transform: translateX(-50%) scale(1.02);
  /* keep translateX and add scale */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Horizontal menu list */
.right-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
}

/* Menu links */
.right-menu ul li a {
  display: block;
  color: #e5e7eb;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

/* Active indicator */
.right-menu ul li a.active {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  font-weight: 600;
}

/* Hover effect */
.right-menu ul li a:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Smooth active animation */
.right-menu ul li a.active,
.right-menu ul li a:focus {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  font-weight: 600;
  transform: translateX(-5px);
}

/* Scrollbar */
.right-menu::-webkit-scrollbar {
  width: 6px;
}

.right-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.right-menu::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.6);
  border-radius: 10px;
}

.right-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.8);
}

/* Firefox */
.right-menu {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.6) rgba(255, 255, 255, 0.05);
}

/* Hide menu-toggle by default (desktop) */
.menu-toggle {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {

  /* Show toggle button */
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 20px;       /* top-right corner */
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1200;
    background: #020617;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  }

  /* Hamburger lines */
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animate open/close */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Right-side vertical menu hidden by default */
  .right-menu {
    top: 60px; /* below hamburger button */
    right: 12px;
    left: auto;
    transform: translateX(120%);
    flex-direction: column;
    max-height: 70vh;
    padding: 14px 10px;
    border-radius: 24px;
    overflow-y: auto;
    gap: 8px;
    background: rgba(18, 24, 43, 0.25);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 1100;
  }

  /* Open menu */
  .right-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Vertical menu links */
  .right-menu ul {
    flex-direction: column;
    gap: 6px;
  }

  .right-menu ul li a {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .right-menu ul li a:hover {
    transform: translateX(-4px);
  }

  .right-menu ul li a.active {
    transform: translateX(-6px);
  }
}

.projects-section {
  padding: 6rem 2rem;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-top: 0.75rem;
}

.projects-grid {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-card.highlight {
  border: 1px solid rgba(253, 224, 71, 0.4);
}

.badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #fde047;
  color: #020617;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.tag.japan {
  background: rgba(239, 68, 68, 0.8);
}

.tag.scale {
  background: rgba(59, 130, 246, 0.8);
}

.tag.freelance {
  background: rgba(16, 185, 129, 0.8);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.role {
  font-size: 0.85rem;
  color: #fde047;
  margin-bottom: 0.75rem;
}

.desc {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1rem;
}

.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.tech li {
  font-size: 0.7rem;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.btn {
  font-size: 0.85rem;
  color: #fde047;
  text-decoration: none;
  font-weight: 600;
}

.tag.leadership {
  background: rgba(168, 85, 247, 0.85);
}

.services-section {
  padding: 6rem 2rem;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  /* space between cards */
  margin-top: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.service-card.highlight {
  border: 1px solid rgba(253, 224, 71, 0.35);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.contact-section {
  padding: 6rem 2rem;
  color: #fff;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1rem;
  color: #cbd5f5;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-item .icon {
  font-size: 1.3rem;
}

.info-item a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

.info-item a:hover {
  color: #fde047;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 20px;
  padding: 2.5rem 2rem;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-card li {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #cbd5f5;
}

.contact-btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: #fde047;
  color: #020617;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.about-section {
  padding: 6rem 2rem;
  color: #e5e7eb;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: #fde047;
}

/* ABOUT SECTION LAYOUT */
.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  /* responsive wrap */
}

/* Photo on the right */
.about-photo {
  order: 2;
  flex: 1 1 250px;
  max-width: 300px;
  border-radius: 1rem;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.3); /* subtle glow */
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid transparent;
  background: linear-gradient(#240e3dad, #0b0f1a) padding-box,
  var(--gradient) border-box;
  box-shadow: var(--glow);
}

/* Text on the left */
.about-text {
  order: 1;
  flex: 2 1 400px;
  opacity: 0;
  transform: translateX(-50px);
  /* slide from left */
  transition: all 0.8s ease-out;
}

/* Visible class for scroll animation */
.about-photo.visible,
.about-text.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile adjustment */
@media(max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text,
  .about-photo {
    transform: translateY(30px);
  }

  .about-photo {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .about-photo img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
  }
}

.career-section {
  padding: 6rem 2rem;
  color: #fff;
  text-align: center;
}

.career-timeline {
  max-width: 800px;
  margin: 4rem auto;
  position: relative;
}

.career-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-content {
  width: 45%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}


.timeline-item.highlight .timeline-content {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.9),
    #020617
  );
}
/* ===============================
   Mobile Timeline (<= 768px)
================================ */
@media (max-width: 768px) {
  .career-section {
    padding: 4rem 1rem;
  }

  .career-timeline {
    margin: 3rem auto;
  }

  /* Move center line to left */
  .career-timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
    padding: 1.25rem;
  }

  .timeline-item .dot {
    left: 12px;
  }
}

@media (max-width: 480px) {
  .timeline-content h3 {
    font-size: 1.05rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}


.dot {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fde047;
  border-radius: 50%;
  transform: translateX(-50%);
}

.date {
  font-size: 0.75rem;
  color: #94a3b8;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  background: transparent;
}

/* ===== LIGHTNING ENERGY CIRCLES ===== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.energy {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float 18s infinite alternate ease-in-out;
}

/* Blue lightning */
.energy.blue {
  background: radial-gradient(circle, #3b82f6, transparent 65%);
  top: -100px;
  left: -100px;
}

/* Purple lightning */
.energy.purple {
  background: radial-gradient(circle, #8b5cf6, transparent 65%);
  bottom: -120px;
  right: -80px;
  animation-duration: 22s;
}

/* Yellow accent spark */
.energy.yellow {
  background: radial-gradient(circle, #fde047, transparent 70%);
  top: 40%;
  left: 60%;
  width: 300px;
  height: 300px;
  animation-duration: 26s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.05);
  }

  100% {
    transform: translate(-30px, 20px) scale(0.95);
  }
}

/* Initial state */
.skill-card {
  opacity: 0;
  transform: translateX(50px);
  /* default slide from right */
  transition: all 0.8s ease-out;
}

/* Slide from left variant */
.skill-card.slide-left {
  transform: translateX(-50px);
}

/* When visible */
.skill-card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------- SERVICES ANIMATION ---------------- */
.service-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s ease-out;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delay */
.service-card:nth-child(1) {
  transition-delay: 0.1s;
}

.service-card:nth-child(2) {
  transition-delay: 0.2s;
}

.service-card:nth-child(3) {
  transition-delay: 0.3s;
}

.service-card:nth-child(4) {
  transition-delay: 0.4s;
}

.service-card:nth-child(5) {
  transition-delay: 0.5s;
}

.service-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Optional: hover effect for fun */
.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* ---------------- PROJECTS GRID ---------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Project card animation */
.project-card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s ease-out;
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delay for smooth wave effect */
.project-card:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:nth-child(2) {
  transition-delay: 0.2s;
}

.project-card:nth-child(3) {
  transition-delay: 0.3s;
}

.project-card:nth-child(4) {
  transition-delay: 0.4s;
}

.project-card:nth-child(5) {
  transition-delay: 0.5s;
}

.project-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Hover effect for interactivity */
.project-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Responsive tweaks */
@media(max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Gradient animated text */
.gradient-text {
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


/* ===============================
   Contact Section - Mobile
================================ */
@media (max-width: 768px) {
  .contact-section {
    padding: 4rem 1.25rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-text h2 {
    font-size: 2rem;
    text-align: left;
  }

  .contact-text p {
    font-size: 0.95rem;
    text-align: left;
  }

  .contact-info {
    gap: 1rem;
  }

  .info-item {
    font-size: 0.95rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.25rem;
  }

  .contact-card li {
    font-size: 0.95rem;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

.info-item a {
  padding: 0.3rem 0;
  display: inline-block;
}

.contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Initial state for slide animations */
.slide-left, .slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.slide-left {
  transform: translateX(-50px);
}

.slide-right {
  transform: translateX(50px);
}

/* When visible, slide in and fade */
.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Optional: fade-up effect for contact items */
.contact-text, .contact-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.contact-text.visible, .contact-card.visible {
  opacity: 1;
  transform: translateY(0);
}
