.banner{
    margin-top: 80px;
    margin-left: 10%;
    width: 80%;
    height: 70vh;
    background-image: url('../img/banner-image.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 50%;
    animation: fadeInUp 2s ease-in-out;
}

.banner h1 {
    font-family: var(--text-font-family);
    font-size: 2.5rem;
    opacity: 0; /* Ensure the element starts hidden */
    transform: translateY(20px); /* Start with a slight shift */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out; /* Smooth transition */
  }

  .banner h1.animate {
    opacity: 1;
    transform: translateY(0); /* Move to final position */
    animation: fadeInUp 2s ease-in-out; /* Apply animation */
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


.banner span{
    color: var( --color-primary);
}

.text{
    width: 50%;
    font-family: var(--primary-font-family);
    line-height: 1.5rem;
    letter-spacing: 1px;
    color: var(--color-text);
}

.btn-group{
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text);
}

.apply-btn{
    padding: 10px 50px;
    width: fit-content;
    background-color: var(--color-primary);
    border-radius: 30px;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.apply-btn a{
    color: var(--bg-color);
    font-family: var(--text-font-family);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.apply-btn:hover{
    opacity: 0.8;
    box-shadow: 0 0 20px rgb(255, 130, 0);
}

.apply-btn:active{
    transform: scale(0.8);
}

.play-btn {
    display: flex;
    justify-content: center;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: linear-gradient(30deg, rgb(255, 130, 0) 20%, rgb(255, 38, 0) 80%);
    transition: all 0.3s ease-in-out 0s;
    box-shadow: rgba(193, 244, 246, 0.698) 0px 0px 0px 0px;
    animation: 1.2s cubic-bezier(0.8, 0, 0, 1) 0s infinite normal none running pulse;
    align-items: center;
    border: 0;
}
  
.play-btn:is(:hover, :focus) {
    transform: scale(1.2);
}
  
@keyframes pulse {
  100% {
    box-shadow: 0 0 0 45px rgba(193,244,246,0);
  }
}

.stars i{
    font-size: 1.5rem;
    color: rgb(255, 115, 0);
}

.popup-container {
    display: none;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-container video{
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.popup-content {
    background-color: var(--bg-color);
    margin: 50px auto;
    padding: 20px;
    width: 60%;
    position: relative;
}

.popup-container .close-btn {
    color: #aaa;
    padding-right: 5px;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 1024px){
    .banner {
      margin-top: 0px; 
      height: 100vh;
    }
    .banner h1{
        font-size: 2rem;
    }
    .apply-btn{
        padding: 10px 15px;
    }
    .apply-btn a{
        font-size: 1rem;
    }
}


@media only screen and (max-width: 768px){
    .banner h1{
        font-size: 1.5rem;
    }
    .banner {
        height: 85vh;
    }
    .popup-content {
        margin: 100px auto;
        width: 80%;
    }
}

@media only screen and (max-width: 450px){
    .banner{
        height: 75vh;
    }
    .banner h1 {
        font-size: 1.3rem;
    }
    .text{
        width: 100%;
    }
    .apply-btn a{
        font-size: 0.9rem;
    }
    .play-btn{
        font-size: 3rem;
    }
    .btn-group {
        flex-direction: row-reverse;
    }
    .popup-content{
        margin: 35% auto;
        width: 90%;
    }
}