/* ==========================================================
   SAJAN KHADKA — PROFESSIONAL PORTFOLIO
   FILE: style.css

   FEATURES
   01. Futuristic Dark Theme
   02. Responsive Navigation
   03. Animated Hero
   04. Interactive 3D Profile
   05. Particle Canvas Background
   06. About & Skills
   07. Projects
   08. Graphic Design Gallery
   09. Gallery Filters & Lightbox
   10. Education & CV
   11. Services
   12. Learning Journey
   13. Real Client Reviews UI
   14. Review Submission Form
   15. Contact Form
   16. Footer
   17. Scroll Animations
   18. Mobile Responsiveness
   19. Accessibility
   20. Performance Optimization
========================================================== */


/* ==========================================================
   01. ROOT VARIABLES
========================================================== */

:root {

  /* Backgrounds */

  --bg: #080d1b;
  --bg-alt: #0c1427;
  --bg-soft: #101b30;

  /* Cards */

  --card: rgba(18, 29, 49, 0.86);
  --card-solid: #111d31;
  --card-hover: #172640;

  /* Brand colors */

  --primary: #00c8ff;
  --primary-dark: #00a7dc;
  --secondary: #3478ff;
  --purple: #8957ff;
  --success: #39d99a;
  --danger: #ff7b91;
  --warning: #ffc857;

  /* Typography */

  --text: #f1f5ff;
  --text-soft: #c1cce0;
  --muted: #8c9ab3;

  /* Borders */

  --border: rgba(154, 180, 220, 0.14);
  --border-hover: rgba(0, 200, 255, 0.42);

  /* Gradients */

  --gradient: linear-gradient(
    115deg,
    var(--primary),
    var(--secondary),
    var(--purple)
  );

  --gradient-soft: linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.12),
    rgba(137, 87, 255, 0.12)
  );

  /* Shadows */

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);

  --shadow-hover: 0 22px 55px rgba(0, 0, 0, 0.32);

  --glow-primary: 0 0 35px rgba(0, 200, 255, 0.18);

  /* Border radius */

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  /* Layout */

  --container: 1180px;
  --header-height: 82px;

  /* Animation */

  --transition: 0.3s cubic-bezier(0.2, 0.75, 0.3, 1);

}


/* ==========================================================
   02. GLOBAL RESET
========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--bg);
}

body {
  position: relative;

  width: 100%;
  min-width: 320px;
  min-height: 100vh;

  overflow-x: hidden;

  color: var(--text);

  background:
    radial-gradient(
      ellipse at 15% 5%,
      rgba(0, 102, 180, 0.09),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 90% 25%,
      rgba(102, 60, 200, 0.08),
      transparent 34%
    ),
    var(--bg);

  font-family:
    "Inter",
    "Noto Sans Devanagari",
    sans-serif;

  font-size: 15px;
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family:
    "Inter",
    "Noto Sans Devanagari",
    sans-serif;
}

button,
input,
textarea,
select {
  font-size: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
video,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
}

::selection {
  color: #fff;
  background: rgba(0, 180, 255, 0.4);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(
    var(--container),
    calc(100% - 48px)
  );

  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 1;

  padding: 110px 0;

  isolation: isolate;
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.008);
}

main,
.footer {
  position: relative;
  z-index: 1;
}


/* ==========================================================
   03. PARTICLE BACKGROUND

   NOTE:
   JavaScript controls the particle movement
   and spider-web interaction.

   CSS keeps the canvas visible without
   covering website content.
========================================================== */

#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.background-glow {
  position: absolute;

  z-index: -1;

  width: 340px;
  height: 340px;

  border-radius: 50%;

  filter: blur(100px);

  opacity: 0.12;

  pointer-events: none;
}

.glow-one {
  top: 15%;
  left: -190px;

  background: var(--primary);
}

.glow-two {
  top: 48%;
  right: -190px;

  background: var(--purple);
}


/* ==========================================================
   04. SCROLL PROGRESS
========================================================== */

#scrollProgress {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 2000;

  width: 0;
  height: 3px;

  background: var(--gradient);

  box-shadow:
    0 0 12px rgba(0, 200, 255, 0.55);

  pointer-events: none;
}


/* ==========================================================
   05. NAVIGATION
========================================================== */

.header {
  position: fixed;

  inset: 0 0 auto;

  z-index: 1000;

  height: var(--header-height);

  border-bottom: 1px solid transparent;

  background: rgba(8, 13, 27, 0.65);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(8, 13, 27, 0.96);

  border-bottom-color: var(--border);

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.16);
}

.nav-container {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;

  flex-shrink: 0;

  font-size: 1.75rem;
  font-weight: 800;

  letter-spacing: -1px;
}

.logo-text,
.logo-name {
  display: inline-block;

  font-weight: 800;

  background: linear-gradient(
    90deg,
    #ffffff,
    #00dcff,
    #a78bfa,
    #ffffff
  );

  background-size: 250% auto;

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  animation:
    logoGradient 5s ease-in-out infinite;

  transition:
    transform var(--transition),
    filter var(--transition);
}

.logo-name {
  font-size: 1.6rem;
}

.logo:hover .logo-text,
.logo:hover .logo-name {
  transform: scale(1.05);

  filter:
    drop-shadow(
      0 0 8px rgba(0, 220, 255, 0.55)
    );
}

.logo-bracket {
  color: var(--primary);
}

.logo-dot {
  color: var(--purple);
}

@keyframes logoGradient {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

}

.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 19px;
}

.nav-link {
  position: relative;

  display: inline-block;

  padding: 10px 0;

  color: var(--muted);

  font-size: 0.79rem;
  font-weight: 600;

  white-space: nowrap;

  transition:
    color var(--transition);
}

.nav-link::after {
  content: "";

  position: absolute;

  bottom: 3px;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--gradient);

  border-radius: 4px;

  transition:
    width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 9px 13px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);

  color: var(--text-soft);

  font-size: 0.82rem;
  font-weight: 600;

  white-space: nowrap;

  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.language-toggle:hover {
  transform: translateY(-2px);

  color: var(--primary);

  border-color: var(--border-hover);

  background: rgba(0, 200, 255, 0.07);
}

.language-toggle i {
  font-size: 1rem;
}

.menu-toggle {
  display: none;

  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--card);

  font-size: 1.1rem;
}


/* ==========================================================
   06. BUTTONS
========================================================== */

.btn {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  min-height: 49px;

  padding: 13px 22px;

  border: 1px solid transparent;
  border-radius: 13px;

  font-size: 0.9rem;
  font-weight: 700;

  line-height: 1.4;
  text-align: center;

  overflow: hidden;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform:
    translateY(-1px)
    scale(0.98);
}

.btn-primary {
  color: #06111d;

  background: var(--gradient);

  box-shadow:
    0 8px 25px rgba(0, 160, 255, 0.15);
}

.btn-primary:hover {
  box-shadow:
    0 12px 32px rgba(0, 160, 255, 0.27);
}

.btn-primary:disabled {
  opacity: 0.65;

  cursor: wait;

  transform: none;
}

.btn-secondary {
  color: var(--text);

  border-color: var(--border);

  background: rgba(255, 255, 255, 0.035);
}

.btn-secondary:hover {
  color: var(--primary);

  border-color: var(--border-hover);

  background: rgba(0, 200, 255, 0.06);
}


/* ==========================================================
   07. HERO SECTION
========================================================== */

.hero {
  min-height: 790px;

  padding-top:
    calc(var(--header-height) + 90px);

  padding-bottom: 100px;

  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, 0.92fr);

  align-items: center;

  gap: clamp(25px, 5vw, 65px);
}

.hero-content {
  position: relative;

  z-index: 2;

  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 8px 14px;

  margin-bottom: 24px;

  border:
    1px solid rgba(0, 200, 255, 0.19);

  border-radius: 30px;

  background:
    rgba(0, 200, 255, 0.06);

  color: var(--primary);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.3px;
}

.status-dot {
  display: inline-block;

  flex-shrink: 0;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #3fe6a0;

  box-shadow:
    0 0 12px rgba(63, 230, 160, 0.65);
}

.hero-greeting {
  margin-bottom: 1px;

  color: var(--text-soft);

  font-size: 1.2rem;
  font-weight: 500;
}

.hero-title {
  margin-bottom: 10px;

  font-size:
    clamp(2.4rem, 5.5vw, 5.4rem);

  font-weight: 800;

  line-height: 1.12;

  letter-spacing: -2.5px;

  overflow-wrap: anywhere;
}

.gradient-text {
  color: var(--primary);

  background: var(--gradient);

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.hero-role {
  min-height: 40px;

  margin-bottom: 19px;

  color: var(--primary);

  font-size:
    clamp(1.05rem, 2.2vw, 1.45rem);

  font-weight: 700;

  line-height: 1.5;
}

.typing-cursor {
  display: inline-block;

  color: var(--purple);

  animation:
    cursorBlink 0.8s steps(2, start) infinite;
}

@keyframes cursorBlink {

  to {
    visibility: hidden;
  }

}

.hero-description {
  max-width: 560px;

  margin-bottom: 21px;

  color: var(--text-soft);

  font-size: 1rem;

  line-height: 1.95;
}

.hero-location {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 28px;

  color: var(--muted);

  font-size: 0.9rem;
}

.hero-location i {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 13px;

  margin-bottom: 34px;
}

.hero-social > p {
  margin-bottom: 12px;

  color: var(--muted);

  font-size: 0.83rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;

  gap: 11px;
}

.social-links a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border: 1px solid var(--border);
  border-radius: 13px;

  background:
    rgba(255, 255, 255, 0.035);

  color: var(--text-soft);

  font-size: 1.08rem;

  transition:
    transform var(--transition),
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.social-links a:hover,
.footer-social a:hover {
  color: var(--primary);

  border-color: var(--border-hover);

  background:
    rgba(0, 200, 255, 0.08);

  transform: translateY(-4px);

  box-shadow:
    0 8px 20px rgba(0, 220, 255, 0.15);
}


/* ==========================================================
   08. PROFESSIONAL 3D PROFILE
========================================================== */

.hero-visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 490px;

  perspective: 1000px;
}

.profile-frame {
  position: relative;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: min(350px, 75vw);

  aspect-ratio: 1;

  padding: 10px;

  border:
    1px solid rgba(0, 200, 255, 0.45);

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(0, 200, 255, 0.17),
      rgba(137, 87, 255, 0.16)
    );

  box-shadow:
    0 0 0 12px rgba(0, 200, 255, 0.025),
    0 0 0 25px rgba(137, 87, 255, 0.025),
    0 0 75px rgba(0, 150, 255, 0.14);

  transform-style: preserve-3d;

  will-change: transform;

  transition:
    transform 0.25s ease-out,
    box-shadow 0.3s ease;
}

.profile-frame:hover {
  box-shadow:
    0 0 0 12px rgba(0, 200, 255, 0.035),
    0 0 0 25px rgba(137, 87, 255, 0.035),
    0 0 95px rgba(0, 150, 255, 0.23);
}

.profile-glow {
  position: absolute;

  inset: -18px;

  z-index: -1;

  border-radius: 50%;

  background: var(--gradient);

  opacity: 0.14;

  filter: blur(30px);

  pointer-events: none;

  transition:
    opacity 0.4s ease;
}

.profile-frame:hover .profile-glow {
  opacity: 0.28;
}

.profile-photo {
  position: relative;

  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border:
    4px solid rgba(255, 255, 255, 0.07);

  border-radius: 50%;

  background: var(--bg-soft);

  transform: translateZ(12px);

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.profile-frame:hover .profile-photo {
  transform:
    translateZ(24px)
    scale(1.035);

  filter: brightness(1.08);
}

.profile-fallback {
  position: absolute;

  inset: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 12px;

  border-radius: 50%;

  background: var(--bg-soft);

  color: var(--primary);

  text-align: center;
}

.profile-fallback i {
  font-size: 5rem;
}

.profile-fallback span {
  font-size: 1rem;
  font-weight: 700;
}

.profile-orbit {
  position: absolute;

  z-index: 0;

  border:
    1px dashed rgba(0, 200, 255, 0.22);

  border-radius: 50%;

  pointer-events: none;
}

.orbit-one {
  width: 420px;
  height: 420px;

  animation:
    orbitRotate 30s linear infinite;
}

.orbit-two {
  width: 490px;
  height: 490px;

  border-color:
    rgba(137, 87, 255, 0.18);

  animation:
    orbitRotate 42s linear infinite reverse;
}

@keyframes orbitRotate {

  to {
    transform: rotate(360deg);
  }

}

.floating-card {
  position: absolute;

  z-index: 4;

  display: flex;
  align-items: center;

  gap: 10px;

  padding: 12px 15px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background:
    rgba(13, 23, 42, 0.93);

  box-shadow: var(--shadow);

  color: var(--text-soft);

  font-size: 0.78rem;
  font-weight: 600;

  backdrop-filter: blur(12px);

  animation:
    floatingCard 4s ease-in-out infinite;
}

.floating-card i {
  color: var(--primary);

  font-size: 1.1rem;
}

.floating-card-top {
  top: 15%;
  right: -5px;
}

.floating-card-bottom {
  bottom: 15%;
  left: -15px;

  animation-delay: -2s;
}

.floating-label {
  position: absolute;

  z-index: 5;

  bottom: 2%;
  right: 8%;

  display: flex;
  align-items: center;

  gap: 9px;

  padding: 10px 14px;

  border: 1px solid var(--border);
  border-radius: 30px;

  background:
    rgba(12, 20, 39, 0.93);

  color: var(--text-soft);

  font-size: 0.76rem;
  font-weight: 600;
}

@keyframes floatingCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

}

.scroll-indicator {
  position: absolute;

  bottom: 24px;
  left: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 4px;

  color: var(--muted);

  font-size: 0.74rem;

  transform: translateX(-50%);

  animation:
    scrollHint 2s ease-in-out infinite;
}

.scroll-indicator i {
  color: var(--primary);
}

@keyframes scrollHint {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 6px);
  }

}


/* ==========================================================
   09. SECTION HEADINGS
========================================================== */

.section-heading {
  max-width: 760px;

  margin: 0 auto 55px;

  text-align: center;
}

.section-label {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--primary);

  font-size: 0.77rem;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.section-title {
  margin-bottom: 14px;

  color: var(--text);

  font-size:
    clamp(1.9rem, 4.3vw, 3.15rem);

  font-weight: 800;

  line-height: 1.25;

  letter-spacing: -1.3px;

  overflow-wrap: anywhere;
}

.section-title span {
  color: var(--primary);

  background: var(--gradient);

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  max-width: 650px;

  margin-inline: auto;

  color: var(--muted);

  font-size: 0.98rem;

  line-height: 1.8;
}

.section-footnote {
  max-width: 820px;

  margin: 30px auto 0;

  color: var(--muted);

  font-size: 0.84rem;

  text-align: center;
}

.section-footnote i {
  margin-right: 5px;

  color: var(--primary);
}


/* ==========================================================
   10. ABOUT SECTION
========================================================== */

.about-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  gap: 55px;

  align-items: start;
}

.about-content h3 {
  margin-bottom: 20px;

  color: var(--text);

  font-size:
    clamp(1.45rem, 2.8vw, 2rem);

  line-height: 1.45;
}

.about-content > p {
  margin-bottom: 17px;

  color: var(--text-soft);

  font-size: 0.94rem;

  line-height: 1.95;
}

.about-highlights {
  display: grid;

  gap: 17px;

  margin-top: 30px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;

  gap: 15px;
}

.highlight-item > i {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 45px;
  height: 45px;

  border: 1px solid var(--border-hover);
  border-radius: 13px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.15rem;
}

.highlight-item h4 {
  margin-bottom: 4px;

  font-size: 0.97rem;
}

.highlight-item p {
  color: var(--muted);

  font-size: 0.85rem;
}

.about-info-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.info-card {
  min-width: 0;

  padding: 22px 19px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);

  border-color: var(--border-hover);

  background: var(--card-hover);
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  margin-bottom: 16px;

  border-radius: 12px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.1rem;
}

.info-card > span {
  display: block;

  margin-bottom: 5px;

  color: var(--muted);

  font-size: 0.78rem;
}

.info-card h4 {
  overflow-wrap: anywhere;

  color: var(--text);

  font-size: 0.96rem;

  line-height: 1.5;
}

.interests-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  margin-top: 65px;
}

.interest-card {
  min-width: 0;

  padding: 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.interest-card:hover {
  transform: translateY(-7px);

  border-color: var(--border-hover);

  background: var(--card-hover);
}

.interest-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 51px;
  height: 51px;

  margin-bottom: 20px;

  border: 1px solid var(--border);
  border-radius: 15px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.3rem;
}

.interest-card h3 {
  margin-bottom: 10px;

  font-size: 1.05rem;
}

.interest-card p {
  color: var(--muted);

  font-size: 0.88rem;

  line-height: 1.8;
}


/* ==========================================================
   11. SKILLS
========================================================== */

.skills-layout {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 25px;

  align-items: stretch;
}

.skills-panel {
  min-width: 0;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);
}

.panel-heading {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 27px;
}

.panel-heading > i {
  color: var(--primary);

  font-size: 1.25rem;
}

.panel-heading h3 {
  font-size: 1.1rem;
}

.skills-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 13px;
}

.skill-card {
  min-width: 0;

  padding: 18px 10px;

  border: 1px solid var(--border);
  border-radius: 15px;

  background:
    rgba(255, 255, 255, 0.018);

  text-align: center;

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.skill-card:hover {
  transform: translateY(-5px);

  border-color: var(--border-hover);

  background:
    rgba(0, 200, 255, 0.05);

  box-shadow:
    0 12px 30px rgba(0, 200, 255, 0.08);
}

.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 47px;
  height: 47px;

  margin: 0 auto 12px;

  border-radius: 14px;

  background: var(--gradient-soft);

  font-size: 1.7rem;
}

.html-icon {
  color: #ff784e;
}

.css-icon {
  color: #4d9cff;
}

.js-icon {
  color: #f5d44d;
}

.git-icon {
  color: #ff795e;
}

.design-icon {
  color: #bc8cff;
}

.office-icon {
  color: #58a7ff;
}

.skill-card h4 {
  margin-bottom: 8px;

  font-size: 0.85rem;

  overflow-wrap: anywhere;
}

.skill-status {
  display: inline-block;

  padding: 4px 7px;

  border:
    1px solid rgba(0, 200, 255, 0.13);

  border-radius: 6px;

  background:
    rgba(0, 200, 255, 0.05);

  color: var(--primary);

  font-size: 0.65rem;
  font-weight: 600;
}

.skill-status.completed,
.skill-status.course-completed,
.skill-card.completed .skill-status,
.skill-card.course-completed .skill-status,
.skill-card[data-status="completed"] .skill-status {
  color: var(--success);

  background:
    rgba(57, 217, 154, 0.09);

  border-color:
    rgba(57, 217, 154, 0.28);
}

.skill-card.completed,
.skill-card.course-completed,
.skill-card[data-status="completed"] {
  border-color:
    rgba(57, 217, 154, 0.18);
}

.skill-status.learning,
.skill-card.learning .skill-status,
.skill-card[data-status="learning"] .skill-status {
  color: var(--primary);

  background:
    rgba(0, 200, 255, 0.05);

  border-color:
    rgba(0, 200, 255, 0.2);
}

.roadmap-list {
  display: grid;

  gap: 14px;
}

.roadmap-item {
  display: grid;

  grid-template-columns:
    37px minmax(0, 1fr);

  gap: 13px;

  padding: 17px 0;

  border-bottom:
    1px solid var(--border);
}

.roadmap-item:last-child {
  border-bottom: 0;
}

.roadmap-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 35px;
  height: 35px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 0.75rem;
  font-weight: 800;
}

.roadmap-item h4 {
  margin-bottom: 5px;

  font-size: 0.9rem;
}

.roadmap-item p {
  color: var(--muted);

  font-size: 0.79rem;

  line-height: 1.7;
}

.roadmap-status {
  display: inline-block;

  grid-column: 2;

  width: fit-content;

  margin-top: -4px;

  color: var(--primary);

  font-size: 0.7rem;
  font-weight: 700;
}


/* ==========================================================
   12. PROJECTS
========================================================== */

.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}

.project-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);

  border-color: var(--border-hover);

  box-shadow: var(--shadow-hover);
}

.project-visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 210px;

  overflow: hidden;

  border-bottom:
    1px solid var(--border);

  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(0, 200, 255, 0.2),
      transparent 60%
    ),
    #0d192d;
}

.project-visual::before,
.project-visual::after {
  content: "";

  position: absolute;

  border:
    1px solid rgba(0, 200, 255, 0.13);

  border-radius: 50%;

  pointer-events: none;
}

.project-visual::before {
  width: 200px;
  height: 200px;
}

.project-visual::after {
  width: 280px;
  height: 280px;

  border-color:
    rgba(137, 87, 255, 0.12);
}

.project-visual-ai {
  background:
    radial-gradient(
      circle,
      rgba(137, 87, 255, 0.2),
      transparent 65%
    ),
    #0d192d;
}

.project-visual-study {
  background:
    radial-gradient(
      circle,
      rgba(0, 200, 255, 0.2),
      transparent 65%
    ),
    #0d192d;
}

.project-visual-dashboard {
  background:
    radial-gradient(
      circle,
      rgba(52, 120, 255, 0.2),
      transparent 65%
    ),
    #0d192d;
}

.project-art {
  position: relative;

  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 13px;

  color: var(--primary);
}

.project-art i {
  font-size: 3.6rem;

  filter:
    drop-shadow(
      0 0 20px rgba(0, 200, 255, 0.35)
    );

  transition:
    transform var(--transition);
}

.project-card:hover .project-art i {
  transform:
    scale(1.1)
    rotate(-4deg);
}

.project-art span {
  color: var(--text);

  font-size: 0.9rem;
  font-weight: 800;

  letter-spacing: 2px;
}

.project-number {
  position: absolute;

  top: 15px;
  right: 17px;

  color:
    rgba(255, 255, 255, 0.42);

  font-size: 0.75rem;
  font-weight: 700;
}

.project-content {
  padding: 24px;
}

.project-status {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 13px;

  color: var(--muted);

  font-size: 0.7rem;
}

.project-content h3 {
  margin-bottom: 12px;

  font-size: 1.2rem;
}

.project-content > p {
  min-height: 112px;

  margin-bottom: 18px;

  color: var(--text-soft);

  font-size: 0.85rem;

  line-height: 1.85;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  /* Space between tags and project links */
  margin-bottom: 20px;
}

.project-tags span {
  padding: 6px 10px;

  border: 1px solid var(--border);
  border-radius: 7px;

  background: rgba(255, 255, 255, 0.025);

  color: var(--muted);

  font-size: 0.7rem;
  font-weight: 600;
}

.project-links {
  margin-top: 0;
}


/* ==========================================================
   13. GRAPHIC DESIGN GALLERY
========================================================== */

.designs-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 23px;
}

.design-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.design-card:hover {
  transform: translateY(-7px);

  border-color: var(--border-hover);

  box-shadow: var(--shadow-hover);
}

.design-image-link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  overflow: hidden;

  aspect-ratio: 4 / 3;

  background: #101b30;
}

.design-image-link::after {
  content: "\f00e";

  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  background:
    rgba(5, 12, 25, 0.42);

  font-family:
    "Font Awesome 6 Free";

  font-size: 2rem;
  font-weight: 900;

  opacity: 0;

  transition:
    opacity var(--transition);

  pointer-events: none;
}

.design-image-link:hover::after {
  opacity: 1;
}

.design-image-link img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  transition:
    transform 0.5s ease;
}

.design-card:hover .design-image-link img {
  transform: scale(1.04);
}

.design-info {
  padding: 19px 20px 21px;
}

.design-info h3 {
  margin-bottom: 5px;

  font-size: 0.98rem;

  line-height: 1.5;
}

.design-info p {
  color: var(--muted);

  font-size: 0.79rem;
}

.design-info .design-category {
  display: inline-block;

  margin-bottom: 9px;

  color: var(--primary);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.4px;
}

.design-info .design-software {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  margin-top: 11px;

  color: var(--text-soft);

  font-size: 0.72rem;
}


/* ==========================================================
   14. DESIGN FILTER BUTTONS
========================================================== */

.design-filters,
.gallery-filters,
.design-filter-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 11px;

  margin-bottom: 34px;
}

.design-filter,
.filter-btn,
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 10px 17px;

  border: 1px solid var(--border);
  border-radius: 30px;

  background:
    rgba(255, 255, 255, 0.035);

  color: var(--text-soft);

  font-size: 0.79rem;
  font-weight: 700;

  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.design-filter:hover,
.filter-btn:hover,
.gallery-filter-btn:hover {
  transform: translateY(-2px);

  color: var(--primary);

  border-color: var(--border-hover);

  background:
    rgba(0, 200, 255, 0.07);
}

.design-filter.active,
.filter-btn.active,
.gallery-filter-btn.active,
.design-filter[aria-pressed="true"],
.filter-btn[aria-pressed="true"],
.gallery-filter-btn[aria-pressed="true"] {
  color: #06111d;

  border-color: transparent;

  background: var(--gradient);

  box-shadow:
    0 7px 22px rgba(0, 200, 255, 0.14);
}

.design-card.is-hidden {
  display: none;
}

.design-count,
.gallery-count {
  margin-bottom: 20px;

  color: var(--muted);

  font-size: 0.83rem;

  text-align: center;
}

.designs-loading,
.designs-empty,
.gallery-empty {
  grid-column: 1 / -1;

  padding: 40px 25px;

  border:
    1px dashed var(--border-hover);

  border-radius: var(--radius-lg);

  background: var(--card);

  color: var(--text-soft);

  text-align: center;
}

.designs-loading i,
.designs-empty i,
.gallery-empty i {
  display: block;

  margin-bottom: 12px;

  color: var(--primary);

  font-size: 1.8rem;
}


/* ==========================================================
   15. RESTAURANT MENU CTA
========================================================== */

.design-menu-cta {
  display: flex;
  align-items: center;

  gap: 18px;

  margin-top: 32px;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--gradient-soft);
}

.design-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 55px;
  height: 55px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--card);

  color: var(--primary);

  font-size: 1.5rem;
}

.design-menu-content {
  flex: 1;

  min-width: 0;
}

.design-menu-content h3 {
  margin-bottom: 4px;

  font-size: 1.05rem;
}

.design-menu-content p {
  color: var(--muted);

  font-size: 0.84rem;
}

.design-contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 20px;

  margin-top: 36px;

  text-align: center;
}

.design-contact-cta > p {
  color: var(--text-soft);

  font-size: 0.93rem;
}


/* ==========================================================
   16. IMAGE LIGHTBOX
========================================================== */

.design-lightbox,
.gallery-lightbox,
.lightbox {
  position: fixed;

  inset: 0;

  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 70px 20px 30px;

  background:
    rgba(3, 8, 18, 0.95);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.design-lightbox[hidden],
.gallery-lightbox[hidden],
.lightbox[hidden] {
  display: none !important;
}

.lightbox-content,
.lightbox-inner,
.design-lightbox-content {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 15px;

  width: min(100%, 1100px);

  max-height: 100%;
}

.lightbox img,
.lightbox-image,
.design-lightbox img,
.gallery-lightbox img {
  display: block;

  width: auto;

  max-width: 100%;
  max-height: 75vh;

  object-fit: contain;

  border: 1px solid var(--border);
  border-radius: 13px;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-caption,
.design-lightbox-caption {
  max-width: 850px;

  color: var(--text-soft);

  font-size: 0.88rem;

  text-align: center;
}

.lightbox-close,
.design-lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;

  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border: 1px solid var(--border-hover);
  border-radius: 12px;

  background:
    rgba(12, 20, 39, 0.94);

  color: #fff;

  font-size: 1.1rem;

  transition:
    transform var(--transition),
    background var(--transition);
}

.lightbox-close,
.design-lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  top: 50%;
  left: 16px;

  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 16px;

  transform: translateY(-50%);
}

.lightbox-close:hover,
.design-lightbox-close:hover {
  background:
    rgba(0, 200, 255, 0.2);

  transform: scale(1.05);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background:
    rgba(0, 200, 255, 0.2);
}

body.lightbox-open {
  overflow: hidden;
}


/* ==========================================================
   17. EDUCATION
========================================================== */

.education-timeline {
  position: relative;

  display: grid;

  gap: 25px;

  max-width: 850px;

  margin-inline: auto;
}

.education-timeline::before {
  content: "";

  position: absolute;

  top: 45px;
  bottom: 45px;
  left: 31px;

  width: 1px;

  background:
    linear-gradient(
      to bottom,
      var(--primary),
      var(--purple),
      transparent
    );
}

.education-card {
  position: relative;

  display: grid;

  grid-template-columns:
    64px minmax(0, 1fr);

  gap: 22px;

  align-items: start;
}

.timeline-marker {
  position: relative;

  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 63px;
  height: 63px;

  border: 1px solid var(--border-hover);
  border-radius: 19px;

  background: #101c31;

  box-shadow:
    0 0 25px rgba(0, 200, 255, 0.07);

  color: var(--primary);

  font-size: 1.35rem;
}

.education-card-content {
  padding: 25px 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.education-card:hover .education-card-content {
  transform: translateX(5px);

  border-color: var(--border-hover);

  box-shadow: var(--shadow);
}

.education-type {
  display: inline-block;

  margin-bottom: 9px;

  color: var(--primary);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.education-card-content h3 {
  margin-bottom: 8px;

  font-size: 1.15rem;

  line-height: 1.5;
}

.education-card-content h4 {
  margin-bottom: 9px;

  color: var(--text-soft);

  font-size: 0.94rem;
}

.education-card-content > p {
  color: var(--muted);

  font-size: 0.84rem;

  line-height: 1.8;
}

.education-location {
  display: flex;
  align-items: flex-start;

  gap: 8px;
}

.education-location i {
  margin-top: 5px;

  color: var(--primary);
}

.education-result {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-top: 18px;

  padding: 8px 13px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background:
    rgba(0, 200, 255, 0.04);
}

.result-label {
  color: var(--muted);

  font-size: 0.75rem;
  font-weight: 700;
}

.education-result strong {
  color: var(--primary);

  font-size: 1rem;
}


/* ==========================================================
   18. CV
========================================================== */

.cv-section {
  padding-top: 40px;
  padding-bottom: 90px;
}

.cv-card {
  display: flex;
  align-items: center;

  gap: 27px;

  padding: 36px;

  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(0, 200, 255, 0.09),
      transparent 40%
    ),
    var(--card);

  box-shadow: var(--shadow);
}

.cv-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 78px;
  height: 78px;

  border: 1px solid var(--border);
  border-radius: 23px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 2rem;
}

.cv-content {
  flex: 1;

  min-width: 0;
}

.cv-content .section-label {
  margin-bottom: 8px;
}

.cv-content h2 {
  margin-bottom: 10px;

  font-size:
    clamp(1.35rem, 2.5vw, 1.85rem);

  line-height: 1.4;
}

.cv-content > p {
  color: var(--text-soft);

  font-size: 0.87rem;

  line-height: 1.8;
}

.cv-content .cv-file-note {
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.75rem;

  overflow-wrap: anywhere;
}

.cv-file-note code {
  color: var(--primary);

  font-size: 0.75rem;
}

.cv-actions {
  display: flex;
  flex-direction: column;

  gap: 11px;

  flex-shrink: 0;
}

.cv-actions .btn {
  width: 165px;
}


/* ==========================================================
   19. SERVICES
========================================================== */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 21px;
}

.service-card {
  position: relative;

  min-width: 0;

  overflow: hidden;

  padding: 29px 25px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);

  border-color: var(--border-hover);

  background: var(--card-hover);

  box-shadow: var(--shadow);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 51px;
  height: 51px;

  margin-bottom: 20px;

  border: 1px solid var(--border);
  border-radius: 15px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.3rem;
}

.service-card h3 {
  margin-bottom: 11px;

  font-size: 1.02rem;

  line-height: 1.5;
}

.service-card p {
  position: relative;

  z-index: 1;

  color: var(--muted);

  font-size: 0.85rem;

  line-height: 1.85;
}

.service-number {
  position: absolute;

  right: 15px;
  bottom: -15px;

  color:
    rgba(255, 255, 255, 0.035);

  font-size: 5.5rem;
  font-weight: 800;

  line-height: 1;

  pointer-events: none;
}


/* ==========================================================
   20. LEARNING JOURNEY
========================================================== */

.journey-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;
}

.journey-card {
  position: relative;

  min-width: 0;

  padding: 28px 21px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.journey-card:hover {
  transform: translateY(-7px);

  border-color: var(--border-hover);

  box-shadow: var(--shadow);
}

.journey-step {
  position: absolute;

  top: 18px;
  right: 19px;

  color:
    rgba(255, 255, 255, 0.22);

  font-size: 0.8rem;
  font-weight: 800;
}

.journey-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 53px;
  height: 53px;

  margin-bottom: 22px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.35rem;
}

.journey-card h3 {
  margin-bottom: 10px;

  font-size: 0.99rem;

  line-height: 1.55;
}

.journey-card p {
  color: var(--muted);

  font-size: 0.81rem;

  line-height: 1.8;
}


/* ==========================================================
   21. REAL CLIENT REVIEWS
========================================================== */

.reviews-grid,
.review-grid,
.testimonials-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 21px;
}

.review-card,
.testimonial-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 27px 23px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.review-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);

  border-color: var(--border-hover);

  background: var(--card-hover);

  box-shadow: var(--shadow-hover);
}

.review-card::before,
.testimonial-card::before {
  content: "\f10d";

  position: absolute;

  top: 19px;
  right: 21px;

  color:
    rgba(0, 200, 255, 0.13);

  font-family:
    "Font Awesome 6 Free";

  font-size: 1.65rem;
  font-weight: 900;
}

.review-stars,
.reviews-stars,
.review-rating {
  display: inline-flex;
  align-items: center;

  gap: 4px;

  color: var(--warning);

  font-size: 0.9rem;
}

.review-card .review-stars,
.testimonial-card .review-stars {
  margin-bottom: 16px;
}

.review-card > p,
.review-text,
.review-content,
.testimonial-text {
  flex: 1;

  margin-bottom: 23px;

  color: var(--text-soft);

  font-size: 0.86rem;

  line-height: 1.9;

  overflow-wrap: anywhere;
}

.review-author,
.review-user,
.testimonial-author {
  display: flex;
  align-items: center;

  gap: 12px;

  padding-top: 17px;

  border-top:
    1px solid var(--border);
}

.review-avatar,
.reviewer-avatar,
.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 44px;
  height: 44px;

  border: 1px solid var(--border-hover);
  border-radius: 50%;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 0.92rem;
  font-weight: 800;
}

.review-author-info,
.reviewer-info {
  flex: 1;

  min-width: 0;
}

.review-author h4,
.review-user h4,
.testimonial-author h4,
.reviewer-name {
  color: var(--text);

  font-size: 0.88rem;
  font-weight: 700;

  line-height: 1.5;

  overflow-wrap: anywhere;
}

.review-author span,
.review-user span,
.testimonial-author span,
.reviewer-role,
.review-date {
  color: var(--muted);

  font-size: 0.72rem;
}

.review-category,
.review-service {
  display: inline-block;

  width: fit-content;

  margin-bottom: 14px;

  padding: 5px 10px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background:
    rgba(0, 200, 255, 0.04);

  color: var(--primary);

  font-size: 0.7rem;
  font-weight: 700;
}


/* ==========================================================
   22. REVIEWS EMPTY STATE
========================================================== */

.reviews-empty-card {
  max-width: 720px;

  margin-inline: auto;

  padding: 48px 35px;

  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 50% 0,
      rgba(0, 200, 255, 0.09),
      transparent 50%
    ),
    var(--card);

  text-align: center;
}

.reviews-illustration {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 82px;
  height: 82px;

  margin: 0 auto 23px;

  border: 1px solid var(--border-hover);
  border-radius: 26px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 2.1rem;
}

.reviews-empty-card h3 {
  margin-bottom: 12px;

  font-size: 1.45rem;
}

.reviews-empty-card > p {
  max-width: 550px;

  margin: 0 auto 25px;

  color: var(--text-soft);

  font-size: 0.91rem;

  line-height: 1.9;
}


/* ==========================================================
   23. REVIEW STATISTICS
========================================================== */

.reviews-summary,
.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 22px;

  max-width: 700px;

  margin: 0 auto 36px;

  padding: 22px 28px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--gradient-soft);
}

.reviews-summary strong,
.review-summary strong {
  color: var(--text);

  font-size: 1.7rem;
  font-weight: 800;
}

.reviews-summary p,
.review-summary p {
  color: var(--muted);

  font-size: 0.82rem;
}

.reviews-cta,
.review-contact-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-top: 38px;

  text-align: center;
}

.reviews-cta p,
.review-contact-cta p {
  color: var(--text-soft);

  font-size: 0.9rem;
}


/* ==========================================================
   24. REVIEW SUBMISSION FORM

   Works with future HTML review form.
   Database functionality requires JavaScript.
========================================================== */

.review-form-container,
.reviews-form-container,
.review-form-card {
  max-width: 760px;

  margin: 45px auto 0;

  padding: 32px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(0, 200, 255, 0.035),
      rgba(137, 87, 255, 0.035)
    ),
    var(--card);

  box-shadow: var(--shadow);
}

.review-form-title,
.review-form-container h3,
.review-form-card h3 {
  margin-bottom: 10px;

  color: var(--text);

  font-size: 1.35rem;
  font-weight: 800;
}

.review-form-description,
.review-form-subtitle {
  margin-bottom: 25px;

  color: var(--muted);

  font-size: 0.87rem;

  line-height: 1.8;
}

.review-form,
#reviewForm {
  display: grid;

  gap: 17px;
}

.review-form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.review-form-group {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.review-form-group label {
  color: var(--text-soft);

  font-size: 0.84rem;
  font-weight: 600;
}

.review-form-group input,
.review-form-group select,
.review-form-group textarea,
#reviewForm input,
#reviewForm select,
#reviewForm textarea {
  width: 100%;
  min-width: 0;

  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background:
    rgba(5, 12, 25, 0.6);

  color: var(--text);

  font-size: 0.86rem;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.review-form-group input,
.review-form-group select,
#reviewForm input,
#reviewForm select {
  min-height: 49px;
}

.review-form-group textarea,
#reviewForm textarea {
  min-height: 135px;

  resize: vertical;
}

.review-form-group input:focus,
.review-form-group select:focus,
.review-form-group textarea:focus,
#reviewForm input:focus,
#reviewForm select:focus,
#reviewForm textarea:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 3px rgba(0, 200, 255, 0.08);
}

.review-form-group input::placeholder,
.review-form-group textarea::placeholder,
#reviewForm input::placeholder,
#reviewForm textarea::placeholder {
  color: #687791;
}

.review-rating-input,
.rating-selector,
.star-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.star-rating button,
.rating-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.03);

  color: var(--muted);

  font-size: 1.2rem;

  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.star-rating button:hover,
.star-rating button.active,
.star-rating button.selected,
.rating-star.active,
.rating-star.selected {
  color: var(--warning);

  background:
    rgba(255, 200, 87, 0.09);

  transform: translateY(-2px);
}

.review-submit-button,
#reviewForm button[type="submit"] {
  width: 100%;
}

.review-form-note,
.review-form-status,
#reviewFormStatus {
  color: var(--muted);

  font-size: 0.79rem;

  line-height: 1.7;
}

.review-form-status.success,
#reviewFormStatus.success {
  color: var(--success);
}

.review-form-status.error,
#reviewFormStatus.error {
  color: var(--danger);
}


/* ==========================================================
   25. CONTACT
========================================================== */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 30px;

  align-items: start;
}

.contact-information,
.contact-form-card {
  min-width: 0;

  padding: 31px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--card);
}

.contact-information > h3,
.contact-form-card > h3 {
  margin-bottom: 13px;

  font-size: 1.3rem;

  line-height: 1.5;
}

.contact-information > p,
.contact-form-intro {
  margin-bottom: 26px;

  color: var(--muted);

  font-size: 0.87rem;

  line-height: 1.85;
}

.contact-method {
  display: flex;
  align-items: center;

  gap: 14px;

  min-width: 0;

  margin-bottom: 13px;

  padding: 14px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.02);

  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.contact-method:hover {
  transform: translateX(4px);

  border-color: var(--border-hover);

  background:
    rgba(0, 200, 255, 0.045);
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 44px;
  height: 44px;

  border: 1px solid var(--border);
  border-radius: 13px;

  background: var(--gradient-soft);

  color: var(--primary);

  font-size: 1.1rem;
}

.whatsapp-icon {
  color: #36dc91;
}

.facebook-icon {
  color: #5599ff;
}

.contact-method-text {
  display: flex;
  flex-direction: column;

  flex: 1;

  min-width: 0;
}

.contact-method-text small {
  margin-bottom: 3px;

  color: var(--muted);

  font-size: 0.73rem;
}

.contact-method-text strong {
  overflow-wrap: anywhere;

  color: var(--text-soft);

  font-size: 0.81rem;
  font-weight: 600;

  line-height: 1.6;
}

.contact-method-arrow {
  flex-shrink: 0;

  color: var(--muted);

  font-size: 0.78rem;
}

.contact-cv-mini {
  display: flex;
  align-items: center;

  gap: 13px;

  margin-top: 22px;

  padding-top: 21px;

  border-top:
    1px solid var(--border);
}

.contact-cv-mini > i {
  color: var(--primary);

  font-size: 1.5rem;
}

.contact-cv-mini > div {
  flex: 1;

  min-width: 0;
}

.contact-cv-mini h4 {
  margin-bottom: 3px;

  font-size: 0.9rem;
}

.contact-cv-mini p {
  color: var(--muted);

  font-size: 0.75rem;
}

.contact-cv-mini > a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 39px;
  height: 39px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--gradient-soft);

  color: var(--primary);

  transition:
    transform var(--transition);
}

.contact-cv-mini > a:hover {
  transform: translateX(4px);
}


/* ==========================================================
   26. CONTACT FORM
========================================================== */

.form-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 8px;

  margin-bottom: 19px;
}

.form-group label {
  color: var(--text-soft);

  font-size: 0.82rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-width: 0;

  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background:
    rgba(5, 12, 25, 0.5);

  color: var(--text);

  font-size: 0.86rem;

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.form-group input {
  min-height: 49px;
}

.form-group textarea {
  min-height: 140px;

  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #687791;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);

  background:
    rgba(5, 12, 25, 0.8);

  box-shadow:
    0 0 0 3px rgba(0, 200, 255, 0.07);
}

.submit-button {
  width: 100%;
}

.form-note {
  margin-top: 14px;

  color: var(--muted);

  font-size: 0.76rem;

  line-height: 1.8;
}

.form-note.success,
.form-note.form-success {
  color: var(--success);
}

.form-note.error,
.form-note.form-error {
  color: var(--danger);
}


/* ==========================================================
   27. FOOTER
========================================================== */

.footer {
  padding: 45px 0 20px;

  border-top:
    1px solid var(--border);

  background:
    rgba(5, 9, 19, 0.7);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.footer-brand .logo {
  margin-bottom: 7px;
}

.footer-brand > p {
  color: var(--muted);

  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;

  border-radius: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  width: 100%;

  margin-top: 15px;

  padding-top: 20px;

  border-top:
    1px solid var(--border);
}

.footer-bottom p {
  color: var(--muted);

  font-size: 0.77rem;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: var(--text-soft);

  font-size: 0.78rem;
  font-weight: 600;

  transition:
    color var(--transition);
}

.footer-top-link:hover {
  color: var(--primary);
}


/* ==========================================================
   28. BACK TO TOP
========================================================== */

.back-to-top {
  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 47px;
  height: 47px;

  border: 1px solid var(--border-hover);
  border-radius: 15px;

  background:
    rgba(11, 22, 40, 0.95);

  color: var(--primary);

  font-size: 1rem;

  box-shadow: var(--shadow);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform: translateY(12px);

  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition),
    background var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;

  transform: translateY(0);
}

.back-to-top:hover {
  background:
    rgba(0, 200, 255, 0.1);

  transform: translateY(-4px);
}


/* ==========================================================
   29. SCROLL REVEAL
========================================================== */

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js-enabled .reveal.visible,
.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

.js-enabled .reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.js-enabled .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.js-enabled .reveal:nth-child(4) {
  transition-delay: 0.17s;
}


/* ==========================================================
   30. SHARED RESPONSIVE PROTECTION
========================================================== */

.project-card,
.design-card,
.service-card,
.review-card,
.testimonial-card,
.interest-card,
.journey-card,
.info-card,
.skills-panel,
.contact-information,
.contact-form-card {
  min-width: 0;
  max-width: 100%;
}

.project-card p,
.design-card p,
.service-card p,
.review-card p,
.journey-card p {
  overflow-wrap: anywhere;
}

.form-group input,
.form-group textarea {
  max-width: 100%;
}


/* ==========================================================
   31. LARGE DESKTOP — 1440px+
========================================================== */

@media (min-width: 1440px) {

  :root {
    --container: 1280px;
  }

  .hero-container {
    gap: 75px;
  }

  .projects-grid,
  .designs-grid,
  .services-grid,
  .reviews-grid {
    gap: 28px;
  }

}


/* ==========================================================
   32. LAPTOP — 901px TO 1439px
========================================================== */

@media (min-width: 901px) and (max-width: 1439px) {

  .hero-container {
    gap: 35px;
  }

  .hero-title {
    font-size:
      clamp(2.7rem, 5vw, 4.7rem);
  }

  .profile-frame {
    width: min(320px, 75vw);
  }

}


/* ==========================================================
   33. TABLET — 1100px AND BELOW
========================================================== */

@media (max-width: 1100px) {

  :root {
    --header-height: 76px;
  }

  .nav-container {
    gap: 17px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.73rem;
  }

  .logo {
    font-size: 1.55rem;
  }

  .language-toggle {
    padding: 8px 10px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero-title {
    font-size:
      clamp(3rem, 5.5vw, 4.6rem);
  }

  .orbit-one {
    width: 370px;
    height: 370px;
  }

  .orbit-two {
    width: 430px;
    height: 430px;
  }

  .profile-frame {
    width: min(310px, 70vw);
  }

  .journey-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ==========================================================
   34. MOBILE NAVIGATION — 900px AND BELOW
========================================================== */

@media (max-width: 900px) {

  :root {
    --header-height: 72px;
  }

  .container {
    width:
      min(var(--container), calc(100% - 36px));
  }

  .menu-toggle {
    display: inline-flex;

    order: 3;
  }

  .nav-container {
    gap: 12px;
  }

  .navbar {
    margin-left: auto;
  }

  .nav-links {
    position: absolute;

    top: calc(100% + 1px);

    left: 18px;
    right: 18px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    max-height:
      calc(100svh - var(--header-height) - 25px);

    overflow-y: auto;

    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background:
      rgba(8, 13, 27, 0.98);

    box-shadow: var(--shadow-hover);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;

    padding: 12px 13px;

    font-size: 0.88rem;
  }

  .nav-link::after {
    bottom: 6px;
    left: 13px;
  }

  .language-toggle {
    margin-left: auto;
  }

  .hero {
    min-height: auto;

    padding-top:
      calc(var(--header-height) + 70px);

    padding-bottom: 95px;
  }

  .hero-container {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .hero-content {
    max-width: 700px;

    margin-inline: auto;

    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-location,
  .hero-buttons,
  .social-links {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 520px);

    min-height: 430px;

    margin-inline: auto;
  }

  .profile-frame {
    width: min(310px, 65vw);
  }

  .orbit-one {
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    width: 420px;
    height: 420px;
  }

  .floating-card-top {
    right: 0;
  }

  .floating-card-bottom {
    left: 0;
  }

  .about-grid,
  .skills-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 35px;
  }

  .projects-grid,
  .designs-grid,
  .services-grid,
  .reviews-grid,
  .review-grid,
  .testimonials-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .cv-card {
    flex-wrap: wrap;
  }

  .cv-content {
    flex-basis:
      calc(100% - 110px);
  }

  .cv-actions {
    flex-direction: row;
    flex-wrap: wrap;

    width: 100%;
  }

  .cv-actions .btn {
    flex: 1;

    width: auto;
  }

}


/* ==========================================================
   35. MOBILE — 600px AND BELOW
========================================================== */

@media (max-width: 600px) {

  .section {
    padding: 78px 0;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .section-title {
    font-size:
      clamp(1.85rem, 8vw, 2.5rem);

    letter-spacing: -0.7px;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  /* HERO */

  .hero {
    padding-top:
      calc(var(--header-height) + 52px);

    padding-bottom: 80px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;

    gap: 35px;
  }

  .hero-content {
    width: 100%;

    order: 1;
  }

  .hero-visual {
    width: 100%;

    order: 2;

    min-height: 355px;
  }

  .hero-title {
    font-size:
      clamp(2.3rem, 10vw, 3.8rem);

    letter-spacing: -1.5px;
  }

  .hero-greeting {
    font-size: 1.05rem;
  }

  .hero-role {
    min-height: 48px;

    font-size: 1.03rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* PROFILE */

  .profile-frame {
    width: min(250px, 67vw);

    padding: 7px;
  }

  .orbit-one {
    width: 300px;
    height: 300px;
  }

  .orbit-two {
    width: 345px;
    height: 345px;
  }

  .floating-card {
    gap: 7px;

    padding: 9px 11px;

    font-size: 0.68rem;
  }

  .floating-card-top {
    top: 13%;
    right: 0;
  }

  .floating-card-bottom {
    bottom: 13%;
    left: 0;
  }

  .floating-label {
    bottom: 1%;
    right: 1%;

    font-size: 0.68rem;
  }

  .scroll-indicator {
    bottom: 15px;

    font-size: 0.68rem;
  }

  /* ABOUT */

  .about-info-grid {
    gap: 11px;
  }

  .info-card {
    padding: 17px 13px;
  }

  .info-card h4 {
    font-size: 0.83rem;
  }

  .interests-grid {
    grid-template-columns: 1fr;

    gap: 13px;

    margin-top: 38px;
  }

  .interest-card {
    padding: 23px;
  }

  /* SKILLS */

  .skills-panel {
    padding: 20px 15px;
  }

  .skills-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  /* MAIN GRIDS */

  .projects-grid,
  .designs-grid,
  .services-grid,
  .reviews-grid,
  .review-grid,
  .testimonials-grid,
  .journey-grid {
    grid-template-columns: 1fr;

    gap: 17px;
  }

  /* PROJECTS */

  .project-visual {
    min-height: 190px;
  }

  .project-content > p {
    min-height: 0;
  }

  /* GALLERY */

  .design-image-link {
    aspect-ratio: 5 / 3;
  }

  .design-filters,
  .gallery-filters,
  .design-filter-buttons {
    gap: 8px;

    margin-bottom: 25px;
  }

  .design-filter,
  .filter-btn,
  .gallery-filter-btn {
    padding: 9px 12px;

    font-size: 0.73rem;
  }

  .design-menu-cta {
    align-items: flex-start;
    flex-wrap: wrap;

    padding: 21px;
  }

  .design-menu-content {
    flex-basis:
      calc(100% - 80px);
  }

  .design-menu-cta > .btn {
    width: 100%;
  }

  .design-contact-cta {
    flex-direction: column;

    gap: 13px;
  }

  .design-contact-cta > .btn {
    width: 100%;
  }

  /* EDUCATION */

  .education-timeline {
    gap: 20px;
  }

  .education-timeline::before {
    left: 22px;
  }

  .education-card {
    grid-template-columns:
      46px minmax(0, 1fr);

    gap: 12px;
  }

  .timeline-marker {
    width: 45px;
    height: 45px;

    border-radius: 14px;

    font-size: 1rem;
  }

  .education-card-content {
    padding: 21px 17px;
  }

  .education-card-content h3 {
    font-size: 1rem;
  }

  .education-card-content h4 {
    font-size: 0.85rem;
  }

  /* CV */

  .cv-section {
    padding-top: 10px;
    padding-bottom: 70px;
  }

  .cv-card {
    gap: 18px;

    padding: 24px 19px;

    border-radius: var(--radius-lg);
  }

  .cv-icon {
    width: 55px;
    height: 55px;

    border-radius: 16px;

    font-size: 1.4rem;
  }

  .cv-content {
    flex-basis:
      calc(100% - 75px);
  }

  .cv-content h2 {
    font-size: 1.2rem;
  }

  .cv-content > p {
    font-size: 0.82rem;
  }

  .cv-actions {
    flex-direction: column;
  }

  .cv-actions .btn {
    width: 100%;
  }

  /* SERVICES */

  .services-grid {
    gap: 15px;
  }

  .service-card {
    padding: 23px;
  }

  /* JOURNEY */

  .journey-grid {
    gap: 14px;
  }

  .journey-card {
    padding: 23px;
  }

  /* REVIEWS */

  .reviews-empty-card {
    padding: 33px 21px;
  }

  .reviews-empty-card h3 {
    font-size: 1.25rem;
  }

  .review-card,
  .testimonial-card {
    padding: 23px 19px;
  }

  .reviews-summary,
  .review-summary {
    gap: 14px;

    padding: 20px;
  }

  /* REVIEW FORM */

  .review-form-container,
  .reviews-form-container,
  .review-form-card {
    padding: 23px 18px;

    margin-top: 30px;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }

  .star-rating button,
  .rating-star {
    width: 40px;
    height: 40px;
  }

  /* CONTACT */

  .contact-information,
  .contact-form-card {
    padding: 22px 17px;
  }

  .contact-information > h3,
  .contact-form-card > h3 {
    font-size: 1.16rem;
  }

  .form-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .contact-method {
    gap: 10px;

    padding: 11px;
  }

  .contact-method-icon {
    width: 39px;
    height: 39px;
  }

  .contact-method-text strong {
    font-size: 0.75rem;
  }

  /* FOOTER */

  .footer {
    padding-top: 35px;
  }

  .footer-container {
    justify-content: center;

    text-align: center;
  }

  .footer-brand,
  .footer-social {
    width: 100%;

    justify-content: center;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;

    gap: 12px;
  }

  /* BACK TO TOP */

  .back-to-top {
    right: 15px;
    bottom: 15px;

    width: 43px;
    height: 43px;
  }

  /* LIGHTBOX */

  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
  }

  .lightbox-prev {
    left: 7px;
  }

  .lightbox-next {
    right: 7px;
  }

  .lightbox img,
  .lightbox-image,
  .design-lightbox img,
  .gallery-lightbox img {
    max-height: 68vh;
  }

}


/* ==========================================================
   36. VERY SMALL PHONES — 360px AND BELOW
========================================================== */

@media (max-width: 360px) {

  .container {
    width: calc(100% - 24px);
  }

  .logo,
  .logo-name {
    font-size: 1.3rem;
  }

  .language-toggle {
    gap: 5px;

    padding: 8px;

    font-size: 0.73rem;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .profile-frame {
    width: 220px;
  }

  .orbit-one {
    width: 265px;
    height: 265px;
  }

  .orbit-two {
    width: 300px;
    height: 300px;
  }

  .floating-card {
    font-size: 0.61rem;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-method-text strong {
    font-size: 0.7rem;
  }

}


/* ==========================================================
   37. TOUCH DEVICE OPTIMIZATION
========================================================== */

@media (hover: none) {

  .project-card:hover,
  .design-card:hover,
  .service-card:hover,
  .review-card:hover,
  .interest-card:hover,
  .journey-card:hover {
    transform: none;
  }

  .profile-frame {
    will-change: auto;
  }

  .design-image-link::after {
    display: none;
  }

}


/* ==========================================================
   38. REDUCED MOTION ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }

  .profile-frame {
    transform: none !important;
  }

  .logo-text,
  .logo-name {
    animation: none;
  }

  .orbit-one,
  .orbit-two,
  .floating-card,
  .scroll-indicator {
    animation: none;
  }

}


/* =====================================================
   SAJAN KHADKA — CLIENT REVIEW FORM
   Responsive Design
===================================================== */

.review-form-wrapper {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 36px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.review-form-heading {
  margin-bottom: 28px;
  text-align: center;
}

.review-form-heading h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
}

.review-form-heading p {
  max-width: 560px;
  margin: 0 auto;
  color: #aebbd0;
  font-size: 0.95rem;
  line-height: 1.7;
}

#clientReviewForm {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.review-form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.review-form-group label {
  color: #e2e8f0;
  font-size: 0.94rem;
  font-weight: 600;
}

.review-form-group input,
.review-form-group select,
.review-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(2, 6, 23, 0.6);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.review-form-group input::placeholder,
.review-form-group textarea::placeholder {
  color: #94a3b8;
}

.review-form-group input:focus,
.review-form-group select:focus,
.review-form-group textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.review-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.review-form-group select {
  cursor: pointer;
}

.review-form-group select option {
  background: #0f172a;
  color: #ffffff;
}

.review-submit-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  cursor: pointer;
}

.review-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#reviewFormStatus {
  min-height: 22px;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

#reviewFormStatus.success {
  color: #4ade80;
}

#reviewFormStatus.error {
  color: #f87171;
}

/* MOBILE RESPONSIVE */

@media (max-width: 600px) {
  .review-form-wrapper {
    margin-top: 40px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .review-form-heading {
    margin-bottom: 22px;
  }

  .review-submit-btn {
    width: 100%;
  }
}

/* ==========================================================
   END OF SAJAN KHADKA PORTFOLIO CSS
========================================================== */