html, body {
    height: auto;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(100vh - 110px);
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.content-left {
    flex: 1;
    max-width: 40%;
    padding-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-right {
    flex: 1;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 380px;
    height: 100%;
    justify-content: center;
    margin-top: -80px;
}

.main-title {
    color: white;
    font-size: 3.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.main-description {
    color: white;
    font-size: 0.8rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 0;
    font: 'gudea';
    text-align: left;
}

.career-btn {
    display: inline-block;
    background: #1976d2;
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 32px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 32px;
    cursor: pointer;
}
.career-btn:hover {
    background: #1565c0;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.25);
}


@keyframes autoFlip {
  0%, 40% {
    transform: rotateY(0deg);
  }

  50%, 90% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.flip-box {
    background-color: transparent;
    width: 600px;
    height: 380px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: autoFlip 8s infinite;
}


.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flip-box-front img, .flip-box-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.flip-box-back {
    transform: rotateY(180deg);
}


.career-hex-back .career-hex-title {
    color: #64b5f6;
}

.career-hex-back .career-hex-desc {
    color: #e3f2fd;
}


@media (min-width: 1201px) {
    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        height: calc(100vh - 110px);
        padding: 0 180px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 60px;

    }

    .content-left {
        flex: 1;
        max-width: 40%;
        padding-right: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-right {
        flex: 1;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-top: 80px;
    }

    .career-hex-wrapper {
        width: 450px;
        height: 400px;
    }

    .career-hex-title {
        font-size: 3rem;
    }

    .career-hex-desc {
        font-size: 1.3rem;
    }

    .main-title {
        color: white;
        font-size: 3.1rem;
        font-weight: bold;
        margin-bottom: 20px;
        margin-top: 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        line-height: 1.2;
    }

    .main-description {
        color: white;
        font-size: 1.2rem;
        line-height: 1.5;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        margin: 0;
        text-align: left;
        letter-spacing: normal;
        word-spacing: 1px;
       
    }

   
}

@media (min-width: 1701px) {
    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        height: calc(100vh - 110px);
        padding: 0 180px;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .content-left {
        flex: 1;
        max-width: 40%;
        padding-right: 20px;
    }

    .content-right {
        flex: 1;
        max-width: 60%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .main-title {
        color: white;
        font-size: 4rem;
        font-weight: bold;
        margin-bottom: 20px;
        margin-top: 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        line-height: 1.2;
    }

    .main-description {
        color: white;
        font-size: 1.4rem;
        line-height: 1.6;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        margin: 0;
        text-align: left;
    }

    .flip-box {
    background-color: transparent;
    width: 800px;
    height: 580px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


 
}


@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        padding: 30px;
        gap: 8px;
        height: auto;
        min-height: auto;
        align-items: center;
        justify-content: center;
    }

    .content-left,
    .content-right {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .content-left {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
        text-align: center;
    }

    .career-hex-wrapper {
        width: 320px;
        height: 280px;
    }

    .career-hex-title {
        font-size: 2.2rem;
    }

    .career-hex-desc {
        font-size: 1rem;
    }

    .main-title {
        font-size: 3.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .main-description {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.7;
        margin-bottom: 0;
    }

    .flip-box {
    background-color: transparent;
    width: 600px;
    height: 540px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    
}

@media (max-width: 769px) {
    .hero-content {
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        height: auto;
        min-height: auto;
        align-items: center;
        justify-content: center;
    }

    .content-left,
    .content-right {
        max-width: 100%;
        width: 100%;
        flex: none;
    }

    .content-left {
        padding-right: 0;
        text-align: center;
        margin-bottom: 85px;
    }

    .main-title {
        font-size: 2.8rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .main-description {
        font-size: 1.3rem;
        text-align: center;
        line-height: 1.7;
        margin-bottom: 0;
    }

    .content-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
    }

  
}

@media (max-width: 480px) {
    .hero-content {
        padding: 15px;
        gap: 8px;
        height: auto;
        min-height: auto;
        justify-content: center;
    }
    
    .content-left {
        margin-bottom: 65px;
    }
    
    .content-right {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }
    
    .main-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
        line-height: 1.3;
    }
    
    .main-description {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 0;
        padding: 10px;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
       
    }
    .hero-video {
        width: 100%;
        max-width: 100%;
        height: 280px;
        border-radius: 8px;
    }

    .flip-box {
    background-color: transparent;
    width: 380px;
    height: 350px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    }
}

@media (max-width: 950px) and (max-height: 450px) {
    html, body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    .hero-section {
        height: auto !important;
        min-height: 100px !important;
        padding-bottom: 40px !important;
        overflow-y: auto !important;
    }
    .hero-content {
        height: auto !important;
        min-height: 100px !important;
        overflow-y: auto !important;
    }
    .main-description{
        font-size: 1.2rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 0;
    }
}