/* Example styles for demonstration */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
:root {
    --surface: #f8f8f8;
    --primary: #6200ea;
    --secondary: #03dac6;
    --text: #000000;
    --text-secondary: #666666;
    --border: #e0e0e0;
    --heading: #2d2d2d;
}
body {
    width: 100%;
    background: var(--surface);
    font-family: "LXGW Marker Gothic", sans-serif;
}
body > div {
    max-width: 100% !important;
    overflow-x: clip;
}

.lxgw {
  font-family: "LXGW Marker Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.fira-sans {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.bold {
    font-weight: 600;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.int-obs {
    /* opacity: 0;
    transition: opacity 0.6s ease; */
}

.int-obs.inview {
    /* opacity: 1; */
}
.underdevelopment {
  color: red;
  padding: 3rem 0;
  font-size: 2rem;
}
.underdevelopment span {
  font-size: 1.5rem;
}
.expoffice {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.expoffice img {
  width: 180px;
  height: auto;
  margin-top: 1rem;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

.heading2 {
    font-family: "LXGW Marker Gothic", sans-serif;
    height: 50px;
    position: relative;
    font-size: 2.5rem;
    color: var(--heading);
    /* letter-spacing: -2px; */
    transform: translateY(0px) scaleX(0.4);
    opacity: 0;
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: max-content;
    transition: 0.4s ease;
}
.heading2 span {
  display: inline-block;
  animation: upper 5s ease 0s infinite forwards;
}
/* .heading2::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(43, 14, 63, 0.276);
    transition: 0.5s ease;
} */

.heading2::after {
  content: '';
  position: absolute;
  height: 30%;
  width: 90%;
  top: 110%;
  border-radius: 50%;
  left: 50%;
  background: #00000021;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(3px);
  animation: shadowO 5s ease 0s infinite forwards;
}
.inview .heading2 {
  /* letter-spacing: 0px; */
  transform: scaleX(1);
  opacity: 1;
}
@keyframes shadowO {
  from, to {
    transform: translate(-50%, -50%) scale(1.2);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.8);
  }
}
@keyframes upper  {
  from, to {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* .inview .heading2::before {
    width: 50%;
} */
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

/* ===== Preloader Styles ===== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.preloader-overlay.loaded {
    opacity: 0;
}

.preloader-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Image Loaded State ===== */
.image-loaded .author-container .img > img {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1);
}

/* Add this to your existing animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Add this to your existing .img img selector */
.author-container .img > img {
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: fadeIn 0.5s ease forwards;
}



/* base marquee */
.marquee-container {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  font-family: "LXGW Marker Gothic", sans-serif;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.marquee--ltr {
    background: white;
    color: #000000;
    padding: 15px 0;
}
.marquee--rtl {
    background: var(--primary);
    color: white;
    padding: 15px 0;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
}
.marquee__inner {
  display: inline-flex;
  /* speed: change --duration as you like */
  animation: scroll var(--duration, 20s) linear infinite;
}
/* reverse direction on the other line */
.marquee--ltr .marquee__inner {
  animation-name: scroll-reverse;
}
/* icon before each item */
.marquee__inner span {
  position: relative;
  margin: 0 1.5rem;
  font-weight: bold;
}
.marquee__inner span::before {
  content: '✤';
  margin-right: .5rem;
  font-size: 20px;
}

/* animate by exact width of original content */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--scroll-width))); }
}
@keyframes scroll-reverse {
  0%   { transform: translateX(calc(-1 * var(--scroll-width))); }
  100% { transform: translateX(0); }
}


.icons-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.dart-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.dart-icon .part {
  opacity: 0;
  transform-origin: center;
  transition: transform 1s ease, opacity 1s ease;
  transition-delay: 0.3s;
}

/* Initial scattered state */
.dart-icon .part1 {
  transform: translate(-400px, -150px) rotate(-40deg);
}
.dart-icon .part2 {
  transform: translate(220px, -170px) rotate(60deg);
}
.dart-icon .part3 {
  transform: translate(-180px, 170px) rotate(-30deg);
}
.dart-icon .part4 {
  transform: translate(400px, 400px) rotate(20deg);
}
.dart-icon .part5 {
  transform: translate(-190px, 400px) rotate(-50deg);
}
.dart-icon .part6 {
  transform: translate(320px, -150px) rotate(80deg);
}

/* When in view: restore original */
.inview .dart-icon .part {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) !important;
}


/* Base: ensure smooth transitions */
.js-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.js-icon .bg,
.js-icon .letter {
  transition: all 1s ease;
}

/* 1️⃣ Initial states */
.js-icon .bg {
  transform: scale(0);
  transform-origin: center;
}

.js-icon .j {
  transform: translateY(-200px);
  opacity: 0;
}

.js-icon .s {
  transform: translateY(200px);
  opacity: 0;
}

/* 2️⃣ When .inview: animate to final */
.inview .js-icon .bg {
  transform: scale(1);
}

/* Delay letters so they come after bg */
.inview .js-icon .j {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s; /* adjust as you like */
}

.inview .js-icon .s {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.skills-headline {
  min-width: 100%;
  flex: 1;
  font-size: 1.5rem;
  text-align: center;
  padding-top: 1.5rem;
  color: #272727;
}
.skills-headline span {
  color: var(--primary);
}

.middlePlus {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 1.2s ease, opacity 1.2s ease;
}
.inview .middlePlus {
  transform: translateY(0);
  opacity: 1;
  
}




@media (max-width: 768px) {
  .heading2 {
    font-size: 2rem;
  }
  .skills-headline {
    font-size: 1rem;
  }
  
}