/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;

}
html,body{
    background-color:#120c1e;
}



body {
  background: linear-gradient(
    to bottom,
    #120c1e 0%,       /* very dark purple */
    #1a1527 20%,       /* dark match to image */
    #291d3f 40%,       /* mid dark violet */
    #40255c 60%,       /* smoother violet */
    #57406d 80%,       /* bright lavender */
    #6f5e8e 100%       /* subtle soft tone */
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 1000vh;
  color: #f9f9f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


.fullpage {
  padding: 100px 20px 200px; /* top, sides, bottom */
  max-width: 100vw;
  justify-content: center;
}

/* Navbar Layout */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(18, 12, 30, 0); /* 🔥 semi-transparent */
  backdrop-filter: blur(12px);            /* 🔥 frosted glass blur */
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-bottom: 0px solid rgba(255, 255, 255, 0.05);
}


/* Brand */
.navbar-brand {
  font-family:  cursive,'Bebas Neue';
  font-size: 22px;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
.highlight{
  color: purple;
}

.content h1{
  font-size: 60px;
}
.content p{
  font-size: 60px;

}
/* Menu */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  font-family: cursive,'Bebas Neue';
}

.navbar-menu li a {
  color: #f9f9f9;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-menu li a:hover {
  color: purple;
}

/* Responsive Layout */
#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center; /* ✅ center the text */
    background-color: rgba(64 ,11, 79,0.9); /* semi-dark */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.8s ease;
    z-index: 1;
    backdrop-filter: blur(10px); /* ✅ blur the menu */
    -webkit-backdrop-filter: blur(10px);
 
  }



  #menu-toggle:checked ~ .navbar-menu {
    max-height: 400px;
    box-shadow: 10px 20px 20px 20px rgba(64 ,11, 79,0.9);
  }

  .navbar-menu li {
    padding: 15px 0;
    width: 100%;
    text-align: center;

  }
 
  .navbar-menu li a:hover {
  color: purple;
  }

  .hero .content {
    padding-left: 20px;
    transform: none;
    text-align: center;
  }

  .hero .content h1 {
    font-size: 40px;
  }

  .hero .content p {
    font-size: 20px;
    word-spacing: 6px;

  }


}


/* Navbar hidden on scroll */
.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-menu.hidden{
  transition: transform 0.5s ease-out;
  transform: translateY(-100%);
}



.hero {
  height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/static/pexels-eva-bronzini-7629315.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #f9f9f9;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 21, 39, 0.6);
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 2;
  text-align: left;          
  max-width: 1200px;        
}

.hero .content h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 80px;         
  font-weight: 613;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.hero .content p {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: #00ffe7;    
  font-weight: 600;
  line-height: 1.5;
}


.decrypted-text span.encrypted {
  opacity: 0.6;
}

.decrypted-text span.revealed {
  opacity: 1;
}







/* BLOB CURSOR */
#blob-cursor-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.blob-main {
  position: absolute;
  top: 0;
  left: 0;
  filter: url(#blob-filter);
}

.blob {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner-dot {
  position: absolute;
}







.footer {
  background: transparent;
  color: #222;
  font-family: sans-serif;
  padding-top: 64px;
  padding-bottom: 24px;
  border-top: 1px solid white;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  flex: 1 1 300px;
  min-width: 250px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  color: purple;
}
.footer-description {
  margin-top: 24px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  max-width: max-content;
  text-align: center;
  color:#374151;
  line-height: 1.5;

}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.footer-social-link {
  color: purple;
  transition: color 0.2s;
  font-size: 24px;
  display: inline-flex;
}
.footer-social-link:hover {
  color: purple;
}
.footer-links-grid {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}
.footer-links-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #848884;
  margin-bottom: 24px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 16px;
}
.footer-links ul li a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}
.footer-links ul li a:hover {
  color: purple;
}
.live-chat {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.live-chat-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: purple;
  border-radius: 50%;
  margin-left: 4px;
  animation: ping 1s infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75% { transform: scale(2); opacity: 0; }
  100% { transform: scale(2); opacity: 0; }
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-contact address {
  font-style: normal;
  color: #374151;
}
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
  padding-top: 24px;
}
.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: 	#E5E4E2;
}
.footer-bottom-flex p {
  margin: 0;
}
.footer-bottom-flex a {
  color: purple;
  text-decoration: underline;
  margin: 0 4px;
  transition: color 0.2s;
}
.footer-bottom-flex a:hover {
  color: purple;
}
@media (min-width: 1024px) {
  .footer-grid {
    flex-wrap: nowrap;
    gap: 48px;
  }
  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  .footer-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}



.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items:center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social-link svg {
  width: 32px;
  height: 32px;
  transition: filter 0.3s ease, transform 0.3s ease;
  fill: currentColor;
  color: #E5E4E2; /* Default icon color */
}

.footer-social-link:hover svg {
  filter: brightness(1.3);
  color: purple; /* Brighter teal on hover (can adjust) */
  transform: scale(1.1);
}





.nick-timeline-container {
  position: absolute;
  top: 0;
  left: 70px ;
  width: 110px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}
.nick-timeline-line {
  position: absolute;
  right: 40px;
  /* top and height set by JS */
  width: 2.5px;
  background: linear-gradient(to bottom, purple 0%, #301934 100%);
  border-radius: 2px;
  z-index: 1;
}
.nick-timeline-circle {
  position: absolute;
  right: 33px;
  width: 15px;
  height: 15px;
  border: 2px solid purple;
  border-radius: 50%;
  background: rgba(185, 131, 255, 0.08);
  box-shadow: 0 0 8px 2px rgba(185,131,255,0.21);
  z-index: 2;
  transition: box-shadow 0.2s;
  backdrop-filter: blur(2px);
}
.nick-timeline-label {
  position: absolute;
  right: 60px;
  font-size: 13px;
  font-family: 'Montserrat', 'Roboto Mono', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  color: 	#E5E4E2;
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 1px 4px purple;
  white-space: nowrap;
}
.nick-timeline-label-top {
  /* top set by JS */
  font-size: 1.1em;
  letter-spacing: 2px;
  color: 	#E5E4E2;
  opacity: 0.8;
}
.nick-timeline-label-mid ,.nick-timeline-label-mid2,.nick-timeline-label-mid3{
  /* top set by JS */
  color: 	#E5E4E2;
  font-size: 1.1em;
  opacity: 0.6;
}
.nick-timeline-label-bottom {
  /* top set by JS */
  font-size: 1.1em;
  letter-spacing: 2px;
  color: 	#E5E4E2;
  opacity: 0.6;
  text-orientation: mixed;
}
@media (max-width: 900px) {
  .nick-timeline-container { display: none; }
}




/* Add to your CSS file */



.work-header-container {
  text-align: center;
  margin-bottom: 42px;
}

.work-main-header {
  font-family: 'Bebas Neue', 'Montserrat', Arial, sans-serif;
  font-size: 3.2rem;
  letter-spacing: 2px;
  color: #b983ff;
  font-weight: 800;
  margin-bottom: 0.2em;
  text-align: center;
  text-shadow: 0 2px 18px rgba(185,131,255,0.14);
}

.work-sub-header {
  font-family: 'Montserrat', 'Roboto Mono', Arial, sans-serif;
  font-size: 1.3rem;
  color: #e6dbff;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .work-main-header {
    font-size: 2.1rem;
  }
  .work-sub-header {
    font-size: 1rem;
  }
  .work-header-container {
    margin-bottom: 24px;
  }
}






.about-section {
  max-width: 100vw;
  margin: 70px  auto;
  z-index: 5;
  justify-content: center;
  align-items: center;
  display: flex;
}



.code-wrapper {
  display: flex;
  background: transparent;
  overflow: auto;
  flex-wrap: nowrap;
  border-radius: 8px;
  position: relative;
  margin: 0 auto;
  width: 100%;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  padding: 0;
}

.line-numbers {
  background: transparent;
  border-right: 1px solid #333;
  color: greenyellow;
  user-select: none;
  text-align: right;
  padding: 1rem 0.5rem;
  flex-shrink: 0;
  min-width: 40px;
  line-height: 1.5;
}

.line-numbers span {
  display: block;
  height: 1.5em;
}

.code-content {
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1;
  color: #ccc;
  line-height: 1.5;
  min-width: 0;
  
}

.comment    { color: lightgreen; }   /* Deeper olive */
.keyword    { color: #336699; }   /* Warm navy blue */
.function   { color: orange; }   /* Burnt gold */
.string     { color: darkorange; }   /* Warm terracotta */
.variable   { color: lightseagreen; }   /* Steel blue */
.property   { color: darkblue; }
.type       { color: lightblue; }   /* Deep teal */
.module     { color: #C11C84; }   /* Plum/magenta */
.decorator  { color: rgb(0, 255, 0); }   /* Muted earthy green */
.class-name { color: yellow; }


@media (max-width: 700px) {

  .about-section{
    margin: auto auto;
    margin-bottom: 100px;
  
  }
}




.footer-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer-contact-form input,
.footer-contact-form textarea {
  padding: 10px 14px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  background-color: #2a2d35;
  color: #fff;
  outline: none;
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: #999;
}

.footer-contact-form button {
  background-color: purple;
  border: none;
  color: white;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-contact-form button:hover {
  background-color: 	#d900ff;
}



.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 1);
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.overlay-content {
  max-width: 90%;
  text-align: center;
  font-size: 2.5rem;
  
}


.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.2rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

@media (max-width: 600px) {
  .overlay-content {
    font-size: 1.2rem;
  }

  .close-btn {
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
  }
}



/* From Uiverse.io by mobinkakei */ 
#wifi-loader {
  --background: rgb(255, 0, 255);
  --front-color: #d900ff;
  --back-color: #c3c8de;
  --text-color: #414856;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

#wifi-loader svg circle {
  position: absolute;
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-100deg);
  transform-origin: center;
}

#wifi-loader svg circle.back {
  stroke: var(--back-color);
}

#wifi-loader svg circle.front {
  stroke: var(--front-color);
}

#wifi-loader svg.circle-outer {
  height: 86px;
  width: 86px;
}

#wifi-loader svg.circle-outer circle {
  stroke-dasharray: 62.75 188.25;
}

#wifi-loader svg.circle-outer circle.back {
  animation: circle-outer135 1.8s ease infinite 0.3s;
}

#wifi-loader svg.circle-outer circle.front {
  animation: circle-outer135 1.8s ease infinite 0.15s;
}

#wifi-loader svg.circle-middle {
  height: 60px;
  width: 60px;
}

#wifi-loader svg.circle-middle circle {
  stroke-dasharray: 42.5 127.5;
}

#wifi-loader svg.circle-middle circle.back {
  animation: circle-middle6123 1.8s ease infinite 0.25s;
}

#wifi-loader svg.circle-middle circle.front {
  animation: circle-middle6123 1.8s ease infinite 0.1s;
}

#wifi-loader svg.circle-inner {
  height: 34px;
  width: 34px;
}

#wifi-loader svg.circle-inner circle {
  stroke-dasharray: 22 66;
}

#wifi-loader svg.circle-inner circle.back {
  animation: circle-inner162 1.8s ease infinite 0.2s;
}

#wifi-loader svg.circle-inner circle.front {
  animation: circle-inner162 1.8s ease infinite 0.05s;
}

#wifi-loader .text {
  position: absolute;
  bottom: -40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
}

#wifi-loader .text::before, #wifi-loader .text::after {
  content: attr(data-text);
}

#wifi-loader .text::before {
  color: var(--text-color);
}

#wifi-loader .text::after {
  color: var(--front-color);
  animation: text-animation76 3.6s ease infinite;
  position: absolute;
  left: 0;
}

@keyframes circle-outer135 {
  0% {
    stroke-dashoffset: 25;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 301;
  }

  80% {
    stroke-dashoffset: 276;
  }

  100% {
    stroke-dashoffset: 276;
  }
}

@keyframes circle-middle6123 {
  0% {
    stroke-dashoffset: 17;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 204;
  }

  80% {
    stroke-dashoffset: 187;
  }

  100% {
    stroke-dashoffset: 187;
  }
}

@keyframes circle-inner162 {
  0% {
    stroke-dashoffset: 9;
  }

  25% {
    stroke-dashoffset: 0;
  }

  65% {
    stroke-dashoffset: 106;
  }

  80% {
    stroke-dashoffset: 97;
  }

  100% {
    stroke-dashoffset: 97;
  }
}

@keyframes text-animation76 {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  50% {
    clip-path: inset(0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}
 










.journey-3d-section {
  background: radial-gradient(circle at top left, #0f0f0f, #1f1f1f);
  padding: 6rem 2rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}



.timeline-container {
  position: relative;
  width: 90%;
  margin: auto;
  padding: 2rem 0;
  
}

.timeline-line-upgraded {
  position: absolute;
  width: 2px;
  background: linear-gradient(to bottom, #b983ff, #a15ef9);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}



.timeline-point.top,
.timeline-point.bottom {
  font-size: 1.2rem;
  margin: -2rem 0px;
  color: #b983ff;
  text-shadow: 0 0 5px #8e3cf9;
}





.timeline-event {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  box-sizing: border-box;
  z-index: 2;
}

.timeline-event.left {
  left: 0;
  text-align: right;
}

.timeline-event.right {
  left: 50%;
  text-align: left;
}

/* ================= 3D Card Styles ================= */

.parent {
  width: 80%;           /* Reduce width from 100% to 80% or less */
  max-width: 400px;     /* Cap the max width */
  padding: 10px;        /* Reduce padding */
  perspective: 800px;   /* Optional: reduce 3D exaggeration */
  margin: 0 auto;       /* Center the container */
}


.card {
  position: relative;
  padding-top: 50px;
  border: 3px solid #141414;
  transform-style: preserve-3d;
  background-size: cover;
  background-position: center;
  width: 100%;
  box-shadow: rgba(142, 142, 142, 0.3) 0px 30px 30px -10px;
  transition: all 0.5s ease-in-out;
  border-radius: 16px;
  overflow: hidden;
  width: 400px;
  height: 250px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.5);
  z-index: 0;
}

.card:hover {
  background-position: center top;

}

/* Reset default tilt */
.card {
  transform: none;
}

/* LEFT Timeline Card Tilt Right */
.timeline-event.left .card:hover {
  transform: rotate3d(0.5, 1, 0, 30deg);
}

/* RIGHT Timeline Card Tilt Left */
.timeline-event.right .card:hover {
transform: rotate3d(0.5, -1, 0, 30deg);
}

/* Smooth transition */
.card {
  transition: transform 0.5s ease-in-out;
}


.content-box {
  position: relative;
  background: transparent;
  padding: 60px 25px 25px 25px;
  transform-style: preserve-3d;
  border-radius: 12px;
  z-index: 1;
}

.card-title {
  display: inline-block;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 50px);
}

.card-title:hover {
  transform: translate3d(0px, 0px, 60px);
}

.card-content {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 30px);
}

.card-content:hover {
  transform: translate3d(0px, 0px, 60px);
}

.see-more {
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  color: #8ed500;
  background: #141414;
  padding: 0.5rem 0.8rem;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
  border-radius: 6px;
}

.see-more:hover {
  transform: translate3d(0px, 0px, 60px);
}

.date-box {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  background: #141414;
  border: 1px solid #8ed500;
  padding: 10px;
  transform: translate3d(0px, 0px, 80px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 17px 10px -10px;
  border-radius: 12px;
  z-index: 1;
}

.date-box span {
  display: block;
  text-align: center;
}

.date-box .month {
  color: #8ed500;
  font-size: 9px;
  font-weight: 700;
}

.date-box .date {
  font-size: 20px;
  font-weight: 900;
  color: #8ed500;
}

/* ================= Responsive Fixes ================= */

/* Journey Responsiveness Fix */

.timeline-event {
  position: relative;
  width: 50%;
  padding: 2rem 3rem;
  box-sizing: border-box;
  z-index: 2;
}

.timeline-event.left {
  left: 0;
  padding-right: 6%;
}

.timeline-event.right {
  left: 50%;
  padding-left: 6%;
}

@media (max-width: 991px) {
  .timeline-event {
    width: 100%;
    padding: 2rem 1rem;
  }
  .timeline-event.left,
  .timeline-event.right {
    left: 0;
    text-align: center;
    padding: 1rem 0;
  }

  .timeline-line-upgraded {
    left: 50%;
    transform: translateX(-50%);
  }

  .parent {
    width: 90%;
    margin: 0 auto;
  }

  .card {
    width: 100%;
    height: auto;
    min-height: 250px;
  }
 .work-header-container{
  padding-bottom: 20px;
 }
}



body.fade-out *:not(.card-active):not(.card-active *):not(.page-close-btn) {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease !important;
}

.card-active {
  background-color: #1a1a1a; /* fallback for visibility */
  min-width: 200px;
  min-height: 200px;
  opacity: 1 !important;
  z-index: 99999 !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}

.page-close-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 100000;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

.page-close-btn:hover {
  background: rgba(255, 0, 255, 0.4);
}




.show-more-btn {
  background-color: #6b46c1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.show-more-btn:hover {
  background-color: #553c9a;
}


/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-container {
    padding: 10px;
  }

  .timeline-event {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left;
  }

  .timeline-event .card {
    width: 100% !important;
  }

  .timeline-line-upgraded {
    left: 10px !important;
  }
}

.timeline-point.bottom {
  display: none;
}


/* Smooth reveal animation */
.hidden-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.visible-card {
  opacity: 1;
  transform: translateY(0);
}


.scroll-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}
