@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Space for desktop navbar */
}

/* *{
  border: 2px solid green;
} */

/* Desktop Navigation - Solid Premium Design */
@media (min-width: 769px) {
  .navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #ffffff;
    border-radius: 50px;
    padding: 0.75rem 0rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    height: auto;
    width: auto;
    min-width: 350px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  /* Navbar scroll states */
  .navbar.navbar--hidden {
    transform: translateX(-50%) translateY(-100%);
  }

  .navbar.navbar--visible {
    transform: translateX(-50%) translateY(0);
  }

  .navbar__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  }

  .navbar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .navbar__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    color: #6a778e;
    text-decoration: none;
    border-radius: 25px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar__link:hover {
    color: #4c63d2;
    background: rgba(76, 99, 210, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 99, 210, 0.2);
  }

  .navbar__link i {
    font-size: 1.2rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar__link:hover i {
    transform: scale(1.15);
  }

  /* Simple hover tooltip */
  .navbar__link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(76, 99, 210, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar__link::before {
    content: '';
    position: absolute;
    bottom: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(76, 99, 210, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .navbar__link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .navbar__link:hover::before {
    opacity: 1;
    visibility: visible;
  }

  /* Desktop Side Controls */
  .desktop-side-controls {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
  }

  .desktop-theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms ease;
    color: #f59e0b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .desktop-theme-toggle:hover {
    background: #fef3c7;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.3);
  }

  .desktop-profile-container {
    position: relative;
  }

  .desktop-profile-pic {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4c63d2 0%, #667eea 100%);
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms ease;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .desktop-profile-pic.has-image {
    font-size: 0;
  }

  .desktop-profile-pic:hover {
    transform: scale(1.05);
    border-color: #4c63d2;
    box-shadow: 0 6px 30px rgba(76, 99, 210, 0.4);
  }

  .desktop-social-dropdown {
    position: absolute;
    top: 65px;
    left: 0;
    background: #ffffff;
    border-radius: 15px;
    padding: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    opacity: 0;
    margin-top: 110%;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 300ms ease;
    min-width: 180px;
  }

  .desktop-profile-container:hover .desktop-social-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .desktop-social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    color: #4a5568;
    transition: all 200ms ease;
    margin-bottom: 0.5rem;
  }

  .desktop-social-link:last-child {
    margin-bottom: 0;
  }

  .desktop-social-link:hover {
    background: #f7fafc;
    transform: translateX(5px);
  }

  .desktop-social-link i {
    font-size: 1.25rem;
    width: 20px;
  }

  .desktop-social-link.linkedin i { color: #0077b5; }
  .desktop-social-link.instagram i { color: #e4405f; }
  .desktop-social-link.github i { color: #333; }
  .desktop-social-link.leetcode i { color: #ffa116; }

  .desktop-social-link span {
    font-weight: 500;
    font-size: 0.9rem;
  }

  /* Hide mobile controls on desktop */
  .mobile-top-controls,
  .mobile-navbar,
  .mobile-theme-toggle {
    display: none;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  /* Hide desktop elements on mobile */
  .navbar,
  .desktop-side-controls,
  .desktop-theme-toggle {
    display: none;
  }

  /* Mobile Top Controls */
  .mobile-top-controls {
    position: fixed;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
  }

  .mobile-profile-container {
    position: relative;
  }

  .mobile-profile-pic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4c63d2 0%, #667eea 100%);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms ease;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .mobile-profile-pic.has-image {
    font-size: 0;
  }

  .mobile-profile-pic:hover {
    transform: scale(1.05);
    border-color: #4c63d2;
    box-shadow: 0 6px 25px rgba(76, 99, 210, 0.3);
  }

  .mobile-social-dropdown {
    position: absolute;
    top: 60px;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 250ms ease;
    min-width: 150px;
  }

  .mobile-profile-container:hover .mobile-social-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    transition: all 200ms ease;
    margin-bottom: 0.25rem;
  }

  .mobile-social-link:last-child {
    margin-bottom: 0;
  }

  .mobile-social-link:hover {
    background: #f7fafc;
  }

  .mobile-social-link i {
    font-size: 1rem;
    width: 16px;
  }

  .mobile-social-link.linkedin i { color: #0077b5; }
  .mobile-social-link.instagram i { color: #e4405f; }
  .mobile-social-link.github i { color: #333; }
  .mobile-social-link.leetcode i { color: #ffa116; }

  .mobile-social-link span {
    font-weight: 500;
    font-size: 0.8rem;
  }

  /* Mobile Theme Toggle */
  .mobile-theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms ease;
    color: #f59e0b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .mobile-theme-toggle:hover {
    background: #fef3c7;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
  }

  .mobile-theme-toggle i {
    font-size: 1.1rem;
  }

  /* Mobile Bottom Navigation */
  .mobile-navbar {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1000;
  }

  .mobile-navbar__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .mobile-navbar__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    color: #6a778e;
    text-decoration: none;
    border-radius: 15px;
    transition: all 250ms ease;
    min-width: 50px;
  }

  .mobile-navbar__link:hover {
    color: #4c63d2;
    background: rgba(76, 99, 210, 0.1);
    transform: translateY(-2px);
  }

  .mobile-navbar__link i {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .mobile-navbar__link span {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
  }
}

/* Dark Mode Support */
body.dark-mode {
  color: #ffffff;
}

@media (min-width: 769px) {
  body.dark-mode .navbar {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    will-change: transform;
  }

  body.dark-mode .navbar__link {
    color: #cbd5e1;
  }

  body.dark-mode .navbar__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .navbar__link::after {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  body.dark-mode .navbar__link::before {
    border-bottom-color: rgba(255, 255, 255, 0.95);
  }

  body.dark-mode .desktop-theme-toggle {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fbbf24;
  }

  body.dark-mode .desktop-theme-toggle:hover {
    background: #475569;
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.3);
  }

  body.dark-mode .desktop-profile-pic {
    border-color: rgba(255, 255, 255, 0.2);
  }

  body.dark-mode .desktop-social-dropdown {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  }

  body.dark-mode .desktop-social-link {
    color: #e2e8f0;
  }

  body.dark-mode .desktop-social-link:hover {
    background: #334155;
  }

  body.dark-mode .desktop-social-link.linkedin i { color: #0ea5e9; }
  body.dark-mode .desktop-social-link.instagram i { color: #f472b6; }
  body.dark-mode .desktop-social-link.github i { color: #e5e7eb; }
  body.dark-mode .desktop-social-link.leetcode i { color: #fbbf24; }
}

@media (max-width: 768px) {
  body.dark-mode .mobile-theme-toggle {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fbbf24;
  }

  body.dark-mode .mobile-theme-toggle:hover {
    background: #475569;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
  }

  body.dark-mode .mobile-navbar {
    background: #2d3748;
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .mobile-profile-pic {
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .mobile-social-dropdown {
    background: #2d3748;
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.dark-mode .mobile-social-link,
  body.dark-mode .mobile-navbar__link {
    color: #e2e8f0;
  }

  body.dark-mode .mobile-social-link:hover,
  body.dark-mode .mobile-navbar__link:hover {
    background: #4a5568;
  }
}

/* Circular Text Animation */
.ellipse {
  position: fixed;
  bottom: 5rem;
  right: 12rem;
  width: min(18vw, 18vh);
  min-width: 120px;
  max-width: 160px;
  z-index: 50;
  pointer-events: none;
}

.ellipse svg {
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ellipse svg text {
  fill: #4c63d2;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ellipse svg textPath {
  dominant-baseline: middle;
  text-anchor: start;
}

/* Center Arrow Animation */
.center-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4c63d2;
  animation: arrowBounce 2s ease-in-out infinite;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.center-arrow:hover {
  color: #667eea;
  transform: translate(-50%, -50%) scale(1.2);
}

.center-arrow i {
  font-size: 24px;
  stroke-width: 2.5px;
}

@keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  40% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
  60% {
    transform: translate(-50%, -50%) translateY(-3px);
  }
}

/* Dark mode support for circular text */
body.dark-mode .ellipse svg text {
  fill: #ffffff;
}

body.dark-mode .center-arrow {
  color: #ffffff;
}

body.dark-mode .center-arrow:hover {
  color: #e2e8f0;
}

/* Mobile adjustments for circular text */
@media (max-width: 768px) {
  .ellipse {
    width: min(25vw, 25vh);
    min-width: 100px;
    max-width: 130px;
    bottom: 9rem;
    right: 8rem;
  }
  
  .ellipse svg text {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .center-arrow i {
    font-size: 18px;
  }
}

/* Small Mac Terminal Above Title */
.mac-terminal {
  position: absolute;
  top: 25%;
  left: 8%;
  background: rgba(30, 34, 42, 0.95);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.75rem;
  max-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 15; /* Higher than left terminal to overlap */
  transform: rotate(-1deg);
}

.mac-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(13, 30, 63, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-buttons {
  display: flex;
  gap: 6px;
}

.mac-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mac-btn.red {
  background: #ff5f57;
}

.mac-btn.yellow {
  background: #ffbd2e;
}

.mac-btn.green {
  background: #28ca42;
}

.mac-terminal-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 500;
}

.mac-terminal-body {
  padding: 10px 12px;
  background: rgba(20, 25, 35, 0.95);
  height: 100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mac-terminal-content {
  flex: 1;
  overflow: hidden;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 0;
}

.mac-code-line {
  flex-shrink: 0;
}

.mac-terminal-line {
  color: #00ff88;
  font-size: 0.7rem;
  margin: 2px 0;
  word-wrap: break-word;
}

.mac-terminal-line.command {
  color: #61dafb;
  font-weight: 500;
}

.mac-terminal-line.command::before {
  content: "$ ";
  color: #ff6b6b;
  font-weight: bold;
}

.mac-terminal-line.output {
  color: #a0a0a0;
  padding-left: 8px;
}

.mac-code-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00ff88;
}

.mac-prompt {
  color: #ff6b6b;
  font-weight: bold;
}

.mac-command {
  color: #61dafb;
  font-weight: 500;
}

.mac-cursor {
  color: #00ff88;
  animation: macBlink 1s infinite;
}

@keyframes macBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Responsive adjustments for mac terminal */
@media (max-width: 768px) {
  .mac-terminal {
    font-size: 0.6rem;
    max-width: 150px;
    top: 20%;
    left: 5%;
    transform: rotate(-2deg);
  }
  
  .mac-btn {
    width: 6px;
    height: 6px;
  }
  
  .mac-terminal-title {
    font-size: 0.55rem;
  }
  
  .mac-terminal-header {
    padding: 5px 8px;
  }
  
  .mac-terminal-body {
    padding: 6px 8px;
    height: 60px;
  }
}

/* Dark mode styles for mac terminal */
body.dark-mode .mac-terminal {
  background: rgba(20, 25, 35, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .mac-terminal-header {
  background: rgba(4, 28, 76, 0.525);
  border-bottom: 1px solid rgb(10, 1, 1);
}

body.dark-mode .mac-terminal-body {
  background: rgba(15, 23, 42, 0.95);
}

body.dark-mode .mac-terminal-line.output {
  color: #8a8a8a;
}

/* Floating Tech Icons */
.floating-tech-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.tech-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #61dafb;
  font-size: 24px;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.tech-icon svg {
  width: 28px;
  height: 28px;
}

.tech-icon i {
  font-size: 24px;
}

/* Individual positioning and animation delays */
.tech-icon-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation: float1 8s ease-in-out infinite;
}

.tech-icon-2 {
  top: 25%;
  right: 12%;
  animation-delay: 1s;
  animation: float2 10s ease-in-out infinite;
}

.tech-icon-3 {
  top: 60%;
  left: 15%;
  animation-delay: 2s;
  animation: float3 7s ease-in-out infinite;
}

.tech-icon-4 {
  top: 70%;
  right: 8%;
  animation-delay: 3s;
  animation: float4 9s ease-in-out infinite;
}

.tech-icon-5 {
  top: 45%;
  left: 5%;
  animation-delay: 4s;
  animation: float5 11s ease-in-out infinite;
}

/* Additional right-side tech icons */
.tech-icon-6 {
  top: 20%;
  right: 25%;
  animation-delay: 1.5s;
  animation: float6 9s ease-in-out infinite;
}

.tech-icon-7 {
  top: 50%;
  right: 18%;
  animation-delay: 2.5s;
  animation: float7 8s ease-in-out infinite;
}

.tech-icon-8 {
  top: 35%;
  right: 5%;
  animation-delay: 3.5s;
  animation: float8 10s ease-in-out infinite;
}

/* New tech icons - CSS, SCSS, Vercel, VS Code, LeetCode */
.tech-icon-9 {
  top: 10%;
  left: 25%;
  animation-delay: 0.5s;
  animation: float9 11s ease-in-out infinite;
}

.tech-icon-10 {
  top: 75%;
  left: 25%;
  animation-delay: 1.2s;
  animation: float10 7s ease-in-out infinite;
}

.tech-icon-11 {
  top: 80%;
  right: 30%;
  animation-delay: 2.8s;
  animation: float11 9s ease-in-out infinite;
}

.tech-icon-12 {
  top: 25%;
  left: 10%;
  animation-delay: 4.2s;
  animation: float12 8s ease-in-out infinite;
}

.tech-icon-13 {
  top: 65%;
  right: 35%;
  animation-delay: 3.8s;
  animation: float13 10s ease-in-out infinite;
}

/* Floating animations with rotation */
@keyframes float1 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-15px) rotate(90deg);
    opacity: 0.9;
  }
  50% { 
    transform: translateY(-10px) rotate(180deg);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes float2 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  33% { 
    transform: translateY(-20px) rotate(120deg) scale(1.1);
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-8px) rotate(240deg) scale(0.9);
    opacity: 0.8;
  }
}

@keyframes float3 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  40% { 
    transform: translateY(-18px) rotate(144deg);
    opacity: 0.9;
  }
  80% { 
    transform: translateY(-5px) rotate(288deg);
    opacity: 0.7;
  }
}

@keyframes float4 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  30% { 
    transform: translateY(-12px) rotate(108deg) scale(1.05);
    opacity: 0.8;
  }
  60% { 
    transform: translateY(-22px) rotate(216deg) scale(0.95);
    opacity: 0.9;
  }
  90% { 
    transform: translateY(-8px) rotate(324deg) scale(1.02);
    opacity: 0.8;
  }
}

@keyframes float5 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-25px) rotate(72deg);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-15px) rotate(144deg);
    opacity: 0.9;
  }
  75% { 
    transform: translateY(-30px) rotate(216deg);
    opacity: 0.7;
  }
}

@keyframes float6 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  33% { 
    transform: translateY(-18px) rotate(60deg) scale(1.05);
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-12px) rotate(300deg) scale(0.95);
    opacity: 0.8;
  }
}

@keyframes float7 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  40% { 
    transform: translateY(-22px) rotate(160deg);
    opacity: 0.8;
  }
  80% { 
    transform: translateY(-8px) rotate(320deg);
    opacity: 0.9;
  }
}

@keyframes float8 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-15px) rotate(90deg) scale(1.1);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-28px) rotate(180deg) scale(0.9);
    opacity: 0.9;
  }
  75% { 
    transform: translateY(-10px) rotate(270deg) scale(1.05);
    opacity: 0.7;
  }
}

/* New floating animations for additional icons */
@keyframes float9 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  33% { 
    transform: translateY(-20px) rotate(45deg) scale(1.1);
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-8px) rotate(315deg) scale(0.95);
    opacity: 0.8;
  }
}

@keyframes float10 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  40% { 
    transform: translateY(-25px) rotate(135deg);
    opacity: 0.9;
  }
  80% { 
    transform: translateY(-12px) rotate(270deg);
    opacity: 0.8;
  }
}

@keyframes float11 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-18px) rotate(180deg) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes float12 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  30% { 
    transform: translateY(-22px) rotate(90deg);
    opacity: 0.8;
  }
  70% { 
    transform: translateY(-15px) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes float13 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-16px) rotate(60deg) scale(1.08);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-24px) rotate(120deg) scale(0.92);
    opacity: 0.9;
  }
  75% { 
    transform: translateY(-8px) rotate(240deg) scale(1.03);
    opacity: 0.7;
  }
}

/* Dark mode adjustments for tech icons */
body.dark-mode .tech-icon {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Developer Todo List */
.dev-todo-list {
  position: absolute;
  top: 15%;
  right: 2%;
  width: 280px;
  background: rgba(20, 25, 35, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 16px;
  z-index: 10;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.todo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #61dafb;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.todo-header i {
  font-size: 16px;
}

.todo-items {
  max-height: 200px;
  overflow: hidden;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.75rem;
  color: #a0a0a0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: todoSlideIn 0.6s ease-out forwards;
}

.todo-item:last-child {
  border-bottom: none;
}

.todo-item.completed {
  opacity: 0.6;
  text-decoration: line-through;
  color: #00ff88;
  animation: todoStrikethrough 0.8s ease-out forwards;
}

.todo-item .todo-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.todo-item .todo-text {
  flex: 1;
  line-height: 1.3;
}

.todo-item .priority {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
}

.priority.high {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.priority.medium {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.priority.low {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

@keyframes todoSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes todoStrikethrough {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.resume-btn {
  display: flex !important;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.resume-btn .download-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.resume-btn:hover .download-icon {
  animation: downloadBounce 0.6s ease-in-out;
}

@keyframes downloadBounce {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-2px);
  }
}

/* Mobile responsive for tech icons */
@media (max-width: 768px) {
  .tech-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .tech-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .tech-icon i {
    font-size: 18px;
  }
  
  /* Adjust positions for mobile */
  .tech-icon-1 {
    top: 12%;
    left: 5%;
  }
  
  .tech-icon-2 {
    top: 20%;
    right: 8%;
  }
  
  .tech-icon-3 {
    top: 65%;
    left: 10%;
  }
  
  .tech-icon-4 {
    top: 75%;
    right: 5%;
  }
  
  .tech-icon-5 {
    top: 40%;
    left: 3%;
  }
  
  .tech-icon-6 {
    top: 25%;
    right: 15%;
  }
  
  .tech-icon-7 {
    top: 55%;
    right: 12%;
  }
  
  .tech-icon-8 {
    top: 35%;
    right: 3%;
  }
  
  /* New icons mobile positioning */
  .tech-icon-9 {
    top: 8%;
    left: 20%;
  }
  
  .tech-icon-10 {
    top: 70%;
    left: 20%;
  }
  
  .tech-icon-11 {
    top: 75%;
    right: 25%;
  }
  
  .tech-icon-12 {
    top: 20%;
    left: 8%;
  }
  
  .tech-icon-13 {
    top: 60%;
    right: 30%;
  }
  
  /* Hide todo list on mobile */
  .dev-todo-list {
    display: none;
  }
  
  /* Stack CTA buttons on mobile */
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* Hide mobile terminals on desktop */
.mobile-terminal-1,
.mobile-terminal-2 {
  display: none;
}

/* Mac-Style Terminal Layout - Partially Visible */
.code-terminal {
  position: absolute;
  transform: translate(-50%,-50%);
  background: rgba(20, 25, 35, 0.95);
  border-radius: 12px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(253, 1, 1, 0.1);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  filter: blur(0.5px);
}

/* Left Terminal Positioning - Partially Off-Screen */
.terminal-left {
  top: 50%;
  left: -15%;
  transform: translateY(-50%) rotate(-2deg);
  width: 40%;
  max-width: 450px;
  min-width: 350px;
  height: 300px;
  z-index: 1;
  opacity: 1;
}

/* Right Terminal Positioning - Partially Off-Screen */
.terminal-right {
  top: 50%;
  right: -15%;
  transform: translateY(-50%) rotate(2deg);
  width: 40%;
  max-width: 450px;
  min-width: 350px;
  height: 300px;
  z-index: 1;
  opacity: 1;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(40, 44, 52, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.btn:hover {
  filter: brightness(1.2);
}

.btn.red { 
  background: #ff5f57; 
}
.btn.yellow { 
  background: #ffbd2e; 
}
.btn.green { 
  background: #28ca42; 
}

.terminal-title {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.terminal-body {
  padding: 16px;
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.4;
  height: calc(100% - 60px);
  overflow: hidden;
}

.terminal-content {
  height: 160px;
  overflow: hidden;
  margin-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.terminal-content::-webkit-scrollbar {
  display: none;
}

.terminal-line {
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.8rem;
  opacity: 0.95;
  text-overflow: ellipsis;
}

.terminal-line.success {
  color: #10b981;
}

.terminal-line.error {
  color: #ef4444;
}

.terminal-line.info {
  color: #3b82f6;
}

.terminal-line.warning {
  color: #f59e0b;
}

.terminal-line.directory {
  color: #8b5cf6;
}

.code-line {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 8px;
}

.prompt {
  color: #10b981;
  font-weight: 600;
}

.command {
  color: #60a5fa;
  font-weight: 500;
}

.cursor {
  color: #e2e8f0;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Dark mode support for terminals */
body.dark-mode .code-terminal {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(160, 16, 16, 0.15);
}

body.dark-mode .terminal-header {
  background: rgba(8, 52, 123, 0.575);
}

/* Dark mode terminal opacity */
body.dark-mode .terminal-left {
  opacity: 0.7;
}

body.dark-mode .terminal-right {
  opacity: 0.7;
}

body.dark-mode .mac-terminal {
  opacity: 1;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .terminal-right {
    display: none; /* Hide right terminal on mobile */
  }
  
  .terminal-left {
    display: none; /* Hide left terminal on mobile */
  }
  
  /* Hide second mobile terminal */
  .mobile-terminal-2 {
    display: none !important;
  }
  
  /* Show only one mobile terminal at top */
  .mobile-terminal-1 {
    display: flex !important;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 100px;
    height: 70px;
    background: rgba(20, 25, 35, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 5;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-terminal-icon {
    color: #61dafb;
    font-size: 28px;
    opacity: 0.8;
    animation: terminalIconFloat 3s ease-in-out infinite;
  }
  
  @keyframes terminalIconFloat {
    0%, 100% {
      transform: translateY(0px);
      opacity: 0.8;
    }
    50% {
      transform: translateY(-5px);
      opacity: 1;
    }
  }
  
  .ellipse {
    width: min(25vw, 25vh);
    min-width: 100px;
    max-width: 130px;
    bottom: 9rem;
    right: 8rem;
  }
  
  .ellipse svg text {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .center-arrow i {
    font-size: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .terminal-left {
    left: -10%;
    width: 35%;
    min-width: 300px;
    height: 250px;
  }
  
  .terminal-right {
    right: -10%;
    width: 35%;
    min-width: 300px;
    height: 250px;
  }
  
  .terminal-content {
    height: 120px;
  }
  
  .terminal-body {
    padding: 14px;
    font-size: 0.8rem;
  }
  
  .ellipse {
    width: min(18vw, 18vh);
    min-width: 130px;
    max-width: 160px;
  }
}

/* Parallax Smooth Transitions */
.code-terminal,
.mac-terminal,
.dev-todo-list,
.floating-tech-icons,
.tech-icon,
.hero-content,
.mobile-terminal-1 {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

/* Modern Dark Portfolio Section */
.dark-portfolio-section {
  padding: 6rem 0;
  background: #000000;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Remove stars background */

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

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

.portfolio-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #444444;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
}

/* Floating Pill Tags */
.tagged-word {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 700;
}




.tagged-word:hover::before {
  opacity: 1;
  visibility: visible;
}



/* Different tag colors for variety */


/* Responsive adjustments for tags */
@media (max-width: 768px) {
  .tagged-word::after {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: -30px;
  }
  
  .tagged-word::before {
    top: -12px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }
}

@media (max-width: 480px) {
  .tagged-word::after {
    font-size: 0.55rem;
    padding: 2px 6px;
    top: -25px;
  }
  
  .tagged-word::before {
    top: -10px;
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-width: 5px;
  }
  
  /* On mobile, show tags briefly on tap */
  .tagged-word:active::after,
  .tagged-word:active::before {
    opacity: 1;
    visibility: visible;
  }
  
  .tagged-word:active::after {
    transform: translateX(-50%) translateY(0);
  }
}

.title-underline {
  display: none;
}

.projects-list {
  max-width: 800px;
  margin: 0 auto;
}

.project-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.project-link {
  display: flex;
  align-items: center;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.project-link:hover {
  text-decoration: none;
  color: inherit;
}

.project-item:last-child {
  border-bottom: none;
}

.project-item:hover {
  padding-left: 1rem;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.2);
}

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

.project-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #666;
  margin-right: 2rem;
  min-width: 40px;
  transition: all 0.3s ease;
  font-family: 'Monaco', 'Menlo', monospace;
}

.project-item:hover .project-number {
  color: #ffffff;
}

.project-content {
  flex: 1;
}

.project-name {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.project-item:hover .project-name {
  color: #ffffff;
  transform: none;
}

.project-link:hover .project-name {
  transform: translateX(5px);
}

.project-tech {
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
  margin: 0;
  transition: all 0.3s ease;
  font-family: 'Monaco', 'Menlo', monospace;
}

.project-item:hover .project-tech {
  color: #aaa;
}

.project-arrow {
  font-size: 1.5rem;
  color: #666;
  transition: all 0.3s ease;
  margin-left: 1rem;
  transform: translateX(-20px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-item:hover .project-arrow {
  color: #ffffff;
  transform: translateX(0);
  opacity: 1;
}

/* Simple Floating Preview Styles */
.floating-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 200px;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  will-change: transform, opacity;
}

.floating-preview.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dark mode adaptation for floating preview */
body.dark-mode .preview-card {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .image-overlay {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 70%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.preview-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.preview-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.preview-card:hover {
  transform: scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.preview-card:active {
  transform: scale(0.98);
}

.preview-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) contrast(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  transition: opacity 0.3s ease;
}

/* Preview info styles removed - showing only images */

/* Removed Glow Effects */

/* Responsive Design */
@media (max-width: 768px) {
  .dark-portfolio-section {
    padding: 4rem 0;
  }
  
  .portfolio-container {
    padding: 0 1rem;
  }
  
  .portfolio-title {
    font-size: 2.5rem;
  }
  
  .project-item {
    padding: 2rem 0;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .project-number {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .project-name {
    font-size: 1.5rem;
  }
  
  .project-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    font-size: 1.2rem;
    color: #666;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .project-item:hover .project-arrow {
    color: #ffffff;
    transform: translateY(-50%) translateX(5px);
  }
  
  .floating-preview {
    display: none; /* Hide on mobile for better performance */
  }
}

@media (max-width: 480px) {
  .portfolio-title {
    font-size: 2rem;
    letter-spacing: -1px;
  }
  
  .project-name {
    font-size: 1.3rem;
  }
  
  .project-tech {
    font-size: 0.8rem;
  }
  
  /* Disable floating preview on mobile/touch devices */
  .floating-preview {
    display: none !important;
  }
}

/* Experience Section Styles - Matching Hero Section */
.experience-section {
  min-height: 100vh;
  background: #eaeef6;
  position: relative;
  padding: 6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid Background Pattern for Experience Section */
.experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, hsl(261, 60%, 38%) 1px, transparent 1px),
    linear-gradient(0deg, hsl(261, 60%, 38%) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.15;
  z-index: 0;
  mask: linear-gradient(to bottom, 
    rgba(0,0,0,0.8) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.1) 80%, 
    rgba(0,0,0,0) 100%
  );
  -webkit-mask: linear-gradient(to bottom, 
    rgba(0,0,0,0.8) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.1) 80%, 
    rgba(0,0,0,0) 100%
  );
}

/* Experience Floating Tech Icons */
.experience-tech-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.experience-tech-icons .tech-icon-react {
  top: 10%;
  left: 8%;
  animation: experienceFloat1 8s ease-in-out infinite;
  background: rgba(97, 218, 251, 0.1);
  border-color: rgba(97, 218, 251, 0.3);
}

.experience-tech-icons .tech-icon-js {
  top: 20%;
  right: 10%;
  animation: experienceFloat2 10s ease-in-out infinite;
  animation-delay: 1s;
  background: rgba(247, 223, 30, 0.1);
  border-color: rgba(247, 223, 30, 0.3);
}

.experience-tech-icons .tech-icon-html {
  top: 60%;
  left: 12%;
  animation: experienceFloat3 9s ease-in-out infinite;
  animation-delay: 2s;
  background: rgba(227, 79, 38, 0.1);
  border-color: rgba(227, 79, 38, 0.3);
}

.experience-tech-icons .tech-icon-css {
  bottom: 25%;
  right: 15%;
  animation: experienceFloat4 11s ease-in-out infinite;
  animation-delay: 3s;
  background: rgba(21, 114, 182, 0.1);
  border-color: rgba(21, 114, 182, 0.3);
}

.experience-tech-icons .tech-icon-java {
  top: 40%;
  left: 5%;
  animation: experienceFloat5 7s ease-in-out infinite;
  animation-delay: 1.5s;
  background: rgba(237, 139, 0, 0.1);
  border-color: rgba(237, 139, 0, 0.3);
}

.experience-tech-icons .tech-icon-vercel {
  bottom: 15%;
  left: 20%;
  animation: experienceFloat6 12s ease-in-out infinite;
  animation-delay: 4s;
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.3);
}

.experience-tech-icons .tech-icon-git {
  top: 30%;
  right: 5%;
  animation: experienceFloat7 9s ease-in-out infinite;
  animation-delay: 2.5s;
  background: rgba(240, 80, 50, 0.1);
  border-color: rgba(240, 80, 50, 0.3);
}

/* Experience Float Animations */
@keyframes experienceFloat1 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  33% { 
    transform: translateY(-20px) rotate(120deg) scale(1.1);
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-10px) rotate(240deg) scale(0.95);
    opacity: 0.8;
  }
}

@keyframes experienceFloat2 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-25px) rotate(180deg);
    opacity: 0.9;
  }
}

@keyframes experienceFloat3 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  40% { 
    transform: translateY(-18px) rotate(144deg) scale(1.05);
    opacity: 0.8;
  }
  80% { 
    transform: translateY(-5px) rotate(288deg) scale(0.98);
    opacity: 0.9;
  }
}

@keyframes experienceFloat4 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  30% { 
    transform: translateY(-22px) rotate(108deg);
    opacity: 0.8;
  }
  70% { 
    transform: translateY(-12px) rotate(252deg);
    opacity: 0.9;
  }
}

@keyframes experienceFloat5 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-15px) rotate(90deg) scale(1.08);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-28px) rotate(270deg) scale(0.92);
    opacity: 0.9;
  }
}

@keyframes experienceFloat6 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes experienceFloat7 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.7;
  }
  35% { 
    transform: translateY(-16px) rotate(126deg) scale(1.06);
    opacity: 0.9;
  }
  65% { 
    transform: translateY(-24px) rotate(234deg) scale(0.94);
    opacity: 0.8;
  }
}

.experience-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Experience Badge Styles */
.experience-badge {
  position: absolute;
  right: 30%;
  bottom: -10px;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #b99ef8 0%, #8b5cf6 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
  transition: all 0.3s ease;
  transform: rotate(-15deg);
  width: auto;
  height: auto;
  min-width: 80px;
  text-align: center;
  z-index: -10;
  opacity: 1;
}

.experience-badge:hover {
  transform: rotate(-15deg) translateY(-3px);
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
  background: linear-gradient(135deg, #553c9a 0%, #7c3aed 100%);
  opacity: 1;
}

/* Make portfolio title position relative for badge positioning */
.experience-section .portfolio-title {
  position: relative;
  z-index: 10;
}

.experience-list {
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 2rem;
  transition: all 0.3s ease;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-item:hover {
  transform: translateY(-2px);
}

.experience-duration {
  flex-shrink: 0;
  width: 120px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b46c1;
  background: rgba(107, 70, 193, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-align: center;
  margin-top: 0.5rem;
}

.experience-content {
  flex: 1;
  text-align: left;
}

.experience-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.experience-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: #6a778e;
  margin: 0 0 1rem 0;
}

.experience-description {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.experience-tech {
  font-size: 0.9rem;
  color: #6b46c1;
  font-weight: 500;
}

/* Experience Responsive Design */
@media (max-width: 768px) {
  .experience-section {
    padding: 4rem 0;
  }
  
  .experience-container {
    padding: 2rem 1rem;
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .experience-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 2rem 0;
  }
  
  .experience-duration {
    width: auto;
    margin-top: 0;
  }
  
  .experience-title {
    font-size: 1.3rem;
  }
  
  .experience-company {
    font-size: 1rem;
  }
  
  .experience-description {
    font-size: 0.9rem;
  }
  
  .experience-tech {
    font-size: 0.8rem;
  }
  
  /* Experience Badge Mobile Styles */
  .experience-badge {
    right: -60px;
    bottom: -30px;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    min-width: 70px;
    transform: rotate(20deg);
  }
  
  .experience-badge:hover {
    transform: rotate(20deg) translateY(-2px);
  }
  
  /* Reduce floating icons on mobile */
  .experience-tech-icons .tech-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .experience-tech-icons .tech-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .experience-title {
    font-size: 1.2rem;
  }
  
  .experience-duration {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .experience-container {
    padding: 1.5rem 0.8rem;
  }
  
  /* Experience Badge Small Mobile Styles */
  .experience-badge {
    right: -50px;
    bottom: -25px;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    min-width: 60px;
    transform: rotate(20deg);
  }
  
  .experience-badge:hover {
    transform: rotate(20deg) translateY(-1px);
  }
  
  /* Hide some floating icons on very small screens */
  .experience-tech-icons .tech-icon-java,
  .experience-tech-icons .tech-icon-vercel {
    display: none;
  }
}

/* Enhanced Tagged Words for Experience Section */
.experience-section .tagged-word {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-section .tagged-word::after {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 25px rgba(107, 70, 193, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-section .tagged-word[data-tag="Creative"]::after {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(52, 211, 153, 0.95) 100%);
  box-shadow: 
    0 8px 25px rgba(16, 185, 129, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-section .tagged-word[data-tag="Experience"]::after {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(251, 191, 36, 0.95) 100%);
  box-shadow: 
    0 8px 25px rgba(245, 158, 11, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-section .tagged-word[data-tag="Development"]::after {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(52, 211, 153, 0.95) 100%);
  box-shadow: 
    0 8px 25px rgba(16, 185, 129, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-section .tagged-word[data-tag="Journey"]::after {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(167, 139, 250, 0.95) 100%);
  box-shadow: 
    0 8px 25px rgba(139, 92, 246, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Floating animation for tags */
@keyframes tagFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-2px) scale(1.02);
  }
}

.experience-section .tagged-word:hover::after {
  animation: tagFloat 2s ease-in-out infinite;
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
  .tagged-word::after {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
  }
  
  .tagged-word[data-tag="Creative"]::after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(52, 211, 153, 0.9) 100%);
  }
  
  .tagged-word[data-tag="Experience"]::after {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(251, 191, 36, 0.9) 100%);
  }
  
  .tagged-word[data-tag="Development"]::after {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(52, 211, 153, 0.9) 100%);
  }
  
  .tagged-word[data-tag="Journey"]::after {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(167, 139, 250, 0.9) 100%);
  }
}

/* Skills Grid Section Styles */
.skills-grid-section {
  min-height: 100vh;
  background: #000000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.skills-wrapper {
  position: relative;
  width: 90%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  margin: 10% 0% 10% 0%;
}

.skills-grid-container {
  width: 100%;
  position: absolute;
  z-index: 10;
  
}

.skills-pre-grid {
  grid-column-gap: 15px;
  margin: 0px;
  grid-row-gap: 15px;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-columns: 1fr;
  height: 100vh;
  width: 100%;
  display: grid;
  position: relative;
}

.skill-grid-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Cell Number Styling */
.cell-number {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  z-index: 20;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.skill-grid-cell:hover  {
  color: rgba(99, 102, 241, 0.9);
 
}
.cell-number{
   background: rgba(99, 102, 241, 0.2);
  transform: scale(1.05);
  
}

.skill-grid-cell.reveal {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Different sized cells */
.skill-grid-cell.large {
  grid-column: span 2;
  grid-row: span 2;
}

.skill-grid-cell.wide {
  grid-column: span 2;
}

.skill-grid-cell.extra-wide {
  grid-column: span 3;
}

.skill-grid-cell.tall {
  grid-row: span 2;
}

/* Grid Lines for Cursor Effect */
.skills-grid-lines {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.skills-grid-lines_cursor-position {
  position: absolute;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.skills-grid-lines_cursor {
  aspect-ratio: 1;
  width: 400px;
  border-radius: 50%;
  background-image: radial-gradient(
    circle farthest-corner at 50% 50%,
    rgba(99, 102, 241, 0.3) 10%,
    transparent 70%
  );
  position: absolute;
  top: -200px;
  left: -200px;
  opacity: 1;
  filter: blur(70px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Animations */
@keyframes skillContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* *{
  border: 2px solid green;
} */

/* Responsive Design */
@media (max-width: 1024px) {
  .skills-pre-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
  }
  
  .skill-grid-cell.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .skills-pre-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  
  .skill-grid-cell.large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .skill-grid-cell.wide {
    grid-column: span 2;
  }
  
  .skill-grid-cell.tall {
    grid-row: span 1;
  }
  
  /* Medium cell numbers for tablet */
  .cell-number {
    font-size: 1rem;
    top: 8px;
    right: 8px;
    padding: 3px 6px;
  }
}


@media (max-width: 480px) {
  .skills-pre-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 8px;
  }
  
  .skill-grid-cell {
    min-height: 120px;
  }
  
  .skill-grid-cell.large,
  .skill-grid-cell.wide,
  .skill-grid-cell.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  /* Smaller cell numbers for mobile */
  .cell-number {
    font-size: 0.8rem;
    top: 6px;
    right: 6px;
    padding: 2px 4px;
  }
}

/* Special reveal cell styling */
.skill-grid-cell.reveal:hover {
  background-color: rgba(187, 187, 187, 0.1);
}

/* Personal Life Section - Minimalist Banner */
.personal-life-section {
  padding: 4rem 0;
  background: #EAEEF6;
  position: relative;
  min-height: 60vh;
  margin-top: 10%;
  display: flex;  
  align-items: center;
  justify-content: center;
  flex-direction: column;

}

.personal-life-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, hsl(261, 60%, 38%) 1px, transparent 1px),
    linear-gradient(0deg, hsl(261, 60%, 38%) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.15;
  z-index: 0;
  mask: linear-gradient(to top, 
    rgba(0,0,0,0.8) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.1) 80%, 
    rgba(0,0,0,0) 100%
  );
  -webkit-mask: linear-gradient(to top, 
    rgba(0,0,0,0.8) 0%, 
    rgba(0,0,0,0.4) 50%, 
    rgba(0,0,0,0.1) 80%, 
    rgba(0,0,0,0) 100%
  );
}

.banner {
  background-color: #f7f3e8;
  display: flex;
  justify-content: center;
  align-items: center;
      flex-direction: row;

  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 300px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.banner-content {
  text-align: center;
  display: flex;
  gap: 8rem;
  z-index: 10;
}
.banner-svgs{
}
.svgss{
  margin-top: 10%;

}
.banner-content-flex{
  margin-top: -15%;
}
.banner-title {
  font-family: 'Allura', cursive;
  font-size: 4rem;
  color: #e54b8a;
  font-weight: normal;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.banner-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #3b5042;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

/* Decorative Shapes */
.shape-circle {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #553366;
  border-radius: 50%;
  top: 20px;
  left: 20px;
}

.shape-clover {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #30cc7c;
  transform: rotate(45deg);
  bottom: 20px;
  left: 20px;
  border-radius: 4px;
}

.shape-flower {
  position: absolute;
  top: 30px;
  right: 30px;
}

.shape-flower svg {
  width: 60px;
  height: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner {
    min-height: 250px;
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .banner-title {
    font-size: 2.8rem;
  }
  
  .banner-subtitle {
    font-size: 1.8rem;
  }
  
  .shape-circle {
    width: 12px;
    height: 12px;
    top: 15px;
    left: 15px;
  }
  
  .shape-clover {
    width: 25px;
    height: 25px;
    bottom: 15px;
    left: 15px;
  }
  
  .shape-flower {
    top: 20px;
    right: 20px;
  }
  
  .shape-flower svg {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .personal-life-section {
    padding: 2rem 0;
  }
  
  .banner {
    min-height: 200px;
    padding: 1.5rem 1rem;
  }
  
  .banner-title {
    font-size: 2.2rem;
  }
  
  .banner-subtitle {
    font-size: 1.4rem;
  }
  
  .shape-circle {
    width: 10px;
    height: 10px;
    top: 12px;
    left: 12px;
  }
  
  .shape-clover {
    width: 20px;
    height: 20px;
    bottom: 12px;
    left: 12px;
  }
  
  .shape-flower {
    top: 15px;
    right: 15px;
  }
  
  .shape-flower svg {
    width: 35px;
    height: 35px;
  }
}


