:root {
  --dark-bg: #121212;
  --dark-text: #fbfbfb;
  --dark-secondary: #1e1e1e;
  --dark-accent: #FF1515;
  --dark-border: #616161;
  --dark-hover: #2a2a2a;
  --light-text: #121212;
  --light-dark-border: #1d1d1d;
  --lighter-dark-border: #969696;
  --light-bg: #fbfbfb;
  --light-border: #d1d1d1;
  --red-accent: #FF1515;
  --light-darker-border: #121212;
}
#formMessage {
  display: none; /* Hidden by default */
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

#formMessage.show {
  display: block; /* Show when this class is added */
}

#formMessage.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#formMessage.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
#project-nav .about-me .arrow-svg {
  transform: rotate(90deg);
}
.technologies {
  width: 83%;
  margin: auto;
}
.position-unset{
  position: unset !important;
}
.light-header{
  font-family: 'biryanilight' !important;
  font-weight: 200;
}
.sm-logo {
  height: 18px;
  width: auto;
}

.biriyani-bold {
  font-family: 'biryanibold';
}
.biriyani-light{
    font-family: 'biryanilight';
}
.cursor.darkmode .cursor-core {
  background: radial-gradient(circle, #ffffff 0%, #e0e0e0 100%) !important;
  
}

.cursor.darkmode .cursor-ring {
  border-color: rgba(255, 255, 255, 1) !important;
}

.cursor.darkmode.hover-expand .cursor-ring {
  border-color: rgba(255, 255, 255, 1) !important;
}
@import url(cursor-effects.css);

.p-wrap-right-1 > div:nth-child(3){
  left:-5px;
}
.description-cont {
  margin-left: 5px;
  margin-right: 5px;
}
/* Hide ScrollMagic debug indicators */
.scrollmagic-indicator,
.scrollmagic-indicators,
.scrollmagic-start,
.scrollmagic-end,
[style*="z-index: 9999"],
[style*="position: fixed"][style*="z-index: 9999"],
[style*="position: absolute"][style*="z-index: 9999"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.left-icon-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 10px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
/* Hide any elements with high z-index that might be debug indicators */
*[style*="z-index: 9999"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.cont a.description {
  font-size: 14px;
}
#submenu > li > a > span.nav-text {
  font-size: 14px;
}
.nav-links-tablet .arrow-svg path {
  stroke: #C81414 !important;
}
.about-me {
  position: relative;
}
.tool-icon {
  width: 100%;
  max-width: 45px;
}
.contact-gap .col-2 {
  display: flex;
  justify-content: center;
}
#submenu .nav-arrow {
  margin-left: 4px;
}
.padding-top-10{
  padding-top:10px
}
#submenu > li > a {
  font-size: 16px !important;
  cursor: none !important;
}
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease;
  background-color: #eee;
}
.sub-nav-drop .nav-text {
  color: #8a8a8a;
}
#top-nav #submenu {
  margin-top: 0;
  margin-bottom: 0;
  background: none;
}
#top-nav ul li {
  align-items: end;
}
/* Hover to reveal submenu */
.menu li:hover .submenu {
  max-height: 500px; /* enough to reveal all submenu items */
}

.next-prev{
  max-width: 400px;
  margin: auto;
}
.right {
  justify-content: end;
  display: flex;
}
.left {
  justify-content: start;
  display: flex;
}
.section-header-row {
  display: flex;
  align-items: flex-end; /* aligns underline with text bottom */
  gap: 8px; /* space between header, arrow, and underline */
  position: relative;
}
.section-header-underline {
  flex: 1;
  height: 1px;
  background: var(--dark-border);
  margin-left: 8px;
  margin-bottom: 7px;
  display: block;
}
 .highlight-box {
  border: 1px solid var(--light-border);
  border-radius: 10px;
  padding: 3rem;
}
.paragraph-18px{
  font-size:18px;
}
.problem-icon {
  margin-bottom:-8px;
  margin-right:15px;
}
.no-padding {
padding:0 !important;
}
.circle-third {
  width: 240px;
  cursor:zoom-in
}


body.dark-mode .project-showcase {
  border: 1px solid  #858585;
}

.bullets li {
  list-style-type: square;
  padding-left: 0.5rem;
  padding-bottom: 8px;
  break-inside: avoid;
}
.bullets li::marker {
  color: var(--red-accent);
}
.bullets-vert{
  column-count: 1;
  line-height: 140%;
  padding-left: 20px;
  margin-top:0;
}
.bullets-vert li{
list-style-type: square;

  padding-left: 0.5rem;

  padding-bottom: 8px;
}
.bullets-vert li::marker {
  color: var(--red-accent);
}
.bullets-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.bullets-col {
  line-height: 140%;
  padding-left: 20px;
  margin-top: 0;
  list-style: none;
}

.bullets-col li {
  list-style-type: square;
  padding-left: 0.5rem;
  padding-bottom: 8px;
}

.bullets-col li::marker {
  color: var(--red-accent);
}

.bullets {
  line-height: 140%;
  padding-left: 20px;
  margin-top:0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  list-style: none;
}
.process-heading h2 {
  line-height: 100%;
  margin: 0;
}
.process-heading {
  display: flex;
}
.tools-container {
  display: flex;
  gap: 10px;
  margin-top:20px;
}
.margin-btm-20{
  margin-bottom:20px !important;
}
.margin-btm-25{
  margin-bottom:25px !important;
}
.section-header-34 {
  margin-bottom: 20px;
  margin-top:0;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding:10px 20px;
}
.project-hero {
  border-radius:10px;
  border:1px solid var(--light-darker-border);
}

 .full-paragraph {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
  cursor: pointer;
}

.full-paragraph.expanded {
  /* height will be set inline via JavaScript */
}
.contact-position{
  position: relative;
  z-index:99;
}
.copy-logo {
  align-content: center;
}
.icon {
  width: 50px;
  display: flex;
  justify-content: center;
}
  .nav-links a{
    font-size:14px;
    cursor: none !important;
  }
.map-container.container {
  position: relative;
  padding:0 20px;
}
.center-txt {
  text-align: center !important;
}
#contact {
  position: relative;
  margin-top: -70px;
}
#about-me {
  position: absolute;
  margin-top: -90px;
}
/* Base header style */
.top-nav-logo {
  width: 50px;
}
.header {
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 999;
}

/* Hidden state */
.header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
/* ----------- HERE ----------- */
#projects {
  position: absolute;
  margin-top: 7rem;
}
.map-container {
  z-index: 99;
  width:100%;
  margin: auto;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}


.center-content {
  max-width: 980px;
  margin: 0 auto;
}

.main-layout {
  display: grid;
  grid-template-columns: 10% 90%;
  gap: 1rem;
  margin-top: 1rem;
}



@media (max-width: 1024px) {
  .center-content {
    width: 85%;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .main-col-1 {
    display: none;
  }
}

#map {
  border-radius: 5px;
  min-height: 340px;
  border: 1px solid var(--light-border);
  margin: 0 auto;
}
.rdot{
  color:var(--red-accent);
}
.submit-button {
  margin-top: 25px;
}
.pne {
  width: 30px;
}


body, p{
  font-family: 'biryanilight';
}
.bold {
  font-family: 'biryanibold';
}
.align-left {
  text-align: left;
}
/* When the navigation is active (you'll need to add this class via JavaScript when scrolled past hero) */
#footer-bg {
  height: 500px;
  position: relative;
  overflow: hidden;
  margin-top: -480px;
}
#footer-bg::before {
  content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: radial-gradient(#d6d6d6 1px, transparent 1px);
background-size: 12px 12px;
opacity: 0.8;
z-index: 0;
}

#footer-bg::after {
  content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(251, 251, 251, 1) 0%, rgba(251, 251, 251, 0) 70%);
pointer-events: none;
z-index: 1;
}
.top {
  display: flex;
  justify-content: end;
  transform: translateY(-100%); /* Start off-screen to the top */
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), 
              opacity 0.4s ease;
  will-change: transform, opacity;
}



.top.top-visible {
  transform: translateY(0); /* Slide in from top */
  opacity: 1;
}
.side-nav {
  width: 200px;
  position: fixed;
  top: 4rem;
  left: calc(50% - 550px - 255px);
  z-index: 9;
  height:88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main-content {

  min-width: 0;
  box-sizing: border-box;
  padding: 2rem 2rem 0 2rem;
  flex-grow: 1;
}
.right-spacer {
  width: 5vw;
  min-width: 160px;
  max-width: 80px;
  background: transparent;
  flex-shrink: 0;
}

#dotCanvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.row-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'biriyaniregular', sans-serif;
  background-color: var(--light-bg);
  color: var(--light-text);
  cursor: none !important;
}
    
   

/* Ensure no transitions during page load */
.resume-button {
  text-align: center;
  font-family: 'biryanibold';
  padding: 10px 10px 6px;
  font-size: 18px;
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.5s ease-in-out, transform 100ms ease-in-out, box-shadow 100ms ease-in-out;
  border: 1px solid #000;
  width: 200px;
  display: block;
  box-shadow: -1px 1px 0px 1px #000;
  line-height: 1.5;
  margin-bottom: 35px;
  position: relative;
  overflow: hidden;
}
#top-nav {
  position: sticky;
  top: 4rem;
  bottom: 0;
  z-index: 9;
  transform: translateY(-100%); /* Start off-screen to the top */
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), 
              opacity 0.4s ease;
  overflow: hidden;
  will-change: transform, opacity;
  overflow: visible;
  
}

.nav-style {
  display: flex;
  flex-direction: column;
  
  height: 100%;
  margin-left: auto;
}

#top-nav.nav-visible {
  transform: translateY(0); /* Slide in from top */
  opacity: 1;
}


.row-2 {
  display: grid;
  /* Your existing grid setup */
}

.phil-col {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform; /* Hint to browser for better performance */
  backface-visibility: hidden; /* Prevent flickering in some browsers */
}

.col.phil-col {
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px; /* space between rows */
  max-width:1120px;
  margin:auto;
}
.col-about-1 {
  display: flex;
  
  flex-direction: column;
  will-change: transform, opacity;
}
/* Row 1 - two-column layout */
.row-1 {
  display: grid;
  grid-template-columns: 12fr;
  gap: 40px;
}

/* Row 2 - five-column layout */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 10px;
}

/* For the columns that are fixed */
.fixed {
  display: flex;
  align-items: center;    /* vertical center */
  justify-content: center; /* horizontal center */
  width: 60px;
}

/* Responsive stacking */


.side-image {
  width: 420px;
  position: fixed;
  left: 0;
  top: 35%;
}
.fly-in-element {
  opacity: 0;
  transform: translateX(100px);
  will-change: transform, opacity;
}
#top-nav ul{
  font-family: 'biryanilight';
  font-size:14px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  padding: 0;
  margin:30px 0 10px auto;
}

#top-nav ul a {
  color: #7a7a7a;
  text-decoration: none;
  position: relative;
  display: block;
  padding:00 5px 0;
  font-size: 14px;
  text-align: right;
  display: inline-flex;
  cursor: none !important;
  transition: color 0.15s ease, transform 0.3s ease;
  text-decoration: none;
  background-color: transparent;
}
#top-nav ul a:hover {
  text-decoration:none; 
}

/* Animate only the text, not the arrow */
#top-nav ul a {
  transition: color 0.15s ease;
}

#top-nav ul a:hover {
  text-decoration:none; 
}

/* Target only the text span for animation */
#top-nav ul a .nav-text {
  transition: transform 0.3s ease;
  display: inline-block;
}

#top-nav ul a:hover .nav-text {
  transform: translateX(-4px);
}


#top-nav ul a:hover::before {
  transform: scaleX(1);
}
#top-nav ul li:last-child {
  border-right: none;
}



#top-nav .container {
  border-bottom:
1px solid var(--light-border);
}



.phil-box .description, .phil-box .section-header {
  text-align: center;
}
.hidden {
  display: none;
}
.row-2 > :nth-child(odd) {
  border:1px solid var(--light-border);
  border-radius:10px;
  padding:20px;
  
}
p {
  font-size:16px;
  line-height: 150%;
 }
.flex{
  display: flex;
}
.logo-box img {
  width: 180px;
}

.taxonomy{
  font-size: 14px;
  color:#bababa;
  font-family: 'biryanilight';
  text-align: left;
  margin-bottom: 6px;
  font-weight: lighter;
  line-height: 1.3;
  margin-top:12px;
}
.red-line {
    position: absolute;
  }

.devider {
    border-top: 1px solid #b8b8b8;
    margin-bottom: 15px;
    padding: 0;
    margin: 0;
    position: relative;
  }
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.spacer-10px{
  margin-top: 10px;
}
.spacer-20px{
  margin-top: 20px;
}
.spacer-0-5rem{
  margin-top: 0.5rem;
}
.spacer-1rem{
  margin-top: 1rem;
}
.spacer-1-3rem{
  margin-top: 1.3rem;
}
.spacer-1-5rem{
  margin-top: 1.5rem;
}
.spacer-2rem{
  margin-top: 2rem;
}
.spacer-2-5rem{
  margin-top: 2.5rem;
}
.spacer-3rem{
  margin-top: 3rem;
  }
.spacer-4rem{
margin-top: 4rem;
}
.spacer-6rem{
  margin-top: 6rem;
  }
  .spacer-8rem{
    margin-top: 8rem;
    }
    .spacer-10rem{
      margin-top: 10rem;
    }


    #imageModal .nav-btn {
      background-color: rgba(175, 174, 174, 0.1);
      }
      #imageModal .nav-btn:hover {
        background-color: rgba(114, 114, 114, 0.1);
      }
main {
    display: flex;
    justify-content: center;
    padding: 20px 20px 0 20px;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.projects {
    display: flex;
    z-index: 99;
    position: relative;
}
 h3.devider-heading{
    font-family: 'biryanilight';
    margin-bottom:5px;
    font-size:20px;
    font-weight:lighter;
 }
 h3.small-header{
  font-family: 'biryanilight';
  margin-bottom: 0;
  font-size: 20px;
  font-weight: lighter;
  line-height: 1;
}

 .section-header {
    font-size: 20px;
    font-family: 'biryaniregular';
    color: var(--light-text);
    line-height:1.4;
    text-align: left;
    margin-top:8px;
    margin-bottom: 8px;
  }
  .section-header-24 {
    font-size: 24px;
  font-family: 'biryaniregular';
  color: #0c0c0c;
  margin:15px 0 10px;
  text-align: left;
  }
  .section-header-28 {
    font-size: 26px;
  font-family: 'biryaniregular';
  color: #0c0c0c;
  margin:
0 0 15px;
  text-align: left;
  }
  .icon-row {
    display: flex;
    justify-content: start;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .description {
    text-align: left;
    color: var(--light-text);
    margin:0;
    line-height: 1.5;
  }
  .gradient-button:active, .submit-button:active {
    transform: translate(0, 0);
    box-shadow: -1px 1px 0px 1px #000;
  }
  .gradient-button:hover, .submit-button:hover {
    box-shadow: -3px 3px 0px 1px #000;
    transform: translate(2px, -2px);
  }
  a, button {
    cursor: auto !important;
}
  .gradient-button, .submit-button {
    text-align: center;
    font-family: 'biryaniregular';
    padding: 10px 10px 8px;
    font-size: 16px;
    color: #000;
    border: none;
    border-radius: 5px;
    background:var(--light-bg);
    cursor: none !important;
    text-decoration: none;
    transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.4, 0, 0.2, 1);

    border: 1px solid #000;
    width: 160px;
    display: block;
    box-shadow: -1px 1px 0px 1px #000;
    line-height: 1.5;
    margin-top:30px;
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
}


.section-title{
  z-index:999;
}
#footer-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
    
}




.txt-center{
  text-align: center;
}
.footer-content {
    position: relative;
    z-index: 2;
    padding: 0 0 40px;
    text-align: center;
    color: #0C0C0C;
    font-family: 'biryanilight';
    font-size: 14px;
}







.devider-heading {
    font-family: 'biryanilight';
    margin-bottom: 5px;
    font-size: 21px;
    font-weight: lighter;
}

/* Nav arrow styles */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  cursor: pointer;
  padding-bottom: 4px;
  flex-direction: column;
}
.t-nav-item {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: end;
  cursor: pointer;
  padding-bottom: 4px;
  flex-direction: column;
  width: fit-content;
  min-width: 80px;
  margin: auto;
  align-self: center;
}
.nav-arrow {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.heading-arrow {
  display: flex;
  align-items: center;
  margin: 0 0 2px 6px;
  height: 100%;
}

.arrow-svg {
  transition: transform 0.12s;
  transform: rotate(0deg);
}
#top-nav ul a:hover {
  color: var(--light-text);
}

.nav-item.selected .arrow-svg {
  transform: rotate(-45deg);
}
#top-nav ul li.selected > a {
  color: var(--light-text) !important;
  transition: color 0.15s ease;
}

.arrow-svg path {
  stroke: var(--light-text);
  transition: stroke 0.3s;
}

.nav-item.selected .arrow-svg path {
  stroke: #e53935;
}

/* Arrow left styles for navigation */
.arrow-left {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  transition: filter 0.1s ease;
}

body.dark-mode .arrow-left {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Navigation link hover styles */
.previous a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.1s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 95px;
  font-family: 'biryanilight';
  line-height: 1;
}

.previous a:hover {
  color: var(--red-accent);
}

.previous a:hover .arrow-left {
  filter: brightness(0) saturate(100%) invert(6%) sepia(100%) saturate(7482%) hue-rotate(357deg) brightness(95%) contrast(118%);
}

body.dark-mode .previous a {
  color: var(--dark-text);
}

body.dark-mode .previous a:hover {
  color: var(--red-accent);
}

body.dark-mode .previous a:hover .arrow-left {
  filter: brightness(0) saturate(100%) invert(6%) sepia(100%) saturate(7482%) hue-rotate(357deg) brightness(95%) contrast(118%);
}

/* --- Phil-box icon twitch animation --- */
@keyframes twitch {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(18deg); }
  40% { transform: rotate(-14deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

.phil-box:hover .creativity-icon,
.phil-box:hover .technology-icon,
.phil-box:hover .magic-icon {
  animation: twitch 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
}

@media (min-width: 540px) {
  .hamburger {
display: none;
cursor: pointer;
flex-direction: column;
gap: 5px;
  }
  header.center-content{
display: none;
  }
}

/* Tablet range: 768px - 1180px */
@media (min-width: 768px) and (max-width: 1180px) {
  /* Mobile tablet header styles moved to device-styles.css to avoid conflicts */
}
@media (max-width: 540px) {
  
  .hamburger {
  display: flex;
}

}

.arrow-svg.arrow-down {
  transform: rotate(0deg);
}
.arrow-svg.arrow-right {
  transform: rotate(90deg);
}
.arrow-svg.arrow-up {
  transform: rotate(-90deg);
}

.project-left::after,
.project-right::after {
  content: '';
  position: absolute;
  right: -27.5px; /* half the width of the SVG (55px) */
  top: 50%;
  width: 55px;
  height: 55px;
  background: url('../images/plus.svg') no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 999;
  pointer-events: none;
  display: block;
}

.project-left:hover::after,
.project-right:hover::after {
  transform: translateY(-50%) rotate(360deg);
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.menu-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.menu-btn__burger {
  width: 25px;
  height: 3px;
  background: var(--light-text);
  border-radius: 5px;
  transition: all .3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: var(--light-text);
  border-radius: 5px;
  transition: all .3s ease-in-out;
}

.menu-btn__burger::before {
  transform: translateY(-8px);
}

.menu-btn__burger::after {
  transform: translateY(8px);
}

/* Animation */
.menu-btn.open .menu-btn__burger {
  transform: translateX(-40px);
  background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
  transform: rotate(45deg) translate(25px, -25px);
}

.menu-btn.open .menu-btn__burger::after {
  transform: rotate(-45deg) translate(25px, 25px);
}

.nav-links {
  position: absolute;
  
}

.nav-links li {
  text-align: center;
  margin: 20px 0;
}

.nav-links.open {
  transform: translateY(0);
}

.back-button-container {
  margin-bottom: 2rem;
}

.back-button {
  background: linear-gradient(135deg, #666 0%, #888 100%) !important;
  box-shadow: -1px 1px 0px 1px #555 !important;
  border: 1px solid #555 !important;
}

.back-button:hover {
  background: linear-gradient(135deg, #555 0%, #777 100%) !important;
  transform: translateY(-2px);
  box-shadow: -2px 2px 0px 2px #444 !important;
}
/* Zoomable Image Styles */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  width: 100%;
  position: relative;
}
body.dark-mode .zoomable {


}




.zoomable:hover {
  transform: scale(1.02);
  
}

.zoomable:active {
  transform: scale(0.98);
}

/* Dark mode styles for zoomable images */



/* Zoom container styles */
.zoom-container {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.zoom-container img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Close button for zoomable images */
.zoom-container .close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.zoom-container .close:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.1);
}

.zoom-container .close:active {
  transform: scale(0.95);
}

/* Responsive zoomable images */
@media (max-width: 768px) {
  .zoomable {
    cursor: pointer;
  }
  
  .zoomable:hover {
    transform: none;
    box-shadow: none;
  }
  
  .zoom-container .close {
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .zoom-container .close {
    width: 40px;
    height: 40px;
    font-size: 25px;
    top: 5px;
    right: 5px;
  }
}

/* ScrollMagic trigger positioning - responsive */
.trigger {
  margin-top: -50px; /* Mobile: move up by 50px */
}

/* Desktop: move up by 10% */
@media (min-width: 768px) {
  .trigger {
    margin-top: -10%;
  }
}

/* ======================================== */
/* ScrollMagic Debug Indicators - Hidden */
/* ======================================== */

/* Hide all ScrollMagic debug indicators */
[style*="z-index: 9999"] {
    display: none !important;
}

/* Hide specific debug indicator elements */
div[style*="position: fixed"][style*="z-index: 9999"],
div[style*="position: absolute"][style*="z-index: 9999"] {
    display: none !important;
}

/* Hide trigger, start, and end indicators */
div:contains("trigger"),
div:contains("start"),
div:contains("end") {
    display: none !important;
}

/* Alternative approach - hide by z-index */
*[style*="z-index: 9999"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Additional rules to catch any remaining indicators */
div[style*="z-index: 9999"],
span[style*="z-index: 9999"],
p[style*="z-index: 9999"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide any elements with specific ScrollMagic classes */
.scrollmagic-indicator,
.scrollmagic-indicators,
.scrollmagic-start,
.scrollmagic-end,
.scrollmagic-trigger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

