/* ===== Fonts ===== */
@font-face {
  font-family: "LatoRegular";
  src: url("../fonts/Lato/Lato-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "LucyRose";
  src: url("../fonts/LucyRose/LucyRosePERSONAL-Regular.woff2") format("woff2");
}





/* ===== RESET & ROOT ===== */
:root {
  --body-color: #e4e9f7;
  --nav-color: #84f29c;
  --side-nav: #fff;
  --text-color: #111;
  --muted: rgba(0, 0, 0, 0.6);
  --main-color: #3056d3;
  /* Theme accents and card/page tokens used across the site */
  --accent: #4070f4;
  --accent-2: #3056d3;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(16, 24, 40, 0.06);
  --page-bg-top: #f8fafb;
  --page-bg-bottom: #f0fff4;
  --max-width: 1200px;
  --process-columns: 4;
  --process-gap: 24px;
  --process-max-width: 1200px;
  --process-min-col: 180px;
  --radius: 14px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  /* GSAP handles smooth scrolling */
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--body-color);
  background-image: linear-gradient(180deg,
      var(--page-bg-top),
      var(--page-bg-bottom));
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-color);
  color-scheme: light dark;
  transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    background-image 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  font-family: "LatoRegular", sans-serif;
}

/* Loading state - prevent scrolling during load */
body.loading {
  overflow: hidden;
  height: 100vh;
}
/* Smooth transitions for main content and navbar */
main {
  will-change: opacity, transform;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar {
  will-change: opacity, transform;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.dark {
  --body-color: #2c2c2d;
  --nav-color: #242526;
  --side-nav: #242526;
  --text-color: #fff;
  /* Dark-mode token overrides */
  --accent: #6ea8ff;
  --accent-2: #4a6ef7;
  --card-bg: rgba(36, 37, 38, 0.6);
  --card-border: rgba(255, 255, 255, 0.06);
  --page-bg-top: #0f1112;
  --page-bg-bottom: #18191a;
  --main-color: var(--accent);
}

::selection{
  background-color: var(--text-color);
  color: var(--body-color);
font-weight: 500;
}

body.dark .btn-demo:hover {
  box-shadow: 0 4px 12px rgba(110, 168, 255, 0.4);
}

/* ===== THEME TRANSITION ===== */
.theme-transition-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  background-color: var(--body-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 9999;
  pointer-events: none;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1001;
  transition: width 0.1s ease;
}

/* ===== MODERN NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark .navbar {
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* ===== LOGO ===== */
.nav-logo {
  flex-shrink: 0;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: "LucyRose", serif;
}

.logo-bracket {
  color: var(--accent);
  font-weight: 800;
}

.logo-name {
  margin: 0 0.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-link:hover .logo-text {
  transform: scale(1.05);
}

/* ===== DESKTOP NAVIGATION ===== */
.desktop-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.60rem 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  opacity: 0.1;
}

.nav-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 15px rgba(64, 112, 244, 0.3);
  transform: translateY(-2px);
}

.nav-link.active::before {
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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

/* ===== NAVIGATION CONTROLS ===== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.theme-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.moon-icon,
.sun-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.sun-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

body.dark .moon-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-180deg);
}

body.dark .sun-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  position: relative;
  pointer-events: auto;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--text-color);
  border-radius: 1px;
  transition: all 0.3s ease;
}

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

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

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

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

body.dark .mobile-menu {
  background: rgba(0, 0, 0, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark .mobile-menu-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo .logo-text {
  font-size: 1.25rem;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

body.dark .mobile-menu-close {
  background: rgba(255, 255, 255, 0.1);
}

body.dark .mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
  flex: 1;
  padding: 2rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-item {
  position: relative;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  border-radius: 12px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  opacity: 0.1;
}

.mobile-nav-link:hover {
  color: var(--accent);
  transform: translateX(10px);
}

.mobile-nav-link.active {
  color: var(--accent);
  background: rgba(64, 112, 244, 0.1);
}

.mobile-nav-link i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}



/* ===== GRID & DOT MASK ===== */
.grid {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background: radial-gradient(circle at 20% 80%,
      rgba(64, 112, 244, 0.1) 0%,
      transparent 50%),
    radial-gradient(circle at 80% 20%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%),
    radial-gradient(circle at 40% 40%,
      rgba(64, 112, 244, 0.05) 0%,
      transparent 50%),
    linear-gradient(135deg,
      rgba(64, 112, 244, 0.03) 0%,
      rgba(255, 107, 107, 0.03) 100%);
  z-index: 0;
}



/* ===== SECTION & CONTAINER ===== */
.section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--body-color);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, #80808012 1px, transparent 1px),
    linear-gradient(to bottom, #80808012 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.section .container {
  position: relative;
  z-index: 1;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-family: "LucyRose", serif;
}

.accent-text {
  color: var(--accent);
}

.works-section-padding {
  padding-top: 50px;
}

/*! ===== HOME SECTION ===== */
#home {
  background: var(--body-color);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 40px;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

/* Availability Badge */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

.availability-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.availability-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }

  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5);
  }
}

@keyframes pulse-dot {

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

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

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  font-family: "LucyRose", serif;
}

.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-color);
  opacity: 0.8;
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s infinite;
  color: var(--accent);
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

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

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  opacity: 0.7;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  max-width: 200px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 112, 244, 0.3);
}

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

.btn-secondary:hover {
  background: var(--text-color);
  color: var(--body-color);
  transform: translateY(-2px);
}

/*! ===== TECHNOLOGIES MARQUEE ===== */
.tech-marquee-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  box-sizing: border-box;
}

.tech-marquee-wrapper {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
}

.tech-marquee-wrapper:last-child {
  margin-bottom: 0;
}

.tech-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 5%,
      #000 95%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 5%,
      #000 95%,
      transparent);
}

.tech-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  will-change: transform;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: #f5f5f5;
  border-radius: 999px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

body.dark .tech-tag {
  background-color: #2a2a2a;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark .tech-tag:hover {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.tech-icon {
  font-size: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.tech-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tech-marquee-container {
    margin-top: 30px;
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tech-marquee-wrapper {
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
  }

  .tech-tag {
    padding: 8px 14px;
  }

  .tech-name {
    font-size: 12px;
  }

  .tech-dot {
    width: 6px;
    height: 6px;
  }

  .tech-marquee-track {
    gap: 12px;
  }

  .tech-marquee {
    -webkit-mask-image: linear-gradient(90deg,
        transparent,
        #000 3%,
        #000 97%,
        transparent);
    mask-image: linear-gradient(90deg,
        transparent,
        #000 3%,
        #000 97%,
        transparent);
  }
}

@media (max-width: 480px) {
  .tech-marquee-container {
    margin-top: 25px;
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tech-marquee-wrapper {
    margin-bottom: 12px;
    width: 100%;
    overflow: hidden;
  }

  .tech-tag {
    padding: 7px 12px;
  }

  .tech-name {
    font-size: 11px;
  }

  .tech-dot {
    width: 5px;
    height: 5px;
  }

  .tech-marquee-track {
    gap: 10px;
  }
}



/*! ===== ABOUT SECTION ===== */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.about-image {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 3px solid rgba(64, 112, 244, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  display: block;
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(64, 112, 244, 0.25);
}

body.dark .about-image img {
  border-color: rgba(64, 112, 244, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark .about-image img:hover {
  box-shadow: 0 15px 50px rgba(64, 112, 244, 0.35);
}

.about-text {
  width: 100%;
  box-sizing: border-box;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  opacity: 0.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.skills {
  margin-top: 2rem;
}

.skills h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-family: "LucyRose", serif;
}

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

.skill-tag {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  --tooltip-opacity: 0;
  --tooltip-visibility: hidden;
  --tooltip-y: 0px;
}

body.dark .skill-tag::before {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark .skill-tag::after {
  border-top-color: rgba(255, 255, 255, 0.95);
}

/* ===== WORKS SECTION ===== */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
  padding: 2rem 0;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Left aligned projects */
.project-left .project-content {
  order: 1;
  text-align: left;
}

.project-left .project-image-wrapper {
  order: 2;
}

/* Right aligned projects */
.project-right .project-content {
  order: 2;
  text-align: right;
}

.project-right .project-image-wrapper {
  order: 1;
}

/* Project Content */
.project-content {
  padding: 2rem;
}

.project-number {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: "LucyRose", serif;
}

.project-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  opacity: 0.75;
  margin-bottom: 1.5rem;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(64, 112, 244, 0.1);
  border: 1px solid rgba(64, 112, 244, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(64, 112, 244, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

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

.project-right .project-links {
  justify-content: flex-end;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-demo {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 4px 15px rgba(64, 112, 244, 0.3);
}

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

.btn-demo:hover::before {
  left: 100%;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 112, 244, 0.4);
}

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

.btn-code::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-code:hover::before {
  width: 100%;
}

.btn-code:hover {
  color: white;
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64, 112, 244, 0.3);
}

.project-btn i {
  font-size: 1.1rem;
}

/* Project Image */
.project-image-wrapper {
  position: relative;
  padding: 1.5rem;
}

.project-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 20px 60px rgba(64, 112, 244, 0.3);
  transition: all 0.4s ease;
}

.project-image::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.8;
  filter: blur(15px);
  transition: all 0.4s ease;
}

.project-item:hover .project-image {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(64, 112, 244, 0.4);
}

.project-item:hover .project-image::before {
  filter: blur(25px);
  opacity: 1;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Dark mode adjustments */
body.dark .project-image {
  box-shadow: 0 20px 60px rgba(110, 168, 255, 0.25);
}

body.dark .project-item:hover .project-image {
  box-shadow: 0 30px 80px rgba(110, 168, 255, 0.35);
}

.projects-title {
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== CONTACT SECTION ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Availability Notice in Contact Section */
.availability-notice {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 15px;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.availability-notice:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.availability-notice-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

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

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

.availability-notice-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 0.3rem;
  font-family: "LucyRose", serif;
}

.availability-notice-content p {
  font-size: 1rem;
  color: var(--text-color);
  opacity: 0.9;
  margin: 0;
}

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

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  position: relative;
  font-family: "LucyRose", serif;
}

.contact-info p {
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-item i {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link i {
  text-shadow: none;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: 50%;
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px 18px;
  border: 2px solid rgba(64, 112, 244, 0.1);
  border-radius: 8px;
  font-size: .9rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  resize: none;
  font-family: "LatoRegular";
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-color);
  text-shadow: 0px 4px 4px var(--body-color);
  opacity: 0.6;
  font-weight: 600;
}

.contact_btn {
  /* text-shadow: 0px 4px 4px #000000; */
  font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }

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

@media (max-width: 1024px) {
  .projects-grid {
    gap: 4rem;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-left .project-content,
  .project-right .project-content {
    order: 2;
    text-align: center;
  }

  .project-left .project-image-wrapper,
  .project-right .project-image-wrapper {
    order: 1;
  }

  .project-title {
    font-size: 2rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-width: 300px;
  }

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

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

  .hero-title {
    font-size: 3rem;
  }

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

/* Medium Tablets */
@media (max-width: 900px) and (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .hero-title {
    font-size: 3rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #home .container {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .availability-notice {
    padding: 1.3rem 1.5rem;
    gap: 1.2rem;
  }

  .availability-notice-content h3 {
    font-size: 1.2rem;
  }

  .availability-notice-content p {
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0;
  }

  .projects-grid {
    gap: 3rem;
    margin-top: 2rem;
  }

  .project-item {
    gap: 1.5rem;
  }

  .project-content {
    padding: 1rem;
  }

  .project-title {
    font-size: 1.75rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .project-image-wrapper {
    padding: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .about-image {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .about-text {
    text-align: left;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  #home {
    padding-top: 100px;
    padding-bottom: 30px;
    min-height: auto;
    overflow-x: hidden;
  }

  .hero-content {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .btn {
    width: auto;
    max-width: 200px;
    box-sizing: border-box;
  }

  .work-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .work-link {
    width: 100%;
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }

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

  .contact-item {
    justify-content: center;
  }

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

/* ===== FOOTER SECTION ===== */
.footer {
  background: var(--body-color);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--accent-rgba-1);
  padding: 60px 0 20px;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right,
      var(--accent-rgba-05) 1px,
      transparent 1px),
    linear-gradient(to bottom, var(--accent-rgba-05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, #80808012 1px, transparent 1px),
    linear-gradient(to bottom, #80808012 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  display: block;
  font-family: "LucyRose", serif;
}

.footer-description {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  font-size: var(--font-base);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.footer-section h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  font-family: "LucyRose", serif;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  opacity: 0.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

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

.footer-section ul li a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-section ul li a:hover {
  color: var(--accent);
  opacity: 1;
  transform: translateX(5px);
}

.footer-section ul li i {
  margin-right: 10px;
  color: var(--accent);
  font-size: var(--font-base);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--accent-rgba-1);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none;
}

.footer-social .social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: none;
}

.footer-copyright {
  color: var(--text-color);
  opacity: 0.7;
  font-size: var(--font-sm);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .desktop-menu {
    display: none;
  }

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

  .logo-text {
    font-size: 1.25rem;
  }

  .nav-controls {
    gap: 0.5rem;
  }

  .theme-toggle {
    width: 45px;
    height: 45px;
  }

  .mobile-menu-toggle {
    width: 45px;
    height: 45px;
  }

  .hamburger-line {
    width: 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 50px;
  }

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

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

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.75rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .mobile-menu {
    width: 100%;
  }

  .mobile-menu-header {
    padding: 1.5rem;
  }

  .mobile-nav {
    padding: 1.5rem;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-logo .logo-text {
    font-size: 1.5rem;
  }

  .footer-description {
    font-size: var(--font-sm);
  }

  .footer-section h4 {
    font-size: var(--font-base);
  }
}


/* Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #home .container {
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .availability-badge {
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .availability-text {
    font-size: 0.85rem;
  }

  .availability-dot {
    width: 8px;
    height: 8px;
  }

  .availability-notice {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1rem;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .availability-notice-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .availability-notice-content h3 {
    font-size: 1.1rem;
  }

  .availability-notice-content p {
    font-size: 0.9rem;
  }

  .section {
    padding: 50px 0;
  }

  #home {
    padding-top: 90px;
    padding-bottom: 25px;
    min-height: auto;
    overflow-x: hidden;
  }

  .hero-content {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  h2,
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
  }

  .hero-description {
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    max-width: 100%;
  }

  .btn {
    width: auto;
    max-width: 180px;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-sizing: border-box;
  }

  .about-content {
    gap: 1.5rem;
    padding: 0 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .about-image {
    max-width: 240px;
    width: 100%;
    box-sizing: border-box;
  }

  .about-text {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .about-text p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .skill-tags {
    gap: 0.4rem;
  }

  .skill-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

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

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-item {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .contact-item i {
    font-size: 1rem;
    margin-right: 0.8rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .contact_btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .services-title,
  .skills-section-title {
    font-size: 1.75rem;
  }

  .services-description,
  .skills-section-subtitle {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.85rem;
  }

  .service-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

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

  .skill-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .skill-card-title {
    font-size: 1.1rem;
  }

  .skill-tags-container {
    gap: 8px;
  }

  .skill-tag-item {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .view-more-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  border: 2px solid #000;
  box-sizing: border-box;
  font-family: "LatoRegular";
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
}

.loading-icons {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.loading-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(64, 112, 244, 0.6), 0 0 40px rgba(48, 86, 211, 0.4);
  /* GSAP will handle animation */
}

.loading-icon-circle i {
  color: #ffffff;
  font-size: 24px;
}

.loading-name {
  font-size: 42px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  font-family: sans-serif;
  letter-spacing: -0.5px;
}

.loading-title {
  font-size: 52px;
  font-weight: 700;
  color: #4070f4;
  margin: 0;
  font-family: sans-serif;
  letter-spacing: -0.5px;
}

.loading-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: #4070f4;
  font-size: 14px;
  font-weight: 500;
  font-family: sans-serif;
}

.loading-url i {
  font-size: 16px;
}

.loading-url span {
  color: #4070f4;
}

/* Hide main content initially */
body.loading {
  overflow: hidden;
}

body.loading main,
body.loading nav {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

body:not(.loading) main,
body:not(.loading) nav {
  opacity: 1;
}

@media (max-width: 768px) {
  .loading-icons {
    gap: 20px;
  }

  .loading-icon-circle {
    width: 50px;
    height: 50px;
  }

  .loading-icon-circle i {
    font-size: 20px;
  }

  .loading-name {
    font-size: 36px;
  }

  .loading-title {
    font-size: 44px;
  }

  .loading-url {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .loading-icons {
    gap: 15px;
  }

  .loading-icon-circle {
    width: 45px;
    height: 45px;
  }

  .loading-icon-circle i {
    font-size: 18px;
  }

  .loading-name {
    font-size: 30px;
  }

  .loading-title {
    font-size: 38px;
  }

  .loading-url {
    font-size: 11px;
  }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background-color: var(--body-color);
  padding: 100px 0;
  position: relative;
}

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

.services-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 20px;
  font-family: "LucyRose", serif;
}

.services-title span {
  color: var(--accent);
}

.services-description {
  font-size: 18px;
  color: var(--text-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  /* background: var(--card-bg); */
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 25px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  min-width: 0;
  /* Allow cards to shrink below content size */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
}

.service-toggle {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.service-toggle:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.service-toggle:hover .service-arrow {
  color: #ffffff;
}

.service-arrow {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card.expanded .service-arrow {
  transform: rotate(180deg);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
  font-family: "LucyRose", serif;
}

.service-description {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-bottom: 0;
}

.service-card.expanded .service-details {
  max-height: 1000px;
  opacity: 1;
  margin-bottom: 25px;
}

.services-include-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 15px;
  margin-top: 10px;
  font-family: "LucyRose", serif;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.services-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--card-border);
  gap: 8px;
  flex-wrap: wrap;
}

.service-link-toggle,
.service-link-expand {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  font-family: sans-serif;
  white-space: nowrap;
}

.service-link-toggle:hover {
  color: var(--accent);
}

.service-card:not(.expanded) .service-link-toggle {
  display: none;
}

.service-link-expand:hover {
  color: var(--accent);
}

.service-card.expanded .service-link-expand {
  display: none;
}

.service-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--accent);
}

.service-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.service-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(64, 112, 244, 0.3);
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-title {
    font-size: 2rem;
  }

  .services-description {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .service-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 50px 0;
  }

  .services-title {
    font-size: 1.75rem;
  }

  .services-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-description {
    font-size: 0.85rem;
  }

  .service-header {
    margin-bottom: 15px;
  }

  .service-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .service-btn {
    width: 100%;
    text-align: center;
  }

  .service-link-toggle,
  .service-link-expand {
    font-size: 10px;
  }
}


/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  #home {
    padding-top: 80px;
    min-height: 0;
  }

  .section {
    padding: 40px 0;
    min-height: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .about-content {
    gap: 1.5rem;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .about-image {
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
  }

  .about-text {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .about-text p {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .services-section,
  .skills-section {
    padding: 50px 0;
  }
}

/* Very Small Screens */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  #home {
    padding-top: 85px;
    padding-bottom: 20px;
    overflow-x: hidden;
  }

  .hero-content {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-buttons {
    width: 100%;
    max-width: 100%;
  }

  .btn {
    width: auto;
    max-width: 160px;
    padding: 9px 18px;
    font-size: 0.85rem;
    box-sizing: border-box;
  }

  .tech-marquee-container {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
  }

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

  .about-image {
    max-width: 200px;
  }

  .service-card,
  .skill-card {
    padding: 16px 12px;
  }

  .work-content {
    padding: 1rem;
  }

  .nav-container {
    padding: 0 0.5rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .theme-toggle,
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  background-color: var(--body-color);
  padding: 100px 0;
  position: relative;
}

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

.skills-section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 10px;
  font-family: "LucyRose", serif;
}

.skills-section-title span {
  color: var(--accent);
}

.skills-title-underline {
  width: 80px;
  height: 3px;
  background-color: var(--text-color);
  margin: 0 auto 15px;
  border-radius: 2px;
}

.skills-section-subtitle {
  font-size: 18px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 400;
  opacity: 0.8;
}

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

.skill-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(64, 112, 244, 0.2);
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: translateY(-3px) scale(1.05);
}

.skill-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  font-family: "LucyRose", serif;
}

.skill-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.skill-tag-item {
  background: rgba(64, 112, 244, 0.08);
  border: 1px solid rgba(64, 112, 244, 0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

body.dark .skill-tag-item {
  background: rgba(110, 168, 255, 0.08);
  border-color: rgba(110, 168, 255, 0.15);
}

.skill-tag-item:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 112, 244, 0.3);
}

/* Skill tags with brand colors */
.skill-tags-container .skill-tag {
  background: rgba(64, 112, 244, 0.08);
  border: 1px solid rgba(64, 112, 244, 0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: none;
}

/* HTML5 */
.skill-tag[data-skill="html5"] {
  background: rgba(227, 76, 38, 0.1);
  border-color: rgba(227, 76, 38, 0.3);
  color: #E34C26;
}

.skill-tag[data-skill="html5"]:hover {
  background: #E34C26;
  color: white;
  border-color: #E34C26;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 76, 38, 0.3);
}

/* CSS3 */
.skill-tag[data-skill="css3"] {
  background: rgba(21, 114, 182, 0.1);
  border-color: rgba(21, 114, 182, 0.3);
  color: #1572B6;
}

.skill-tag[data-skill="css3"]:hover {
  background: #1572B6;
  color: white;
  border-color: #1572B6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 114, 182, 0.3);
}

/* JavaScript */
.skill-tag[data-skill="javascript"] {
  background: rgba(247, 223, 30, 0.2);
  border-color: rgba(247, 223, 30, 0.6);
  color: #D4B91A;
  font-weight: 600;
}

.skill-tag[data-skill="javascript"]:hover {
  background: #F7DF1E;
  color: #000;
  border-color: #F7DF1E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 223, 30, 0.4);
}

/* React */
.skill-tag[data-skill="react"] {
  background: rgba(97, 218, 251, 0.15);
  border-color: rgba(97, 218, 251, 0.4);
  color: #61DAFB;
}

.skill-tag[data-skill="react"]:hover {
  background: #61DAFB;
  color: #000;
  border-color: #61DAFB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 218, 251, 0.4);
}

/* Next.js */
.skill-tag[data-skill="nextjs"] {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
}

body.dark .skill-tag[data-skill="nextjs"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.skill-tag[data-skill="nextjs"]:hover {
  background: #000;
  color: white;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark .skill-tag[data-skill="nextjs"]:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Tailwind CSS */
.skill-tag[data-skill="tailwind"] {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #06B6D4;
}

.skill-tag[data-skill="tailwind"]:hover {
  background: #06B6D4;
  color: white;
  border-color: #06B6D4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* SCSS */
.skill-tag[data-skill="scss"] {
  background: rgba(204, 102, 153, 0.15);
  border-color: rgba(204, 102, 153, 0.4);
  color: #CC6699;
}

.skill-tag[data-skill="scss"]:hover {
  background: #CC6699;
  color: white;
  border-color: #CC6699;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 102, 153, 0.3);
}

/* SQL */
.skill-tag[data-skill="sql"] {
  background: rgba(0, 117, 143, 0.1);
  border-color: rgba(0, 117, 143, 0.3);
  color: #00758F;
}

.skill-tag[data-skill="sql"]:hover {
  background: #00758F;
  color: white;
  border-color: #00758F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 117, 143, 0.3);
}

/* MySQL */
.skill-tag[data-skill="mysql"] {
  background: rgba(0, 117, 143, 0.1);
  border-color: rgba(0, 117, 143, 0.3);
  color: #00758F;
}

.skill-tag[data-skill="mysql"]:hover {
  background: #00758F;
  color: white;
  border-color: #00758F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 117, 143, 0.3);
}

/* GSAP */
.skill-tag[data-skill="gsap"] {
  background: rgba(136, 192, 208, 0.15);
  border-color: rgba(136, 192, 208, 0.4);
  color: #88C0D0;
}

.skill-tag[data-skill="gsap"]:hover {
  background: #88C0D0;
  color: white;
  border-color: #88C0D0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(136, 192, 208, 0.3);
}

/* CSS Animations */
.skill-tag[data-skill="css-animations"] {
  background: rgba(64, 112, 244, 0.1);
  border-color: rgba(64, 112, 244, 0.3);
  color: var(--accent);
}

.skill-tag[data-skill="css-animations"]:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 112, 244, 0.3);
}

/* Git */
.skill-tag[data-skill="git"] {
  background: rgba(240, 80, 50, 0.1);
  border-color: rgba(240, 80, 50, 0.3);
  color: #F05032;
}

.skill-tag[data-skill="git"]:hover {
  background: #F05032;
  color: white;
  border-color: #F05032;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 80, 50, 0.3);
}

/* GitHub */
.skill-tag[data-skill="github"] {
  background: rgba(24, 23, 23, 0.1);
  border-color: rgba(24, 23, 23, 0.3);
  color: #181717;
}

body.dark .skill-tag[data-skill="github"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.skill-tag[data-skill="github"]:hover {
  background: #181717;
  color: white;
  border-color: #181717;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 23, 23, 0.3);
}

body.dark .skill-tag[data-skill="github"]:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Figma */
.skill-tag[data-skill="figma"] {
  background: rgba(242, 78, 30, 0.1);
  border-color: rgba(242, 78, 30, 0.3);
  color: #F24E1E;
}

.skill-tag[data-skill="figma"]:hover {
  background: #F24E1E;
  color: white;
  border-color: #F24E1E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 78, 30, 0.3);
}

/* Canva */
.skill-tag[data-skill="canva"] {
  background: rgba(0, 172, 238, 0.1);
  border-color: rgba(0, 172, 238, 0.3);
  color: #00ACEE;
}

.skill-tag[data-skill="canva"]:hover {
  background: #00ACEE;
  color: white;
  border-color: #00ACEE;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 172, 238, 0.3);
}

/* UI/UX Design */
.skill-tag[data-skill="uiux"] {
  background: rgba(64, 112, 244, 0.1);
  border-color: rgba(64, 112, 244, 0.3);
  color: var(--accent);
}

.skill-tag[data-skill="uiux"]:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 112, 244, 0.3);
}

/* Responsive Design */
.skill-tag[data-skill="responsive"] {
  background: rgba(64, 112, 244, 0.1);
  border-color: rgba(64, 112, 244, 0.3);
  color: var(--accent);
}

.skill-tag[data-skill="responsive"]:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 112, 244, 0.3);
}

/* VS Code */
.skill-tag[data-skill="vscode"] {
  background: rgba(0, 122, 204, 0.1);
  border-color: rgba(0, 122, 204, 0.3);
  color: #007ACC;
}

.skill-tag[data-skill="vscode"]:hover {
  background: #007ACC;
  color: white;
  border-color: #007ACC;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

/* Sublime Text */
.skill-tag[data-skill="sublime"] {
  background: rgba(255, 98, 0, 0.1);
  border-color: rgba(255, 98, 0, 0.3);
  color: #FF6200;
}

.skill-tag[data-skill="sublime"]:hover {
  background: #FF6200;
  color: white;
  border-color: #FF6200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

/* Chrome DevTools */
.skill-tag[data-skill="devtools"] {
  background: rgba(66, 133, 244, 0.1);
  border-color: rgba(66, 133, 244, 0.3);
  color: #4285F4;
}

.skill-tag[data-skill="devtools"]:hover {
  background: #4285F4;
  color: white;
  border-color: #4285F4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* NPM/Yarn */
.skill-tag[data-skill="npm"] {
  background: rgba(203, 56, 55, 0.1);
  border-color: rgba(203, 56, 55, 0.3);
  color: #CB3837;
}

.skill-tag[data-skill="npm"]:hover {
  background: #CB3837;
  color: white;
  border-color: #CB3837;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(203, 56, 55, 0.3);
}

/* Dark mode - preserve brand colors but adjust opacity */
body.dark .skill-tags-container .skill-tag[data-skill="html5"] {
  background: rgba(227, 76, 38, 0.15);
  border-color: rgba(227, 76, 38, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="css3"] {
  background: rgba(21, 114, 182, 0.15);
  border-color: rgba(21, 114, 182, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="javascript"] {
  background: rgba(247, 223, 30, 0.25);
  border-color: rgba(247, 223, 30, 0.6);
  color: #F7DF1E;
}

body.dark .skill-tags-container .skill-tag[data-skill="react"] {
  background: rgba(97, 218, 251, 0.2);
  border-color: rgba(97, 218, 251, 0.5);
}

body.dark .skill-tags-container .skill-tag[data-skill="tailwind"] {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
}

body.dark .skill-tags-container .skill-tag[data-skill="scss"] {
  background: rgba(204, 102, 153, 0.2);
  border-color: rgba(204, 102, 153, 0.5);
}

body.dark .skill-tags-container .skill-tag[data-skill="sql"],
body.dark .skill-tags-container .skill-tag[data-skill="mysql"] {
  background: rgba(0, 117, 143, 0.15);
  border-color: rgba(0, 117, 143, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="gsap"] {
  background: rgba(136, 192, 208, 0.2);
  border-color: rgba(136, 192, 208, 0.5);
}

body.dark .skill-tags-container .skill-tag[data-skill="git"] {
  background: rgba(240, 80, 50, 0.15);
  border-color: rgba(240, 80, 50, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="figma"] {
  background: rgba(242, 78, 30, 0.15);
  border-color: rgba(242, 78, 30, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="canva"] {
  background: rgba(0, 172, 238, 0.15);
  border-color: rgba(0, 172, 238, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="vscode"] {
  background: rgba(0, 122, 204, 0.15);
  border-color: rgba(0, 122, 204, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="sublime"] {
  background: rgba(255, 98, 0, 0.15);
  border-color: rgba(255, 98, 0, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="devtools"] {
  background: rgba(66, 133, 244, 0.15);
  border-color: rgba(66, 133, 244, 0.4);
}

body.dark .skill-tags-container .skill-tag[data-skill="npm"] {
  background: rgba(203, 56, 55, 0.15);
  border-color: rgba(203, 56, 55, 0.4);
}

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

@media (max-width: 768px) {
  .skills-section {
    padding: 60px 0;
  }

  .skills-section-title {
    font-size: 2rem;
  }

  .skills-section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

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

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

  .skill-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .skill-card-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .skills-section-title {
    font-size: 1.75rem;
  }

  .skills-section-subtitle {
    font-size: 14px;
  }

  .skill-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .skill-card-title {
    font-size: 18px;
  }

  .skill-tag-item {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ===== FLOATING SOCIAL ICONS ===== */
.floating-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.6s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.floating-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.floating-social-link {
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease-out backwards;
}

.floating-social-link:nth-child(1) {
  animation-delay: 0.1s;
}

.floating-social-link:nth-child(2) {
  animation-delay: 0.2s;
}

.floating-social-link:nth-child(3) {
  animation-delay: 0.3s;
}

.floating-social-link:nth-child(4) {
  animation-delay: 0.4s;
}

.floating-social-link:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.floating-social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-social-link:hover i {
  animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {

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

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

.floating-social-link:active {
  transform: translateY(-1px) scale(1.05);
}

.floating-social-link:nth-child(1):hover {
  background: #24292e;
  color: white;
  border-color: #24292e;
}

.floating-social-link:nth-child(2):hover {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.floating-social-link:nth-child(3):hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.floating-social-link:nth-child(5):hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.floating-social-link:nth-child(4):hover {
  background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
  color: white;
  border-color: #e1306c;
}

@media (max-width: 768px) {
  .floating-social {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .floating-social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ===== COPY EMAIL BUTTON ===== */
.copy-email-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  margin-left: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid transparent;
}

.copy-email-btn:hover {
  background: var(--accent-rgba-1);
  color: var(--accent-2);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.copy-email-btn:active {
  transform: translateY(0);
  scale: 0.98;
}

.copy-email-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

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

.copy-email-btn .copy-text {
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.copy-email-btn.copied {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  animation: pulse 0.3s ease;
}

.copy-email-btn.copied .copy-text {
  color: #10b981;
  font-weight: 600;
}

.copy-email-btn.copied .copy-text::before {
  content: "✓ ";
  margin-right: 0.2rem;
  font-weight: 700;
}

.copy-email-btn.copied i {
  color: #10b981;
  transform: scale(1.2);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

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

@media (max-width: 480px) {
  .copy-email-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    margin-left: 0.3rem;
  }

  .copy-email-btn .copy-text {
    display: none;
  }

  .copy-email-btn.copied {
    padding: 0.3rem 0.6rem;
  }

  .copy-email-btn.copied .copy-text {
    display: inline;
  }

  .copy-email-btn.copied .copy-text::before {
    content: "✓ ";
  }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--card-bg);
  color: var(--text-color);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 90%;
  min-width: 300px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #10b981;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}

.toast-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .toast {
    min-width: 280px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    bottom: 20px;
  }

  .toast-message {
    font-size: 0.9rem;
  }
}

/* ===== SOCIAL ICON TOOLTIPS ===== */
.social-link,
.floating-social-link {
  position: relative;
}

/* Footer social tooltips */
.social-link::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--card-bg);
  color: var(--text-color);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

.social-link::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--card-bg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
}

.social-link:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.social-link:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Floating social tooltips */
.floating-social-link::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  background: var(--card-bg);
  color: var(--text-color);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

.floating-social-link::after {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--card-bg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
}

.floating-social-link:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.floating-social-link:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Platform-specific tooltip colors */
.social-link[aria-label="GitHub"]:hover::before,
.floating-social-link[aria-label="GitHub"]:hover::before {
  background: linear-gradient(135deg, #24292e 0%, #1a1e22 100%);
  color: white;
  border-color: #24292e;
}

.social-link[aria-label="GitHub"]:hover::after {
  border-top-color: #24292e;
}

.floating-social-link[aria-label="GitHub"]:hover::after {
  border-left-color: #24292e;
}

.social-link[aria-label="LinkedIn"]:hover::before,
.floating-social-link[aria-label="LinkedIn"]:hover::before {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
  color: white;
  border-color: #0077b5;
}

.social-link[aria-label="LinkedIn"]:hover::after {
  border-top-color: #0077b5;
}

.floating-social-link[aria-label="LinkedIn"]:hover::after {
  border-left-color: #0077b5;
}

.social-link[aria-label="WhatsApp"]:hover::before,
.floating-social-link[aria-label="WhatsApp"]:hover::before {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: white;
  border-color: #25d366;
}

.social-link[aria-label="WhatsApp"]:hover::after {
  border-top-color: #25d366;
}

.floating-social-link[aria-label="WhatsApp"]:hover::after {
  border-left-color: #25d366;
}

.social-link[aria-label="Instagram"]:hover::before,
.floating-social-link[aria-label="Instagram"]:hover::before {
  background: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
  color: white;
  border-color: #e1306c;
}

.social-link[aria-label="Instagram"]:hover::after {
  border-top-color: #e1306c;
}

.floating-social-link[aria-label="Instagram"]:hover::after {
  border-left-color: #e1306c;
}

.social-link[aria-label="Facebook"]:hover::before,
.floating-social-link[aria-label="Facebook"]:hover::before {
  background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
  color: white;
  border-color: #1877f2;
}

.social-link[aria-label="Facebook"]:hover::after {
  border-top-color: #1877f2;
}

.floating-social-link[aria-label="Facebook"]:hover::after {
  border-left-color: #1877f2;
}

/* Responsive tooltips */
@media (max-width: 768px) {

  .social-link::before,
  .floating-social-link::before {
    font-size: 12px;
    padding: 6px 12px;
  }

  .social-link::after,
  .floating-social-link::after {
    border-width: 3px;
  }
}

@media (max-width: 480px) {

  .floating-social-link::before,
  .floating-social-link::after {
    display: none;
  }
}

/* Mobile 
responsive for projects */
@media (max-width: 480px) {
  .projects-grid {
    gap: 2.5rem;
  }

  .project-content {
    padding: 0.5rem;
  }

  .project-number {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .project-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .project-technologies {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .tech-tag {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .project-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .project-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .project-image-wrapper {
    padding: 0.5rem;
  }

  .project-image {
    border-width: 2px;
  }
}

/* ===== Technologies Marquee Styles ===== */
.tech-marquee-container {
  width: 100%;
  margin-top: 4rem;
  overflow: hidden;
  padding: 1rem 0;
}

.tech-marquee-wrapper {
  margin-bottom: 1.5rem;
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.tech-marquee-track {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  align-items: center;
  height: 100%;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--container-color);
  border: 2px solid var(--first-color);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(64, 112, 244, 0.3);
  border-color: var(--first-color-alt);
}

.tech-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.tech-name {
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Dark Theme */
body.dark-theme .tech-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(64, 112, 244, 0.5);
}

body.dark-theme .tech-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--first-color);
}

/* Light Theme */
body:not(.dark-theme) .tech-tag {
  background: rgba(64, 112, 244, 0.05);
  border-color: rgba(64, 112, 244, 0.3);
}

body:not(.dark-theme) .tech-tag:hover {
  background: rgba(64, 112, 244, 0.1);
  border-color: var(--first-color);
}

/* Responsive */
@media (max-width: 768px) {
  .tech-marquee-wrapper {
    margin-bottom: 1rem;
    height: 55px;
  }

  .tech-tag {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .tech-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .tech-marquee-wrapper {
    height: 50px;
  }

  .tech-tag {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .tech-icon {
    font-size: 1.2rem;
  }
}