.engage-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    background: #030712;
}

.engage-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom,
            rgba(3, 7, 18, 0) 0%,
            rgba(3, 7, 18, 0.6) 40%,
            rgba(3, 7, 18, 1) 100%);

    pointer-events: none;
}

.engage-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: -200px;
    pointer-events: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Glass Container */
.container {
  position: relative;
  width: 90%;
  width: 1080px;
  height: 512.633px;
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  z-index: 1;
  display: flex;
  padding-bottom: 0.22px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  /* background-image: url("../../public/assets/images/container.png"); */

}

/* Left Section */
.left {
  width: 45%;
  margin: -164px 0px 0px 27px;
}

.left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
}

.left .light {
  color: #FFF;
  font-family: "Tiempos Headline";
  font-size: 64px;
  font-style: italic;
  font-weight: 300;
  line-height: normal;
  margin: -10px 10px 10px -101px;

}

.left .rgt_gradient {
  background: linear-gradient(90deg, #30c6ff, #8e6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rgt_gradient{
    background: var(--Gradient-06, linear-gradient(71deg, #30c6ff 9.04%, #8e6bff 83.63%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'TiemposHeadline';
    font-size: 64px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    margin: 0px 0px 0px -40px;

}
.left_value{
  display: flex;
  width: 442px;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
  position: absolute;
  left: 50px;
  top: 50.633px;
}


.left p {
  align-self: stretch;
  color: #FFF;
  font-family: "Space Grotesk";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px; 
  margin: 18px 0px 0px 18px;
  width: 416px;
  text-align: left;
}

/* Form Section */
.right {
  width: 50%;
  margin: 44px 10px 10px 2px;
  gap:40px;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  color: #FFF;
  font-family: "Tiempos Headline";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; 
  text-align: justify;
}

input, textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid;
  padding: 8px 0;
  color: #fff;
  font-size: 15px;
  outline: none;
  width: 224px;
}

textarea {
  resize: none;
  line-height: 20px; 
  gap:20px;
}
.textarea{
    width: 498px;
    height: 38px;
}

textarea::placeholder {
  height: 21px;
  align-self: stretch;
  color: rgba(255, 255, 255, 0.40);
  font-family: "Space Grotesk";
  font-size: 10px;
  font-style: normal;
  font-weight: 500;

}

/* Submit Button */
.submit-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 47px;
  margin-right: 26px;
}
button:hover {
  animation: navContactButtonEffect 2s forwards;
}
button:hover .btn_submit {
  animation: navContactTextMove 3s forwards;
}

button:hover .arrow {
  animation: navIconMove 3s forwards;
}
@keyframes navIconMove {
  0% {
    transform: translateX(0);
    background: transparent;
  }
  30% {
    transform: translateX(70px);
    background: #F6339A;
  }
  100% {
    transform: translateX(70px);
    background: transparent;
  }
}

button {
  background: linear-gradient(90deg, rgba(173, 70, 255, 0.60) 0%, rgba(246, 51, 154, 0.60) 100%);
  border: none;
  padding: 15px 31px;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;      
  align-items: center;    
  gap: 8px;    
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(160, 90, 255, 0.4);
}

/* Decorative Cube (Top Right) */
.cube {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, #3bb3ff, #005eff);
  border-radius: 12px;
  transform: rotate(20deg);
  opacity: 0.8;
  filter: blur(1px);
}

/* Paper Plane Curve (Bottom Left) */
.plane {
  width: 248.843px;
  height: 135.272px;
  transform: rotate(-29.753deg);
  position: absolute;
  left: -18.031px;
  bottom: -53.927px;
  background: url(public/assets/images/letter_send.png) lightgray -84.661px -0.379px / 129.898% 97.923% no-repeat;
}
.letter_cls{
    width: 288.843px;
    height: 236.272px;
    transform: rotate(-1.753deg);
    position: absolute;
    left: -27.031px;
    bottom: -52.073px;
}

.animated-cube {
    position: absolute;
    right: 150px;
    top: 14%;
    width: 200px;
    height: 200px;
    z-index: 15;
    pointer-events: none;
    transform-origin: center;
}

.engage-section.reveal-active .animated-cube {
    animation: circularPathMotion 4s ease-in-out infinite;
}

.animated-cube .letter_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: cubeRotation 6s linear infinite;
}
.letter_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.arrow{
  width: 23px;
  height: 23px;
}
@keyframes circularPathMotion {
    0% {
        transform: translate(0px, 0px);
         opacity: 1;
    }
    30% {
        transform: translate(0px, 0px); 
    }

    50% {
        transform: translate(100px, 100px); 
         opacity: 1;
    }
    80% {
        transform: translate(100px, 100px); 
         opacity: 1;
    }

    100% {
        transform: translate(0px, 0px); 
         opacity: 1;
    }
}


@media (max-width: 1024px) {
   

    .animated-cube {
        right: 50px;
        top: 14%;
        width: 150px;
        height: 150px;
    }
    
    @keyframes circularPathMotion {
        0% {
            transform: translate(150px, 150px) rotate(270deg);
        }
        25% {
            transform: translate(75px, 75px) rotate(315deg);
        }
        50% {
            transform: translate(0px, 0px) rotate(360deg);
        }
        75% {
            transform: translate(75px, 75px) rotate(315deg);
        }
        100% {
            transform: translate(150px, 150px) rotate(270deg);
        }
    }

    .goal-visuals {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .animated-cube {
        right: 20px;
        top: 10%;
        width: 123px;
        height: 123px;
    }

    .container{
        width:100%;
        max-width:720px;
        margin:120px auto 40px;
        padding:40px 32px;
        border-radius:30px;
    }

    .left h1{
        font-size:48px;
    }

    .left .light{
        font-size:48px;
        margin-left:-60px;
    }

    .rgt_gradient{
        font-size:48px;
        margin-left:-40px;
    }

    .left p{
        font-size:16px;
    }

    .form-row{
        gap:24px;
        margin-bottom:28px;
    }

    label{
        font-size:12px;
    }

    input{
        font-size:15px;
    }

    .textarea{
        height:50px;
    }

    button{
        padding:14px 30px;
        font-size:14px;
    }

    .letter_cls{
        width:200px;
        bottom:-40px;
        left:-30px;
    }


}

@media (max-width:768px){

    .engage-section{
        padding:60px 16px;
        justify-content:flex-start;
    }

    .container{
        width:100%;
        max-width:360px;
        flex-direction:column;
        gap:26px;
        border-radius: 30px;
        backdrop-filter: blur(20px);
        border: 6px solid rgba(255, 255, 255, 0.20);
        margin: 112px 10px 10px 10px;
        padding:28px 24px; 
        height: 602px;

    }

    .left{
        width:100%;
        margin:0;
    }

    .left h1{
        font-size:32px;
        line-height:1.15;
        margin-left: -22px;
    }

    .left .light{
        font-size:32px;
        margin-left: -127px;
    }
  

    .rgt_gradient{
        font-size:32px;
        /* margin:0; */
        margin-left: -100px;
    }

    .left p{
        font-size:14px;
        line-height:1.5;
        margin-top:12px;
        width:100%;
        margin-left: -1px;
    }

    .right{
        width:100%;
        margin:0;
    }

    .form-row{
        display:flex;
        gap:16px;
        margin-bottom:24px;
    }

    .form-group{
        flex:1;
    }

    label{
        font-size:11px;
    }

    input{
        width:100%;
        font-size:14px;
    }

    .textarea{
        width:100%;
        height:40px;
    }

    .submit-wrapper{
        display:flex;
        justify-content:flex-start;
        margin-top:-11px;
        position: relative;
        z-index: 10;
    }

    button{
        padding:12px 26px;
        border-radius:26px;
        font-size:13px;
        margin-top: 46px;
    }

    .letter_cls{
        position:absolute;
        bottom:-30px;
        left:-25px;
        width:170px;
        height:auto;
        transform:rotate(-2deg);
        pointer-events: none;
    }
    .letter_img {
        width: 109%;
        height: auto;
        margin-left: 201px;
        margin-bottom: -19px;
    }
    .submit{
        margin-top:90px;
    }
    button:hover {
      animation: navContactButtonEffect 2s forwards;
    }
    button:hover .btn_submit {
      animation: navContactTextMove 3s forwards;
    }

    button:hover .arrow {
      animation: navIconMove 3s forwards;
    }
    @keyframes navIconMove {
        0% {
            transform: translateX(0);
            background: transparent;
        }
        30% {
            transform: translateX(60px);
            background: #F6339A;
        }
        100% {
            transform: translateX(60px);
            background: transparent;
        }
    }

}
@media (max-width:480px){

    .engage-section{
        padding:40px 12px;
    }

    .container{
        max-width:320px;
        margin:90px auto 20px;
        padding:24px 18px;
        height:auto;
    }

    .left h1{
        font-size:28px;
        margin-left: -22px;
    }

    .left .light{
        font-size:28px;
        margin-left:-90px;
    }

    .rgt_gradient{
        font-size:28px;
        margin-left:-70px;
    }

    .left p{
        font-size:13px;
    }

    .form-row{
        gap:12px;
        margin-bottom:20px;
    }

    label{
        font-size:10px;
    }

    input{
        font-size:13px;
    }

    .textarea{
        height:36px;
    }

    button{
        padding:10px 22px;
        font-size:12px;
    }

    .letter_cls{
        width:140px;
        bottom:-25px;
        left:-20px;
    }

    .letter_img{
        margin-left:170px;
    }

}
@keyframes cubeRotation {
    0% {
        transform: rotate(270deg);
    }

    50% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(270deg);
    }
}