.hero-section {
    margin-top: 0;
    height: 100vh;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.dynamic-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: opacity 1s ease-in-out;
    background-image: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), var(--hero-bg);
    opacity: 1;
}

.dynamic-hero-bg.is-fade {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,51,102,0.6), rgba(0,51,102,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--tni-gold);
    text-transform: uppercase;
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-motto {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

.highlights-section {
    transform: translateY(-50px);
    position: relative;
    z-index: 20;
    margin-bottom: -30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 3rem 2rem;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.12);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 1;
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.2);
}

.icon-box img {
    width: 80px;
    height: auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,0.1));
    margin-bottom: 10px;
}

.highlight-card:hover .icon-box img {
    transform: scale(1.08) rotate(-3deg);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 45px;
}

.card-pia {
    background: linear-gradient(135deg, #48dbfb, #2e86de);
}

.card-pia::before {
    background: rgba(255, 255, 255, 0.3);
}

.card-pia .card-content h3,
.card-pia .card-content p {
    color: #ffffff;
}

.card-yasarini {
    background: linear-gradient(135deg, #ff9f43, #ee5253);
}

.card-yasarini::before {
    background: rgba(255, 255, 255, 0.3);
}

.card-yasarini .card-content h3,
.card-yasarini .card-content p {
    color: #ffffff;
}

.card-tk {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4)),
        url("../assets/batik-tk.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-tk::before {
    background: rgba(255, 255, 255, 0.25);
}

.card-tk .card-content h3,
.card-tk .card-content p {
    color: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.intro-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.intro-text .sub-heading {
    color: var(--tni-gold);
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.intro-text h2 {
    font-family: var(--font-heading);
    color: var(--tni-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
}

.intro-justify {
  text-align: justify;
}

.intro-text .btn-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 90vh;
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-motto {
        font-size: 0.9rem;
    }

    .highlights-section {
        transform: none;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .highlight-card {
        padding: 2rem 1.5rem;
    }

    .icon-box img {
        width: 65px;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    .card-content p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text h2 {
        font-size: 1.6rem;
        text-align: justify;
    }

    .intro-text p {
        font-size: 0.95rem;
        text-align: justify;
    }

    .btn-group {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .page-banner {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .page-banner h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .danlanud-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .danlanud-card img {
        height: 200px;
    }

    .danlanud-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}