/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --accent-color: #06d6a0;
  --bg-color: #fafbfc;
  --text-color: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --gradient-bg: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06d6a0 100%);
  --section-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --text-light: #94a3b8;
  --border-color: #334155;
  --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --gradient-bg: linear-gradient(135deg, #1e40af 0%, #7c3aed 50%, #059669 100%);
  --section-bg: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Override VS Code and extension styles */
body.vsc-domain-127-0-0-1,
body.vsc-initialized,
body[class*="vsc-"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--section-bg);
  z-index: -1;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
}

p {
  color: var(--text-light);
  line-height: 1.6;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Initial state for animations */
.fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* TRANSITION & THEME TOGGLE */

a,
.btn {
  transition: all 300ms ease;
}

.theme-toggle {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: clamp(35px, 5vw, 45px);
  height: clamp(35px, 5vw, 45px);
  cursor: pointer;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px -3px rgba(37, 99, 235, 0.3);
}

.header-name-btn {
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header-name-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px -3px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}

.mobile-scroll-btn {
  display: none;
}

/* Show mobile button on phones only */
@media screen and (max-width: 600px) {
  .mobile-scroll-btn {
    display: inline-block !important;
  }
  
  .header-name-btn:not(.mobile-scroll-btn) {
    display: none !important;
  }
  
  .theme-toggle {
    position: static !important;
  }
}

/* Ensure desktop button shows on desktop and tablets */
@media screen and (min-width: 601px) {
  .header-name-btn:not(.mobile-scroll-btn) {
    display: inline-block !important;
  }
  
  .mobile-scroll-btn {
    display: none !important;
  }
  
  .theme-toggle {
    display: inline-block !important;
  }
}

/* Large desktop adjustments */
@media screen and (min-width: 1201px) {
  nav {
    height: 12vh !important;
    min-height: 12vh !important;
    max-height: 12vh !important;
  }
  
  section {
    padding-top: 15vh;
  }
  
  #profile {
    padding-top: 15vh;
  }
  
  .nav-links {
    gap: 2rem;
    font-size: 1.2rem;
  }
  
  .header-name-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .theme-toggle {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-between;
  align-items: center;
  height: 12vh;
  min-height: 12vh;
  max-height: 12vh;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: none;
  padding: 0 clamp(1rem, 3vw, 3rem);
  overflow: visible;
  transform: none !important;
}

#desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 2rem;
  position: relative;
  z-index: 1001;
}

#desktop-nav .logo {
  flex-shrink: 0;
  cursor: pointer;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#desktop-nav .nav-links {
  flex: 1;
  justify-content: center;
  margin: 0;
}

#desktop-nav .theme-toggle {
  flex-shrink: 0;
  min-width: max-content;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  z-index: 1001 !important;
}

[data-theme="dark"] nav {
  background: rgba(17, 24, 39, 0.9);
}

[data-theme="dark"] .nav-links a {
  color: white;
}

[data-theme="dark"] .logo {
  color: white;
}

[data-theme="dark"] .menu-links {
  background-color: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .menu-links.open {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4);
}

.nav-links {
  gap: clamp(0.5rem, 2vw, 1.5rem);
  list-style: none;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Navigation buttons in nav-links */
.nav-scroll-btn {
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-scroll-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 30px -3px rgba(37, 99, 235, 0.4);
  filter: brightness(1.1);
}

.nav-theme-toggle {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px -3px rgba(37, 99, 235, 0.3);
}

.mobile-scroll-btn {
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.mobile-scroll-btn:hover {
  background: var(--primary-color);
  transform: translateX(5px);
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive navigation links */
.nav-links li {
  flex-shrink: 0;
}

.nav-links a:not(.logo) {
  font-size: clamp(0.8rem, 1.3vw, 1.1rem);
  white-space: nowrap;
  padding: 0.5rem clamp(0.3rem, 1vw, 0.8rem);
}

.logo {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Override general link styles for logo */
a.logo {
  text-decoration: none;
}

a.logo:hover {
  text-decoration: none;
  transform: scale(1.05);
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

/* Force desktop nav to be visible on larger screens */
@media screen and (min-width: 601px) {
  #desktop-nav {
    display: flex !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #desktop-nav .logo {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: 1001 !important;
  }
  
  /* Theme toggle in navigation */
  .theme-toggle {
    position: static !important;
    display: inline-flex !important;
    width: 45px !important;
    height: 45px !important;
  }
  
  #hamburger-nav {
    display: none !important;
  }
  
  /* Show theme toggle in desktop nav, hide in hamburger nav */
  #desktop-nav .theme-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #hamburger-nav .theme-toggle {
    display: none !important;
  }
}

/* Mobile theme toggle - keep it in hamburger nav */
@media screen and (max-width: 600px) {
  /* Desktop nav theme toggle hidden on mobile */
  #desktop-nav .theme-toggle {
    display: none !important;
  }
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.menu-links a {
  display: block;
  padding: 15px 20px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid var(--border-color);
}

.menu-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.menu-links a:last-child {
  border-bottom: none;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 350px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.2);
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 8vh;
  min-height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  position: relative;
}

section:first-of-type {
  padding-top: 20vh;
}

@media screen and (max-width: 1200px) {
  section:first-of-type {
    padding-top: 15vh;
  }
}

@media screen and (max-width: 600px) {
  section:first-of-type {
    padding-top: 12vh;
  }
}

/* Landscape tablets and small height viewports */
@media screen and (max-height: 700px) and (min-width: 601px) {
  #profile {
    min-height: auto !important;
    padding-top: 10vh !important;
    padding-bottom: 2rem !important;
  }
  
  section:first-of-type {
    padding-top: 10vh !important;
    min-height: auto !important;
  }
  
  .hero-description {
    margin-top: 1rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    max-width: 90% !important;
  }
  
  .btn-container {
    margin: 1rem 0 !important;
  }
  
  
  /* Compact title and text spacing */
  .title {
    margin-bottom: 0.5rem !important;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
  }
  
  .section__text__p1,
  .section__text__p2 {
    margin-bottom: 0.5rem !important;
  }
  
  .section__text {
    max-height: none !important;
    overflow: visible !important;
    padding: 0.5rem !important;
  }
  
  .section__text__p3 {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
  }
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

#profile::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
  z-index: -1;
}

#profile .floating-shape {
  position: absolute;
}

/* Float animation disabled */

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  gap: 1rem;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p3{
  text-align: center;
  margin-top: 5%;
}
.title {
  font-size: 3rem !important;
  text-align: center;
  font-weight: 700;
  background: var(--gradient-bg);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.3)); }
  to { filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.6)); }
}

/* Explicit H1 font sizes to fix Lighthouse best practices warning */
h1 {
  font-size: 3rem !important;
}

section h1, article h1, aside h1, nav h1 {
  font-size: 3rem !important;
}

/* More specific targeting for all H1 elements */
h1.title {
  font-size: 3rem !important;
}

section > h1 {
  font-size: 3rem !important;
}

/* Mobile responsive H1 sizing */
@media screen and (max-width: 600px) {
  h1, section h1, h1.title, section > h1 {
    font-size: 2rem !important;
  }
}

/* PARTICLES DISABLED */
.particles {
  display: none !important;
}

.particle {
  display: none !important;
}

/* DISABLE ALL NAV ANIMATIONS */
nav, footer nav, #desktop-nav, #hamburger-nav {
  transform: none !important;
  animation: none !important;
  transition: background 0.3s ease !important;
}

#socials-container {
  display: flex;
  justify-content: center;
  gap: 2rem;;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  max-width: 300px;
}

[data-theme="dark"] #socials-container {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

#socials-container .icon {
  height: 4rem;
  width: 4rem;
  transition: all 0.4s ease;
  filter: grayscale(20%);
  border-radius: 15px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] #socials-container .icon {
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#socials-container .icon:hover {
  transform: translateY(-8px) scale(1.3);
  filter: grayscale(0%);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
  background: var(--primary-color);
}

#socials-container .icon:hover img {
  filter: brightness(0) invert(1);
}

/* Dark mode social icons visibility fixes */
[data-theme="dark"] #socials-container .icon {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] #socials-container .icon:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.3);
}

/* Add subtle pulsing animation to social icons */
@keyframes socialPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(59, 130, 246, 0);
  }
}

#socials-container .icon {
  animation: socialPulse 3s infinite;
}

[data-theme="dark"] @keyframes socialPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(59, 130, 246, 0);
  }
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* Dark mode fixes for about section icons */
[data-theme="dark"] .details-container .icon {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

[data-theme="dark"] .details-container .icon:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem 2rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-color-1 {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow);
}

.btn-color-1:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -3px rgba(37, 99, 235, 0.4);
}

.btn-color-2 {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-color-2:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

/* Ensure about elements are visible */
.about-details-container {
  opacity: 1;
  visibility: visible;
}

.about-containers .details-container {
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, rgba(59, 130, 246, 0.06) 50%, transparent 80%);
  animation: float 10s ease-in-out infinite reverse;
  z-index: -1;
}

#about .floating-shape {
  position: absolute;
  z-index: -1;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
  max-width: 1200px;
  margin: 2rem auto;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-containers {
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.text-container {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  text-align: center;
}

.text-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position:absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 2rem;
  flex: 1;
  background: var(--bg-color);
  border-radius: 2rem;
  border: 2px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.details-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-bg);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.details-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -3px rgba(0, 0, 0, 0.15);
}

.details-container:hover::before {
  transform: scaleX(1);
}

.section-container {
  gap: 4rem;
  min-height: 80%;
  font-weight: 400;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: visible;
}

#experience::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 80%);
  animation: float 8s ease-in-out infinite;
  z-index: -1;
}

#experience .floating-shape {
  position: absolute;
  z-index: -1;
}


/* NEW SKILLS SECTION */
.skills-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.category-header {
  text-align: center;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

/* Dark mode category titles */
[data-theme="dark"] .category-title {
  color: var(--text-color);
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-bg);
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.skill-card {
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-bg);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotateY(15deg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
}

.skill-icon img {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  object-fit: contain;
}

.skill-card:hover .skill-icon img {
  transform: scale(1.2);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.skill-icon svg {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon svg {
  transform: scale(1.2);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.skill-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.skill-card:hover h3 {
  color: var(--primary-color);
}

.skill-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.skill-card:hover p {
  color: var(--accent-color);
}

/* Category-based coloring */
.skill-card[data-category="frontend"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(245, 158, 11, 0.2));
}

.skill-card[data-category="backend"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(139, 92, 246, 0.2));
}

.skill-card[data-category="ai"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(236, 72, 153, 0.2));
}

.skill-card[data-category="security"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(37, 99, 235, 0.2));
}

.skill-card[data-category="tools"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.2));
}

.skill-card[data-category="database"]:hover .skill-icon {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

.experience-details-container p{
  margin-bottom: 1rem;
}

/* PROJECTS SECTION */

#projects {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
}

#projects::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, rgba(6, 214, 160, 0.08) 50%, transparent 80%);
  animation: float 12s ease-in-out infinite;
  z-index: -1;
}

#projects .floating-shape {
  position: absolute;
  z-index: -1;
}

.color-container {
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.color-container p {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.color-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.color-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.color-container:hover::after {
  opacity: 0.05;
}

.project-img {
  border-radius: 1rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.color-container:hover .project-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  padding-top: 2rem;
}

.project-title {
  margin: 1rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.project-btn {
  color: var(--text-color);
  border-color: var(--border-color);
  transition: all 0.3s ease;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(6, 214, 160, 0.08) 50%, transparent 80%);
  animation: float 9s ease-in-out infinite reverse;
  z-index: -1;
}

#contact .floating-shape {
  position: absolute;
  z-index: -1;
}

/* Fix contact email link colors */
.contact-info-container a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-container a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-info-container p {
  color: var(--text-color);
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: 2px solid var(--border-color);
  background: var(--bg-color);
  margin: 2rem auto;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-upper-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  opacity: 0.05;
  z-index: -1;
}

.contact-info-upper-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -3px rgba(0, 0, 0, 0.15);
}

/* Dark mode contact fixes */
[data-theme="dark"] .contact-info-upper-container {
  background: var(--bg-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .contact-info-container p {
  color: var(--text-color);
}

[data-theme="dark"] .contact-info-container a {
  color: var(--text-color);
}

[data-theme="dark"] .contact-info-container a:hover {
  color: var(--primary-color);
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-icon:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.email-icon {
  height: 2.5rem;
}

/* Dark mode contact icon visibility fixes */
[data-theme="dark"] .contact-icon {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-icon:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

/* FOOTER SECTION */

footer {
  height: 5vh;
  margin: 0 1rem;
  padding: 1rem 0;
  position: relative;
  transform: none !important;
}

footer nav {
  transform: none !important;
  transition: none !important;
}

footer p {
  text-align: center;
}

/* LOADING ANIMATION */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loading-shimmer {
  position: relative;
  overflow: hidden;
}

.loading-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* SKILLS ENHANCEMENT */
.article-container article {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 1rem;
  cursor: pointer;
}

.article-container article:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.article-container article:hover .icon {
  filter: brightness(0) invert(1);
}

/* ENHANCED TYPOGRAPHY */
.section__text__p1 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-color);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: var(--gradient-bg);
  width: 0%;
  transition: width 0.1s ease;
}

/* FLOATING ELEMENTS - DISABLED */
.floating-shape {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Profile Section Floating Shapes */
#profile .floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(16, 185, 129, 0.15));
}

#profile .floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(37, 99, 235, 0.15));
}

#profile .floating-shape:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
}

/* About Section Floating Shapes */
#about .floating-shape:nth-child(1) {
  width: 70px;
  height: 70px;
  top: 15%;
  right: 15%;
  animation-delay: 1s;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(236, 72, 153, 0.12));
}

#about .floating-shape:nth-child(2) {
  width: 90px;
  height: 90px;
  bottom: 25%;
  left: 8%;
  animation-delay: 3s;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(245, 158, 11, 0.12));
}

#about .floating-shape:nth-child(3) {
  width: 50px;
  height: 50px;
  top: 70%;
  right: 25%;
  animation-delay: 5s;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(139, 92, 246, 0.12));
}

/* Certifications Section Floating Shapes */
#certifications .floating-shape:nth-child(1) {
  width: 75px;
  height: 75px;
  top: 18%;
  left: 8%;
  animation-delay: 1.5s;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(6, 214, 160, 0.12));
}

#certifications .floating-shape:nth-child(2) {
  width: 65px;
  height: 65px;
  bottom: 20%;
  right: 10%;
  animation-delay: 3.5s;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(251, 191, 36, 0.12));
}

#certifications .floating-shape:nth-child(3) {
  width: 85px;
  height: 85px;
  top: 60%;
  left: 5%;
  animation-delay: 5.5s;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.12), rgba(59, 130, 246, 0.12));
}

/* Experience Section Floating Shapes */
#experience .floating-shape:nth-child(1) {
  width: 85px;
  height: 85px;
  top: 10%;
  left: 5%;
  animation-delay: 2s;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(37, 99, 235, 0.12));
}

#experience .floating-shape:nth-child(2) {
  width: 65px;
  height: 65px;
  bottom: 15%;
  right: 12%;
  animation-delay: 4s;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(16, 185, 129, 0.12));
}

#experience .floating-shape:nth-child(3) {
  width: 75px;
  height: 75px;
  top: 50%;
  right: 5%;
  animation-delay: 6s;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(245, 158, 11, 0.12));
}

/* Projects Section Floating Shapes */
#projects .floating-shape:nth-child(1) {
  width: 95px;
  height: 95px;
  top: 20%;
  right: 8%;
  animation-delay: 1.5s;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
}

#projects .floating-shape:nth-child(2) {
  width: 55px;
  height: 55px;
  bottom: 30%;
  left: 12%;
  animation-delay: 3.5s;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(139, 92, 246, 0.12));
}

#projects .floating-shape:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 65%;
  left: 3%;
  animation-delay: 5.5s;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(37, 99, 235, 0.12));
}

/* Contact Section Floating Shapes */
#contact .floating-shape:nth-child(1) {
  width: 70px;
  height: 70px;
  top: 25%;
  left: 10%;
  animation-delay: 2.5s;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(245, 158, 11, 0.12));
}

#contact .floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 15%;
  animation-delay: 4.5s;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
}

/* CERTIFICATIONS SECTION */
#certifications {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
}

#certifications::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.10) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 80%);
  animation: float 11s ease-in-out infinite;
  z-index: -1;
}

#certifications .floating-shape {
  position: absolute;
  z-index: -1;
}

.certifications-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  width: 100%;
}

.certification-card {
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 350px;
  flex-shrink: 0;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #3b82f6, #06d6a0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.certification-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.certification-card:hover::before {
  transform: scaleX(1);
}

.cert-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(251, 191, 36, 0.1));
  transition: all 0.3s ease;
}

.certification-card:hover .cert-icon {
  transform: scale(1.1) rotateY(10deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(251, 191, 36, 0.2));
}

.cert-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.certification-card:hover .cert-icon img {
  transform: scale(1.2);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.certification-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.certification-card:hover h3 {
  color: var(--primary-color);
}

.cert-issuer {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.cert-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.cert-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cert-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  width: 100%;
}

.btn-cert {
  background: var(--gradient-bg);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow);
}

.btn-cert:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px -3px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

.certification-card:hover .btn-cert {
  background: linear-gradient(135deg, #059669 0%, #3b82f6 50%, #8b5cf6 100%);
}

/* Dark mode fixes for certifications */
[data-theme="dark"] .certification-card {
  background: var(--bg-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .certification-card h3 {
  color: var(--text-color);
}

[data-theme="dark"] .cert-issuer {
  color: var(--primary-color);
}

[data-theme="dark"] .cert-date {
  color: var(--text-light);
}

[data-theme="dark"] .cert-description {
  color: var(--text-light);
}

[data-theme="dark"] .achievements-title {
  color: var(--text-color);
}

[data-theme="dark"] .achievement-item {
  background: var(--bg-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .achievement-item h4 {
  color: var(--text-color);
}

[data-theme="dark"] .achievement-item p {
  color: var(--text-light);
}

/* Dark mode fixes for projects */
[data-theme="dark"] .project-title {
  color: var(--text-color);
}

[data-theme="dark"] .project-btn {
  color: var(--text-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .color-container {
  background: var(--bg-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .color-container p {
  color: var(--text-light);
}

/* ACHIEVEMENTS SECTION */
.achievements-section {
  margin-top: 4rem;
}

.achievements-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
}

.achievements-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #3b82f6, #06d6a0);
  border-radius: 2px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.achievement-item {
  background: var(--bg-color);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.achievement-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fbbf24, #3b82f6, #06d6a0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
}

.achievement-item:hover::before {
  transform: scaleX(1);
}

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.achievement-item:hover .achievement-icon {
  transform: scale(1.1) rotateY(10deg);
}

.achievement-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.achievement-item:hover h4 {
  color: var(--primary-color);
}

.achievement-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.achievement-item:hover p {
  color: var(--text-color);
}