.hero-container {
    width: 100%;
    position: relative;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height:730px;

    @media (max-width: 1300px) {
                height: 600px;
            }

    @media (max-width: 767px) {
                height: 400px;
            }
}
.hero-container::before {
    content: ''; 
    position:absolute;
    inset: 0; 
    background-image: url('/images/main-back.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    will-change: transform, opacity;transform: scale(1.00); 
    animation: bg-zoom 1800ms ease-out 80ms both;
    z-index: -1;
}
@media (prefers-reduced-motion: reduce){
  .hero::before{ animation: none; transform: none; }
}
@keyframes bg-zoom{
  0%   { transform: scale(1.00);}
  100% { transform: scale(1.03);}
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-title {
    color: #FFF;
    text-align: center;
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.50);
    font-family: "Pretendard", sans-serif;
    font-size: 43px;
    font-style: normal;
    font-weight: 700;
    margin: 0;
    word-break: keep-all;
    /* Prevent word breaking */
    line-height: 1.3;
    padding: 0 20px;
    /* Add side padding for small screens */

    @media (max-width: 1300px) {
        font-size: 32px;
    }

    @media (max-width: 768px) {
        font-size: 30px;
        line-height: 1.4;
    }
}

.hero-subtitle {
    color: #FFF;
    text-align: center;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.50);
    font-family: "Pretendard", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    word-break: keep-all;
    padding: 0 20px;
    line-height: 1.4;

    @media (max-width: 1300px) {
        font-size: 20px;
    }

    @media (max-width: 768px) {
        font-size: 18px;
    }
}