* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.logo-wrapper {
    position: absolute;
    right: 0px;
    width: 800px;
    height: auto;
    perspective: 1200px;
    cursor: pointer;
    z-index: 1;
    transform-style: preserve-3d;
    transform: translateX(-20%) translateY(-150%) rotate(-15deg);
}

.logo-bg {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
    transition: all 0.3s ease-out;
    transform: translateX(0%) translateY(0%) rotate(-15deg);
}

.logo-bg img {
    display: block;
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    opacity: 1;
}
@media screen and (max-width: 1920px) {
   .logo-wrapper {
    position: absolute;
    right: -200px;
    top: 160px;
    width: 700px;
    height: auto;
    perspective: 1200px;
    cursor: pointer;
    z-index: 1;
    transform-style: preserve-3d;
    transform: translateX(-25%) translateY(-25%) rotate(0deg);
}
}


@media screen and (max-width: 1440px) {
    .logo-wrapper {
        width: 600px;
        right: -80px;
    }
}

@media screen and (max-width: 1024px) {
    .logo-wrapper {
        width: 500px;
        right: -60px;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 1440px) {
    .logo-bg {
        right: -100px;
        transform: translateX(5%) translateY(-30%) rotate(-15deg);
    }
    .logo-bg img {
        max-width: 600px;
    }
}

@media screen and (max-width: 1024px) {
    .logo-bg {
        right: -80px;
        transform: translateX(0%) translateY(-25%) rotate(-15deg);
    }
    .logo-bg img {
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    .logo-bg {
        right: -60px;
        transform: translateX(-5%) translateY(-20%) rotate(-10deg);
    }
    .logo-bg img {
        max-width: 400px;
    }
}

.logo-bg:hover img {
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25)) brightness(1.1);
}

/* Add smooth animation classes */
.logo-bg.animating {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3D depth effect */
.logo-bg.depth-effect {
    transform: translateZ(0);
}

/* Floating animation keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Add will-change for better performance */
.logo-bg {
    will-change: transform, filter;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
