﻿﻿/* ========================= 
   RESET & BASE STYLES
   ========================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-main: rgb(83, 129, 53);
  --gray-light: #f4f4f4;
  --text-black: #000000;
  --text-white: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #121212;
  --page-margin: 40px;
  --header-padding-vertical: 1rem;
  --base-height: 34px;
  --height-multiplier: 1.5;
  --header-height: calc(var(--base-height) * var(--height-multiplier));
  --footer-height: calc(var(--base-height) * var(--height-multiplier));
  --footer-side-margin: var(--page-margin);
  --content-gap: 40px;
  --column-gap: 8px;
  --content-margin: 120px;
  --column-width: 400px;
  --logo-stretch: 1;
  --transition-slow: 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  --content-padding-top: 20px;
  --content-padding-bottom: 20px;
  --underline-transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --safe-zone-top: var(--header-height);
  --safe-zone-bottom: var(--footer-height);
  --content-spacing: calc(var(--header-height) * 2);
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

/* ===== مود پیش‌فرض تیره ===== */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-white);
  line-height: 1.5;
  background-color: var(--bg-dark);
  direction: ltr;
  transition: background-color 0.3s ease;
  font-weight: 400;
}

body.light-mode {
  background-color: var(--bg-light) !important;
  color: var(--text-black) !important;
  font-weight: 350;
}
/* ============================ */

body.light-mode header,
body.light-mode footer {
  background-color: var(--bg-light) !important;
  color: var(--text-black) !important;
}

body.light-mode .page-section {
  background-color: var(--bg-light) !important;
}

body.light-mode .slideshow-page {
  background: #ffffff !important;
}

body.light-mode .slideshow-page .enter-button {
  color: var(--text-black) !important;
}

body.light-mode .main-page,
body.light-mode .practice-page,
body.light-mode .experience-page,
body.light-mode .connection-page {
  background-color: var(--bg-light) !important;
}

body.light-mode .header-logo-image,
body.light-mode .header-logo-image svg,
body.light-mode .footer-language,
body.light-mode .mode-toggle-footer,
body.light-mode .mode-toggle-footer .toggle-icon svg,
body.light-mode .nav-section .nav-arrow svg,
body.light-mode .back-to-center .back-arrow svg,
body.light-mode .connection-icon svg,
body.light-mode .connection-icon i,
body.light-mode .header-logo-text,
body.light-mode .header-logo-image {
  color: var(--text-black) !important;
  stroke: var(--text-black) !important;
  fill: none !important;
}

body.light-mode .header-logo-image:hover,
body.light-mode .header-logo-image:hover svg,
body.light-mode .footer-language:hover,
body.light-mode .mode-toggle-footer:hover,
body.light-mode .mode-toggle-footer:hover .toggle-icon svg,
body.light-mode .nav-section:hover .nav-arrow svg,
body.light-mode .back-to-center:hover .back-arrow svg,
body.light-mode .header-logo-text:hover,
body.light-mode .header-logo-image:hover {
  color: var(--green-main) !important;
  stroke: var(--green-main) !important;
}

body.light-mode .header-logo-image.touch-hover,
body.light-mode .header-logo-image.touch-hover svg,
body.light-mode .footer-language.touch-hover,
body.light-mode .mode-toggle-footer.touch-hover,
body.light-mode .mode-toggle-footer.touch-hover .toggle-icon svg,
body.light-mode .header-logo-text.touch-hover,
body.light-mode .header-logo-image.touch-hover {
  color: var(--green-main) !important;
  stroke: var(--green-main) !important;
}

body.light-mode .hamburger-toggle span {
  background: var(--text-black) !important;
}

body.light-mode .hamburger-toggle:hover span,
body.light-mode .hamburger-toggle.active span {
  background: var(--green-main) !important;
}

body.light-mode .hamburger-toggle.touch-hover span {
  background: var(--green-main) !important;
}

body.light-mode .logo,
body.light-mode .column-title,
body.light-mode .about-text,
body.light-mode .about-text p,
body.light-mode .services-list li,
body.light-mode .services-list li strong,
body.light-mode .services-list li div,
body.light-mode .founder p,
body.light-mode .team-member p,
body.light-mode .founder p span,
body.light-mode .team-member p span,
body.light-mode .footer-copyright div,
body.light-mode .footer-lang-btn,
body.light-mode .mobile-nav a,
body.light-mode .nav-section,
body.light-mode .nav-section .nav-text-line1,
body.light-mode .nav-section .nav-text-line2,
body.light-mode .back-to-center,
body.light-mode .connection-subtitle,
body.light-mode .experience-title,
body.light-mode .experience-details,
body.light-mode .member-info p,
body.light-mode .scroll-hint {
  color: var(--text-black) !important;
  stroke: var(--text-black) !important;
  font-weight: 380 !important;
  text-shadow: none !important;
}

body.light-mode .connection-subtitle svg,
body.light-mode .connection-subtitle svg path {
  stroke: var(--text-black) !important;
  fill: none !important;
}

body.light-mode #custom-cursor {
  background-color: var(--green-main);
}

body.light-mode .mobile-nav {
  background: #ffffff !important;
}

body.light-mode .nav-overlay {
  background: rgba(0, 0, 0, 0.5);
}

body.light-mode .experience-image-container {
  background-color: #f5f5f5;
}

body.light-mode .about-text,
body.light-mode .about-text p,
body.light-mode .services-list li,
body.light-mode .services-list li div,
body.light-mode .founder p,
body.light-mode .team-member p,
body.light-mode .experience-details,
body.light-mode .connection-content .about-text {
  font-weight: 380 !important;
}

body.section-main {
  overflow: hidden !important;
}

body.section-connection {
  overflow-y: auto;
}

@media (min-width: 768px) {
  body {
    cursor: none;
  }
}

@font-face {
  font-family: 'Montserrat-Light';
  src: url('fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat-Medium';
  src: url('fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrainsMono-Bold';
  src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RockSalt';
  src: url('fonts/RockSalt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sawah';
  src: url('fonts/Sawah.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SpecialGothicExpandedOne-Regular';
  src: url('fonts/SpecialGothicExpandedOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald-Light';
  src: url('fonts/Oswald-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald-ExtraLight';
  src: url('fonts/Oswald-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

#custom-cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--green-main);
  border-radius: 50%;
  z-index: 2147483647 !important;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, background-color 0.3s ease;
}

@media (min-width: 768px) {
  #custom-cursor {
    display: block;
  }
}

@media (max-width: 767px) {
  #custom-cursor {
    display: none !important;
  }
  
  body, body * {
    cursor: auto !important;
  }
  
  a, button, [role="button"], .clickable, .hamburger-toggle, .header-logo-image, .mobile-nav a, .header-logo-text {
    cursor: pointer !important;
  }
}

/* حذف کامل کورسور موس در تمام دستگاه‌های لمسی (موبایل و تبلت) */
@media (hover: none) and (pointer: coarse) {
  #custom-cursor {
    display: none !important;
  }
  body, body * {
    cursor: auto !important;
  }
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

body.light-mode #loader-wrapper {
  background: var(--bg-light);
}

#loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

body.return-from-lightbox #loader-wrapper,
body.returning-from-project #loader-wrapper {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ========================= 
   LOADING ICON STYLES
   ========================= */

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loading-icon {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-icon-part {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.loading-icon-part.part-1 {
  top: 0;
  left: 0;
}
.loading-icon-part.part-2 {
  top: 0;
  right: 0;
}
.loading-icon-part.part-3 {
  bottom: 0;
  right: 0;
}
.loading-icon-part.part-4 {
  bottom: 0;
  left: 0;
}

.loading-icon-part.active {
  opacity: 1;
}

.loading-icon-part img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  #loading-icon {
    width: 52px;
    height: 52px;
  }
  .loading-icon-part {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  #loading-icon {
    width: 48px;
    height: 48px;
  }
  .loading-icon-part {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #loading-icon {
    width: 56px;
    height: 56px;
  }
  .loading-icon-part {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 1200px) {
  #loading-icon {
    width: 60px;
    height: 60px;
  }
  .loading-icon-part {
    width: 30px;
    height: 30px;
  }
}

.slideshow-page {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100vh !important;
  width: 100vw !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  background: #ffffff !important;
  z-index: 30 !important;
  overflow: hidden !important;
  transition: transform var(--transition-slow) !important;
}

body.section-slideshow .slideshow-page {
  transform: translateY(0) !important;
  pointer-events: auto;
}

body.section-main .slideshow-page,
body.section-practice .slideshow-page,
body.section-experience .slideshow-page,
body.section-connection .slideshow-page {
  transform: translateY(-100vh) !important;
  pointer-events: none;
}

.slideshow-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vh;
  height: 70vh;
  max-width: 70vw;
  max-height: 70vw;
  min-width: 300px;
  min-height: 300px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  border-radius: 0;
  filter: grayscale(0%);
  pointer-events: none;
}

.slideshow-image.active {
  opacity: 1;
}

.slideshow-logo-center {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  width: auto;
  text-align: center;
  pointer-events: none;
  top: calc(50% + 35vh + ((100vh - (50% + 35vh) - 51px) / 2));
}

.slideshow-quote-top {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  will-change: top, font-size;
  z-index: 10001;
  width: auto;
  text-align: center;
  pointer-events: none;
  top: calc(50% - 35vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}

.slideshow-quote-top .quote-line {
  font-family: 'Sawah', sans-serif !important;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-shadow: none;
  font-size: 16px;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  will-change: font-size;
}

body:not(.light-mode) .slideshow-quote-top .quote-line {
  color: #cccccc !important;
}

body.light-mode .slideshow-quote-top .quote-line {
  color: #666666 !important;
}

body:not(.light-mode) .enter-button:hover ~ .slideshow-quote-top .quote-line,
body:not(.light-mode) .slideshow-quote-top:hover .quote-line {
  color: var(--green-main) !important;
}

body.light-mode .enter-button:hover ~ .slideshow-quote-top .quote-line,
body.light-mode .slideshow-quote-top:hover .quote-line {
  color: var(--green-main) !important;
}

.slideshow-quote-top .quote-line:first-child {
  font-family: 'SpecialGothicExpandedOne-Regular', sans-serif !important;
}

.slideshow-quote-top .quote-line:last-child {
  font-family: 'Oswald-Light', sans-serif !important;
}

body.section-slideshow .slideshow-quote-top {
  opacity: 1;
  visibility: visible;
}

body.section-main .slideshow-quote-top,
body.section-practice .slideshow-quote-top,
body.section-experience .slideshow-quote-top,
body.section-connection .slideshow-quote-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.section-slideshow .slideshow-logo-center {
  opacity: 1;
  visibility: visible;
}

body.section-main .slideshow-logo-center,
body.section-practice .slideshow-logo-center,
body.section-experience .slideshow-logo-center,
body.section-connection .slideshow-logo-center {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-button {
  font-family: 'RockSalt', cursive !important;
  font-size: clamp(1rem, 5vh, 1.8rem) !important;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0.1em;
  padding: clamp(8px, 2vh, 16px) clamp(24px, 6vw, 48px);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  pointer-events: auto;
  position: relative;
  z-index: 10002;
  outline: none;
  line-height: 0.9;
  font-weight: 300;
  white-space: nowrap;
}

body:not(.light-mode) .enter-button {
  color: #666666 !important;
}

body.light-mode .enter-button {
  color: #999999 !important;
}

body:not(.light-mode) .enter-button:hover {
  color: var(--green-main) !important;
  transform: scale(0.95) !important;
}

body.light-mode .enter-button:hover {
  color: var(--green-main) !important;
  transform: scale(0.95) !important;
}

body.section-main-transitioning header,
body.section-main-transitioning footer {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.page-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: transform var(--transition-slow);
  will-change: transform;
  background: var(--bg-dark);
  padding: 0 var(--page-margin);
  padding-top: calc(var(--header-height) + var(--content-spacing));
  padding-bottom: calc(var(--footer-height) + var(--content-spacing));
  box-sizing: border-box;
  overflow-y: visible !important;
  overflow-x: hidden;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  z-index: 10;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.light-mode .page-section {
  background: var(--bg-light);
}

.page-section::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.content-column:first-child,
.founder-column:first-child,
.team-member-column:first-child,
.experience-column:first-child {
  margin-top: 0 !important;
}

.content-column:last-child,
.founder-column:last-child,
.team-member-column:last-child,
.experience-column:last-child {
  margin-bottom: 0 !important;
}

.slideshow-page {
  z-index: 30;
  transform: translateY(0);
}

.main-page {
  z-index: 20;
  transform: translateY(100vh);
}

.practice-page {
  z-index: 20;
  transform: translateX(-100vw);
}

.experience-page {
  z-index: 20;
  transform: translateX(100vw);
}

.connection-page {
  z-index: 20;
  transform: translateY(100vh);
}

body.section-slideshow .slideshow-page {
  transform: translateY(0) !important;
  pointer-events: auto;
}

body.section-main .main-page {
  transform: translateY(0) !important;
  pointer-events: auto;
}

body.section-practice .practice-page {
  transform: translateX(0) !important;
  pointer-events: auto;
}
body.section-practice .main-page {
  transform: translateX(100vw) !important;
  pointer-events: none;
}

body.section-experience .experience-page {
  transform: translateX(0) !important;
  pointer-events: auto;
}
body.section-experience .main-page {
  transform: translateX(-100vw) !important;
  pointer-events: none;
}

body.section-connection .connection-page {
  transform: translateY(0) !important;
  pointer-events: auto;
}
body.section-connection .main-page {
  transform: translateY(-100vh) !important;
  pointer-events: none;
}

header, footer {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 51px !important;
  min-height: 51px !important;
  max-height: 51px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 20001 !important;
  background: var(--bg-dark) !important;
  padding: 0 var(--page-margin) !important;
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  top: 0 !important;
  bottom: auto !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 1 !important;
}

body.light-mode header,
body.light-mode footer {
  background: var(--bg-light) !important;
}

footer {
  top: auto !important;
  bottom: 0 !important;
  z-index: 20001 !important;
}

.page-section {
  z-index: 10;
}

header *,
footer * {
  position: relative;
  z-index: 20002;
  display: flex;
  align-items: center;
}

.header-logo-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  cursor: pointer !important;
  transition: filter 0.3s ease;
  z-index: 20002;
  pointer-events: auto !important;
  text-decoration: none;
}

.header-logo-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: all 0.3s ease;
  display: block !important;
}

.header-logo-image:hover img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(98%) saturate(374%) hue-rotate(44deg) brightness(92%) contrast(87%);
}

.header-logo-image.touch-hover img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(98%) saturate(374%) hue-rotate(44deg) brightness(92%) contrast(87%);
}

body:not(.light-mode) .header-logo-image img.logo-light {
  display: none !important;
}
body:not(.light-mode) .header-logo-image img.logo-dark {
  display: block !important;
}
body.light-mode .header-logo-image img.logo-light {
  display: block !important;
}
body.light-mode .header-logo-image img.logo-dark {
  display: none !important;
}

.header-logo-text {
  font-family: 'Oswald-Light', sans-serif !important;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text-white);
  text-transform: none;
  font-weight: 300;
  transition: color 0.3s ease;
  line-height: 1;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  text-align: center;
  cursor: pointer !important;
  text-decoration: none;
  display: inline-block;
}

body.light-mode .header-logo-text {
  color: var(--text-black) !important;
}

.header-logo-text:hover {
  color: var(--green-main) !important;
}

.header-logo-text.touch-hover {
  color: var(--green-main) !important;
}

.logo-wrapper {
  display: none !important;
}

.hamburger-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 20002 !important;
  padding: 0;
  outline: none;
  position: relative;
}

.hamburger-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-white);
  position: absolute;
  left: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
}

body.light-mode .hamburger-toggle span {
  background: var(--text-black) !important;
}

.hamburger-toggle.active span {
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-toggle span:nth-child(1) { 
  top: 5px; 
}

.hamburger-toggle span:nth-child(2) { 
  top: 14px; 
}

.hamburger-toggle span:nth-child(3) { 
  bottom: 5px; 
}

.hamburger-toggle.active span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}

.hamburger-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-toggle.active span:nth-child(3) {
  bottom: 14px;
  transform: rotate(-45deg);
}

.hamburger-toggle:hover span {
  background: var(--green-main) !important;
}

.hamburger-toggle.touch-hover span {
  background: var(--green-main) !important;
}

.footer-language {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.75rem;
  cursor: pointer !important;
  color: var(--text-white);
  white-space: nowrap;
  transition: color 0.3s ease;
  font-weight: 300;
  z-index: 20002;
}

body.light-mode .footer-language {
  color: var(--text-black) !important;
}

.footer-language:hover {
  color: var(--green-main) !important;
}

.footer-language.touch-hover {
  color: var(--green-main) !important;
}

.footer-copyright {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.5rem;
  text-align: center;
  color: var(--text-white);
  line-height: 1.3;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  white-space: nowrap;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: auto;
  text-align: center;
  z-index: 20002;
}

body.light-mode .footer-copyright {
  color: var(--text-black) !important;
}

.footer-copyright div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
  width: 100%;
  display: block;
  text-align: center;
}

.footer-copyright div:first-child {
  margin-bottom: 2px;
}

@media (max-width: 480px) {
  .footer-copyright {
    display: flex !important;
    max-width: 95%;
    white-space: normal;
  }
  
  .footer-copyright div {
    white-space: normal;
    font-size: 0.45rem;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .footer-copyright {
    display: flex !important;
    white-space: nowrap;
  }
  
  .footer-copyright div {
    white-space: nowrap;
    font-size: 0.5rem;
  }
}

.mode-toggle-footer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--text-white);
  white-space: nowrap;
  transition: color 0.3s ease;
  z-index: 20002;
}

body.light-mode .mode-toggle-footer {
  color: var(--text-black) !important;
}

.mode-toggle-footer:hover {
  color: var(--green-main) !important;
}

.mode-toggle-footer.touch-hover {
  color: var(--green-main) !important;
}

.mode-toggle-footer .toggle-icon {
  width: 16px !important;
  height: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mode-toggle-footer .toggle-icon svg {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  stroke: currentColor;
  fill: none;
  transition: stroke 0.3s ease;
}

body:not(.light-mode) .mode-toggle-footer .toggle-icon .sun-icon {
  display: none !important;
}
body:not(.light-mode) .mode-toggle-footer .toggle-icon .moon-icon {
  display: block !important;
}
body.light-mode .mode-toggle-footer .toggle-icon .sun-icon {
  display: block !important;
}
body.light-mode .mode-toggle-footer .toggle-icon .moon-icon {
  display: none !important;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #1a1a1a;
  z-index: 20000 !important;
  padding: 60px 30px;
  box-sizing: border-box;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  will-change: right;
}

body.light-mode .mobile-nav {
  background: #ffffff !important;
}

.mobile-nav.active {
  right: 0;
}

body.menu-active {
  overflow: hidden !important;
}

.menu-close {
  display: none !important;
}

body.menu-active .page-container,
body.menu-active .page-section,
body.menu-active .nav-section,
body.menu-active .back-to-center,
body.menu-active .header-logo-image,
body.menu-active .mode-toggle-footer,
body.menu-active .footer-language,
body.menu-active .hamburger-toggle:not(.active),
body.menu-active .header-logo-text {
  pointer-events: none !important;
  user-select: none !important;
}

body.menu-active .mobile-nav,
body.menu-active .mobile-nav *,
body.menu-active .nav-overlay,
body.menu-active .hamburger-toggle.active {
  pointer-events: auto !important;
}

.mobile-nav ul {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.mobile-nav a {
  font-family: 'RockSalt', cursive;
  font-size: 1rem !important;
  color: var(--text-white);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease;
  cursor: pointer !important;
  font-weight: 400;
  text-shadow: none;
  position: relative;
  pointer-events: auto !important;
  width: 100%;
  z-index: 20002;
}

body.light-mode .mobile-nav a {
  color: var(--text-black) !important;
}

.mobile-nav a:hover {
  color: var(--green-main) !important;
}

.mobile-nav a:hover .nav-subtitle {
  color: var(--green-main) !important;
}

.mobile-nav a:hover .nav-subtitle::after {
  width: 100%;
}

.mobile-nav .nav-subtitle {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-top: 3px;
  display: block;
  transition: color 0.3s ease;
  font-weight: 300;
  position: relative;
  padding-bottom: 5px;
  overflow: hidden;
}

body.light-mode .mobile-nav .nav-subtitle {
  color: #666 !important;
}

.mobile-nav .nav-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--green-main);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav a.touch-hover {
  color: var(--green-main) !important;
}

.mobile-nav a.touch-hover .nav-subtitle {
  color: var(--green-main) !important;
}

.mobile-nav a.touch-hover .nav-subtitle::after {
  width: 100%;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 19999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, visibility;
}

body.light-mode .nav-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  .mobile-nav {
    width: 250px;
    padding: 50px 20px;
  }
  
  .mobile-nav li {
    margin-bottom: 18px;
  }
  
  .mobile-nav a {
    font-size: 0.9rem !important;
  }
  
  .mobile-nav .nav-subtitle {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .mobile-nav {
    width: 280px;
    padding: 55px 25px;
  }
  
  .mobile-nav li {
    margin-bottom: 20px;
  }
  
  .mobile-nav a {
    font-size: 0.95rem !important;
  }
  
  .mobile-nav .nav-subtitle {
    font-size: 0.75rem;
  }
}

.nav-section {
  position: fixed;
  z-index: 200;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  pointer-events: auto;
  color: var(--text-white);
  opacity: 1 !important;
  visibility: visible !important;
}

body.light-mode .nav-section {
  color: var(--text-black) !important;
}

.nav-right,
.nav-left {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.nav-bottom {
  left: 50% !important;
  bottom: 80px !important;
  transform: translateX(-50%) !important;
  flex-direction: column !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

@media (min-width: 1025px) {
  .nav-section:hover {
    color: var(--green-main) !important;
  }

  .nav-section:hover .nav-arrow svg {
    stroke: var(--green-main) !important;
  }

  .nav-section:hover .nav-text-line1,
  .nav-section:hover .nav-text-line2 {
    color: var(--green-main) !important;
  }
}

@media (max-width: 1024px) {
  .nav-section.touch-hover {
    color: var(--green-main) !important;
  }
  
  .nav-section.touch-hover .nav-arrow svg {
    stroke: var(--green-main) !important;
  }
  
  .nav-section.touch-hover .nav-text-line1,
  .nav-section.touch-hover .nav-text-line2 {
    color: var(--green-main) !important;
  }
}

.nav-right {
  right: var(--page-margin) !important;
  flex-direction: row !important;
  text-align: right !important;
}

.nav-left {
  left: var(--page-margin) !important;
  flex-direction: row !important;
  text-align: left !important;
}

.page-section {
  padding-top: calc(51px + 102px) !important;
  padding-bottom: calc(51px + 102px) !important;
  box-sizing: border-box !important;
}

.nav-right .nav-text {
  text-align: right;
  margin-left: 0;
  margin-right: 8px;
  order: -1;
}

.nav-left .nav-text {
  text-align: left;
  margin-right: 0;
  margin-left: 8px;
}

.nav-bottom .nav-text {
  text-align: center;
  margin-bottom: 8px;
}

.nav-text-line1 {
  font-family: 'RockSalt', cursive;
  font-size: clamp(1.1rem, 1.1vw, 1.3rem) !important;
  letter-spacing: 0.05em;
  font-weight: 400;
  text-shadow: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  color: var(--text-white);
}

body.light-mode .nav-text-line1 {
  color: var(--text-black) !important;
}

.nav-text-line2 {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.05em;
  margin-top: 2px;
  font-weight: 300;
  white-space: nowrap;
  transition: color 0.3s ease;
  color: var(--text-white);
}

body.light-mode .nav-text-line2 {
  color: var(--text-black) !important;
}

.nav-arrow {
  width: 48px !important;
  height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

body.light-mode .nav-arrow {
  color: var(--text-black) !important;
}

.nav-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.experience-image-container,
.image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.light-mode .experience-image-container,
body.light-mode .image-container {
  background-color: #f5f5f5;
}

.experience-image-container::after,
.image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .experience-image-container:hover img,
  .image-container:hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.03) !important;
  }

  .experience-image-container:hover::after,
  .image-container:hover::after {
    background: transparent !important;
  }
}

@media (max-width: 1024px) {
  .experience-image-container.touch-hover img,
  .image-container.touch-hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.03) !important;
  }
  
  .experience-image-container.touch-hover::after,
  .image-container.touch-hover::after {
    background: transparent !important;
  }
}

.experience-image-container img,
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.experience-image-container.hover-effect img,
.image-container.hover-effect img {
  filter: grayscale(0%) !important;
  transform: scale(1.03) !important;
}

.experience-image-container.hover-effect::after,
.image-container.hover-effect::after {
  background: transparent !important;
}

.back-to-center {
  position: fixed;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease, color 0.3s ease !important;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  color: var(--text-white);
}

body.light-mode .back-to-center {
  color: var(--text-black) !important;
}

.back-to-center.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-center:hover {
  color: var(--green-main) !important;
}
.back-to-center:hover .back-arrow svg {
  stroke: var(--green-main) !important;
}

.back-to-center.touch-hover {
  color: var(--green-main) !important;
}
.back-to-center.touch-hover .back-arrow svg {
  stroke: var(--green-main) !important;
}

.back-practice {
  right: var(--page-margin) !important;
  left: auto !important;
  top: 50%;
  transform: translateY(-50%);
}

.back-practice .back-arrow svg {
  transform: rotate(180deg);
}

.back-experience {
  left: var(--page-margin) !important;
  right: auto !important;
  top: 50%;
  transform: translateY(-50%);
}

.back-experience .back-arrow svg {
  transform: rotate(180deg);
}

.back-connection {
  left: 50%;
  top: calc(51px + 20px) !important;
  bottom: auto !important;
  transform: translateX(-50%);
  flex-direction: column;
}

.back-connection .back-arrow svg {
  transform: rotate(0deg);
}

@media (max-width: 767px) {
  .back-to-center {
    display: flex !important;
  }
  
  .back-practice {
    right: 15px !important;
    left: auto !important;
  }
  
  .back-experience {
    left: 15px !important;
    right: auto !important;
  }
  
  .back-connection {
    top: calc(40.5px + 15px) !important;
  }
}

@media (max-width: 480px) {
  .back-practice {
    right: 10px !important;
  }
  
  .back-experience {
    left: 10px !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .back-practice {
    right: 15px !important;
  }
  
  .back-experience {
    left: 15px !important;
  }
}

.back-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

@media (max-width: 767px) {
  .back-arrow {
    width: 32px !important;
    height: 32px !important;
  }
}

@media (max-width: 480px) {
  .back-arrow {
    width: 28px !important;
    height: 28px !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .back-arrow {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .back-arrow {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (min-width: 1200px) {
  .back-arrow {
    width: 48px !important;
    height: 48px !important;
  }
}

.scroll-hint {
  position: fixed !important;
  top: 50% !important;
  font-family: 'Montserrat-Medium', sans-serif !important;
  font-size: 0.6rem !important;
  color: var(--text-white) !important;
  white-space: nowrap !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  z-index: 150 !important;
  transform: translateY(-50%) !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  font-weight: 500 !important;
  transition: color 0.3s ease, opacity 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
}

body.light-mode .scroll-hint {
  color: var(--text-black) !important;
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  body.section-experience .scroll-hint {
    display: block !important;
    right: calc(var(--page-margin) + 5px) !important;
    left: auto !important;
  }

  body.section-practice .scroll-hint {
    display: block !important;
    left: calc(var(--page-margin) + 5px) !important;
    right: auto !important;
  }
}

@media (max-width: 767px) {
  .scroll-hint {
    display: block !important;
    font-size: 0.55rem !important;
    font-weight: 500 !important;
  }
  
  body.section-experience .scroll-hint {
    right: 10px !important;
    left: auto !important;
  }

  body.section-practice .scroll-hint {
    left: 10px !important;
    right: auto !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .scroll-hint {
    font-size: 0.6rem !important;
  }
}

body:not(.section-practice):not(.section-experience) .scroll-hint {
  display: none !important;
}

.main-container,
.practice-container,
.experience-container,
.connection-content {
  width: 100% !important;
  max-width: var(--column-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: var(--column-gap) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
  padding: 0 !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.main-container::-webkit-scrollbar,
.practice-container::-webkit-scrollbar,
.experience-container::-webkit-scrollbar,
.connection-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.main-container,
.practice-container,
.experience-container,
.connection-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.content-column,
.founder-column,
.team-member-column,
.experience-column,
.connection-title-container,
.connection-content-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.content-column,
.founder-column,
.team-member-column,
.experience-column {
  flex: 0 0 auto;
  height: auto !important;
  min-height: auto !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  overflow-y: visible !important;
  overflow-x: hidden;
  margin: 0 auto 30px auto !important;
}

.content-column:first-child,
.founder-column:first-child,
.team-member-column:first-child,
.experience-column:first-child {
  margin-top: 0 !important;
}

.content-column:last-child,
.founder-column:last-child,
.team-member-column:last-child,
.experience-column:last-child {
  margin-bottom: 0 !important;
}

.column-title {
  font-family: 'RockSalt', cursive;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--text-white);
  text-transform: lowercase;
  margin-bottom: 20px !important;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  font-weight: 400;
  text-shadow: none;
}

body.light-mode .column-title {
  color: var(--text-black) !important;
}

.column-title span:first-child {
  transform: rotate(180deg);
  display: inline-block;
  margin-right: 5px;
}

.column-content {
  width: 100%;
  height: auto !important;
  overflow-y: visible !important;
  overflow-x: hidden;
  box-sizing: border-box;
  display: block;
  padding-right: 5px;
}

.about-text {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.87rem);
  line-height: 1.45;
  color: var(--text-white);
  text-align: justify;
  margin: 0;
  padding: 0;
  width: 100%;
  white-space: normal;
  font-weight: 300;
  text-shadow: none;
}

body.light-mode .about-text {
  color: var(--text-black) !important;
  font-weight: 300 !important;
}

.about-text p {
  margin-bottom: 1em;
  margin-top: 0;
  font-weight: 300;
}

.services-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.services-list li {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.87rem);
  margin-bottom: 1rem;
  color: var(--text-white);
  font-weight: 300;
}

body.light-mode .services-list li {
  color: var(--text-black) !important;
}

.services-list li strong {
  font-family: 'Montserrat-Medium', sans-serif;
  display: block;
  margin-bottom: 0.3rem;
  font-size: clamp(0.85rem, 1.1vw, 0.9rem);
  font-weight: 500;
  color: var(--text-white);
}

body.light-mode .services-list li strong {
  color: var(--text-black) !important;
}

.services-list li div {
  line-height: 1.45;
  margin: 0.1rem 0;
  font-weight: 300;
}

.founder,
.team-member {
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.founder .image-container,
.team-member .image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 10px 0;
  overflow: hidden;
  position: relative;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder .image-container::after,
.team-member .image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .founder .image-container:hover img,
  .team-member .image-container:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
  }

  .founder .image-container:hover::after,
  .team-member .image-container:hover::after {
    background: transparent !important;
  }
}

@media (max-width: 1024px) {
  .founder .image-container.touch-hover img,
  .team-member .image-container.touch-hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
  }
  
  .founder .image-container.touch-hover::after,
  .team-member .image-container.touch-hover::after {
    background: transparent !important;
  }
}

.founder img,
.team-member img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(100%);
}

.founder .image-container.hover-effect img,
.team-member .image-container.hover-effect img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.founder .image-container.hover-effect::after,
.team-member .image-container.hover-effect::after {
  background: transparent !important;
}

.member-info p {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.87rem);
  line-height: 1.45;
  margin: 0;
  color: var(--text-white);
  font-weight: 300;
}

body.light-mode .member-info p {
  color: var(--text-black) !important;
}

.member-info p span {
  display: block;
  font-weight: 300;
}

.member-info p span:first-child {
  font-family: 'Montserrat-Medium', sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 0.9rem);
  font-weight: 500;
  color: var(--text-white);
}

body.light-mode .member-info p span:first-child {
  color: var(--text-black) !important;
}

.image-caption {
  display: none !important;
}

.experience-info {
  padding: 10px 0 !important;
  text-align: left !important;
  width: 100%;
}

.experience-title {
  font-family: 'Montserrat-Medium', sans-serif;
  font-size: 1.1rem !important;
  margin-bottom: 5px !important;
  color: var(--text-white);
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: none;
}

body.light-mode .experience-title {
  color: var(--text-black) !important;
}

.experience-details {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.9rem !important;
  line-height: 1.6;
  color: var(--text-white);
  margin-top: 8px !important;
  font-weight: 300;
}

body.light-mode .experience-details {
  color: var(--text-black) !important;
}

.experience-detail-row {
  margin-bottom: 5px !important;
  font-weight: 300;
}

.experience-detail-label {
  font-family: 'Montserrat-Medium', sans-serif;
  display: inline;
  font-weight: 500;
  color: var(--text-white);
}

body.light-mode .experience-detail-label {
  color: var(--text-black) !important;
}

.experience-detail-value {
  font-family: 'Montserrat-Light', sans-serif;
  display: inline;
  margin-left: 5px;
  font-weight: 300;
  color: var(--text-white);
}

body.light-mode .experience-detail-value {
  color: var(--text-black) !important;
}

.connection-content {
  min-height: 100% !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

.connection-title-container {
  margin: 0 auto 0.5rem auto !important;
  padding: 0;
}

.connection-content-inner {
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column !important;
  gap: 20px;
  align-items: flex-start !important;
}

.connection-column-left,
.connection-column-right {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.connection-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat-Medium', sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 0.9rem);
  margin-top: 0.8rem;
  margin-bottom: 0 !important;
  font-weight: 500;
  text-shadow: none;
  line-height: 1.2;
}

body:not(.light-mode) .connection-subtitle {
  color: var(--text-white) !important;
}

body.light-mode .connection-subtitle {
  color: var(--text-black) !important;
}

.connection-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.connection-icon i {
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s ease;
}

body:not(.light-mode) .connection-icon i {
  color: var(--text-white) !important;
}

body.light-mode .connection-icon i {
  color: var(--text-black) !important;
}

.connection-icon svg {
  width: 100%;
  height: 100%;
  transition: color 0.3s ease, stroke 0.3s ease;
}

body:not(.light-mode) .connection-icon svg {
  color: var(--text-white) !important;
  stroke: var(--text-white) !important;
}

body.light-mode .connection-icon svg {
  color: var(--text-black) !important;
  stroke: var(--text-black) !important;
}

.connection-subtitle:hover .connection-icon i,
.connection-subtitle:hover .connection-icon svg {
  color: var(--green-main) !important;
  stroke: var(--green-main) !important;
}

.connection-subtitle span:last-child {
  line-height: 1.2;
}

.connection-content-text {
  display: block;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.4;
  font-family: 'Montserrat-Light', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.87rem);
  color: var(--text-white);
  font-weight: 300;
}

body.light-mode .connection-content-text {
  color: var(--text-black) !important;
}

.connection-column-right .about-text p {
  margin-bottom: 0.8rem;
}

.connection-column-right .about-text p:last-of-type {
  margin-bottom: 1rem;
}

iframe {
  width: 100%;
  height: 250px;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  border: none !important;
}

body:not(.light-mode) iframe {
  filter: invert(90%) hue-rotate(180deg);
}

body.light-mode iframe {
  filter: invert(90%) hue-rotate(180deg);
}

@media (max-width: 767px) {
  :root {
    --page-margin: 15px;
    --column-width: 280px;
    --base-height: 27px;
    --height-multiplier: 1.5;
    --content-padding-top: 15px;
    --content-padding-bottom: 15px;
    --content-spacing: calc(40.5px * 2);
  }
  
  .nav-section {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .nav-right,
  .nav-left {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .nav-bottom {
    left: 50% !important;
    bottom: calc(40.5px + 15px) !important;
    transform: translateX(-50%) !important;
  }
  
  .footer-language,
  .mode-toggle-footer {
    font-size: 0.65rem;
  }
  
  .header-logo-image {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
  }
  
  .header-logo-text {
    font-size: 1.1rem !important;
  }
  
  .hamburger-toggle {
    width: 26px;
    height: 26px;
  }
  
  .hamburger-toggle span {
    height: 1.5px;
  }
  
  .hamburger-toggle span:nth-child(1) { 
    top: 4px; 
  }
  .hamburger-toggle span:nth-child(2) { 
    top: 11px; 
  }
  .hamburger-toggle span:nth-child(3) { 
    bottom: 4px; 
  }
  
  .hamburger-toggle.active span:nth-child(1) { 
    top: 11px; 
  }
  .hamburger-toggle.active span:nth-child(3) { 
    bottom: 11px; 
  }
  
  header, footer {
    width: 100% !important;
    padding: 0 15px !important;
  }
  
  .connection-content-inner {
    max-width: 100% !important;
  }
  
  .nav-right {
    right: 10px !important;
  }
  
  .nav-left {
    left: 10px !important;
  }
  
  .nav-arrow {
    width: 32px !important;
    height: 32px !important;
  }
  
  .nav-text-line1 {
    font-size: 0.9rem !important;
  }
  
  .nav-text-line2 {
    font-size: 0.7rem !important;
  }
  
  .nav-right .nav-text,
  .nav-left .nav-text {
    margin: 0 5px;
  }
  
  .nav-bottom .nav-text {
    margin-bottom: 5px;
  }
  
  .slideshow-page {
    display: flex !important;
  }
  
  .slideshow-container {
    width: 60vh;
    height: 60vh;
    max-width: 80vw;
    max-height: 80vw;
    margin-top: 0;
  }
  
  .slideshow-logo-center {
    top: calc(50% + 30vh + ((100vh - (50% + 30vh) - 40.5px) / 2));
  }
  
  .slideshow-quote-top {
    top: calc(50% - 30vh - 50px);
    gap: 3px;
  }
  
  .enter-button {
    font-size: clamp(0.9rem, 5vh, 1.6rem) !important;
    padding: clamp(8px, 2vh, 16px) clamp(20px, 6vw, 48px);
  }
  
  .column-title {
    margin-bottom: 15px !important;
  }
  
  .connection-subtitle {
    margin-bottom: 0 !important;
  }
  
  .connection-title-container {
    margin: 0 auto 0.3rem auto !important;
  }
  
  .experience-title {
    margin-bottom: 3px !important;
  }
  
  .connection-content-text {
    margin-top: 0;
    line-height: 1.3;
  }
  
  .page-section {
    padding-top: calc(40.5px + 81px) !important;
    padding-bottom: calc(40.5px + 81px) !important;
  }
  
  .page-section::-webkit-scrollbar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .footer-copyright {
    display: flex !important;
  }
  
  .slideshow-container {
    width: 50vh;
    height: 50vh;
    max-width: 85vw;
    max-height: 85vw;
    min-width: 250px;
    min-height: 250px;
    margin-top: 0;
  }
  
  .slideshow-logo-center {
    top: calc(50% + 25vh + ((100vh - (50% + 25vh) - 40.5px) / 2));
  }
  
  .slideshow-quote-top {
    top: calc(50% - 25vh - 45px);
    gap: 2px;
  }
  
  .enter-button {
    font-size: clamp(0.85rem, 5vh, 1.5rem) !important;
    padding: clamp(6px, 1.8vh, 14px) clamp(18px, 5vw, 40px);
  }
  
  .header-logo-text {
    font-size: 1rem !important;
  }
  
  .header-logo-image {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
  }
  
  .hamburger-toggle {
    width: 24px;
    height: 24px;
  }
  
  .nav-arrow {
    width: 28px !important;
    height: 28px !important;
  }
  
  .nav-text-line1 {
    font-size: 0.85rem !important;
  }
  
  .nav-text-line2 {
    font-size: 0.65rem !important;
  }
  
  .nav-bottom {
    bottom: calc(40.5px + 15px) !important;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .slideshow-container {
    width: 40vh;
    height: 40vh;
    margin-top: 0;
  }
  
  .slideshow-logo-center {
    top: calc(50% + 20vh + ((100vh - (50% + 20vh) - 40.5px) / 2));
  }
  
  .slideshow-quote-top {
    top: calc(50% - 20vh - 40px);
    gap: 2px;
  }
  
  .enter-button {
    font-size: clamp(0.85rem, 6vh, 1.4rem) !important;
    padding: clamp(5px, 1.5vh, 12px) clamp(16px, 4vw, 32px);
  }
  
  .scroll-hint {
    font-size: 0.6rem !important;
  }
  
  .header-logo-text {
    font-size: 1rem !important;
  }
  
  .nav-right {
    right: 15px !important;
  }
  
  .nav-left {
    left: 15px !important;
  }
  
  .nav-arrow {
    width: 34px !important;
    height: 34px !important;
  }
  
  .nav-text-line1 {
    font-size: 0.95rem !important;
  }
  
  .nav-text-line2 {
    font-size: 0.75rem !important;
  }
  
  .nav-bottom {
    bottom: calc(40.5px + 15px) !important;
  }
  
  .nav-right,
  .nav-left {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .nav-bottom {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .page-section {
    padding-top: calc(40.5px + 81px) !important;
    padding-bottom: calc(40.5px + 81px) !important;
  }
  
  .page-section::-webkit-scrollbar {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --page-margin: 30px;
    --base-height: 30px;
    --height-multiplier: 1.5;
    --content-spacing: calc(45px * 2);
  }
  
  header, footer {
    width: 100% !important;
    padding: 0 30px !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }
  
  .header-logo-image {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }
  
  .header-logo-text {
    font-size: 1.2rem !important;
  }
  
  .hamburger-toggle {
    width: 28px;
    height: 28px;
  }
  
  .hamburger-toggle span {
    height: 1.5px;
  }
  
  .hamburger-toggle span:nth-child(1) { 
    top: 5px; 
  }
  .hamburger-toggle span:nth-child(2) { 
    top: 13px; 
  }
  .hamburger-toggle span:nth-child(3) { 
    bottom: 5px; 
  }
  
  .hamburger-toggle.active span:nth-child(1) { 
    top: 13px; 
  }
  .hamburger-toggle.active span:nth-child(3) { 
    bottom: 13px; 
  }
  
  .nav-right,
  .nav-left {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .nav-bottom {
    left: 50% !important;
    bottom: calc(45px + 18px) !important;
    transform: translateX(-50%) !important;
  }
  
  .slideshow-container {
    margin-top: 0;
  }
  
  .slideshow-logo-center {
    top: calc(50% + 35vh + ((100vh - (50% + 35vh) - 45px) / 2));
  }
  
  .slideshow-quote-top {
    top: calc(50% - 35vh - 60px);
    gap: 2px;
  }
  
  .enter-button {
    font-size: clamp(1rem, 5vh, 1.8rem) !important;
    padding: clamp(9px, 2.2vh, 18px) clamp(28px, 5vw, 52px);
  }
  
  .page-section {
    padding-top: calc(45px + 90px) !important;
    padding-bottom: calc(45px + 90px) !important;
  }
  
  .page-section::-webkit-scrollbar {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  :root {
    --page-margin: 40px;
    --base-height: 34px;
    --height-multiplier: 1.5;
    --content-spacing: calc(51px * 2);
  }
  
  header, footer {
    width: 100% !important;
    padding: 0 40px !important;
  }
  
  .header-logo-image {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
  }
  
  .header-logo-text {
    font-size: 1.2rem !important;
  }
  
  .hamburger-toggle {
    width: 30px;
    height: 30px;
  }
  
  .hamburger-toggle span {
    height: 1.5px;
  }
  
  .hamburger-toggle span:nth-child(1) { 
    top: 5px; 
  }
  .hamburger-toggle span:nth-child(2) { 
    top: 14px; 
  }
  .hamburger-toggle span:nth-child(3) { 
    bottom: 5px; 
  }
  
  .hamburger-toggle.active span:nth-child(1) { 
    top: 14px; 
  }
  .hamburger-toggle.active span:nth-child(3) { 
    bottom: 14px; 
  }
  
  .nav-right,
  .nav-left {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .nav-bottom {
    left: 50% !important;
    bottom: calc(51px + 20px) !important;
    transform: translateX(-50%) !important;
  }
  
  .slideshow-container {
    margin-top: 0;
  }
  
  .slideshow-logo-center {
    top: calc(50% + 35vh + ((100vh - (50% + 35vh) - 51px) / 2));
  }
  
  .slideshow-quote-top {
    top: calc(50% - 35vh - 60px);
    gap: 2px;
  }
  
  .enter-button {
    font-size: clamp(1.1rem, 6vh, 2rem) !important;
    padding: clamp(10px, 2.5vh, 20px) clamp(30px, 4vw, 60px);
  }
  
  .page-section {
    padding-top: calc(51px + 102px) !important;
    padding-bottom: calc(51px + 102px) !important;
  }
  
  .page-section::-webkit-scrollbar {
    display: none !important;
  }
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body::after {
  content: "v3.0-mobile-first-final";
  display: none;
}

body.exiting-to-lightbox .page-section {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.5;
}

body.return-from-lightbox .page-section {
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

body.return-from-lightbox .experience-page {
  transform: translateX(0) !important;
  opacity: 1;
}

.main-page .center-quote {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(51px + 51px);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 5;
  font-family: 'Oswald-ExtraLight', sans-serif;
  color: var(--text-white);
  line-height: 1.3;
}

body.light-mode .main-page .center-quote {
  color: var(--text-black);
}

.main-page .center-quote .line1 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 200;
}

.main-page .center-quote .line2 {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 200;
  word-spacing: 0.2em;
}

@media (max-width: 767px) {
  .main-page .center-quote {
    top: calc(40.5px + 40.5px);
  }
  .main-page .center-quote .line1 {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    letter-spacing: 0.1em;
  }
  .main-page .center-quote .line2 {
    font-size: clamp(0.7rem, 3vw, 1rem);
    letter-spacing: 0.2em;
  }
}

@media (max-width: 480px) {
  .main-page .center-quote .line1 {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
  .main-page .center-quote .line2 {
    font-size: clamp(0.6rem, 2.5vw, 0.8rem);
    letter-spacing: 0.15em;
  }
}

body.returning-from-project .page-section {
  transition: transform 0.3s ease-in-out !important;
}

body.returning-from-project .experience-page {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

body.returning-from-project .main-page,
body.returning-from-project .practice-page,
body.returning-from-project .connection-page {
  transform: translateX(100vw) !important;
  opacity: 0.5 !important;
}

body.returning-from-project .experience-container {
  opacity: 1 !important;
  visibility: visible !important;
}

body.return-from-lightbox .experience-page,
body.returning-from-project .experience-page {
  transform: translateX(0) !important;
  transition: none !important;
}

body.light-mode .nav-section:hover,
body.light-mode .nav-section:hover .nav-text-line1,
body.light-mode .nav-section:hover .nav-text-line2 {
  color: var(--green-main) !important;
}

body.light-mode .nav-section:hover .nav-arrow svg,
body.light-mode .back-to-center:hover .back-arrow svg {
  stroke: var(--green-main) !important;
  fill: none !important;
}

body.light-mode .nav-section:hover .connection-icon svg,
body.light-mode .nav-section:hover .connection-icon i {
  color: var(--green-main) !important;
  stroke: var(--green-main) !important;
  fill: none !important;
}

body.light-mode .mobile-nav a,
body.light-mode .mobile-nav a .nav-subtitle {
  color: var(--text-black) !important;
  transition: color 0.2s ease;
}

body.light-mode .mobile-nav a:hover,
body.light-mode .mobile-nav a:hover .nav-subtitle {
  color: var(--green-main) !important;
}

.connection-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  fill: none !important;
  transition: color 0.3s ease, stroke 0.3s ease !important;
}

body:not(.light-mode) .connection-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

body.light-mode .connection-icon svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

.connection-subtitle:hover .connection-icon svg {
  color: var(--green-main) !important;
  stroke: var(--green-main) !important;
}

/* ==================== محافظت از تصاویر در برابر کپی، درگ و راست کلیک ==================== */
img,
picture,
.image-container img,
.experience-image-container img,
.founder img,
.team-member img,
.slideshow-image,
.project-slide img,
.thumbnail-item img {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  pointer-events: auto !important;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* ==================== اسکرول طبیعی برای موبایل ==================== */
.practice-container,
.experience-container,
.connection-content {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y pinch-zoom !important;
  scroll-behavior: smooth;
}

/* ==================== اصلاح هاور آیکون‌ها در لایت‌باکس ==================== */
.project-slideshow-page .zoom-overlay,
.project-slideshow-page .arrow-btn,
.project-slideshow-page .close-btn,
.project-slideshow-page .play-pause-btn,
.project-slideshow-page .thumbnail-item {
  cursor: pointer !important;
}

.project-slideshow-page .zoom-overlay:hover,
.project-slideshow-page .arrow-btn:hover,
.project-slideshow-page .close-btn:hover,
.project-slideshow-page .play-pause-btn:hover,
.project-slideshow-page .thumbnail-item:hover {
  cursor: pointer !important;
  opacity: 1 !important;
}

/* اطمینان از نمایش کرسر روی کل صفحه لایت‌باکس */
.project-slideshow-page {
  cursor: default !important;
}