/* ===== CSS VARIABLES FOR THEME SYSTEM ===== */
:root {
  /* Dark Theme (Default) - Deep dark with subtle cyan/green accent */
  --bg-primary: #0a0f14;
  --bg-secondary: #0d1318;
  --bg-tertiary: #141c24;
  --text-primary: #e8eef4;
  /* Soft off-white for readability */
  --text-secondary: #8a9aaa;
  /* Muted gray-blue for secondary text */
  --brand-color: #00ff88;
  /* Vibrant cyan-green accent */
  --brand-hover: #00cc6a;
  /* Slightly darker on hover */
  --brand-on-green: #0a0f14;
  /* Dark text for green backgrounds */
  --border-color: #1e2a36;
  --shadow: rgba(0, 255, 136, 0.15);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f0f4f8;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e4ecf4;
  --text-primary: #0a1628;
  /* Dark navy text */
  --text-secondary: #4a5f7a;
  --brand-color: #00b87a;
  /* Balanced green accent */
  --brand-hover: #009962;
  /* Darker on hover */
  --brand-on-green: #ffffff;
  /* White text for green backgrounds in light theme */
  --border-color: #d0dce8;
  --shadow: rgba(0, 184, 122, 0.12);
}

/* ===== RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== CUSTOM SCROLLBAR STYLES ===== */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--brand-color);
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-hover);
  border-width: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

::-webkit-scrollbar-thumb:active {
  background: var(--brand-hover);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Light theme scrollbar adjustments */
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: var(--brand-color);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: var(--brand-hover);
  box-shadow: 0 0 10px rgba(0, 179, 0, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:active {
  background: var(--brand-hover);
  box-shadow: 0 0 15px rgba(0, 179, 0, 0.5);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-color) var(--bg-secondary);
}

[data-theme="light"] html {
  scrollbar-color: var(--brand-color) var(--bg-secondary);
}

/* ===== SECTIONS STYLING ===== */
/* Sections have natural height based on content */
.hero-section,
.about-section,
.skills-section,
.education-section,
.projects-section,
.contact-section {
  min-height: 100vh;
}

/* Custom text selection colors */
::selection {
  background-color: var(--brand-color);
  color: var(--bg-primary);
}

::-moz-selection {
  background-color: var(--brand-color);
  color: var(--bg-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== LOADING SCREEN STYLES ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
  animation: backgroundPulse 3s ease-in-out infinite;
}

/* Animated Background Waves */
.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 0, 0.1);
  animation: waveExpand 3s ease-out infinite;
}

.wave1 {
  animation-delay: 0s;
}

.wave2 {
  animation-delay: 1s;
  border-color: rgba(0, 255, 136, 0.08);
}

.wave3 {
  animation-delay: 2s;
  border-color: rgba(0, 255, 0, 0.05);
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.loading-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--brand-color);
  animation: breathingGlow 2s ease-in-out infinite;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.loading-logo::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 0, 0.2);
  animation: rippleEffect 2s ease-out infinite;
}

.loading-logo::after {
  content: '';
  position: absolute;
  top: -35px;
  left: -35px;
  right: -35px;
  bottom: -35px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 0, 0.1);
  animation: rippleEffect 2s ease-out infinite 0.5s;
}

.loading-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.1);
}

.loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.letter {
  display: inline-block;
  color: var(--text-primary);
  animation: letterPop 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

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

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

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

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

.letter:nth-child(6) {
  animation-delay: 0.6s;
}

.letter:nth-child(7) {
  animation-delay: 0.7s;
}

.letter:nth-child(9) {
  animation-delay: 0.9s;
}

.letter:nth-child(10) {
  animation-delay: 1.0s;
}

.letter:nth-child(11) {
  animation-delay: 1.1s;
}

.letter:nth-child(12) {
  animation-delay: 1.2s;
}

.letter:nth-child(13) {
  animation-delay: 1.3s;
}

.letter:nth-child(14) {
  animation-delay: 1.4s;
}

.letter:nth-child(15) {
  animation-delay: 1.5s;
}

.letter:nth-child(16) {
  animation-delay: 1.6s;
}

.space {
  width: 0.5em;
}

.loading-status {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dots {
  margin-left: 4px;
}

.dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--brand-color);
  border-radius: 50%;
  margin: 0 1px;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

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

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

.loading-bar {
  width: 250px;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg,
      var(--brand-color) 0%,
      #00ff88 25%,
      var(--brand-color) 50%,
      #00ff88 75%,
      var(--brand-color) 100%);
  border-radius: 3px;
  animation: loadingProgress 1.5s ease-out, progressShine 2s ease-in-out infinite;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.loading-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes loadingProgress {
  0% {
    width: 0%;
    opacity: 0.8;
  }

  100% {
    width: 100%;
    opacity: 1;
  }
}

@keyframes breathingGlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    border-color: var(--brand-color);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.6), 0 0 80px rgba(0, 255, 0, 0.2);
    border-color: #00ff88;
  }
}

@keyframes rippleEffect {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes borderSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    color: var(--text-primary);
  }

  100% {
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.4);
    color: var(--brand-color);
  }
}

@keyframes progressShine {

  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 100%;
  }
}

@keyframes backgroundPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Loading Particles */
.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand-color);
  border-radius: 50%;
  opacity: 0.6;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: floatParticle 3s ease-in-out infinite, particleGlow 2s ease-in-out infinite alternate;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation: floatParticle 4s ease-in-out infinite, particleGlow 2s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 20%;
  animation: floatParticle 3.5s ease-in-out infinite, particleGlow 2s ease-in-out infinite alternate;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation: floatParticle 2.8s ease-in-out infinite, particleGlow 2s ease-in-out infinite alternate;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  top: 70%;
  left: 50%;
  animation: floatParticle 3.2s ease-in-out infinite, particleGlow 2s ease-in-out infinite alternate;
  animation-delay: 2s;
}

.loading-status {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
  animation: statusBlink 1.5s ease-in-out infinite;
  margin-top: 0.5rem;
}

@keyframes floatParticle {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }

  25% {
    transform: translateY(-20px) translateX(10px) scale(1.2);
  }

  50% {
    transform: translateY(-10px) translateX(-15px) scale(0.8);
  }

  75% {
    transform: translateY(-25px) translateX(5px) scale(1.1);
  }
}

@keyframes particleGlow {
  0% {
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    background: var(--brand-color);
  }

  100% {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8), 0 0 25px rgba(0, 255, 0, 0.4);
    background: #00ff88;
  }
}

@keyframes waveExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

@keyframes letterPop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }

  50% {
    transform: translateY(-5px) scale(1.1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    color: var(--brand-color);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  }
}

@keyframes dotBounce {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes statusBlink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0.5;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
}

/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@600;700&display=swap');

/* ===== NAVBAR STYLES ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Light theme navbar adjustments */
[data-theme="light"] .navbar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 100%;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: none;
}

/* Show name on larger screens */
@media (min-width: 769px) {
  .navbar-name {
    display: block;
  }
}

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

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

/* ===== PROFILE PHOTO STYLES ===== */
.profile-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-color);
  cursor: pointer;
}

/* ===== NAVIGATION MENU STYLES ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-color);
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--brand-color);
  background-color: var(--bg-tertiary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* ===== HIRE ME BUTTON STYLES ===== */
.hire-btn {
  background: linear-gradient(135deg, var(--brand-color), var(--brand-hover));
  color: var(--brand-on-green);
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.hire-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.3);
  background: linear-gradient(135deg, var(--brand-hover), var(--brand-color));
}

.hire-btn:active {
  transform: translateY(-1px);
}

/* ===== THEME TOGGLE BUTTON STYLES ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  border-color: var(--brand-color);
  background: var(--bg-secondary);
}

.theme-toggle:active {
  transform: scale(0.9);
}

.theme-toggle-slider {
  display: none;
}

.theme-toggle-icon {
  font-size: 19px;
  transition: all 0.2s ease;
  color: var(--text-primary);
}

.theme-toggle-icon.moon {
  opacity: 1;
}

.theme-toggle-icon.sun {
  opacity: 0;
  position: absolute;
}

[data-theme="light"] .theme-toggle-icon.sun {
  opacity: 1;
}

[data-theme="light"] .theme-toggle-icon.moon {
  opacity: 0;
}

/* ===== HAMBURGER MENU STYLES ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}

.hamburger:hover {
  background-color: var(--bg-tertiary);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  display: block;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Show hamburger on mobile devices */
@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }

  .navbar-center {
    display: none !important;
  }
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background-color: var(--bg-secondary);
  backdrop-filter: blur(10px);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 2rem;
  gap: 0;
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
}

/* Show mobile menu on mobile devices */
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* Light theme mobile menu adjustments */
[data-theme="light"] .mobile-menu {
  background-color: var(--bg-secondary);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 0;
  border-radius: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  display: block;
  width: 100%;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--brand-color);
  background-color: transparent;
  transform: translateX(5px);
}

/* Remove the green line completely */
.mobile-nav-link::before {
  display: none;
}

.mobile-nav-link:hover::before {
  display: none;
}

.mobile-nav-link.active::before {
  display: none;
}

.mobile-hire-btn {
  margin-top: 2rem;
  align-self: stretch;
  text-align: center;
  padding: 1rem 1.5rem;
}

/* ===== FLOATING BOOKMARK NAVIGATION ===== */
.bookmark-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bookmark-nav.visible {
  opacity: 1;
  visibility: visible;
}

.bookmark-nav.navbar-hidden {
  transform: translateY(-50%) translateX(100px);
  opacity: 0;
}

.bookmark-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(26, 26, 26, 0.9);
  padding: 1rem 0.5rem;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px var(--shadow);
}

.bookmark-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  overflow: visible;
  min-width: 60px;
}

.bookmark-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-color), transparent);
  opacity: 0;
  transition: all 0.6s ease;
}

.bookmark-item:hover::before {
  left: 100%;
  opacity: 0.1;
}

.bookmark-item:hover {
  background: rgba(0, 255, 0, 0.05);
  border-left: 3px solid var(--brand-color);
}

.bookmark-item.active {
  background: rgba(0, 255, 0, 0.1);
  border-left: 3px solid var(--brand-color);
}

.bookmark-item.active .bookmark-icon {
  color: var(--brand-color);
  transform: scale(1.1);
}

.bookmark-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bookmark-text {
  display: none;
  /* Hide expanding text, use tooltips instead */
}

.bookmark-item:hover .bookmark-text {
  opacity: 1;
  transform: translateX(0);
  max-width: 80px;
}

.bookmark-item:hover .bookmark-icon {
  color: var(--brand-color);
}

/* Tooltip for desktop */
.bookmark-item .tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.95);
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 1rem;
  pointer-events: none;
  border: 1px solid var(--brand-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 0, 0.1);
  z-index: 1001;
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
}

.bookmark-item .tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: rgba(26, 26, 26, 0.95);
  filter: drop-shadow(1px 0 0 var(--brand-color));
}

.bookmark-item:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 0, 0.2), 0 0 20px rgba(0, 255, 0, 0.1);
  transition-delay: 0.2s;
}

/* Enhanced tooltip animation */
.bookmark-item:hover .tooltip::after {
  border-left-color: rgba(26, 26, 26, 0.95);
  animation: tooltipGlow 0.3s ease-out;
}

@keyframes tooltipGlow {
  0% {
    filter: drop-shadow(1px 0 0 var(--brand-color)) drop-shadow(0 0 0 transparent);
  }

  100% {
    filter: drop-shadow(1px 0 0 var(--brand-color)) drop-shadow(0 0 8px rgba(0, 255, 0, 0.3));
  }
}

/* Light theme tooltip */
[data-theme="light"] .bookmark-item .tooltip {
  background: rgba(248, 249, 250, 0.95);
  border-color: var(--brand-color);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 179, 0, 0.2);
}

[data-theme="light"] .bookmark-item .tooltip::after {
  border-left-color: rgba(248, 249, 250, 0.95);
  filter: drop-shadow(1px 0 0 var(--brand-color));
}

[data-theme="light"] .bookmark-item:hover .tooltip {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 179, 0, 0.3), 0 0 20px rgba(0, 179, 0, 0.1);
}

/* Hide tooltips on mobile */
@media (max-width: 768px) {
  .bookmark-item .tooltip {
    display: none;
  }
}

/* Ensure tooltips show properly on large screens */
@media (min-width: 1200px) {
  .bookmark-item .tooltip {
    display: block !important;
  }

  .bookmark-item:hover .tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(-8px) scale(1.02) !important;
  }

  /* Force tooltip visibility on hover */
  .bookmark-nav:hover .bookmark-item .tooltip {
    pointer-events: none;
  }
}

/* Light theme adjustments */
[data-theme="light"] .bookmark-container {
  background: rgba(248, 249, 250, 0.95);
  border-color: var(--border-color);
}

[data-theme="light"] .bookmark-item:hover {
  background: rgba(0, 179, 0, 0.05);
}

[data-theme="light"] .bookmark-item.active {
  background: rgba(0, 179, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .bookmark-nav {
    display: none;
    /* Always hide full bookmark on mobile */
  }
}

/* Medium screens - hide bookmark, use go-to-top only */
@media (min-width: 769px) and (max-width: 1199px) {
  .bookmark-nav {
    display: none !important;
  }
}

/* Large screens 1200px+ - show full bookmark */
@media (min-width: 1200px) {
  .bookmark-nav {
    right: 0.5rem;
    /* Move closer to right edge (was 2rem = 32px, now 0.5rem = 8px) */
    display: block;
  }

  .bookmark-nav.force-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) !important;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .bookmark-nav {
    right: 3rem;
  }
}

@media (max-width: 480px) {
  .bookmark-nav {
    display: none !important;
  }
}

/* ===== GO TO TOP BUTTON (MOBILE) ===== */
.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 45px;
  height: 45px;
  background: var(--brand-color);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 255, 0, 0.3);
  transition: all 0.3s ease;
  transform: scale(0) translateY(20px);
  opacity: 0;
}

.go-to-top.visible {
  display: flex;
  transform: scale(1) translateY(0);
  opacity: 1;
  animation: bounceIn 0.6s ease-out;
}

.go-to-top.hide {
  transform: scale(0) translateY(20px);
  opacity: 0;
}

@keyframes bounceIn {
  0% {
    transform: scale(0) translateY(30px);
    opacity: 0;
  }

  50% {
    transform: scale(1.1) translateY(-5px);
    opacity: 0.8;
  }

  70% {
    transform: scale(0.95) translateY(2px);
    opacity: 0.9;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes bounceOut {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  100% {
    transform: scale(0) translateY(20px);
    opacity: 0;
  }
}

.go-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 255, 0, 0.4);
}

.go-to-top:active {
  transform: scale(0.95);
}

.go-to-top i {
  color: var(--brand-on-green);
  font-size: 1rem;
  font-weight: bold;
}

/* Light theme adjustments */
[data-theme="light"] .go-to-top {
  background: var(--brand-color);
  box-shadow: 0 4px 20px rgba(0, 179, 0, 0.3);
}

[data-theme="light"] .go-to-top:hover {
  box-shadow: 0 6px 25px rgba(0, 179, 0, 0.4);
}

/* Show go-to-top on mobile and medium screens */
@media (max-width: 768px) {
  .go-to-top {
    display: flex;
  }
}

/* Show go-to-top on medium screens (769px-1199px) when bookmark is not available */
@media (min-width: 769px) and (max-width: 1199px) {
  .go-to-top.show-for-medium {
    display: flex !important;
  }

  .go-to-top:not(.show-for-medium) {
    display: none;
  }
}

/* Hide go-to-top on large screens (1200px+) where bookmark is available */
@media (min-width: 1200px) {
  .go-to-top {
    display: none !important;
  }
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
  /* Default: Auto height for very tall screens */
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: visible;
  padding-top: 60px;
  padding-bottom: 2rem;
  margin-bottom: 0;
}

/* Laptops and computers - use full viewport height */
@media (min-width: 1024px) and (min-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding-bottom: 0;
  }
}

/* Tablets in landscape - use full viewport height if reasonable */
@media (min-width: 768px) and (max-width: 1023px) and (min-height: 500px) and (max-height: 900px) {
  .hero-section {
    min-height: 100vh;
    padding-bottom: 0;
  }
}

/* Very tall mobile devices - use content-based height to allow seeing content below */
@media (max-width: 767px) and (min-height: 800px) {
  .hero-section {
    min-height: auto;
    max-height: none;
    padding-bottom: 2rem;
    overflow: visible;
    height: auto;
  }

  .hero-container {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .hero-social {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* Regular mobile devices - use reasonable height */
@media (max-width: 767px) and (max-height: 799px) {
  .hero-section {
    min-height: 100vh;
    padding-bottom: 0;
  }
}

/* ===== FADE-IN ANIMATIONS FOR SECTIONS ===== */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Different animation delays for staggered effect */
.fade-section.delay-1 {
  transition-delay: 0.1s;
}

.fade-section.delay-2 {
  transition-delay: 0.2s;
}

.fade-section.delay-3 {
  transition-delay: 0.3s;
}

.fade-section.delay-4 {
  transition-delay: 0.4s;
}

/* Animation variants */
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-left.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-right.fade-in {
  opacity: 1;
  transform: translateX(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .fade-section,
  .fade-left,
  .fade-right,
  .fade-up,
  .scale-in {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Mobile hero content spacing */
@media (max-width: 768px) {
  .hero-content {
    gap: 0.8rem;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    gap: 0.6rem;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .hero-content {
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-color);
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-name {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-role {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-color);
  margin: 0.5rem 0 1rem 0;
  min-height: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.typing-cursor {
  display: inline-block;
  color: var(--brand-color);
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-link {
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.hero-link:hover {
  color: var(--brand-hover);
  border-bottom-color: var(--brand-hover);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-color), var(--brand-hover));
  color: var(--brand-on-green);
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  transform: translateY(-3px);
}

.hero-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid var(--border-color);
  position: relative;
  flex-shrink: 0;
}

.social-link i {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.social-link span {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

/* Specific styling for X logo to make it larger */
.social-link span {
  font-size: 2.233rem;
  font-weight: 700;
  line-height: 1;
}

.social-link:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  background: rgba(0, 255, 0, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.4s forwards;
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.image-container::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.15) 0%, rgba(0, 255, 0, 0.08) 50%, transparent 80%);
  border-radius: 50%;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

[data-theme="light"] .image-container::before {
  background: radial-gradient(circle, rgba(0, 179, 0, 0.12) 0%, rgba(0, 179, 0, 0.06) 50%, transparent 80%);
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-color);
  box-shadow:
    0 0 30px rgba(0, 255, 0, 0.4),
    0 0 60px rgba(0, 255, 0, 0.2),
    0 0 100px rgba(0, 255, 0, 0.15),
    0 10px 30px rgba(0, 255, 0, 0.2);
  transition: all 0.3s ease;
}

[data-theme="light"] .profile-image {
  box-shadow:
    0 0 30px rgba(0, 179, 0, 0.4),
    0 0 60px rgba(0, 179, 0, 0.2),
    0 0 100px rgba(0, 179, 0, 0.15),
    0 10px 30px rgba(0, 179, 0, 0.2);
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 40px rgba(0, 255, 0, 0.5),
    0 0 80px rgba(0, 255, 0, 0.3),
    0 0 140px rgba(0, 255, 0, 0.2),
    0 15px 40px rgba(0, 255, 0, 0.3);
}

[data-theme="light"] .profile-image:hover {
  box-shadow:
    0 0 40px rgba(0, 179, 0, 0.5),
    0 0 80px rgba(0, 179, 0, 0.3),
    0 0 140px rgba(0, 179, 0, 0.2),
    0 15px 40px rgba(0, 179, 0, 0.3);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: float 3s ease-in-out infinite;
}

.floating-badge i {
  color: var(--brand-color);
  font-size: 1rem;
}

.badge-1 {
  top: 5%;
  right: -20%;
  animation-delay: 0s;
}

.badge-2 {
  top: 50%;
  left: -25%;
  animation-delay: 1s;
}

.badge-3 {
  bottom: 10%;
  right: -15%;
  animation-delay: 2s;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.6s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.scroll-mouse:hover {
  border-color: var(--brand-color);
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--brand-color);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

/* ===== HERO ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

/* ===== LIGHT THEME HERO ADJUSTMENTS ===== */
[data-theme="light"] .hero-section {
  background: var(--bg-primary);
}

[data-theme="light"] .floating-badge {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .social-link {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="light"] .social-link:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
}

[data-theme="light"] .profile-image {
  box-shadow: 0 10px 30px rgba(0, 179, 0, 0.15);
}

[data-theme="light"] .profile-image:hover {
  box-shadow: 0 15px 40px rgba(0, 179, 0, 0.25);
}

[data-theme="light"] .hero-btn.primary {
  box-shadow: 0 4px 15px rgba(0, 179, 0, 0.2);
}

[data-theme="light"] .hero-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(0, 179, 0, 0.3);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 0 0 10px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, var(--shadow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Container */
.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

/* Content and Stats Row */
.about-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* About Content */
.about-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.2s;
}

.about-content.animate {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  margin-bottom: 50px;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: left;
  word-spacing: normal;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

/* Skills Highlight */
.skills-highlight {
  margin-top: 0;
  padding-top: 0;
}

.skills-highlight h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  font-weight: 600;
}

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

.skill-item {
  background: var(--bg-tertiary);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.skill-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.skill-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-color);
  box-shadow: 0 10px 30px var(--shadow);
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.skill-icon i {
  font-size: 1.5rem;
  color: var(--brand-on-green);
}

.skill-item:hover .skill-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 15px var(--shadow);
}

.skill-item h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.skill-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Stats */
.about-stats {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: fit-content;
}

.about-stats.animate {
  opacity: 1;
  transform: translateX(0);
}

.stats-container {
  background: var(--bg-tertiary);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-color), transparent);
}

.stat-item {
  text-align: center;
  margin-bottom: 25px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease;
}

.stat-item.animate {
  opacity: 1;
  transform: scale(1);
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-color);
  display: inline;
  margin-bottom: 5px;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-color);
  display: inline;
  margin-left: 0;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-top-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  /* Reduce section header bottom spacing on mobile */
  .section-header {
    margin-bottom: 20px;
  }

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

  /* Hide "What I Do" section on mobile */
  .skills-highlight {
    display: none;
  }

  /* Left align text for "Who Am I" section - normal word spacing */
  .about-text p {
    text-align: left;
    word-spacing: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
  }

  /* Remove margins from "Who Am I" section on mobile */
  .about-text {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .about-text h3 {
    margin-top: 0;
    padding-top: 0;
  }

  .about-content,
  .about-stats {
    transform: translateY(50px);
  }

  .about-content.animate,
  .about-stats.animate {
    transform: translateY(0);
  }
}

/* ===== SKILLS SECTION STYLES ===== */
.skills-section {
  background: var(--bg-primary);
  padding: 0 0 2rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
  /* Ensure proper scroll positioning */
}

.skills-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* Main Skills with Progress Bars */
.main-skills h3,
.supporting-skills h3 {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.main-skills h3::after,
.supporting-skills h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--brand-color);
  border-radius: 2px;
}

.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-bar {
  background: #2d2d2d;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

/* Light theme skill bars */
[data-theme="light"] .skill-bar {
  background: #f8f9fa;
}

.skill-bar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.1);
  border-color: var(--brand-color);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.skill-name i {
  font-size: 1.2rem;
  color: var(--brand-color);
}

.skill-percentage {
  font-weight: 600;
  color: var(--brand-color);
  position: relative;
  background: linear-gradient(90deg,
      var(--brand-color) 0%,
      #00ff00 25%,
      #00cc00 50%,
      #00ff00 75%,
      var(--brand-color) 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallicShine 3s ease-in-out infinite;
}

@keyframes metallicShine {

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

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

.progress-bar {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg,
      rgba(0, 255, 0, 0.8),
      rgba(0, 255, 0, 0.9),
      rgba(0, 255, 0, 1));
  border-radius: 10px;
  width: 0;
  transition: width 2s ease-in-out 0.5s;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.3),
      transparent);
  animation: progressShine 2.5s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes progressShine {
  0% {
    left: -50%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    left: 100%;
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Supporting Skills Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.tool-item {
  background: #2d2d2d;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Light theme tool items */
[data-theme="light"] .tool-item {
  background: #f8f9fa;
}

.tool-item:hover {
  transform: translateY(-5px);
  border-color: var(--brand-color);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.15);
}

.tool-item .tool-icon {
  margin-bottom: 1rem;
}

.tool-item .tool-icon i {
  font-size: 2.5rem;
  color: var(--brand-color);
  transition: all 0.3s ease;
}

.tool-item:hover .tool-icon i {
  transform: scale(1.1);
}

.tool-item span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Learning Section */
.learning-section {
  text-align: center;
  margin-top: 1.5rem;
}

.learning-section h3 {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.learning-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--brand-color);
  border-radius: 2px;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.learning-tag {
  background: #2d2d2d;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Light theme learning tags */
[data-theme="light"] .learning-tag {
  background: #f8f9fa;
}

.learning-tag:hover {
  border-color: var(--brand-color);
  background: rgba(0, 255, 0, 0.05);
  transform: translateY(-2px);
}

.learning-tag i {
  color: var(--brand-color);
}

/* ===== EDUCATION SECTION STYLES ===== */
.education-section {
  background: var(--bg-primary);
  padding: 0 0 3.125rem 0;
  position: relative;
  scroll-margin-top: 80px;
}

/* Education Timeline */
.education-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-color), rgba(0, 255, 0, 0.3));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: 15px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.timeline-content {
  background: #2d2d2d;
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--brand-color);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
  transform: translateY(-5px);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #2d2d2d;
}

.timeline-period {
  background: var(--brand-color);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.education-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

.education-status.pursuing {
  background: rgba(0, 123, 255, 0.2);
  color: #007bff;
  border: 1px solid rgba(0, 123, 255, 0.4);
}

.education-status.completed {
  background: rgba(0, 255, 0, 0.2);
  color: var(--brand-color);
  border: 1px solid rgba(0, 255, 0, 0.4);
}

.timeline-content h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: var(--brand-color);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.institution {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.skills-learned h5 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.skill-tag {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: var(--brand-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(0, 255, 0, 0.2);
  border-color: var(--brand-color);
  transform: translateY(-2px);
}

/* Achievements & Certificates */
.achievements-section {
  margin-top: 4rem;
}

.subsection-title {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.subsection-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-color);
  border-radius: 2px;
}

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

/* Third photo certificate - shown by default on desktop, hidden on mobile */
#certificates-photo-extra {
  display: none;
  /* Hidden by default, only shown on mobile when "See More" is clicked */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}

/* Mobile-only class for responsive behavior */
.mobile-only {
  display: none;
}

/* Photo-based Certificate Cards */
.certificate-photo-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--brand-color);
}

/* Modern shining animation - always visible */
.certificate-photo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(0, 255, 0, 0.1) 50%,
      transparent 70%);
  animation: shine 3s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }

  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
}

/* Light theme improvements */
[data-theme="light"] .certificate-photo-card {
  background: linear-gradient(135deg,
      rgba(0, 255, 0, 0.05) 0%,
      rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 255, 0, 0.6);
}

[data-theme="light"] .certificate-photo-card::before {
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(0, 255, 0, 0.2) 50%,
      transparent 70%);
}

.certificate-photo-card:hover {
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.15);
  transform: translateY(-5px);
}

.cert-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

[data-theme="light"] .cert-image-container {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.cert-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3;
}

/* Light theme overlay improvements */
[data-theme="light"] .cert-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  backdrop-filter: blur(5px);
}

.certificate-photo-card:hover .cert-overlay {
  transform: translateY(0);
}

/* Certificate Action Icons */
.cert-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.certificate-photo-card:hover .cert-actions {
  opacity: 1;
}

.cert-action-btn {
  width: 50px;
  height: 50px;
  background: var(--brand-color);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Action button shine effect */
.cert-action-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cert-action-btn:hover::before {
  transform: translateX(100%);
}

.cert-action-btn:hover {
  background: rgba(0, 255, 0, 0.9);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.6);
}

/* Light theme action buttons */
[data-theme="light"] .cert-action-btn {
  background: var(--brand-color);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .cert-action-btn:hover {
  background: rgba(0, 255, 0, 0.8);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.4);
}

.cert-info h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cert-info .cert-provider {
  color: var(--brand-color);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cert-info .cert-date {
  color: #e0e0e0;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Light theme text improvements */
[data-theme="light"] .cert-info h4 {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .cert-info .cert-provider {
  color: var(--brand-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

[data-theme="light"] .cert-info .cert-date {
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Traditional Certificate Cards (for See More section) */
.certificate-card {
  background: #2d2d2d;
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certificate-card:hover {
  border-color: var(--brand-color);
  box-shadow: 0 15px 40px rgba(0, 255, 0, 0.1);
  transform: translateY(-10px);
}

.certificate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.certificate-card:hover::before {
  left: 100%;
}

.cert-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #000;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.certificate-card h4 {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.certificate-card .cert-provider {
  color: var(--brand-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.cert-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== CERTIFICATE CARDS WITH DESCRIPTIONS ===== */
.cert-group {
  margin-bottom: 2.5rem;
}

.cert-group:last-of-type {
  margin-bottom: 1.5rem;
}

.cert-group-title {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.cert-group-title i {
  color: var(--brand-color);
  font-size: 1.2rem;
}

.certificates-with-desc {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cert-card-with-desc {
  display: flex;
  gap: 1.5rem;
  background: #2d2d2d;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .cert-card-with-desc {
  background: #f8f9fa;
}

.cert-card-with-desc:hover {
  border-color: var(--brand-color);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
  transform: translateY(-3px);
}

.cert-card-with-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card-with-desc:hover::before {
  opacity: 1;
}

.cert-image-wrapper {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cert-image-wrapper .cert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cert-card-with-desc:hover .cert-image-wrapper .cert-image {
  transform: scale(1.05);
}

.cert-image-wrapper .cert-actions {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card-with-desc:hover .cert-image-wrapper .cert-actions {
  opacity: 1;
}

.cert-image-wrapper .cert-action-btn {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

.cert-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-details h5 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cert-provider-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cert-provider-inline i {
  font-size: 0.85rem;
}

.cert-details .cert-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design for Certificate Cards with Descriptions */
@media (max-width: 768px) {
  .cert-card-with-desc {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .cert-image-wrapper {
    width: 100%;
    height: 180px;
  }

  .cert-image-wrapper .cert-actions {
    opacity: 1;
  }

  .cert-group-title {
    font-size: 1.2rem;
  }

  .cert-details h5 {
    font-size: 1.05rem;
  }

  .cert-details .cert-description {
    font-size: 0.85rem;
  }
}


/* Hidden State */
.hidden {
  display: none !important;
}

/* See More Button */
.see-more-container {
  text-align: center;
  margin-top: 2rem;
}

.see-more-btn {
  background: linear-gradient(135deg, var(--brand-color), rgba(0, 255, 0, 0.8));
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.see-more-btn:hover {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.9), var(--brand-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
}

.see-more-btn.expanded .btn-text::after {
  content: ' Less';
}

.see-more-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

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

/* Certificate Lightbox Modal */
.cert-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.cert-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(0, 255, 0, 0.8);
  transform: scale(1.1);
}

/* Business Card Modal */
.business-card-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.business-card-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--brand-color);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.business-card-modal.active .modal-content {
  transform: scale(1);
}

.business-card-container {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.business-card-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  max-width: 500px;
  object-fit: contain;
  border-radius: 10px;
}

/* Large Screen Business Card Sizing */
@media (min-width: 768px) {
  .business-card-image {
    max-width: 600px;
    min-width: 450px;
  }
}

@media (min-width: 1024px) {
  .business-card-image {
    max-width: 700px;
    min-width: 500px;
  }
}

@media (min-width: 1200px) {
  .business-card-image {
    max-width: 800px;
    min-width: 600px;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 255, 0, 0.8);
  transform: scale(1.1);
}

.modal-download {
  position: absolute;
  top: 15px;
  right: 65px;
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-download:hover {
  background: rgba(0, 255, 0, 0.8);
  transform: scale(1.1);
}

/* View Business Card - same style as contact methods */
.view-business-card-btn {
  cursor: pointer;
}

/* Light Theme Styles */
[data-theme="light"] .timeline-content,
[data-theme="light"] .certificate-card {
  background: #f8f9fa;
  border-color: rgba(0, 255, 0, 0.3);
}

[data-theme="light"] .timeline-content::before {
  border-right-color: #f8f9fa;
}

[data-theme="light"] .cert-image {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  color: #333;
}

/* Light theme skills learned tags - improved contrast */
[data-theme="light"] .skill-tag {
  background: rgba(0, 150, 0, 0.15);
  border-color: rgba(0, 150, 0, 0.4);
  color: #006600;
  font-weight: 600;
}

[data-theme="light"] .skill-tag:hover {
  background: rgba(0, 150, 0, 0.25);
  border-color: #006600;
  color: #004400;
}

/* Light theme education status */
[data-theme="light"] .education-status.pursuing {
  background: rgba(0, 100, 200, 0.15);
  color: #0056b3;
  border-color: rgba(0, 100, 200, 0.5);
}

[data-theme="light"] .education-status.completed {
  background: rgba(0, 150, 0, 0.15);
  color: #006600;
  border-color: rgba(0, 150, 0, 0.5);
}

/* ===== PROJECTS SECTION STYLES ===== */
.projects-section {
  background: var(--bg-primary);
  padding: 0 0 4rem 0;
  position: relative;
  scroll-margin-top: 80px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* New Projects Grid */
.projects-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* New Project Card */
.project-card-new {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.project-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
  border-color: var(--brand-color);
}

.project-card-new:hover::before {
  opacity: 1;
}

/* Project Icon */
.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-icon i {
  font-size: 1.4rem;
  color: var(--brand-color);
}

/* Project Info */
.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-title-new {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.project-desc-new {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  padding: 0.25rem 0.6rem;
  background: rgba(0, 255, 136, 0.1);
  color: var(--brand-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Project Buttons */
.project-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.project-btn-new {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.demo-btn {
  background: var(--brand-color);
  color: #000000;
}

.demo-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.code-btn-new {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.code-btn-new:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  background: rgba(0, 255, 136, 0.1);
}

.coming-soon-btn {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
  cursor: default;
}

/* Light theme adjustments for new projects */
[data-theme="light"] .project-card-new {
  background: var(--bg-secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .project-card-new:hover {
  box-shadow: 0 15px 40px rgba(0, 184, 122, 0.12);
}

[data-theme="light"] .project-icon {
  background: linear-gradient(135deg, rgba(0, 184, 122, 0.15), rgba(0, 184, 122, 0.05));
}

[data-theme="light"] .project-tag {
  background: rgba(0, 184, 122, 0.1);
  color: #008c5e;
  border-color: rgba(0, 184, 122, 0.2);
}

[data-theme="light"] .demo-btn {
  background: var(--brand-color);
  color: #ffffff;
}

[data-theme="light"] .demo-btn:hover {
  background: var(--brand-hover);
  box-shadow: 0 5px 20px rgba(0, 184, 122, 0.25);
}

[data-theme="light"] .code-btn-new:hover {
  color: #008c5e;
  border-color: #008c5e;
  background: rgba(0, 184, 122, 0.08);
}

/* Legacy project styles kept for compatibility */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-top: 1.6875rem;
}

.project-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 255, 0, 0.1);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.project-btn {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.live-btn {
  background: var(--brand-color);
  color: #000000;
}

.live-btn:hover {
  background: #00cc00;
  color: #000000;
  transform: translateY(-2px);
}

.code-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.code-btn:hover {
  background: white;
  color: #000000;
}

.project-content {
  padding: 1.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.project-status {
  flex-shrink: 0;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid;
}

.status-badge.current {
  background: rgba(0, 255, 0, 0.2);
  color: var(--brand-color);
  border-color: rgba(0, 255, 0, 0.5);
}

.status-badge.completed {
  background: rgba(0, 255, 0, 0.2);
  color: var(--brand-color);
  border-color: rgba(0, 255, 0, 0.5);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

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

.project-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.project-features li i {
  color: var(--brand-color);
  font-size: 0.8rem;
}

/* Light theme adjustments for projects */
[data-theme="light"] .status-badge.current {
  background: rgba(0, 200, 0, 0.15);
  color: #008800;
  border-color: rgba(0, 200, 0, 0.5);
}

[data-theme="light"] .status-badge.completed {
  background: rgba(0, 200, 0, 0.15);
  color: #008800;
  border-color: rgba(0, 200, 0, 0.5);
}

/* Dark theme adjustments for projects */
[data-theme="dark"] .project-card {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-primary);
  padding: 0 0 3rem 0;
  position: relative;
  scroll-margin-top: 80px;
  overflow: hidden;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section .section-header {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 0;
  padding: 0 20px;
}

.contact-section .section-header .fade-up {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 30px;
}

/* Contact Info Card */
.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-profile {
  text-align: center;
  margin-bottom: 0.9375rem;
}

.contact-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--brand-color);
  margin: 0 auto 0.3125rem;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-profile h3 {
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-profile p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.contact-method {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  background: transparent;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-method:hover {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 1px var(--brand-color);
}

.contact-method:hover .contact-method-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
  font-size: 1.2rem;
  color: var(--bg-primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-method-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

[data-theme="light"] .contact-method-icon {
  color: #ffffff;
}

[data-theme="dark"] .contact-method-icon {
  color: #000000;
}

.contact-method-text {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-method:hover .contact-method-text {
  color: var(--brand-color);
}

/* Contact Social Section */
.contact-social-section {
  margin-top: 0.8rem;
  margin-bottom: 0;
  padding-top: 0;
}

.contact-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1.5px solid var(--border-color);
  position: relative;
  margin: 0;
  padding: 0;
}

.contact-social-link i {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.contact-social-link span {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.contact-social-link:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  background: rgba(0, 255, 0, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

/* Form Validation Styles */
.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 0.8rem;
}

.form-group label {
  color: var(--brand-color);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-group label>span:first-child {
  color: var(--brand-color);
}

.form-error {
  color: #dc3545;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 0;
  font-weight: 400;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.form-group.invalid .form-error {
  opacity: 1;
}

.form-group.valid input,
.form-group.valid textarea {
  border-color: var(--brand-color);
  background: rgba(0, 255, 0, 0.05);
}

/* Contact Form Card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form-header h3 {
  color: var(--text-color);
  font-size: 2.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: -10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-color), #00cc00);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-color);
  background: rgba(0, 255, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--brand-color);
  color: var(--brand-on-green);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  box-sizing: border-box;
}

.form-submit:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Submit button text and icon */
.btn-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-text {
  transition: opacity 0.3s ease;
}

.btn-icon {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.form-submit:hover .btn-icon {
  transform: translateX(3px);
}

/* Loading state */
.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-submit.loading .btn-content {
  opacity: 0;
}

.form-submit.loading .btn-loading {
  opacity: 1;
}

.btn-loading i {
  color: var(--brand-on-green);
}

/* Success state */
.form-submit.success {
  background: #28a745;
}

.form-submit.success .btn-content {
  opacity: 0;
}

.form-submit.success::after {
  content: '✓';
  position: absolute;
  font-size: 1.2rem;
  color: white;
  animation: none;
}

/* Theme-specific adjustments */
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-method {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-color);
}

[data-theme="dark"] .form-submit.success::after {
  color: black;
}

[data-theme="light"] .contact-info-card,
[data-theme="light"] .contact-form-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 179, 0, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .contact-method {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 179, 0, 0.1);
}

[data-theme="light"] .contact-method:hover {
  background: rgba(0, 179, 0, 0.05);
  border-color: var(--brand-color);
}

[data-theme="light"] .contact-method-icon {
  background: var(--brand-color);
  color: var(--brand-on-green);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 179, 0, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(0, 179, 0, 0.1);
}

[data-theme="light"] .form-submit {
  background: var(--brand-color);
  color: var(--brand-on-green);
  box-shadow: 0 4px 15px rgba(0, 179, 0, 0.2);
}

[data-theme="light"] .form-submit:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 25px rgba(0, 179, 0, 0.3);
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 15px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-avatar {
    width: 100px;
    height: 100px;
  }

  .contact-form-header h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    gap: 1.5rem;
    margin-top: 15px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.25rem;
  }

  .contact-profile h3 {
    font-size: 1.3rem;
  }

  .contact-method {
    padding: 0.75rem;
  }

  .contact-method-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 0 0 3rem 0;
  }

  .contact-section .container {
    padding: 0 15px;
  }

  .contact-grid {
    gap: 1.25rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1rem;
  }

  .contact-avatar {
    width: 80px;
    height: 80px;
  }

  .contact-profile h3 {
    font-size: 1.2rem;
  }

  .contact-method {
    padding: 0.5rem;
  }

  .contact-method-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    margin-right: 0.75rem;
  }

  .contact-form-header h3 {
    font-size: 1.3rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
  }

  .form-submit {
    padding: 0.75rem 1.5rem;
  }

  .form-submit .btn-icon {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .contact-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 0.75rem;
  }

  .contact-avatar {
    width: 70px;
    height: 70px;
  }

  .contact-profile h3 {
    font-size: 1.1rem;
  }

  .contact-method {
    padding: 0.4rem;
  }

  .contact-method-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .contact-form-header h3 {
    font-size: 1.2rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .form-submit {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .form-submit .btn-icon {
    font-size: 0.7rem;
  }
}

/* ===== FOOTER SECTION ===== */
.footer-section {
  background: linear-gradient(135deg, rgba(0, 179, 0, 0.12), rgba(0, 0, 0, 0.08));
  border-top: 1px solid rgba(0, 179, 0, 0.2);
  padding: 1.5rem 0 0.75rem 0;
  margin-top: 1rem;
  backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}


.brand-logo {
  display: flex;
  align-items: center;

}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.footer-column h4 {
  color: var(--text-color);
  font-family: 'Poppins', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-color);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

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

.footer-column a:hover {
  color: var(--brand-color);
  transform: translateX(5px);
}

.footer-column i {
  width: 16px;
  font-size: 0.9rem;
}

.contact-info li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info li a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.contact-info li a:hover {
  color: var(--brand-color);
}

.contact-info i {
  color: var(--brand-color);
  min-width: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright p,
.footer-credits p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-credits i.fa-heart {
  color: var(--brand-color);
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Dark Theme Footer Styles */
[data-theme="dark"] .footer-section {
  background: linear-gradient(135deg, rgba(0, 179, 0, 0.08), rgba(0, 0, 0, 0.2));
  border-top: 1px solid rgba(0, 179, 0, 0.3);
  backdrop-filter: blur(15px);
}

[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Theme Footer Styles */
[data-theme="light"] .footer-section {
  background: linear-gradient(135deg, rgba(0, 179, 0, 0.08), rgba(255, 255, 255, 0.9));
  border-top: 1px solid rgba(0, 179, 0, 0.25);
  backdrop-filter: blur(15px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .footer-column li {
    margin-bottom: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-section {
    padding: 2rem 0 1rem 0;
  }
}

@media (max-width: 640px) {

  /* Hide everything except copyright on mobile */
  .footer-content {
    display: none;
  }

  .footer-section {
    padding: 1rem 0;
    margin-top: 1rem;
  }

  .footer-bottom {
    padding-top: 0;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
  }

  .copyright p,
  .footer-credits p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 0.75rem 0;
    margin-top: 0.5rem;
  }

  .footer-bottom {
    gap: 0.4rem;
  }

  .copyright p,
  .footer-credits p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

/* ===== SECURITY SKILLS GRID STYLES ===== */
.security-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.security-skill-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: default;
}

.security-skill-tag:hover {
  border-color: var(--brand-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow);
}

.security-skill-tag i {
  font-size: 1.25rem;
  color: var(--brand-color);
  min-width: 24px;
  text-align: center;
}

.security-skill-tag span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Responsive Security Skills Grid */
@media (max-width: 992px) {
  .security-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .security-skill-tag {
    padding: 0.875rem 1rem;
  }

  .security-skill-tag i {
    font-size: 1.1rem;
  }

  .security-skill-tag span {
    font-size: 0.85rem;
  }
}