/*-----------------------------------*\
  #main.css
\*-----------------------------------*/

/**
 * copyright 2024 BY MIRCODER
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * COLORS
   */

  /* background colors */
  --bg-white: hsla(0, 0%, 100%, 1);
  --bg-light-gray: hsla(240, 1%, 83%, 1);
  --bg-jet: hsla(0, 0%, 18%, 1);
  --bg-eerie-black: hsla(0, 0%, 13%, 1);
  --bg-rich-black-fogra-29: hsla(229, 23%, 9%, 1);
  --bg-smoky-black: hsla(0, 0%, 6%, 1);
  --bg-black: hsla(0, 0%, 0%, 1);

  /* gradient colors */
  --gradient-1: linear-gradient(to top, var(--bg-black) 0%, transparent 40%);
  --gradient-2: radial-gradient(circle at 75% 100%, hsla(79, 100%, 70%, 0.3) 0%, transparent 100%);

  /* text colors */
  --text-white: hsla(0, 0%, 100%, 1);
  --text-light-gray: hsla(240, 1%, 83%, 1);
  --text-rich-black-fogra-29: hsla(216, 42%, 12%, 1);
  --text-smoky-black: hsla(0, 0%, 6%, 1);
  --text-black: hsla(0, 0%, 0%, 1);

  /* border colors */
  --border-white: hsla(0, 0%, 100%, 1);
  --border-light-gray: hsla(240, 1%, 83%, 1);
  --border-gainsboro: hsla(220, 13%, 91%, 1);
  --border-eerie-black: hsla(0, 0%, 13%, 1);
  --border-smoky-black: hsla(0, 0%, 6%, 1);
}

/* Light theme */
[data-theme="light"] {
  /* background colors */
  --bg-primary: hsla(0, 0%, 100%, 1);
  --bg-secondary: hsla(0, 0%, 96%, 1);
  --bg-tertiary: hsla(240, 1%, 83%, 1);
  --bg-card: hsla(0, 0%, 98%, 1);

  /* text colors */
  --text-primary: hsla(0, 0%, 0%, 1);
  --text-secondary: hsla(0, 0%, 20%, 1);
  --text-tertiary: hsla(0, 0%, 35%, 1);

  /* border colors */
  --border-primary: hsla(0, 0%, 85%, 1);
  --border-secondary: hsla(0, 0%, 90%, 1);

  /* gradient colors */
  --gradient-1: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
  --gradient-2: radial-gradient(circle at 75% 100%, hsla(79, 100%, 70%, 0.2) 0%, transparent 100%);
}

/* Dark theme (default) */
[data-theme="dark"] {
  /* background colors */
  --bg-primary: hsla(0, 0%, 0%, 1);
  --bg-secondary: hsla(0, 0%, 6%, 1);
  --bg-tertiary: hsla(0, 0%, 13%, 1);
  --bg-card: hsla(0, 0%, 18%, 1);

  /* text colors */
  --text-primary: hsla(0, 0%, 100%, 1);
  --text-secondary: hsla(240, 1%, 83%, 1);
  --text-tertiary: hsla(0, 0%, 70%, 1);

  /* border colors */
  --border-primary: hsla(0, 0%, 13%, 1);
  --border-secondary: hsla(0, 0%, 6%, 1);

  /* gradient colors */
  --gradient-1: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
  --gradient-2: radial-gradient(circle at 75% 100%, hsla(79, 100%, 70%, 0.3) 0%, transparent 100%);

  /**
   * TYPOGRAPHY
   */

  /* font family */
  --fontFamily-recoleta: 'Recoleta';
  --fontFamily-roboto: 'Poppins', 'Inter', sans-serif;
  --fontFamily-mono: 'JetBrains Mono', monospace;

  /* font size */
  --fontSize-1: 4.6rem;
  --fontSize-2: 4.5rem;
  --fontSize-3: 4rem;
  --fontSize-4: 3rem;
  --fontSize-5: 2.4rem;
  --fontSize-6: 1.8rem;
  --fontSize-7: 2rem;
  --fontSize-8: 1.6rem;
  --fontSize-9: 1.5rem;
  --fontSize-10: 1.4rem;

  /* font weight */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semiBold: 600;
  --weight-bold: 700;
  --weight-extraBold: 800;

  /**
   * SPACING
   */

  --section-spacing: 70px;

  /**
   * BORDER RADIUS
   */

  --radius-pill: 500px;
  --radius-circle: 50%;

  /**
   * TRANSITION
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1000ms cubic-bezier(0.03, 0.98, 0.52, 0.99) 0s;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a,
img,
span,
input,
button,
textarea,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--fontFamily-roboto);
  font-size: var(--fontSize-8);
  line-height: 1.75;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.loaded { overflow-y: auto; }

body.nav-active { overflow: hidden; }

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { border-inline-start: 1px solid var(--border-primary); }

::-webkit-scrollbar-thumb { background-color: var(--text-primary); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.btn\:hover {
  position: relative;
  z-index: 1;
}

.btn\:hover::before,
.btn\:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition-1);
  will-change: transform;
  pointer-events: none;
}

.btn\:hover::after {
  border: 1px solid var(--text-primary);
  transform: scale(1.2);
  opacity: 0;
}

.btn\:hover:is(:hover, :focus-visible)::before {
  transform: scale(0.5);
  opacity: 0;
}

.btn\:hover:is(:hover, :focus-visible)::after {
  transform: scale(1);
  opacity: 1;
}

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

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  overflow: hidden;
  background-color: var(--bg-card);
}

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

[data-tilt] { transition: var(--transition-3); }

.title {
  color: var(--text-primary);
  font-family: var(--fontFamily-recoleta);
  font-weight: var(--weight-regular);
}

.h1 {
  font-size: var(--fontSize-2);
  line-height: 1.2;
}

.h2,
.h3,
.h4,
.h5 { line-height: 1.3; }

.h2 { font-size: var(--fontSize-3); }

.h3 { font-size: var(--fontSize-4); }

.h4 { font-size: var(--fontSize-5); }

.h5 { font-size: var(--fontSize-7); }

.h6 { font-size: var(--fontSize-6); }

.btn {
  color: var(--text-primary);
  font-size: var(--fontSize-9);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  height: 56px;
  padding-inline: 30px;
}

.btn::before { background-color: var(--bg-secondary); }

.btn ion-icon {
  font-size: 1.8rem;
  --ionicon-stroke-width: 50px;
}

.section {
  padding-block: var(--section-spacing);
  overflow-x: hidden;
}

/* Theme toggle button */
.theme-toggle-btn {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(96, 239, 255, 0.1);
  border: 1px solid rgba(96, 239, 255, 0.2);
  color: var(--text-primary);
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-1);
  z-index: 1;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(96, 239, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(96, 239, 255, 0.3);
}

.theme-toggle-btn ion-icon {
  transition: var(--transition-1);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}





/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  box-shadow: inset 55vw 0 0 0 var(--text-primary),
              inset -55vw 0 0 0 var(--text-primary);
  display: grid;
  place-items: center;
  z-index: 10;
}

.preloader.loaded {
  transition: 300ms ease 500ms;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--text-primary),
              inset 0 0 0 0 var(--text-primary);
}

.preloader .line {
  width: 1px;
  height: 100%;
  background-color: var(--bg-primary);
  transition: var(--transition-2);
  animation: loading 1000ms linear forwards;
}

@keyframes loading {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(0.3); }
}

.preloader.loaded .line { animation: loaded 500ms ease forwards; }

@keyframes loaded {
  0% { transform: scaleY(0.3); }

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





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding-block: 20px;
  z-index: 4;
  transition: all 0.3s ease;
}

.header.active {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 15px;
  animation: slideIn 500ms ease-out forwards;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .header.active {
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

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

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--fontFamily-mono);
  font-weight: var(--weight-bold);
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  transition: var(--transition-1);
}

.logo:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.logo img {
  filter: brightness(0) invert(1);
  transition: var(--transition-1);
}

[data-theme="light"] .logo img {
  filter: brightness(0) invert(0);
}

.nav-open-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-content: center;
  gap: 6px;
  background: rgba(96, 239, 255, 0.1);
  border: 1px solid rgba(96, 239, 255, 0.2);
  border-radius: 10px;
  transition: var(--transition-1);
}

.nav-open-btn:hover {
  background: rgba(96, 239, 255, 0.2);
  transform: scale(1.05);
}

.nav-open-btn .line {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-1);
  border-radius: 2px;
}

.nav-open-btn:is(:hover, :focus-visible) .line {
  background: linear-gradient(90deg, #00ff87, #60efff);
}

.nav-open-btn:is(:hover, :focus-visible) .line-1 { transform: scaleX(0.8); }

.nav-open-btn::before { background-color: var(--text-primary); }

.nav-open-btn::after { background-color: var(--text-primary); }

.navbar {
  position: fixed;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  top: 0;
  left: -300px;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  padding: 25px 20px;
  visibility: hidden;
  transition: 250ms var(--cubic-in);
  z-index: 3;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .navbar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 250, 0.95) 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
}

.navbar.active {
  transform: translateX(300px);
  visibility: visible;
  transition: 500ms var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block-end: 20px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
  margin-block-end: 15px;
}

[data-theme="light"] .navbar-top {
  border-block-end: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-close-btn {
  width: 40px;
  height: 40px;
  background: rgba(96, 239, 255, 0.1);
  color: var(--text-primary);
  font-size: 2rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: var(--transition-1);
}

.nav-close-btn:hover {
  background: rgba(96, 239, 255, 0.2);
  transform: rotate(90deg);
}

.nav-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.navbar-link {
  padding: 10px 16px;
  margin-block-start: 4px;
  font-family: var(--fontFamily-mono);
  font-size: 1.4rem;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: var(--transition-1);
  border-radius: 6px;
  position: relative;
}

.navbar-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff87, #60efff);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus-visible) {
  color: var(--text-primary);
  background-color: rgba(96, 239, 255, 0.1);
}

.navbar-link:is(:hover, :focus-visible)::before {
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 0.5;
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block-start: 120px;
}

.hero .container {
  display: grid;
  gap: 50px;
}

.banner-outline {
  position: relative;
  max-width: max-content;
  margin-inline: auto;
}

.banner-outline::after {
  top: 20px;
  right: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid var(--border-primary);
  border-radius: var(--radius-pill);
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-pill);
}

.hero-banner::after {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: var(--gradient-1);
  opacity: 0.7;
  pointer-events: none;
}

.banner-outline .span {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fontSize-4);
  min-width: max-content;
  z-index: 1;
}

.hero .btn {
  margin-block: 20px;
  margin-inline: auto;
}

.hero .shape {
  position: absolute;
  max-width: 100%;
  z-index: -1;
}

.hero .shape-1 {
  top: -60px;
  left: 120px;
}

.hero .shape-2 {
  top: 180px;
  left: 0;
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  border-block-start: 1px solid var(--border-primary);
  margin-block-start: var(--section-spacing);
}

.service .container { padding-inline: 0; }

.service-item { border-block-end: 1px solid var(--border-primary); }

.service-card {
  position: relative;
  padding-block: 45px;
}

.service-card .card-icon {
  max-width: max-content;
  margin-inline: auto;
  transition: var(--transition-1);
}

.service-card .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--text-primary);
  font-size: var(--fontSize-5);
  font-weight: var(--weight-regular);
  line-height: 1.3;
  opacity: 0;
  transition: var(--transition-1);
}

.service-card:is(:hover, :focus-visible) .card-title {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.service-card:is(:hover, :focus-visible) .card-icon { opacity: 0; }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.tab-container { border: 1px solid var(--border-primary); }

.tab-btn {
  width: 100%;
  padding-block: 16px;
  border-block-end: 1px solid var(--border-primary);
  transition: var(--transition-1);
}

.tab-btn:is(:hover, :focus-visible, .active) { background: var(--bg-tertiary); }

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
  animation: fade 500ms linear forwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.tab-content .grid-list {
  display: grid;
  gap: 30px;
}

.tab-content .section-title { margin-block-end: 30px; }

.tab-content .section-text,
.about-item:not(:last-child) { margin-block-end: 20px; }

.about-item .span { line-height: 1.4; }

.social-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-link { color: var(--text-primary); }

.skill-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: 30px 12px;
}

.skill-wrapper .span {
  font-family: var(--fontFamily-recoleta);
  font-weight: var(--weight-medium);
}

.progress-bar {
  background-color: var(--bg-secondary);
  height: 4px;
}

.progress-fill {
  background-color: var(--text-primary);
  height: 100%;
}

.interview-card { position: relative; }

.interview-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--bg-primary);
}

.interview-card .btn::before,
.interview-card .btn::after { border-radius: inherit; }

.interview-card .btn::before { background-color: var(--text-primary); }

.interview-card .btn:is(:hover, :focus-visible) { color: var(--text-primary); }

.exhibition-card { position: relative; }

.exhibition-card .card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  color: var(--bg-primary);
  display: grid;
  place-items: center;
}





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta { border-block: 1px solid var(--border-primary); }

.cta .section-title::before {
  content: "";
  display: block;
  background-color: var(--text-primary);
  width: 60px;
  height: 30px;
  border-radius: 30px 30px 0 0;
  margin-inline: auto;
  margin-block-end: 15px;
}

.cta .btn {
  margin-inline: auto;
  margin-block-start: 30px;
}





/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project-card .card-banner::before {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--bg-rich-black-fogra-29);
  background-image: var(--gradient-2);
  opacity: 0;
  transition: var(--transition-1);
}

.project-card .card-banner:is(:hover, :focus-within)::before { opacity: 0.9; }

.project-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  min-width: max-content;
  opacity: 0;
  transition: var(--transition-2);
}

.project-card .card-banner:is(:hover, :focus-within) .btn {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.project-card .card-content { padding: 24px 30px 0; }

.project-card .card-subtitle {
  font-size: var(--fontSize-10);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-block-end: 10px;
}

.project-card .card-title {
  display: inline;
  background-image: linear-gradient(var(--text-primary), var(--text-primary));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: var(--transition-1);
}

.project-card .card-title:is(:hover, :focus-visible) { background-size: 100% 1px; }

.slider-list {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  overflow: auto;
  scroll-snap-type: inline mandatory;
  padding-block-end: 5px;
}

.slider-list::-webkit-scrollbar { display: none; }

.slider-item {
  min-width: 100%;
  scroll-snap-align: start;
}





/*-----------------------------------*\
  #SPACE BACKGROUND
\*-----------------------------------*/

.space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
}

.stars, .stars2, .stars3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.stars {
  background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=') repeat;
  background-size: 200px 200px;
  opacity: 0.4;
  animation: space-stars 200s linear infinite;
  will-change: transform;
}

.stars2 {
  background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIyIiBoZWlnaHQ9IjIiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=') repeat;
  background-size: 400px 400px;
  opacity: 0.3;
  animation: space-stars 400s linear infinite;
  will-change: transform;
}

.stars3 {
  background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMyIgaGVpZ2h0PSIzIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIzIiBoZWlnaHQ9IjMiIGZpbGw9IiNmZmZmZmYiLz48L3N2Zz4=') repeat;
  background-size: 600px 600px;
  opacity: 0.2;
  animation: space-stars 600s linear infinite;
  will-change: transform;
}

@keyframes space-stars {
  from { transform: translateY(0px); }
  to { transform: translateY(-1000px); }
}





/*-----------------------------------*\
  #TECH STACK
\*-----------------------------------*/

.tech-stack {
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}

.tech-stack .section-title {
  font-size: var(--fontSize-1);
  margin-block-end: 15px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

.tech-stack .section-subtitle {
  font-size: var(--fontSize-6);
  color: var(--text-secondary);
  margin-block-end: 50px;
  opacity: 0.8;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-item:hover::before {
  opacity: 1;
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: #667eea;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.tech-icon {
  width: 70px;
  height: 70px;
  margin-block-end: 15px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item:hover .tech-icon {
  transform: rotateY(360deg);
  animation: float 3s ease-in-out infinite;
}

.tech-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.tech-name {
  font-size: var(--fontSize-8);
  font-weight: var(--weight-semiBold);
  color: var(--text-primary);
  text-align: center;
  font-family: var(--fontFamily-mono);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateY(360deg); }
  50% { transform: translateY(-10px) rotateY(360deg); }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Tech stack responsive */
@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }
  
  .tech-icon {
    width: 50px;
    height: 50px;
  }
  
  .tech-name {
    font-size: var(--fontSize-9);
  }
  
  .tech-stack .section-title {
    font-size: var(--fontSize-3);
  }
  
  .tech-stack .section-subtitle {
    font-size: var(--fontSize-8);
  }
}

@media (max-width: 480px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .tech-item {
    padding: 20px 15px;
  }
}





/*-----------------------------------*\
  #ENHANCED HERO ANIMATIONS
\*-----------------------------------*/

.hero-title-animated {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fade-in-up 1s ease-out;
}

.gradient-text {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-animation 4s ease infinite;
  font-weight: var(--weight-extraBold);
  letter-spacing: -2px;
}

.typing-text {
  font-size: 0.7em;
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
  opacity: 0;
  animation: fade-in 1s ease-out 0.5s forwards, typing-cursor 0.8s step-end infinite;
  border-right: 3px solid var(--text-secondary);
  padding-right: 10px;
  width: fit-content;
}

@keyframes gradient-animation {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes typing-cursor {
  from, to { border-color: transparent; }
  50% { border-color: var(--text-secondary); }
}

/* Responsive hero text */
@media (max-width: 768px) {
  .gradient-text {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .typing-text {
    font-size: 1.2rem;
    border-right-width: 2px;
  }
  
  .hero-title-animated {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .gradient-text {
    font-size: 2rem;
  }
  
  .typing-text {
    font-size: 1rem;
  }
}

/* Enhanced button animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Service cards animation */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card .card-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .card-icon {
  transform: rotateY(360deg) scale(1.1);
}

/* Scroll animations */
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth transitions for all interactive elements */
a, button, .card, .tech-item {
  transition: all 0.3s ease;
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fontFamily-roboto);
  font-weight: var(--weight-bold);
  line-height: 1.3;
}

body {
  font-family: var(--fontFamily-roboto);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}





/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.testi { border-block: 1px solid var(--border-primary); }

.testi-content { padding-inline-start: 15px; }

.testi .section-text {
  text-indent: -15px;
  line-height: 1.5;
  margin-block-end: 20px;
}

.profile-card .card-banner { display: none; }

.profile-card .card-subtitle { font-size: var(--fontSize-10); }





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact .section-title {
  font-size: var(--fontSize-1);
  margin-block-end: 25px;
}

.contact-content {
  display: grid;
  gap: 60px;
}

.contact-form .input-field {
  height: 50px;
  padding-block: 12px;
  margin-block-end: 20px;
  color: var(--text-primary);
  outline: none;
  border-block-end: 1px solid var(--border-primary);
  transition: border-color var(--transition-1);
}

.contact-form .input-field::placeholder { color: var(--text-tertiary); }

.contact-form .input-field:focus { border-color: var(--text-secondary); }

textarea.input-field {
  min-height: 165px;
  resize: none;
}

.contact-form .btn { margin-block-start: 30px; }

.contact .map {
  width: 100%;
  filter: grayscale(1);
}

.contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.contact-item:not(:last-child) {
  padding-block-end: 30px;
  border-block-end: 1px solid var(--border-primary);
  margin-block-end: 30px;
}

.contact-item .title { color: var(--text-secondary); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer { border-block-start: 1px solid var(--border-primary); }

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.copyright {
  flex-grow: 1;
  font-family: var(--fontFamily-recoleta);
}

.back-top-btn .span { display: none; }

.back-top-btn {
  color: var(--text-primary);
  padding: 32px 16px;
  border-inline: 1px solid var(--border-primary);
}





/*-----------------------------------*\
  #CUSTOM CURSOR
\*-----------------------------------*/

.cursor-dot,
.cursor-outline { display: none; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-1: 5.6rem;
    --fontSize-5: 3.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero .banner-outline { max-width: 410px; }

  .hero .banner-outline::after { right: -15px; }



  /**
   * SERVICE
   */

  .service .container { max-width: unset; }

  .service-list {
    display: flex;
    flex-wrap: wrap;
  }

  .service-item { width: 50%; }

  .service-item:nth-child(2n) {
    border-inline-start: 1px solid var(--border-primary);
  }

  .service-card .card-title { --fontSize-5: 2.4rem; }



  /**
   * ABOUT
   */

  .tab-btn-list {
    display: flex;
    flex-wrap: wrap;
  }

  .tab-btn-item {
    width: 50%;
    flex-grow: 1;
  }

  .tab-btn-item:nth-child(2n) {
    border-inline-start: 1px solid var(--border-primary);
  }

  .tab-content { padding: 40px; }

  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .interview-card {
    max-width: max-content;
    margin-inline: auto;
  }



  /**
   * TESTIMONIALS
   */

  .profile-card .card-banner {
    display: block;
    border-radius: var(--radius-circle);
  }

  .testi .profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
  }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /** 
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-1: 6.6rem;

    /**
     * SPACING
     */
     
    --section-spacing: 100px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * HERO
   */

  .hero { text-align: left; }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .banner-outline { order: 1; }

  .hero .btn { margin-inline: 0; }



  /**
   * SERVICE
   */

  .service-item { width: 25%; }

  .service-item:not(:last-child) {
    border-inline-end: 1px solid var(--border-eerie-black);
  }



  /**
   * ABOUT
   */

  .tab-btn-item { width: 20%; }

  .tab-btn-item:not(:first-child) {
    border-inline-start: 1px solid var(--border-primary);
  }

  :is([data-tab-content="interview"], [data-tab-content="exhibition"]) .grid-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * CTA
   */

  .cta { padding-block: 40px; }

  .cta .section-title {
    display: flex;
    align-items: center;
  }

  .cta .section-title::before {
    border-radius: 0 30px 30px 0;
    width: 30px;
    height: 60px;
    flex-shrink: 0;
    margin-block-end: 0;
  }



  /**
   * PROJECTS
   */

  .slider-item { min-width: calc(50% - 15px); }



  /**
   * CUSTOM CURSOR
   */

  .cursor-dot,
  .cursor-outline {
    display: block;
    position: fixed;
    top: -60px;
    left: -60px;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-circle);
    z-index: 10;
    transition-property: opacity, transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    pointer-events: none;
  }

  .cursor-dot {
    width: 60px;
    height: 60px;
    background-color: var(--text-primary);
    transform: translate(-50%, -50%) scale(0.1);
  }

  .cursor-dot.hovered {
    transform: translate(-50%, -50%) scale(1);
    mix-blend-mode: exclusion;
  }

  .cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-white);
    opacity: 0.5;
    transition-duration: 100ms;
  }

  .cursor-outline.hovered { opacity: 0; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /** 
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-2: 7rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HEADER
   */

  .header .container {
    margin-inline: 0;
    min-width: 100%;
  }

  .nav-open-btn,
  .navbar-top { display: none; }

  .navbar {
    all: unset;
    display: block;
  }

  .navbar-list {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .navbar-link {
    padding: 10px 18px;
    margin: 0;
    font-family: var(--fontFamily-mono);
    font-size: 1.4rem;
    font-weight: var(--weight-medium);
    letter-spacing: 0.5px;
  }
  
  .navbar-link::before {
    bottom: 5px;
  }

  .header .btn { 
    display: flex;
    background: rgba(96, 239, 255, 0.1);
    border: 1px solid rgba(96, 239, 255, 0.3);
    border-radius: 8px;
    font-family: var(--fontFamily-mono);
    font-size: 1.4rem;
    height: 50px;
    padding-inline: 24px;
    transition: var(--transition-1);
  }
  
  .header .btn:hover {
    background: rgba(96, 239, 255, 0.2);
    border-color: rgba(96, 239, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(96, 239, 255, 0.3);
  }



  /**
   * HERO
   */

  .hero .container { grid-template-columns: 1fr 0.7fr; }

  .hero .banner-outline { max-width: 366px; }

  .hero .wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .hero .btn { flex-shrink: 0; }



  /**
   * SERVICE
   */

  .service { border-block-end: 1px solid var(--border-primary); }

  .service-list {
    gap: 158px;
    flex-wrap: nowrap;
  }

  .service .service-item {
    border-inline: 1px solid var(--border-primary);
    border-block-end: none;
  }



  /**
   * ABOUT
   */

  .tab-content .grid-list { grid-template-columns: 1fr 1fr; }

  :is([data-tab-content="interview"], [data-tab-content="exhibition"], [data-tab-content="awward"]) .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }



  /**
   * CTA
   */

  .cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cta .section-title {
    text-align: left;
    gap: 30px;
  }

  .cta .btn {
    flex-shrink: 0;
    margin: 0;
  }



  /**
   * PROJECTS
   */

  .slider-item { min-width: calc(33.33% - 20px); }



  /**
   * CONTACT
   */

  .contact-content {
    grid-template-columns: 0.8fr 1fr 0.6fr;
    gap: 30px;
    align-items: center;
  }



  /**
   * BACK TO TOP
   */

  .back-top-btn .span { display: block; }

  .back-top-btn {
    display: flex;
    align-items: center;
    gap: 10px;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-2: 9rem;
    --fontSize-4: 4rem;
    --fontSize-5: 4rem;
    --fontSize-6: 2rem;

  }



  /**
   * REUSED STYLE
   */

  .container,
  .service .container { max-width: 1200px; }

  .h1 { line-height: 1.1; }



  /**
   * HEADER
   */

  .header { padding-block: 40px; }

  .header .container { padding-inline: 60px; }

  .navbar-list { gap: 12px; }



  /**
   * HERO
   */

  .hero { padding-block-start: 160px; }

  .hero .banner-outline { max-width: 410px; }

  .hero-text { max-width: 30ch; }

  

  /**
   * ABOUT
   */

  .tab-content { padding: 60px; }

  .tab-content .grid-list { gap: 50px; }

}





/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  /** 
   * REUSED STYLE
   */

  .container,
  .service .container { max-width: 1320px; }



  /**
   * HEADER
   */

  .header { padding-inline: 90px; }



  /**
   * HERO
   */

  .hero .container { grid-template-columns: 1fr 0.85fr; }

}
