/* ==========================================================================
   FONTS & GLOBAL IMPORTS
   ========================================================================== */
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap);
@import url("footer.css");
@import url("blog-grid.css");
@import url("blog-post-v2.css");
@import url("about.css");
@import url("project.css");

/* ==========================================================================
   THEME VARIABLES & COLOR PALETTE
   ========================================================================== */
:root {
  --bg-dark: #050505;
  --text-light: #ffffff;
  --text-muted: #a3a3a3;
  --accent-primary: #008cff;
  --skeleton-base: #171717;
  --skeleton-highlight: #262626;
  --glass-bg: rgba(20, 20, 20, 0.4);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.2);
  --tooltip-bg: rgba(255, 255, 255, 0.1);
  --tooltip-border: rgba(255, 255, 255, 0.1);
  --overlay-bg: rgba(10, 10, 10, 0.3);
  --ghost-opacity: 0.05;
}
[data-theme="light"] {
  --bg-dark: #e2e8f0;
  --text-light: #000000;
  --text-muted: #64748b;
  --accent-primary: #008cff;
  --skeleton-base: #cbd5e1;
  --skeleton-highlight: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-line: rgba(0, 0, 0, 0.1);
  --tooltip-bg: rgba(255, 255, 255, 0.85);
  --tooltip-border: rgba(0, 0, 0, 0.08);
  --overlay-bg: rgba(255, 255, 255, 0.3);
  --ghost-opacity: 0.2;
}
/* ==========================================================================
   BASE DOM STYLES & LAYOUT RESETS
   ========================================================================== */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}
/* ==========================================================================
   SPLASH SCREEN & ANIMATED INTRO
   ========================================================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-dark);
  z-index: 9999;
}
#laptop,
#laptop-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.screen-content {
  width: 416px;
  height: 280px;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}
.skeleton-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 80%;
  max-width: 300px;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}
.skeleton-bar {
  height: 20px;
  background: var(--skeleton-base);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.skeleton-bar.short {
  width: 60%;
}
.skeleton-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(255, 255, 255, 0)
  );
}
.skeleton-loader.active .skeleton-bar::after {
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
.fade-out {
  opacity: 0 !important;
  pointer-events: none;
}
/* ==========================================================================
   INTRO QUOTE ANIMATION
   ========================================================================== */
.quote-container {
  position: absolute;
  width: 100vw;
  left: 0;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  transform-origin: center center;
  transform: translateY(20px);
  transition:
    opacity 1s ease,
    transform 3s ease;
  padding: 0 100px;
}
.quote-container.show {
  opacity: 1;
  transform: translateY(0);
}
.quote-text {
  font-family: Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 0 0 15px 0;
  color: var(--text-light);
}
.quote-author {
  font-family: Inter, sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 10px 10px 0 0;
  opacity: 0.8;
  text-align: right;
  width: 100%;
}
.quote-dash {
  color: var(--accent-primary);
}
.quote-container.zoom-into {
  transform: scale(250);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 2.9s cubic-bezier(0.9, 0, 0.1, 1),
    opacity 0.8s ease-in 1.4s;
}
.content-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--overlay-bg);
  backdrop-filter: blur(8px);
  z-index: 50;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.content-overlay.active {
  opacity: 1;
  overflow: hidden;
}
.hero-scroll-rig {
  position: relative;
  height: 200vh;
  width: 100%;
}
.hero-section {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 1.5s ease,
    transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-section.show {
  visibility: visible;
  overflow: hidden;
  opacity: 1;
  transform: none;
}
.global-ui {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.5s ease,
    visibility 1.5s;
  z-index: 9999;
}
.global-ui.show {
  opacity: 1;
  visibility: visible;
}
/* ==========================================================================
   SIDEBAR & GLOBAL NAVIGATION
   ========================================================================== */
.sidebar-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 20px 15px;
  width: 20px;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
}
.sidebar-nav:hover {
  width: 150px;
}
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.nav-item {
  position: relative;
}
.nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -15px;
  width: 20px;
  height: 1px;
  background: var(--glass-line);
}
.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  gap: 15px;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.nav-link:hover {
  color: var(--accent-primary);
}
.nav-link:hover .nav-icon {
  transform: scale(1.1);
  color: var(--accent-primary);
}
.nav-text {
  opacity: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.sidebar-nav:hover .nav-text {
  opacity: 1;
  transition-delay: 0.1s;
}
/* ==========================================================================
   HERO SECTION (HOME PAGE)
   ========================================================================== */
.hero-content-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform-origin: center center;
  will-change: transform, opacity;
}
.hero-layout-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  width: 100%;
  padding: 0 100px;
  margin-bottom: 60px;
}
.hero-image-container {
  width: clamp(200px, 25vw, 250px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 4px solid var(--accent-primary);
  padding: 5px;
  flex-shrink: 0;
}
.hero-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}
.hero-line {
  margin: 0;
}
.line-small {
  font-family: Inter, sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 2px;
}
.line-large {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--text-light), var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-primary {
  color: var(--accent-primary);
}
.text-muted {
  color: var(--text-muted);
}
/* ==========================================================================
   TECH STACK CAROUSEL COMPONENT
   ========================================================================== */
.tech-carousel-wrapper {
  width: 100%;
  max-width: 800px;
  position: relative;
  padding-top: 15px;
  z-index: 60;
}
.tech-header-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--glass-line);
  display: flex;
  justify-content: center;
}
.tech-header-text {
  background-color: var(--bg-dark);
  padding: 0 15px;
  position: absolute;
  top: -10px;
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tech-scroller {
  overflow: hidden;
  padding: 75px 0 10px 0;
  margin-top: -50px;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.tech-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scrollSlide 15s linear infinite;
  transition: opacity 0.3s ease;
}
.tech-track:hover .tech-item {
  opacity: 0.3;
}
.tech-item {
  font-size: 2.5rem;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tech-track .tech-item:hover {
  opacity: 1;
  filter: blur(0);
}
.tech-html:hover {
  color: #e34f26;
}
.tech-css:hover {
  color: #1572b6;
}
.tech-js:hover {
  color: #f7df1e;
}
.tech-git:hover {
  color: #f05032;
}
.tech-github:hover {
  color: #fff;
}
.tech-nodejs:hover {
  color: #393;
}
.tech-cloudflare:hover {
  color: #f48120;
}
.tech-vercel:hover {
  color: #fff;
}
.tech-gh-actions:hover {
  color: #2088ff;
}
.tech-prettier:hover {
  color: #f7b93e;
}
.tech-item svg {
  width: 1em;
  height: 1em;
  display: block;
}
.global-tooltip {
  position: fixed;
  top: -100px;
  left: 0;
  background: rgba(40, 42, 54, 0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.1s ease-out;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.global-tooltip.visible {
  opacity: 1;
}
.global-tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(40, 42, 54, 0.95);
}
@keyframes scrollSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 25px));
  }
}
.cv-nav {
  top: auto;
  bottom: 30px;
  left: auto;
  right: 30px;
  transform: none;
  padding: 12px 15px;
  width: 130px;
}
.cv-nav .nav-text {
  opacity: 1;
  color: var(--text-light);
  display: inline-block;
}
.cv-nav:hover {
  width: 130px;
}
.cv-link {
  justify-content: flex-end;
}
/* ==========================================================================
   UTILITY TOGGLES (MUTE / THEME)
   ========================================================================== */
.utility-toggles {
  position: fixed;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 10000;
}
.mute-toggle,
.theme-toggle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mute-toggle:hover,
.theme-toggle:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 140, 255, 0.3);
}
/* ==========================================================================
   ABOUT SECTION PREVIEW (HOME PAGE)
   ========================================================================== */
.about-section {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.about-section-header {
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--bg-dark);
  position: relative;
  z-index: 10;
}
.about-subtitle {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: 1rem;
  letter-spacing: 5px;
  color: var(--accent-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}
.about-title {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}
.about-main-text {
  position: relative;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-family: Inter, sans-serif;
  font-weight: 700;
  color: var(--accent-primary);
  z-index: 2;
  word-break: break-word;
}
.about-ghost-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-family: Inter, sans-serif;
  font-weight: 800;
  color: var(--text-muted);
  opacity: var(--ghost-opacity);
  z-index: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
/* ==========================================================================
   TIMELINE / SNAKE ANIMATION LOGIC
   ========================================================================== */
.clean-timeline-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
}
.st-node {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
}
.st-turn {
  position: relative;
  height: 120px;
}
.st-line {
  position: absolute;
  background: var(--glass-line);
  z-index: 0;
}
.st-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  z-index: 1;
}
.st-node .st-v {
  top: 0;
  bottom: 0;
  width: 2px;
}
.st-node .st-v .st-fill {
  transform-origin: top;
  transform: scaleY(0);
}
.st-top-left {
  top: 0;
  left: 0;
  height: 50%;
  width: 2px;
}
.st-bottom-right {
  bottom: 0;
  right: 0;
  height: 50%;
  width: 2px;
}
.st-top-right {
  top: 0;
  right: 0;
  height: 50%;
  width: 2px;
}
.st-bottom-left {
  bottom: 0;
  left: 0;
  height: 50%;
  width: 2px;
}
.st-h {
  top: 50%;
  width: 100%;
  height: 2px;
}
.st-ltr .st-fill {
  transform-origin: left;
  transform: scaleX(0);
}
.st-rtl .st-fill {
  transform-origin: right;
  transform: scaleX(0);
}
.st-turn .st-v .st-fill {
  transform-origin: top;
  transform: scaleY(0);
}
.st-left {
  justify-content: flex-start;
}
.st-left .st-v {
  left: 0;
}
.st-left .st-content {
  margin-left: 60px;
  text-align: left;
}
.st-left .st-dot {
  left: -7px;
}
.st-right {
  justify-content: flex-end;
}
.st-right .st-v {
  right: 0;
}
.st-right .st-content {
  margin-right: 60px;
  text-align: right;
}
.st-right .st-dot {
  right: -7px;
}
.st-content {
  opacity: 0.3;
  transform: translateY(15px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  width: 60%;
}
.st-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.st-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--glass-line);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease,
    transform 0.4s ease;
}
.st-dot.filled {
  border-color: var(--accent-primary);
  background: var(--bg-dark);
  box-shadow: 0 0 15px var(--accent-primary);
  transform: translateY(-50%) scale(1.3);
}
.st-date {
  color: var(--text-muted);
  font-family: "Fira Code", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  transition: color 0.6s ease;
}
.st-content.visible .st-date {
  color: var(--accent-primary) !important;
}
.st-topic {
  color: var(--text-light);
  font-family: "Fira Code", monospace;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.st-desc {
  color: var(--text-muted);
  font-family: Inter, sans-serif;
  line-height: 1.6;
  font-size: 0.95rem;
}
.st-button-node {
  height: 150px;
  padding-top: 20px;
}
.st-final-v {
  height: 50% !important;
}
.final-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  background: 0 0;
  border: 3px solid var(--glass-line);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.5s ease;
}
.st-content.visible .final-button {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 140, 255, 0.4);
}
.st-content.visible .final-button:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 30px var(--accent-primary);
  transform: scale(1.05);
}
/* ==========================================================================
   SKILLS & SERVICES SECTION
   ========================================================================== */
.skills-wrapper {
  max-width: 1000px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.skills-category {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skills-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  font-family: Inter, sans-serif;
  margin: 0;
  padding-left: 10px;
  border-left: 4px solid var(--accent-primary);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.nice-to-have-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.skill-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-primary);
}
.skill-icon {
  font-size: 1.8rem;
  color: var(--accent-primary);
  min-width: 35px;
  text-align: center;
  transition: transform 0.3s ease;
}
.skill-card:hover .skill-icon {
  transform: scale(1.1);
}
.skill-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: Inter, sans-serif;
  line-height: 1.4;
  font-weight: 500;
  transition: color 0.3s ease;
}
.skill-card:hover .skill-text {
  color: var(--text-light);
}
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ==========================================================================
   PROJECTS PREVIEW SECTION
   ========================================================================== */
.projects-section {
  position: relative;
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.projects-content-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.projects-content-group.visible {
  opacity: 1;
  transform: scale(1);
}
.projects-section-header,
.blog-section-header {
  text-align: center;
  margin-top: 200px;
  margin-bottom: 200px;
  position: relative;
  z-index: 10;
}
.projects-subtitle,
.blog-subtitle {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: 1rem;
  letter-spacing: 5px;
  color: var(--accent-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}
.projects-title,
.blog-title {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}
.projects-main-text,
.blog-main-text {
  position: relative;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-primary);
  z-index: 2;
  word-break: break-word;
}
.projects-ghost-text,
.blog-ghost-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--text-muted);
  opacity: var(--ghost-opacity);
  z-index: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.glow-card {
  position: relative;
  background: var(--glass-border);
  border-radius: 0;
}
.glow-card::after,
.glow-card::before {
  content: "";
  position: absolute;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.glow-card::before {
  inset: 0;
  background: radial-gradient(
    800px circle at var(--x, 0) var(--y, 0),
    rgba(255, 255, 255, 0.1),
    transparent 40%
  );
  z-index: 1;
}
.glow-card::after {
  inset: 1px;
  background: radial-gradient(
    400px circle at var(--x, 0) var(--y, 0),
    rgba(255, 255, 255, 0.03),
    transparent 40%
  );
  z-index: 5;
}
.glow-container:hover .glow-card::after,
.glow-container:hover .glow-card::before {
  opacity: 1;
}
.glow-card:hover::before {
  background: radial-gradient(
    800px circle at var(--x, 0) var(--y, 0),
    rgba(255, 255, 255, 0.15),
    transparent 40%
  );
}
.glow-content {
  position: absolute;
  inset: 1px;
  background: var(--bg-dark);
  border-radius: calc(inherit - 1px);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ==========================================================================
   PROJECTS ROW LAYOUT
   ========================================================================== */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.project-row {
  display: flex;
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
  border-radius: 0;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
  min-height: 380px;
}
.project-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.project-row-img-container {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.project-row-img,
.project-row-video {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition:
    opacity 0.4s ease,
    transform 0.5s ease;
}
.project-row-video {
  opacity: 0;
  pointer-events: none;
}
.project-row:hover .project-row-img {
  transform: scale(1.03);
}
.project-row-content {
  flex: 1 1 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  border-left: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
}
.project-row-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light, #fff);
  margin: 0 0 15px 0;
}
.project-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}
.project-row-tech {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-row-pill {
  padding: 6px 14px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
[data-theme="light"] .project-row-pill {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
}
.project-row-category {
  font-size: 0.85rem;
  color: var(--accent-primary, #008cff);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.project-row-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted, #aaa);
  margin: 0 0 35px 0;
  flex-grow: 1;
}
.project-row-actions {
  display: flex;
  gap: 15px;
}
.project-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.project-row-btn.primary {
  background: var(--accent-primary, #008cff);
  color: #fff;
}
.project-row-btn.primary:hover {
  filter: brightness(1.2);
  transform: translateX(3px);
  box-shadow: 0 0 15px rgba(0, 140, 255, 0.4);
}
.project-row-btn.secondary {
  background: transparent;
  color: var(--text-light, #fff);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
[data-theme="light"] .project-row-btn.secondary {
  border-color: rgba(0, 0, 0, 0.15);
}
.project-row-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .project-row-btn.secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   GALLERY SEARCH BOX
   ========================================================================== */
.gallery-search-container {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 0 20px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 5px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.search-box:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 10px 40px rgba(0, 140, 255, 0.15);
  transform: translateY(-2px);
}
.search-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-right: 15px;
  transition: color 0.3s ease;
}
.search-box:focus-within .search-icon {
  color: var(--accent-primary);
}
#gallerySearch {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-light);
  font-family: inherit;
  outline: none;
}
#gallerySearch::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.clear-search-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clear-search-btn.active {
  opacity: 0.6;
  pointer-events: auto;
}
.clear-search-btn:hover {
  opacity: 1;
  color: var(--accent-primary);
  transform: scale(1.1);
}
/* ==========================================================================
   PROJECT DETAILS MODAL
   ========================================================================== */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-modal.active {
  display: flex;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(15px);
}
.modal-content-wrapper {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 70vh;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-modal.active .modal-content-wrapper {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.modal-close-btn:hover {
  background: var(--accent-primary);
}
.modal-image-container {
  flex: 1.5;
  position: relative;
  overflow: hidden;
}
.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(to right, transparent, #111);
}
.modal-info {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow-y: auto;
}
.modal-category {
  font-size: 0.9rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}
.modal-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #aaa;
  margin: 0 0 30px 0;
}
.modal-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.modal-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ddd;
}
.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-primary);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  width: fit-content;
  transition:
    background 0.3s,
    transform 0.2s,
    filter 0.3s ease;
}
.modal-link-btn:hover {
  filter: brightness(0.85);
  transform: translateX(5px);
}
@media (max-width: 768px) {
  .quote-container {
    padding: 0 20px;
  }
  .quote-text {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .sidebar-nav:not(.cv-nav) {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important;
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 10001;
  }
  .nav-menu {
    flex-direction: row;
    gap: 20px;
  }
  .nav-text {
    display: none;
  }
  .nav-item:not(:last-child)::after {
    left: 20px;
    bottom: 50%;
    transform: translateY(50%);
    width: 1px;
    height: 15px;
  }
  .utility-toggles {
    top: 15px;
    right: 20px;
    width: auto;
    justify-content: flex-end;
  }
  .mute-toggle,
  .theme-toggle {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 4px; /* industrial sharp-ish corners */
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .mute-toggle:hover,
  .theme-toggle:hover {
    border-color: var(--accent-primary);
    background: rgba(var(--accent-primary-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 140, 255, 0.2);
  }

  .cv-nav {
    top: auto;
    bottom: 30px;
    right: 30px;
    left: auto;
    transform: none;
    padding: 0;
    width: auto !important;
    border-radius: 0 !important; /* Force override */
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .cv-link {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 0 !important; /* Force override */
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }

  .cv-link:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 140, 255, 0.2);
  }

  .cv-nav .nav-text {
    display: none;
  }
  .cv-nav .nav-icon {
    margin: 0;
  }
  .cv-nav:hover {
    width: auto;
  }
  .hero-layout-wrapper {
    flex-direction: column;
    padding: 0 20px;
    gap: 15px;
    margin-top: 50px;
  }
  .hero-text-content {
    align-items: center;
    text-align: center;
    gap: 5px;
  }
  .line-large {
    font-size: clamp(1.6rem, 6.5vw, 2.5rem);
    letter-spacing: -0.5px;
  }
  .hero-image-container {
    width: 140px;
  }
  .tech-carousel-wrapper {
    margin-top: 10px;
  }
  .clean-timeline-container {
    padding: 40px 20px;
  }
  .st-node {
    height: auto;
    padding-bottom: 50px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .st-turn {
    display: none;
  }
  .st-v {
    left: 0 !important;
    right: auto !important;
  }
  .st-dot {
    left: -7px !important;
    right: auto !important;
  }
  .st-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  .projects-stack {
    gap: 20px;
  }
  .project-row {
    flex-direction: column;
    min-height: auto;
  }
  .project-row-img-container {
    height: 250px;
    flex: none;
  }
  .project-row-content {
    padding: 25px;
    background: transparent;
    border-left: none;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.05));
  }
  .project-row-title {
    font-size: 1.6rem;
  }
  .project-row-actions {
    flex-direction: column;
  }
  .project-row-btn {
    width: 100%;
    justify-content: center;
  }
  .projects-content-group {
    padding-top: 80px;
  }
  .modal-content-wrapper {
    flex-direction: column;
    height: 85vh;
    overflow-y: auto;
    display: block;
  }
  .modal-image-container {
    height: 250px;
    flex: none;
    width: 100%;
  }
  .modal-image-container::after {
    background: linear-gradient(to bottom, transparent, #111);
    width: 100%;
    height: 40%;
    top: auto;
    bottom: 0;
    left: 0;
  }
  .modal-info {
    padding: 30px 20px;
    flex: none;
  }
  .modal-title {
    font-size: 1.8rem;
  }
}
/* ==========================================================================
   CONTACT SECTION (PREMIUM INDUSTRIAL REDESIGN)
   ========================================================================== */
.contact-section {
  padding: 140px 20px;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* REMOVED GRID OVERLAY AS PER REQUEST */
.contact-grid-background {
  display: none;
}

.contact-grid-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 20%,
    var(--bg-dark) 80%
  );
  pointer-events: none;
}

.contact-section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.contact-subtitle {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: 0.8rem;
  letter-spacing: 5px;
  color: var(--accent-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.contact-title {
  position: relative;
  display: inline-block;
  margin: 0;
}

.contact-main-text {
  position: relative;
  bottom: 0px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-primary);
  z-index: 2;
  word-break: break-word;
}

.contact-ghost-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--accent-primary);
  opacity: 0.03;
  z-index: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  letter-spacing: 10px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-main-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: visible;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .contact-main-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 140, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-info-panel {
  border-right-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-description {
  color: var(--text-muted);
  font-weight: 400;
}

/* Industrial Corner Markers */
.corner-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-primary);
  z-index: 10;
  opacity: 0.6;
}

.corner-marker.top-left {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}
.corner-marker.top-right {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}
.corner-marker.bottom-left {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}
.corner-marker.bottom-right {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
}

.contact-info-panel {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.contact-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 50px;
  text-align: left;
  font-weight: 300;
}

/* ========================================= */
/* NEW INDUSTRIAL LETS TALK BUTTON (TEMPLATE INSPIRED) */
/* ========================================= */
.lets-talk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  overflow: visible;
  color: var(--text-light);
  line-height: 1;
  border-radius: 50px;
}

.lets-talk-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  border-radius: 50px;
  background: var(--accent-primary);
  width: 44px;
  height: 44px;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0.1;
  z-index: 1;
}

[data-theme="light"] .lets-talk-btn::before {
  background: var(--accent-primary);
  opacity: 0.1;
}

.lets-talk-btn span {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-light) !important;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  margin-left: 14px;
  z-index: 2;
  text-transform: uppercase;
}

.lets-talk-btn svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--accent-primary);
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.lets-talk-btn:hover::before {
  width: 100%;

  border-radius: 50px;
  background: var(--accent-primary);
}

.lets-talk-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.lets-talk-btn:active {
  transform: scale(0.96);
}

.contact-methods-panel {
  display: flex;
  flex-direction: column;
  align-content: start;
  background: var(--overlay-bg);
}

[data-theme="light"] .contact-methods-panel {
  background: rgba(0, 0, 0, 0.02);
}

.contact-method-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  position: relative;
}

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

.contact-method-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.contact-method-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent-primary);
  transition: height 0.3s ease;
}

.contact-method-item:hover::after {
  height: 100%;
}

.method-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 140, 255, 0.05);
  border: 1px solid rgba(0, 140, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-method-item:hover .method-icon {
  background: var(--accent-primary);
  color: #fff;
  transform: scale(1.1);
}

.method-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.method-label {
  font-family: "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.method-link {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a.method-link:hover {
  color: var(--accent-primary);
}

/* Modal Styling Improvements */
.modal-backdrop {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
}

.contact-modal-wrapper {
  max-width: 650px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9);
  position: relative;
}

.contact-modal-inner {
  padding: 70px 60px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  padding: 18px;
  font-size: 1rem;
}

.contact-form .form-group label {
  font-family: "Fira Code", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
}

.contact-submit-btn {
  background: var(--accent-primary);
  border-radius: 4px;
  padding: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 40px;
  }
  .contact-method-item {
    padding: 40px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 80px 15px;
  }
  .contact-main-text {
    font-size: 2.2rem;
  }
  .contact-modal-inner {
    padding: 50px 30px;
  }
  .contact-method-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
/* 
   SOCIAL BANNER & GLOBAL FOOTER sections moved to dedicated footer.css 
   for better modularity and premium redesign. 
*/

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 6rem; /* Higher to avoid conflict with CV link on home page */
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-light);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 140, 255, 0.4);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.95);
}
