#section1 {
  overflow: visible !important;
}

.circular-animation-container-home {
  position: relative;
  width: 600px;
  height: 100vh;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(.2, .9, .2, 1), opacity 0.6s;
  will-change: transform, opacity;
}

.fade-in-left {
  animation: fadeInLeft 1s 2.5s forwards;
}

.rotating-circle-home {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: visible;
  animation: moveLeft 1.2s ease-out forwards 2.5s;
}

.rotating-circle-home img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rotateZoom 3s ease-out forwards;
}

@keyframes rotateZoom {
  0% {
    transform: scale(0.3) rotate(0deg);
    opacity: 0.5;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@keyframes onlyRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes moveLeft {
  0% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  100% {
    position: fixed !important;
    top: 50%;
    left: -75%;
    transform: translate(-58%, -50%);
    z-index: 10;
    height: 100vh;
  }
}

.center-image-home {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: moveTop 1.2s ease-out forwards 2.5s;
}

.center-image-home img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: ZoomImage 3s ease-out forwards;
}

@keyframes ZoomImage {
  0% {
    transform: scale(0.1);
    opacity: 0.1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes moveTop {
  0% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
  }
  100% {
    top: 1%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 200px;
    height: 200px;
  }
}

.side-text {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%) scale(0.5);
  opacity: 0;
  font-size: 4.5rem;
  font-family: "Century Gothic", sans-serif;
  font-weight: bold;
  color: #222;
  text-align: center;
  animation: showText 1.2s ease-out forwards 2.5s;
}

.side-orange {
  color: #EA6F23;
}

.side-text p {
  white-space: nowrap;
  margin: 0;
}

@keyframes showText {
  0% {
    left: 100%;
    top: 50%;
    transform: translate(0, -50%) scale(0.5);
    opacity: 0;
  }
  100% {
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.left-menu-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.left-menu-item {
  position: absolute;
  font-size: 2.1rem;
  font-weight: bold;
  color: #222;
  opacity: 0;
  background: linear-gradient(to bottom, #000, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.left-menu-item:nth-child(1) {
  top: 53%;
  left: -15%;
  animation: slideFromLeft 0.8s ease-out forwards;
  animation-delay: 3.5s;
}

.left-menu-item:nth-child(2) {
  top: 53%;
  left: 35%;
  animation: slideFromLeft 0.8s ease-out forwards;
  animation-delay: 3.8s;
}

.left-menu-item:nth-child(3) {
  top: 53%;
  left: 75%;
  animation: slideFromLeft 0.8s ease-out forwards;
  animation-delay: 4.1s;
}

@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.menu-home {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 20;
  animation: fadeInMenu 1.5s forwards;
  animation-delay: 5s;
}

.menu-item-home {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeInText 0.8s forwards;
}

.menu-item-home a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: #8e8c8d;
}

.menu-item-home a:hover {
  color: #000;
}

.menu-home .dot {
  height: 8px;
  width: 8px;
  background-color: #000000;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  opacity: 1;
  visibility: visible;
}

.menu-item-home:nth-child(1) {
  animation-delay: 5.2s;
  top: 16%;
  left: -58%;
}

.menu-item-home:nth-child(2) {
  animation-delay: 5.4s;
  top: 26%;
  left: -49%;
}

.menu-item-home:nth-child(3) {
  animation-delay: 5.6s;
  top: 38%;
  left: -44%;
}

.menu-item-home:nth-child(4) {
  animation-delay: 5.8s;
  top: 52%;
  left: -43.5%;
}

.menu-item-home:nth-child(5) {
  animation-delay: 6s;
  top: 64%;
  left: -47%;
}

.menu-item-home:nth-child(6) {
  animation-delay: 6.2s;
  top: 75%;
  left: -55%;
}

@keyframes fadeInMenu {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 576px) {
  .mobLogo {
    display: block !important;
  }

  /* Full Screen Container */
  .full-screen-container {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
  }

  /* Circular Animation Container */
  .circular-animation-container-home {
    width: 90vw;
    max-width: 328px;
    height: 90vw;
    max-height: 380px;
    position: relative;
    top: 26%;
  }

  /* Rotating Circle */
  .rotating-circle-home {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: block;
    animation: moveUp 1.2s ease-out forwards;
    animation-delay: 2.5s;
  }

  .rotating-circle-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotateZoom 3s ease-out forwards;
  }

  /* Center Logo */
  .center-image-home {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 120px;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: moveUp 1.2s ease-out forwards;
    animation-delay: 2.5s;
  }

  .center-image-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @keyframes moveUp {
    0% {
      top: 50%;
      transform: translate(-50%, -50%);
    }
    100% {
      top: 10%;
      transform: translate(-50%, -50%) scale(0.8);
    }
  }

  /* Side Text */
  .side-text {
    text-align: center;
    margin: 20px 0;
    font-size: 1.7rem;
    font-weight: bold;
    color: #222;
    width: 100%;
    position: relative !important;
    top: -49% !important;
    left: auto !important;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 3.5s;
  }

  .side-text p {
    white-space: normal;
    line-height: 1.3;
  }

  .side-text .side-orange {
    color: #EA6F23;
  }

  @keyframes slideInLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* Right to Center */
  @keyframes slideInRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  /* Left Menu Items */
  .left-menu-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: -150px;
    width: 100%;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1;
  }

  .left-menu-item {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    text-align: center;
    opacity: 0;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    background: linear-gradient(to bottom, #000, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @keyframes miniRotate {
    from {
      transform: rotate(var(--start-rot, 0deg));
    }
    to {
      transform: rotate(var(--end-rot, 12deg));
    }
  }

  .rotating-circle-home.retrigger img {
    animation: miniRotate 0.8s cubic-bezier(0.45, 0, 0.55, 1) forwards;
    transform-origin: center center;
    will-change: transform;
  }

  .left-menu-item:nth-child(1) {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 4.5s;
  }

  .left-menu-item:nth-child(2) {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 4.8s;
  }

  .left-menu-item:nth-child(3) {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 5.1s;
  }

  /* Hide desktop home menu on mobile */
  .menu-home {
    display: none !important;
  }
}
/* Mobile and Tablet Landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .circular-animation-container-home {
    max-width: 250px;
    height: 250px;
    top: 15%;
  }

  .side-text {
    font-size: 1.5rem;
    top: -30% !important;
  }

  .left-menu-home {
    margin-top: -100px;
  }

  .left-menu-item {
    font-size: 1.2rem;
  }
}
/* Tablet (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .mobLogo {
    display: block !important;
  }
  
  .full-screen-container {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
  }
  
  .circular-animation-container-home {
    width: 90vw;
    max-width: 328px;
    height: 90vw;
    max-height: 380px;
    position: relative;
    top: 0;
  }
  
  .rotating-circle-home {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: block;
    animation: moveUp 1.2s ease-out forwards;
    animation-delay: 2.5s;
  }

  .rotating-circle-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotateZoom 3s ease-out forwards;
  }
  
  .center-image-home {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 120px;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: moveUp 1.2s ease-out forwards;
    animation-delay: 2.5s;
  }
  
  .center-image-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  @keyframes moveUp {
    0% {
      top: 50%;
      transform: translate(-50%, -50%);
    }
    100% {
      top: 10%;
      transform: translate(-50%, -50%) scale(0.8);
    }
  }
  
  /* Side Text */
  .side-text {
    text-align: center;
    margin: 20px 0;
    font-size: 1.7rem;
    font-weight: bold;
    color: #222;
    width: 100%;
    position: relative !important;
    top: -49% !important;
    left: auto !important;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 3.5s;
  }
  
  .side-text p {
    white-space: normal;
    line-height: 1.3;
  }
  
  .side-text .side-orange {
    color: #EA6F23;
  }
  
  @keyframes slideInLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideInRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  /* Left Menu Items */
  .left-menu-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: -150px;
    width: 100%;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1;
  }
  
  .left-menu-item {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    text-align: center;
    opacity: 0;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    background: linear-gradient(to bottom, #000, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .left-menu-item:nth-child(1) {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 5s;
  }
  
  .left-menu-item:nth-child(2) {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 5.3s;
  }
  
  .left-menu-item:nth-child(3) {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 5.6s;
  }
  
  .menu-home {
    display: none !important;
  }
}
@media (max-width: 768px) {
  #section1 {
    padding-top: 50px !important;
  }
}
/* Desktop (>768px) */
@media (min-width: 769px) {
  .mobLogo {
    display: none !important;
  }
  
  /* Ensure desktop home menu is visible */
  .menu-home {
    display: block;
  }
}

