@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Open+Sans:wght@400;600;700;800&family=Viga&display=swap");

@import url("variables.css");

body {
    font-family: "Open Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

#toTopButton {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: var(--color-navy);
    /* Set a background color */
    color: var(--color-white);
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    /* Rounded corners */
    font-size: 30px;
    /* Increase font size */
}

#toTopButton:hover {
    background-color: var(--color-maroon);
    /* Add a dark-grey background on hover */
}

.top-bar {
    font-size: 0.9rem;
    color: #1c2652;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}

.top-bar .container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1% 12% 1% 25% 1% 16% 1% 25% 10%;
    grid-template-columns: 1% 12% 1% 25% 1% 16% 1% 25% 10%;
    grid-auto-flow: column;
    place-items: center left;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.top-bar a {
    text-decoration: none;
    color: #1c2652;
}

.top-bar a:hover {
    color: var(--color-navy);
}

.top-bar .icon {
    font-size: 20px;
}

.top-bar .tooltip-css {
    position: relative;
    display: inline-block;
}

.top-bar .tooltip-css .tooltiptext {
    visibility: hidden;
    width: 200px;
    background: var(--color-navy);
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -100px;
    font-size: 10px;
    font-family: "Open Sans", sans-serif;
}

.top-bar .tooltip-css .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--color-navy) transparent;
}

.navbar-home {
    background: linear-gradient(
        90deg,
        var(--color1) 0%,
        var(--color2) 75%,
        var(--color3) 100%
    );
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-home .navbar-brand img {
    width: 50px;
    height: 50px;
    margin-top: -5px;
}

.navbar-home .navbar-brand span {
    font-family: "Viga", sans-serif;
    font-size: 1.5rem;
    margin-left: 0.3em;
}

.navbar-home .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    text-transform: uppercase;
}

.navbar-home .navbar-nav .nav-item .dropdown-menu .active {
    background-color: #1c2652;
    color: white;
    font-weight: bold;
}

.navbar-home .navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    color: whites;
}

.navbar-home .navbar-nav .login-button {
    color: white;
    border-radius: 0.5em;
    border: 0;
    padding-left: 1em;
    padding-right: 1em;
}

@media only screen and (min-width: 992px) {
    /* Dropdown hover behavior untuk desktop */
    .navbar-home .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Animasi smooth untuk dropdown */
    .navbar-home .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
        margin-top: 0;
    }

    /* Dropdown item hover style */
    .navbar-home .dropdown:hover .dropdown-menu .dropdown-item:hover {
        background-color: var(--color-navy);
        font-weight: bold;
        color: white;
    }

    /* Nav link hover */
    .navbar-home .navbar-nav .nav-item a:hover {
        color: var(--color-white);
    }

    .navbar-home .navbar-nav .nav-item .nav-link:hover {
        color: var(--color-orange);
    }

    /* Submenu support (jika ada nested dropdown) */
    .navbar-home .dropdown-menu .dropdown-submenu {
        position: relative;
    }

    .navbar-home .dropdown-menu .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        margin-left: 0.125rem;
    }

    .navbar-home .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* Untuk perangkat touch (tablet/mobile) tetap gunakan click */
@media only screen and (max-width: 991.98px) {
    .navbar-home .dropdown-menu {
        transition: none;
    }
}

.button {
    border-radius: 0 10px 0 10px;
    border: 0;
    background-color: #1c2652;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-size: 16px;
}

.button:hover {
    background-color: var(--color-navy);
}

.jumbotron {
    background: linear-gradient(
        135deg,
        var(--color1) 0%,
        var(--color2) 25%,
        var(--color3) 50%,
        var(--color-maroon) 75%,
        var(--color-orange) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.jumbotron .jumbotron-overlay {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.jumbotron .jumbotron-line {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--color-orange),
        var(--color-maroon),
        var(--color1),
        var(--color3)
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.jumbotron .container-fluid {
    position: relative;
    z-index: 1;
    text-align: center;
}

.jumbotron h3 {
    color: var(--color-white);
    font-weight: 600;
    animation: fadeInDown 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

/* Wave animation per character for H3 */
.jumbotron h3 span {
    display: inline-block;
    animation: charWave 3s ease-in-out infinite;
}

.jumbotron h3 span:nth-child(1) {
    animation-delay: 0.1s;
}
.jumbotron h3 span:nth-child(2) {
    animation-delay: 0.2s;
}
.jumbotron h3 span:nth-child(3) {
    animation-delay: 0.3s;
}
.jumbotron h3 span:nth-child(4) {
    animation-delay: 0.4s;
}
.jumbotron h3 span:nth-child(5) {
    animation-delay: 0.5s;
}
.jumbotron h3 span:nth-child(6) {
    animation-delay: 0.6s;
}
.jumbotron h3 span:nth-child(7) {
    animation-delay: 0.7s;
}
.jumbotron h3 span:nth-child(8) {
    animation-delay: 0.8s;
}
.jumbotron h3 span:nth-child(9) {
    animation-delay: 0.9s;
}
.jumbotron h3 span:nth-child(10) {
    animation-delay: 1s;
}
.jumbotron h3 span:nth-child(11) {
    animation-delay: 1.1s;
}
.jumbotron h3 span:nth-child(12) {
    animation-delay: 1.2s;
}
.jumbotron h3 span:nth-child(13) {
    animation-delay: 1.3s;
}
.jumbotron h3 span:nth-child(14) {
    animation-delay: 1.4s;
}
.jumbotron h3 span:nth-child(15) {
    animation-delay: 1.5s;
}
.jumbotron h3 span:nth-child(16) {
    animation-delay: 1.6s;
}
.jumbotron h3 span:nth-child(17) {
    animation-delay: 1.7s;
}
.jumbotron h3 span:nth-child(18) {
    animation-delay: 1.8s;
}
.jumbotron h3 span:nth-child(19) {
    animation-delay: 1.9s;
}
.jumbotron h3 span:nth-child(20) {
    animation-delay: 2s;
}

@keyframes charWave {
    0%,
    100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.2) translateY(-3px);
    }
}

.jumbotron h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-white));
    animation: expandLine 1s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 100%;
    }
}

.jumbotron h1 {
    font-family: "Fredoka One", cursive;
    color: var(--color-white);
    animation: bounceIn 1s ease-out;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    letter-spacing: 2px;
    margin: 20px 0;
    display: block;
    text-align: center;
}

/* Wave animation per character for H1 */
.jumbotron h1 span {
    display: inline-block;
    animation: charWave 4s ease-in-out infinite;
}

.jumbotron h1 span:nth-child(1) {
    animation-delay: 0.1s;
}
.jumbotron h1 span:nth-child(2) {
    animation-delay: 0.2s;
}
.jumbotron h1 span:nth-child(3) {
    animation-delay: 0.3s;
}
.jumbotron h1 span:nth-child(4) {
    animation-delay: 0.4s;
}
.jumbotron h1 span:nth-child(5) {
    animation-delay: 0.5s;
}
.jumbotron h1 span:nth-child(6) {
    animation-delay: 0.6s;
}
.jumbotron h1 span:nth-child(7) {
    animation-delay: 0.7s;
}
.jumbotron h1 span:nth-child(8) {
    animation-delay: 0.8s;
}
.jumbotron h1 span:nth-child(9) {
    animation-delay: 0.9s;
}
.jumbotron h1 span:nth-child(10) {
    animation-delay: 1s;
}
.jumbotron h1 span:nth-child(11) {
    animation-delay: 1.1s;
}
.jumbotron h1 span:nth-child(12) {
    animation-delay: 1.2s;
}
.jumbotron h1 span:nth-child(13) {
    animation-delay: 1.3s;
}
.jumbotron h1 span:nth-child(14) {
    animation-delay: 1.4s;
}
.jumbotron h1 span:nth-child(15) {
    animation-delay: 1.5s;
}
.jumbotron h1 span:nth-child(16) {
    animation-delay: 1.6s;
}
.jumbotron h1 span:nth-child(17) {
    animation-delay: 1.7s;
}
.jumbotron h1 span:nth-child(18) {
    animation-delay: 1.8s;
}
.jumbotron h1 span:nth-child(19) {
    animation-delay: 1.9s;
}
.jumbotron h1 span:nth-child(20) {
    animation-delay: 2s;
}
.jumbotron h1 span:nth-child(21) {
    animation-delay: 2.1s;
}
.jumbotron h1 span:nth-child(22) {
    animation-delay: 2.2s;
}
.jumbotron h1 span:nth-child(23) {
    animation-delay: 2.3s;
}
.jumbotron h1 span:nth-child(24) {
    animation-delay: 2.4s;
}
.jumbotron h1 span:nth-child(25) {
    animation-delay: 2.5s;
}
.jumbotron h1 span:nth-child(26) {
    animation-delay: 2.6s;
}
.jumbotron h1 span:nth-child(27) {
    animation-delay: 2.7s;
}
.jumbotron h1 span:nth-child(28) {
    animation-delay: 2.8s;
}
.jumbotron h1 span:nth-child(29) {
    animation-delay: 2.9s;
}
.jumbotron h1 span:nth-child(30) {
    animation-delay: 3s;
}
.jumbotron h1 span:nth-child(31) {
    animation-delay: 3.1s;
}
.jumbotron h1 span:nth-child(32) {
    animation-delay: 3.2s;
}
.jumbotron h1 span:nth-child(33) {
    animation-delay: 3.3s;
}
.jumbotron h1 span:nth-child(34) {
    animation-delay: 3.4s;
}
.jumbotron h1 span:nth-child(35) {
    animation-delay: 3.5s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.jumbotron h1::before {
    content: "✨";
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    animation: sparkle 2s ease-in-out infinite;
    font-size: 0.5em;
}

.jumbotron h1::after {
    content: "✨";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    animation: sparkle 2s ease-in-out infinite 0.5s;
    font-size: 0.5em;
}

@keyframes sparkle {
    0%,
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.5);
    }
}

.jumbotron p {
    color: var(--color-white);
    font-size: 1.2em;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    margin-top: 20px;
}

@keyframes swing {
    0%,
    100% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) rotate(-10deg);
    }
    75% {
        transform: translateY(-50%) rotate(10deg);
    }
}

/* Floating Elements Background */
.jumbotron::before {
    content: "🌟";
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 2em;
    animation: floatAround 8s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

.jumbotron::after {
    content: "⭐";
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 2em;
    animation: floatAround 8s ease-in-out infinite 2s;
    opacity: 0.6;
    z-index: 1;
}

@keyframes floatAround {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(0, -40px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, -20px) rotate(270deg);
    }
}

/* Responsive Jumbotron */
@media screen and (max-width: 992px) {
    .jumbotron h1::before {
        left: -30px;
        font-size: 0.4em;
    }

    .jumbotron h1::after {
        right: -30px;
        font-size: 0.4em;
    }

    .jumbotron p::before {
        display: none;
    }

    /* Keep stars animation on mobile */
    .jumbotron::before,
    .jumbotron::after {
        font-size: 1.5em;
    }

    /* Make rotating background more visible on mobile */
    .jumbotron .jumbotron-overlay {
        animation: rotate 10s linear infinite;
        width: 120%;
        height: 120%;
        top: -10%;
        left: -10%;
    }

    .jumbotron h3 {
        font-size: 1.2rem;
        word-wrap: break-word;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: none;
        white-space: normal;
        line-height: 1.5;
    }

    .jumbotron h1 {
        font-size: 2rem;
        word-wrap: break-word;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: none;
        white-space: normal;
        line-height: 1.4;
    }

    .jumbotron h1 span,
    .jumbotron h3 span {
        word-break: keep-all;
        white-space: normal;
    }

    .jumbotron p {
        font-size: 1em;
        padding: 10px 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Additional Jumbotron Utilities */
.jumbotron .wave-text {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

.jumbotron .wave-text:nth-child(1) {
    animation-delay: 0s;
}
.jumbotron .wave-text:nth-child(2) {
    animation-delay: 0.1s;
}
.jumbotron .wave-text:nth-child(3) {
    animation-delay: 0.2s;
}
.jumbotron .wave-text:nth-child(4) {
    animation-delay: 0.3s;
}
.jumbotron .wave-text:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Particle Effect */
.jumbotron .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-white);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 5s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(50px);
    }
}

.panel-siswa h3 {
    font-family: "Fredoka One", cursive;
}

.panel-siswa h5 {
    font-family: "Fredoka One", cursive;
    color: var(--color1);
}

.panel-siswa .figure-siswa {
    width: 170px;
}

.panel-siswa .figure-siswa .figure-caption h3 {
    font-weight: bold;
    font-style: normal;
    color: var(--color-maroon);
}

.panel-siswa .figure-siswa .figure-caption p {
    font-size: 1.5em;
    font-style: normal;
    color: var(--color-black);
    margin-top: -25px;
}

.panel-harian h3 {
    font-family: "Fredoka One", cursive;
}

.panel-harian h5 {
    font-weight: 800;
    color: var(--color-maroon);
}

.footer {
    background: linear-gradient(
        180deg,
        var(--color1) 0%,
        var(--color2) 75%,
        var(--color3) 100%
    );
    min-height: 550px;
    color: var(--color-white);
    padding-bottom: 30px;
}

.footer h4 {
    font-weight: bold;
}

.footer a {
    text-decoration: none;
    color: var(--color-white);
}

.footer a:hover {
    color: var(--color-orange);
}

.footer .footer-1 span {
    font-family: "Viga", sans-serif;
}

@media only screen and (min-width: 992px) {
    .footer .footer-2 .dropdown:hover .dropdown-menu {
        display: block;
    }
    .footer .footer-2 .dropdown:hover .dropdown-menu .dropdown-item:hover {
        background-color: var(--color-maroon);
        font-weight: bold;
        color: var(--color-white);
    }
}

.footer-2 ul {
    margin-top: -15px;
}

.footer-2 ul > li {
    margin-left: -15px;
}

.footer .footer-2 .active {
    color: var(--color-orange);
}

.footer .footer-2 .dropdown .dropdown-menu .active {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.footer .footer-2 .dropdown .dropdown-item {
    color: var(--color-black);
}

.footer .footer-3 span {
    font-weight: bold;
}

.footer .footer-4 span {
    font-weight: bold;
}

.footer .copyright {
    margin-top: 50px;
    font-size: 14px;
}

.footer .copyright i {
    color: var(--color-maroon);
}

.panel-faq h1 {
    font-family: "Fredoka One", cursive;
}

.visi-misi-layout h1 {
    font-family: "Fredoka One", cursive;
}

.confrim-invoice-layout h1 {
    font-family: "Fredoka One", cursive;
}

.confrim-invoice-layout li {
    color: var(--color-maroon);
}

.confrim-invoice-layout li span {
    color: var(--color-black);
}

.sdm-layout h1 {
    font-family: "Fredoka One", cursive;
}

.sdm-layout ul {
    margin-left: auto;
}

.sdm-layout li {
    color: var(--color-maroon);
    margin-left: -20px;
}

.sdm-layout li span {
    color: var(--color-black);
}

/* SDM Avatar Styles */
.sdm-layout .figure {
    max-width: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sdm-layout .figure:hover {
    transform: translateY(-15px);
}

.sdm-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.8s ease-out;
}

.sdm-avatar:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Efek glow saat hover */
.sdm-layout .figure:hover .sdm-avatar {
    box-shadow: 0 0 20px rgba(128, 0, 0, 0.6), 0 0 40px rgba(128, 0, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.3);
}

.sdm-name {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    word-wrap: break-word;
    width: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.sdm-layout .figure:hover .sdm-name {
    color: var(--color-maroon);
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sdm-subtitle {
    font-size: 0.9rem;
    text-align: center;
    word-wrap: break-word;
    width: 100%;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.sdm-layout .figure:hover .sdm-subtitle {
    color: var(--color-navy);
    transform: translateY(-2px);
}

.sdm-layout .figure-caption {
    width: 100%;
    max-width: 200px;
    transition: all 0.3s ease;
}

/* Stagger animation untuk multiple figures */
.sdm-layout .col-md-6:nth-child(1) .figure {
    animation-delay: 0.1s;
}

.sdm-layout .col-md-6:nth-child(2) .figure {
    animation-delay: 0.2s;
}

.sdm-layout .col-md-6:nth-child(3) .figure {
    animation-delay: 0.3s;
}

.sdm-layout .col-md-4:nth-child(1) .figure {
    animation-delay: 0.1s;
}

.sdm-layout .col-md-4:nth-child(2) .figure {
    animation-delay: 0.2s;
}

.sdm-layout .col-md-4:nth-child(3) .figure {
    animation-delay: 0.3s;
}

.sdm-layout .col-md-4:nth-child(4) .figure {
    animation-delay: 0.4s;
}

.sdm-layout .col-md-4:nth-child(5) .figure {
    animation-delay: 0.5s;
}

.sdm-layout .col-md-4:nth-child(6) .figure {
    animation-delay: 0.6s;
}

.sdm-layout .col-sm-6:nth-child(1) .figure {
    animation-delay: 0.1s;
}

.sdm-layout .col-sm-6:nth-child(2) .figure {
    animation-delay: 0.2s;
}

.sdm-layout .col-sm-6:nth-child(3) .figure {
    animation-delay: 0.3s;
}

.sdm-layout .col-sm-6:nth-child(4) .figure {
    animation-delay: 0.4s;
}

.sdm-layout .col-sm-6:nth-child(5) .figure {
    animation-delay: 0.5s;
}

.sdm-layout .col-sm-6:nth-child(6) .figure {
    animation-delay: 0.6s;
}

.sdm-layout .col-sm-6:nth-child(7) .figure {
    animation-delay: 0.7s;
}

.sdm-layout .col-sm-6:nth-child(8) .figure {
    animation-delay: 0.8s;
}

.sdm-layout .col-sm-6:nth-child(9) .figure {
    animation-delay: 0.9s;
}

.sdm-layout .col-sm-6:nth-child(10) .figure {
    animation-delay: 1s;
}

/* Efek border berputar saat hover */
.sdm-avatar::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--color-maroon);
    border-right-color: var(--color-maroon);
    opacity: 0;
    transition: all 0.5s ease;
    animation: none;
}

.sdm-avatar:hover::before {
    opacity: 1;
    animation: rotateBorder 1.5s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Ripple effect saat hover */
.sdm-avatar::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    opacity: 0;
}

.sdm-avatar:hover::after {
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: ripple 0.8s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
}

/* Pulse animation saat pertama kali muncul */
.sdm-avatar {
    animation: scaleIn 0.8s ease-out, pulse 2s ease-in-out 1s 3;
}

/* Shimmer effect pada nama */
@keyframes shimmerText {
    0% {
        background-position: -100%;
    }
    100% {
        background-position: 200%;
    }
}

.sdm-layout .figure:hover .sdm-name {
    background: linear-gradient(
        90deg,
        var(--color-maroon) 0%,
        var(--color-navy) 50%,
        var(--color-maroon) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 2s linear infinite;
}

.fasilitas-layout h1 {
    font-family: "Fredoka One", cursive;
}

.fasilitas-layout h3 {
    color: var(--color-maroon);
}

.fasilitas-layout li {
    color: var(--color-maroon);
    margin-left: -20px;
}

.fasilitas-layout li span {
    color: var(--color-black);
}

.informasi-layout h1 {
    font-family: "Fredoka One", cursive;
}

.informasi-layout h3 {
    color: var(--color-maroon);
}

.informasi-layout .brochure .brochure-1 img {
    width: 100%;
}

.informasi-layout .brochure .brochure-2 img {
    width: 100%;
    display: none;
}

.informasi-layout .widget .card {
    background-color: var(--color-maroon);
    color: var(--color-white);
}

.informasi-layout .widget .card a {
    color: var(--color-orange);
}

.informasi-layout .widget .title-1 {
    font-size: 14pt;
}

.informasi-layout .table-schedule .table-responsive,
.informasi-layout .table-cost .table-responsive,
.informasi-layout .table-requirements .table-responsive {
    position: relative;
    overflow-x: visible;
}

.informasi-layout .table-schedule table > thead > tr > th {
    vertical-align: middle;
    text-align: center;
    background: var(--gradient-maroon-navy) !important;
    color: white;
}

.informasi-layout .table-schedule table > tbody > tr > th,
.informasi-layout .table-schedule table > tbody > tr > td {
    vertical-align: middle;
}

.informasi-layout .table-cost table > thead > tr > th {
    vertical-align: middle;
    text-align: center;
    background: var(--gradient-maroon-navy) !important;
    color: white;
}

.informasi-layout .table-cost table > tbody > tr > th,
.informasi-layout .table-cost table > tbody > tr > td {
    vertical-align: middle;
}

.informasi-layout .table-requirements table > thead > tr > th {
    vertical-align: middle;
    text-align: center;
    background: var(--gradient-maroon-navy) !important;
    color: white;
}

.informasi-layout .table-requirements table > tbody > tr > th,
.informasi-layout .table-requirements table > tbody > tr > td {
    vertical-align: middle;
}

.informasi-layout .card-register .card {
    background-color: var(--color-maroon);
    border-radius: 15px;
}

.informasi-layout .card-register .card span {
    color: var(--color-white);
    font-size: 18pt;
    font-weight: bold;
}

.informasi-layout ul {
    margin-left: auto;
}

.informasi-layout li {
    color: var(--color-maroon);
    margin-left: -20px;
    line-height: 30px;
}

.informasi-layout li span {
    color: var(--color-black);
}

.register-layout .price {
    font-weight: bold;
}

@media screen and (max-width: 1199px) {
    .top-bar {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .top-bar .description {
        display: none;
    }
    .top-bar .container {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: auto;
        grid-template-columns: auto;
        grid-auto-flow: column;
        place-items: center left;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .top-bar .tooltip-css:hover .tooltiptext {
        visibility: visible;
    }
}

@media screen and (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .top-bar {
        display: none;
    }
    .jumbotron {
        text-align: center;
    }
    .jumbotron br {
        display: none;
    }
    .footer {
        min-height: 1300px;
        padding-bottom: 50px;
    }
    .footer .copyright {
        margin-top: 30px;
        padding-bottom: 20px;
    }
    .visi-misi-layout {
        min-height: auto;
        padding-bottom: 50px;
    }
    .sdm-layout {
        min-height: auto;
        padding-bottom: 50px;
    }

    /* SDM Layout Mobile Responsive - 2 per row */
    .sdm-layout .sdm-teacher {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        justify-items: center !important;
        padding: 0 15px !important;
    }

    .sdm-layout .col-md-4,
    .sdm-layout .col-md-6,
    .sdm-layout .col-sm-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }

    .sdm-layout .figure {
        width: 100% !important;
        max-width: 160px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 15px !important;
    }

    .sdm-layout .figure img {
        max-width: 110px !important;
        max-height: 110px !important;
        width: 110px !important;
        height: 110px !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: cover !important;
    }

    .sdm-layout .sdm-avatar {
        width: 110px !important;
        height: 110px !important;
    }

    .sdm-layout .figure-caption {
        text-align: center !important;
        margin-top: 10px !important;
    }

    .sdm-layout .sdm-name {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
    }

    .sdm-layout .sdm-subtitle {
        font-size: 0.75rem !important;
    }

    .sdm-layout h1 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .sdm-layout h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .sdm-layout p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .sdm-layout .row {
        margin-left: 0;
        margin-right: 0;
    }

    .sdm-layout .col-md-6,
    .sdm-layout .col-lg-4 {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 30px;
    }

    .sdm-layout .figure-caption {
        width: 100% !important;
        max-width: 200px !important;
        text-align: center !important;
    }

    .sdm-layout .figure-caption p {
        font-size: 0.95rem !important;
        margin-top: 10px !important;
        text-align: center !important;
    }

    /* Responsive Tables for Mobile */
    .informasi-layout .table-schedule .table-responsive,
    .informasi-layout .table-cost .table-responsive,
    .informasi-layout .table-requirements .table-responsive {
        border-radius: 10px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
        margin-bottom: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        background: linear-gradient(
                90deg,
                var(--color-white) 30%,
                rgba(255, 255, 255, 0)
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0),
                    var(--color-white) 70%
                )
                100% 0,
            radial-gradient(
                farthest-side at 0 50%,
                rgba(0, 0, 0, 0.2),
                rgba(0, 0, 0, 0)
            ),
            radial-gradient(
                    farthest-side at 100% 50%,
                    rgba(0, 0, 0, 0.2),
                    rgba(0, 0, 0, 0)
                )
                100% 0;
        background-repeat: no-repeat;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-attachment: local, local, scroll, scroll;
    }

    @keyframes pulse {
        0%,
        100% {
            opacity: 1;
        }
        50% {
            opacity: 0.7;
        }
    }

    .informasi-layout .table-schedule table,
    .informasi-layout .table-cost table,
    .informasi-layout .table-requirements table {
        min-width: 600px;
        margin-bottom: 0;
        font-size: 13px;
    }

    .informasi-layout .table-schedule table thead th,
    .informasi-layout .table-cost table thead th,
    .informasi-layout .table-requirements table thead th {
        white-space: nowrap;
        font-size: 12px;
        padding: 12px 10px !important;
    }

    .informasi-layout .table-schedule table tbody td,
    .informasi-layout .table-schedule table tbody th,
    .informasi-layout .table-cost table tbody td,
    .informasi-layout .table-cost table tbody th,
    .informasi-layout .table-requirements table tbody td,
    .informasi-layout .table-requirements table tbody th {
        font-size: 12px;
        padding: 10px 8px !important;
        white-space: normal;
    }

    /* Sticky first column for better readability */
    .informasi-layout .table-schedule table tbody th:first-child,
    .informasi-layout .table-cost table tbody th:first-child,
    .informasi-layout .table-requirements table tbody th:first-child {
        position: sticky;
        left: 0;
        background: var(--color-white);
        z-index: 10;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .informasi-layout .table-total td,
    .informasi-layout .table-total th {
        font-size: 13px !important;
        padding: 12px 10px !important;
    }

    /* Panel Siswa Mobile Responsive */
    .panel-siswa .row {
        justify-content: center !important;
    }

    .panel-siswa .col-md-6 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 30px;
    }

    .panel-siswa .figure-siswa {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 170px !important;
    }

    .panel-siswa .figure-siswa img {
        display: block !important;
        margin: 0 auto !important;
        width: 170px !important;
        height: 250px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 10px !important;
    }

    .panel-siswa .figure-siswa .figure-caption {
        text-align: center !important;
        width: 100% !important;
    }
}

/* Responsive Table Card Style for Informasi Layout */
@media screen and (max-width: 992px) {
    .informasi-layout .table-responsive {
        overflow-x: visible !important;
        overflow-y: visible !important;
        padding: 0;
        margin: 0;
    }

    .informasi-layout table,
    .informasi-layout thead,
    .informasi-layout tbody {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    /* 2 Column Grid Layout */
    .informasi-layout tbody {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .informasi-layout thead {
        display: none;
    }

    .informasi-layout tr {
        display: block;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0;
        border: 2px solid #f8d7da;
        overflow: hidden;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .informasi-layout td,
    .informasi-layout th {
        display: block;
        text-align: left;
        padding: 0.6rem 0.75rem;
        position: relative;
        border: none;
        min-height: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    /* First cell with gradient red background header - MATCH DESKTOP TABLE HEADER */
    .informasi-layout table tbody tr th:first-child,
    .informasi-layout table tbody tr td:first-child,
    .informasi-layout tr th:first-child,
    .informasi-layout tr td:first-child {
        background: var(--gradient-maroon-navy) !important;
        background-color: #800000 !important;
        color: white !important;
        font-weight: bold;
        text-align: center;
        padding: 0.5rem 1rem !important;
        font-size: 1.1em;
        margin-bottom: 0.5rem;
    }

    .informasi-layout td:before,
    .informasi-layout th:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #dc3545;
        margin-bottom: 4px;
        font-size: 0.85em;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hide data-label for first cell */
    .informasi-layout tr th:first-child:before,
    .informasi-layout tr td:first-child:before {
        display: none;
    }

    .informasi-layout .table-total {
        grid-column: 1 / -1;
    }

    .informasi-layout .table-total td,
    .informasi-layout .table-total th {
        background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
        color: #721c24;
        font-weight: bold;
        border-radius: 10px;
        text-align: center;
        padding: 1rem;
        font-size: 1.1em;
    }

    .informasi-layout .table-total td:before,
    .informasi-layout .table-total th:before {
        display: none;
    }
}

/* Single column for very small screens - FIX OVERFLOW */
@media screen and (max-width: 576px) {
    /* Prevent body and html overflow - FORCE max viewport width */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Container Bootstrap - reduce padding on mobile - NO SCROLL */
    body > .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100vw !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* FIX Bootstrap row negative margin - SET TO ZERO - NO SCROLL */
    .informasi-layout.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible !important;
    }

    /* All columns inside informasi-layout - reduce padding - NO SCROLL */
    .informasi-layout > [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Container with proper width - NO SCROLL */
    .informasi-layout {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* ALL SECTION CONTAINERS - NO SCROLL */
    .informasi-layout .table-schedule,
    .informasi-layout .table-cost,
    .informasi-layout .table-requirements,
    .informasi-layout .step-register,
    .informasi-layout .interview,
    .informasi-layout .card-register,
    .informasi-layout .brochure,
    .informasi-layout .widget {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    /* Table wrapper - COMPLETELY REMOVE ALL SCROLL */
    .informasi-layout .table-responsive,
    .table-responsive {
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        height: auto !important;
        max-height: none !important;
    }

    /* SUPER SPECIFIC - Remove Bootstrap table-responsive scroll */
    .informasi-layout .table-schedule .table-responsive,
    .informasi-layout .table-cost .table-responsive,
    .informasi-layout .table-requirements .table-responsive,
    .informasi-layout div.table-responsive,
    div.table-responsive {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    /* TABLE itself - FORCE 100% width, no min-width */
    .informasi-layout table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-sizing: border-box !important;
        table-layout: fixed !important;
        display: block !important;
    }

    /* THEAD - hide on mobile */
    .informasi-layout table thead {
        display: none !important;
    }

    /* TBODY - block display */
    .informasi-layout table tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Ensure h3, p, ul also stay inside with proper spacing */
    .informasi-layout h3,
    .informasi-layout > [class*="col-"] > p,
    .informasi-layout > [class*="col-"] > ul {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* UL inside columns - prevent overflow */
    .informasi-layout ul {
        padding-left: 1.5rem !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* LI items - ensure they don't overflow */
    .informasi-layout li {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* Single column layout - TBODY */
    .informasi-layout tbody {
        display: block !important;
        grid-template-columns: none !important;
        gap: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Cards take full width WITHOUT overflow - FORCE MAX WIDTH */
    .informasi-layout tr,
    .informasi-layout table tr,
    .informasi-layout tbody tr {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 0.75rem 0 !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        background: #fff !important;
        border-radius: 8px !important;
        border: none !important;
        overflow: hidden !important;
        /* Inset shadow - doesn't add to width */
        box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.2),
            0 1px 3px rgba(0, 0, 0, 0.08) !important;
    }

    /* Table itself - no border */
    .informasi-layout table tbody tr {
        border: none !important;
        box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.2),
            0 1px 3px rgba(0, 0, 0, 0.08) !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Cell padding - FORCED 100% max width */
    .informasi-layout td,
    .informasi-layout th,
    .informasi-layout table td,
    .informasi-layout table th,
    .informasi-layout tbody td,
    .informasi-layout tbody th {
        display: block !important;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.9em !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        white-space: normal !important;
        text-align: left !important;
        margin: 0 !important;
        border: none !important;
        line-height: 1.5 !important;
        overflow: hidden !important;
    }

    /* First cell GRADIENT RED - matching desktop thead */
    .informasi-layout tbody tr th:first-child,
    .informasi-layout tbody tr td:first-child,
    .informasi-layout table tbody tr th:first-child,
    .informasi-layout table tbody tr td:first-child {
        background: var(--gradient-maroon-navy) !important;
        color: #ffffff !important;
        font-weight: bold !important;
        text-align: center !important;
        padding: 0.65rem 0.85rem !important;
        font-size: 1em !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 8px 8px 0 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Remove gradient override - ensure gradient shows */
    .informasi-layout tbody tr th:first-child::before,
    .informasi-layout tbody tr td:first-child::before {
        display: none !important;
    }

    /* Small label font */
    .informasi-layout td:before,
    .informasi-layout th:before {
        font-size: 0.8em !important;
        margin-bottom: 0.25rem !important;
        display: block !important;
    }

    /* Hide data-label for first cell */
    .informasi-layout tr th:first-child:before,
    .informasi-layout tr td:first-child:before {
        display: none !important;
        content: none !important;
    }

    /* Ensure images inside cells don't overflow */
    .informasi-layout td img,
    .informasi-layout th img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Aggressive fallback for any nested elements */
    .informasi-layout td *,
    .informasi-layout th * {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* Total row full width */
    .informasi-layout .table-total {
        width: 100% !important;
        max-width: 100% !important;
    }

    .informasi-layout .table-total td,
    .informasi-layout .table-total th {
        background: linear-gradient(
            135deg,
            #f8d7da 0%,
            #f5c6cb 100%
        ) !important;
    }
}

/* Extra small screens */
@media screen and (max-width: 400px) {
    /* Container Bootstrap - more reduced padding */
    body > .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Reduce column padding for very small screens */
    .informasi-layout > [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* UL inside columns - reduce padding */
    .informasi-layout ul {
        padding-left: 1.2rem !important;
        max-width: 100% !important;
    }

    /* Cards full width */
    .informasi-layout tr {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 0.75rem 0 !important;
    }

    /* Reduce gap between cards */
    .informasi-layout tbody {
        gap: 0.75rem !important;
    }

    /* Cell padding adjusted for small screens - EQUAL SPACING */
    .informasi-layout td,
    .informasi-layout th {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.88em !important;
    }

    /* Header cell padding matched - GRADIENT RED */
    .informasi-layout tbody tr th:first-child,
    .informasi-layout tbody tr td:first-child,
    .informasi-layout table tbody tr th:first-child,
    .informasi-layout table tbody tr td:first-child {
        background: var(--gradient-maroon-navy) !important;
        color: #ffffff !important;
        padding: 0.6rem 0.8rem !important;
        font-size: 0.98em !important;
    }
}

/* ========================================
    ANIMATION ENHANCEMENTS
    ======================================== */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Panel Siswa Animations */
.panel-siswa h3 {
    animation: fadeInDown 0.8s ease-out;
}

.panel-siswa h5 {
    animation: fadeInDown 0.8s ease-out;
}

.panel-siswa .figure-siswa {
    animation: scaleIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.panel-siswa .figure-siswa:hover {
    transform: translateY(-10px) scale(1.05);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.panel-siswa .figure-siswa img {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.panel-siswa .figure-siswa:hover img {
    transform: rotate(5deg) scale(1.1);
    filter: brightness(1.1);
}

.panel-siswa .figure-siswa .figure-caption h3 {
    transition: all 0.3s ease;
}

.panel-siswa .figure-siswa:hover .figure-caption h3 {
    color: #1c2652;
    transform: scale(1.15);
}

.panel-siswa .figure-siswa .figure-caption p {
    transition: all 0.3s ease;
}

.panel-siswa .figure-siswa:hover .figure-caption p {
    color: #800000;
    font-weight: 600;
}

/* Panel Harian Animations */
.panel-harian h3 {
    animation: fadeInDown 0.8s ease-out;
}

.panel-harian .card {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.panel-harian .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.panel-harian .card:hover::before {
    left: 100%;
}

.panel-harian .card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.panel-harian .card-img-top {
    transition: all 0.5s ease;
}

.panel-harian .card:hover .card-img-top {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

.panel-harian .card-body {
    transition: all 0.3s ease;
}

.panel-harian .card:hover .card-body {
    background: linear-gradient(
        135deg,
        rgba(28, 38, 82, 0.05) 0%,
        rgba(128, 0, 0, 0.05) 100%
    );
}

.panel-harian .card-title {
    transition: all 0.3s ease;
}

.panel-harian .card:hover .card-title {
    color: #800000;
    transform: translateX(5px);
}

/* Stagger animation for cards */
.panel-harian .col-lg-4:nth-child(1) .card {
    animation-delay: 0.1s;
}

.panel-harian .col-lg-4:nth-child(2) .card {
    animation-delay: 0.2s;
}

.panel-harian .col-lg-4:nth-child(3) .card {
    animation-delay: 0.3s;
}

/* Visi Misi Layout Animations */
.visi-misi-layout h1 {
    animation: fadeInDown 1s ease-out;
}

.visi-misi-layout h3 {
    font-family: "Fredoka One", cursive;
    font-weight: 200;
    color: black;
    animation: fadeInLeft 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
}

.visi-misi-layout h3:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.visi-misi-layout p {
    animation: fadeInRight 1s ease-out;
    transition: transform 0.3s ease;
}

.visi-misi-layout p:hover {
    transform: scale(1.02);
}

.visi-misi-layout .visi-misi-card li {
    list-style: none;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.visi-misi-layout .visi-misi-card li:hover {
    transform: translateX(5px);
}

.visi-misi-layout .visi-misi-card li:hover::before {
    transform: rotate(360deg);
}

.visi-misi-layout .visi-misi-card li span {
    transition: color 0.3s ease;
}

.visi-misi-layout .visi-misi-card li:hover span {
    font-weight: 800;
}

/* New Visi Misi Card Styles */
.visi-misi-layout {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
}

.visi-misi-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.visi-misi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.visi-misi-card .card-body {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.visi-misi-card ul li {
    display: flex;
    align-items: center;
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
}

.visi-misi-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    color: transparent;
    font-size: 10px;
    font-weight: bold;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.visi-misi-card ul li:hover::before {
    content: "✓";
    transform: scale(1);
    background-color: #28a745;
    color: white;
    border-color: #218838;
}

.visi-misi-card ul li span {
    transition: color 0.3s ease;
}

.visi-misi-card.visi-card {
    background: var(--gradient-purple-blue);
    color: white;
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.visi-misi-card.misi-card {
    background: var(--gradient-purple-blue);
    color: white;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s
        forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.visi-misi-card.tujuan-card {
    background: var(--gradient-purple-blue);
    color: white;
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s
        forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* SDM Layout Animations */
.sdm-layout h1 {
    animation: fadeInDown 1s ease-out;
}

.sdm-layout h3 {
    animation: fadeInLeft 1s ease-out;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.sdm-layout h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #800000, #1c2652);
    transition: width 0.4s ease;
}

.sdm-layout h3:hover::after {
    width: 100%;
}

.sdm-layout h3:hover {
    color: #1c2652;
    transform: translateX(5px);
}

.sdm-layout p {
    animation: fadeInRight 0.8s ease-out;
    transition: all 0.3s ease;
}

.sdm-layout p:hover {
    padding-left: 10px;
    color: #1c2652;
    font-weight: 600;
}

.sdm-layout li {
    animation: fadeInLeft 0.8s ease-out;
    transition: all 0.3s ease;
}

.sdm-layout li:hover {
    transform: translateX(10px) scale(1.02);
    color: #1c2652;
}

.sdm-layout li span {
    transition: all 0.3s ease;
}

.sdm-layout li:hover span {
    color: #800000;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Fasilitas Layout Animations */
.fasilitas-layout h1 {
    animation: fadeInDown 0.8s ease-out;
}

.fasilitas-layout h3 {
    animation: fadeInLeft 0.8s ease-out;
    transition: all 0.3s ease;
}

.fasilitas-layout h3:hover {
    color: #1c2652;
    transform: scale(1.05) translateX(10px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.fasilitas-layout .card {
    animation: scaleIn 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fasilitas-layout .card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(128, 0, 0, 0.1) 0%,
        transparent 70%
    );
    transform: scale(0);
    transition: transform 0.6s ease;
}

.fasilitas-layout .card:hover::before {
    transform: scale(1);
}

.fasilitas-layout .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.fasilitas-layout .card-img-top,
.fasilitas-layout .card-img {
    transition: all 0.5s ease;
}

.fasilitas-layout .card:hover .card-img-top,
.fasilitas-layout .card:hover .card-img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.fasilitas-layout .card-body {
    transition: all 0.3s ease;
}

.fasilitas-layout .card:hover .card-body {
    background: linear-gradient(
        135deg,
        rgba(28, 38, 82, 0.05) 0%,
        rgba(128, 0, 0, 0.05) 100%
    );
}

.fasilitas-layout li {
    transition: all 0.3s ease;
}

.fasilitas-layout li:hover {
    transform: translateX(10px);
    color: #1c2652;
}

.fasilitas-layout li span {
    transition: all 0.3s ease;
}

.fasilitas-layout li:hover span {
    color: #800000;
    font-weight: 600;
}

/* Stagger animations for facility cards */
.fasilitas-layout .col-lg-6:nth-child(2) {
    animation: fadeInRight 0.8s ease-out;
    animation-delay: 0.2s;
}

.fasilitas-layout .col-lg-6:nth-child(3) {
    animation: fadeInLeft 0.8s ease-out;
    animation-delay: 0.3s;
}

.fasilitas-layout .col-lg-6:nth-child(4) {
    animation: fadeInRight 0.8s ease-out;
    animation-delay: 0.4s;
}

/* Informasi Layout Animations */
.informasi-layout h1 {
    animation: fadeInDown 0.8s ease-out;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
}

.informasi-layout h3 {
    animation: fadeInLeft 0.8s ease-out;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
}

.informasi-layout h3:hover {
    color: #1c2652;
    transform: translateX(5px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.informasi-layout .brochure {
    animation: fadeInUp 0.8s ease-out;
}

.informasi-layout .brochure .carousel {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.informasi-layout .brochure .carousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.informasi-layout .brochure img {
    animation: scaleIn 0.8s ease-out;
    transition: all 0.4s ease;
    cursor: pointer;
}

.informasi-layout .brochure .carousel-item img {
    transition: transform 0.5s ease;
}

.informasi-layout .brochure .carousel-item.active img {
    animation: zoomIn 0.6s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.informasi-layout .brochure img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Widget Card Enhancements */
.informasi-layout .widget .card {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.informasi-layout .widget .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.informasi-layout .widget .card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f49638, #800000, #1c2652);
}

.informasi-layout .widget .card:hover::before {
    left: 100%;
}

.informasi-layout .widget .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(
        135deg,
        var(--color-navy) 0%,
        var(--color2) 100%
    );
    border-color: #f49638;
}

.informasi-layout .widget .card a {
    transition: all 0.3s ease;
    position: relative;
}

.informasi-layout .widget .card a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f49638;
    transition: width 0.3s ease;
}

.informasi-layout .widget .card a:hover::after {
    width: 100%;
}

.informasi-layout .widget .card:hover a {
    color: #f49638;
    text-shadow: 0 0 10px rgba(244, 150, 56, 0.6);
}

/* Modern Table Styles */
.informasi-layout .table-schedule,
.informasi-layout .table-cost,
.informasi-layout .table-requirements {
    animation: fadeInUp 0.8s ease-out;
}

.informasi-layout .table-schedule table,
.informasi-layout .table-cost table,
.informasi-layout .table-requirements table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: none;
    background: white;
}

/* Override Bootstrap table-danger class to prevent color override */
.informasi-layout table thead.table-danger,
.informasi-layout table thead tr.table-danger {
    --bs-table-bg: transparent !important;
    --bs-table-color: white !important;
    background: linear-gradient(135deg, #800000 0%, #1c2652 100%) !important;
    color: white !important;
}

.informasi-layout table thead.table-danger th,
.informasi-layout table thead tr.table-danger th {
    color: white !important;
    background: transparent !important;
}

.informasi-layout .table-schedule table thead,
.informasi-layout .table-cost table thead,
.informasi-layout .table-requirements table thead {
    background: linear-gradient(135deg, #800000 0%, #1c2652 100%) !important;
    color: white !important;
    position: relative;
}

.informasi-layout .table-schedule table thead th,
.informasi-layout .table-cost table thead th,
.informasi-layout .table-requirements table thead th {
    border: none;
    padding: 18px 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    color: white !important;
    position: relative;
    background: transparent !important;
}

.informasi-layout .table-schedule table thead th::after,
.informasi-layout .table-cost table thead th::after,
.informasi-layout .table-requirements table thead th::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f49638, transparent);
}

.informasi-layout .table-schedule table tbody tr,
.informasi-layout .table-cost table tbody tr,
.informasi-layout .table-requirements table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.informasi-layout .table-schedule table tbody tr:hover,
.informasi-layout .table-cost table tbody tr:hover,
.informasi-layout .table-requirements table tbody tr:hover {
    background: linear-gradient(
        90deg,
        rgba(28, 38, 82, 0.05) 0%,
        rgba(128, 0, 0, 0.05) 100%
    );
    transform: translateX(5px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.informasi-layout .table-schedule table tbody tr:nth-child(even),
.informasi-layout .table-cost table tbody tr:nth-child(even),
.informasi-layout .table-requirements table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.informasi-layout .table-schedule table tbody tr:hover:nth-child(even),
.informasi-layout .table-cost table tbody tr:hover:nth-child(even),
.informasi-layout .table-requirements table tbody tr:hover:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(28, 38, 82, 0.08) 0%,
        rgba(128, 0, 0, 0.08) 100%
    );
}

.informasi-layout .table-schedule table tbody th,
.informasi-layout .table-cost table tbody th,
.informasi-layout .table-requirements table tbody th {
    padding: 15px;
    font-weight: 700;
    color: #800000;
    border: none;
    position: relative;
}

.informasi-layout .table-schedule table tbody th::before,
.informasi-layout .table-cost table tbody th::before,
.informasi-layout .table-requirements table tbody th::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #800000, #1c2652);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.informasi-layout .table-schedule table tbody tr:hover th::before,
.informasi-layout .table-cost table tbody tr:hover th::before,
.informasi-layout .table-requirements table tbody tr:hover th::before {
    opacity: 1;
}

.informasi-layout .table-schedule table tbody td,
.informasi-layout .table-cost table tbody td,
.informasi-layout .table-requirements table tbody td {
    padding: 15px;
    border: none;
    color: #333;
    transition: all 0.3s ease;
}

.informasi-layout .table-schedule table tbody tr:hover td,
.informasi-layout .table-cost table tbody tr:hover td,
.informasi-layout .table-requirements table tbody tr:hover td {
    color: #1c2652;
    font-weight: 500;
}

/* Total Row Enhancement */
.informasi-layout .table-cost table tbody tr:last-child {
    background: linear-gradient(135deg, #1c2652 0%, #800000 100%);
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.informasi-layout .table-cost table tbody tr:last-child td {
    color: white !important;
    padding: 18px 15px;
}

.informasi-layout .table-cost table tbody tr:last-child:hover {
    background: linear-gradient(135deg, #800000 0%, #1c2652 100%);
    transform: scale(1.02);
}

/* Table Total with class */
.informasi-layout .table-total,
.informasi-layout table tbody .table-total {
    background: var(--color1) !important;
    color: var(--color-white) !important;
    font-weight: bold !important;
    font-size: 1.1em;
}

.informasi-layout .table-total td,
.informasi-layout .table-total th,
.informasi-layout table tbody .table-total td,
.informasi-layout table tbody .table-total th {
    background: var(--color1) !important;
    color: var(--color-white) !important;
    padding: 18px 15px !important;
    font-weight: bold !important;
}

.informasi-layout .table-total:hover,
.informasi-layout table tbody .table-total:hover {
    background: linear-gradient(
        135deg,
        var(--color1) 0%,
        var(--color2) 100%
    ) !important;
    transform: scale(1.02) !important;
}

.informasi-layout .table-total:hover td,
.informasi-layout .table-total:hover th {
    background: transparent !important;
}

/* Table Responsive Enhancement */
.informasi-layout .table-responsive {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.informasi-layout .table-responsive:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Card Register Enhancement */
.informasi-layout .card-register .card {
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #800000 0%, #1c2652 100%);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.informasi-layout .card-register .card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.informasi-layout .card-register .card:hover {
    animation: none;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(128, 0, 0, 0.5);
    background: linear-gradient(135deg, #1c2652 0%, #800000 100%);
    border-color: #f49638;
}

.informasi-layout .card-register .card .btn {
    transition: all 0.3s ease;
    border: 2px solid white;
    font-weight: bold;
    padding: 12px 40px;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.informasi-layout .card-register .card .btn:hover {
    background-color: #f49638;
    border-color: #f49638;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(244, 150, 56, 0.5);
}

.informasi-layout .card-register .card span {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.informasi-layout .card-register .card:hover span {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
    letter-spacing: 1px;
}

/* List Style Enhancements */
.informasi-layout ul {
    list-style: none;
    padding-left: 0;
}

.informasi-layout li {
    transition: all 0.3s ease;
    padding: 10px 0 10px 35px;
    position: relative;
    border-left: 3px solid transparent;
    margin-bottom: 8px;
}

.informasi-layout li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #800000, #1c2652);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.informasi-layout li:hover {
    transform: translateX(10px);
    border-left-color: #800000;
    background: linear-gradient(
        90deg,
        rgba(128, 0, 0, 0.05) 0%,
        transparent 100%
    );
    padding-left: 40px;
}

.informasi-layout li:hover::before {
    background: linear-gradient(135deg, #f49638, #800000);
    transform: translateY(-50%) rotate(360deg) scale(1.2);
    box-shadow: 0 3px 10px rgba(128, 0, 0, 0.3);
}

.informasi-layout li span {
    transition: all 0.3s ease;
}

.informasi-layout li:hover span {
    color: #1c2652;
    font-weight: 600;
}

/* Section Divider */
.informasi-layout .col-lg-12 {
    position: relative;
    margin-bottom: 30px;
}

.informasi-layout .col-lg-12::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(128, 0, 0, 0.2),
        transparent
    );
}

.informasi-layout .col-lg-12:last-child::after {
    display: none;
}

/* Icon Animations for Headings */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Progress Bar for Quota */
.informasi-layout .progress {
    height: 30px;
    border-radius: 15px;
    background: linear-gradient(
        90deg,
        rgba(28, 38, 82, 0.1),
        rgba(128, 0, 0, 0.1)
    );
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.informasi-layout .progress:hover {
    transform: scale(1.02);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.1);
}

.informasi-layout .progress-bar {
    background: linear-gradient(90deg, #800000, #1c2652, #f49638);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Stagger Animations for Tables */
.informasi-layout .table-schedule {
    animation-delay: 0.1s;
}

.informasi-layout .table-cost {
    animation-delay: 0.2s;
}

.informasi-layout .table-requirements {
    animation-delay: 0.3s;
}

/* FAQ Panel Animations */
.panel-faq h1 {
    animation: fadeInDown 0.8s ease-out;
}

.panel-faq .accordion-item {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.4s ease;
}

.panel-faq .accordion-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.panel-faq .accordion-button {
    transition: all 0.3s ease;
    position: relative;
}

.panel-faq .accordion-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #f49638 0%, #800000 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.panel-faq .accordion-button:hover::before {
    transform: scaleY(1);
}

.panel-faq .accordion-body {
    animation: fadeInUp 0.5s ease-out;
}

/* Stagger animation for accordion items */
.panel-faq .accordion-item:nth-child(1) {
    animation-delay: 0.1s;
}

.panel-faq .accordion-item:nth-child(2) {
    animation-delay: 0.2s;
}

.panel-faq .accordion-item:nth-child(3) {
    animation-delay: 0.3s;
}

.panel-faq .accordion-item:nth-child(4) {
    animation-delay: 0.4s;
}

.panel-faq .accordion-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Button Enhancements */
.button {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Login Button Enhancement */
.navbar-home .navbar-nav .login-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-home .navbar-nav .login-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.navbar-home .navbar-nav .login-button:hover::before {
    left: 100%;
}

.navbar-home .navbar-nav .login-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #800000;
}

/* Top Bar Enhancements */
.top-bar .icon {
    transition: all 0.3s ease;
}

.top-bar a:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

/* Footer Enhancements */
.footer a {
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f49638;
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.footer a:hover {
    transform: translateX(5px);
}

/* Navbar Dropdown Enhancement */
.navbar-home .dropdown-menu {
    animation: fadeInDown 0.3s ease-out;
}

.navbar-home .dropdown-menu .dropdown-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-home .dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(128, 0, 0, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.navbar-home .dropdown-menu .dropdown-item:hover::before {
    left: 100%;
}

/* Jumbotron Enhancement */
.jumbotron {
    animation: fadeIn 1s ease-out;
    position: relative;
}

/* Additional Jumbotron Hover Effect */
.jumbotron:hover {
    animation-play-state: paused;
}

.jumbotron:hover h1 {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.jumbotron:hover p {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.jumbotron h1 {
    animation: fadeInDown 0.8s ease-out;
}

/* Image Hover Effects */
img {
    transition: all 0.3s ease;
}

/* Smooth Scroll Enhancement */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1c2652 0%, #800000 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #800000 0%, #1c2652 100%);
}

/* Mobile Responsive Animations */
@media screen and (max-width: 992px) {
    /* Reduce animation intensity on mobile */
    .panel-siswa .figure-siswa:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .panel-harian .card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .fasilitas-layout .card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .informasi-layout .table-responsive {
        border-radius: 10px;
    }

    .informasi-layout h3 {
        font-size: 1.3rem;
    }

    .informasi-layout h3::before {
        font-size: 1rem;
    }

    .informasi-layout li {
        padding-left: 30px;
    }

    .informasi-layout .card-register .card span {
        font-size: 16pt;
    }
}

/* ========================================
    MOBILE SPECIFIC (SMARTPHONES)
   ======================================== */
@media screen and (max-width: 576px) {
    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    /* SDM Layout untuk mobile sangat kecil */
    .sdm-layout {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        overflow: hidden;
    }

    .sdm-layout h1 {
        font-size: 1.5rem !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .sdm-layout h3 {
        font-size: 1.1rem !important;
        margin-top: 25px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .sdm-layout .row {
        margin: 0 !important;
        width: 100%;
    }

    .sdm-layout [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 20px;
    }

    .sdm-layout .figure {
        width: 100% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .sdm-layout .figure img {
        max-width: 100px !important;
        max-height: 100px !important;
        width: 100px !important;
        height: 100px !important;
        object-fit: cover;
        display: block !important;
        margin: 0 auto !important;
    }

    .sdm-layout .figure-caption {
        text-align: center !important;
        padding: 0 5px;
        width: 100% !important;
        max-width: 180px !important;
    }

    .sdm-layout .figure-caption p {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
        margin-bottom: 5px !important;
        word-wrap: break-word;
        text-align: center !important;
    }

    .sdm-layout .text-muted {
        font-size: 0.75rem !important;
    }

    .sdm-layout .sdm-avatar {
        width: 100px !important;
        height: 100px !important;
    }

    .sdm-layout .sdm-name,
    .sdm-layout .sdm-subtitle {
        width: 100% !important;
        max-width: 180px !important;
        text-align: center !important;
    }

    /* Panel siswa mobile */
    .panel-siswa {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .panel-siswa .row {
        margin: 0 !important;
        justify-content: center !important;
    }

    .panel-siswa .col-md-6 {
        padding: 0 10px !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 20px !important;
    }

    .panel-siswa .figure-siswa {
        width: 170px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .panel-siswa .figure-siswa img {
        max-width: 170px !important;
        max-height: 250px !important;
        width: 170px !important;
        height: 250px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .panel-siswa .figure-siswa .figure-caption {
        text-align: center !important;
        width: 100% !important;
    }

    .panel-siswa .figure-siswa .figure-caption h3 {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
    }

    .panel-siswa .figure-siswa .figure-caption p {
        font-size: 1.2rem !important;
        margin-top: -15px !important;
    }

    /* Panel harian mobile */
    .panel-harian .card {
        margin-bottom: 20px;
    }

    /* Footer adjustments */
    .footer {
        min-height: auto !important;
        height: auto !important;
        padding: 30px 15px 20px;
    }

    .footer [class*="footer-"] {
        margin-bottom: 30px;
    }

    /* Visi misi mobile */
    .visi-misi-layout {
        height: auto !important;
        min-height: auto !important;
    }

    /* Fasilitas mobile */
    .fasilitas-layout .card {
        margin-bottom: 20px;
    }

    /* Informasi PPDB mobile */
    .informasi-layout h1 {
        font-size: 1.5rem;
    }

    .informasi-layout h3 {
        font-size: 1.2rem;
    }

    .informasi-layout .widget .card {
        margin-bottom: 20px;
    }

    /* Konfirmasi Invoice Mobile Responsive */
    .confrim-invoice-layout {
        padding: 0 15px;
        width: 100%;
        overflow-x: hidden;
    }

    .confrim-invoice-layout h1 {
        font-size: 1.3rem !important;
        line-height: 1.4;
        padding: 0 10px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }

    .confrim-invoice-layout h1::after {
        width: 80%;
    }

    .confrim-invoice-layout p {
        font-size: 0.95rem !important;
        padding: 0 10px;
        line-height: 1.6;
    }

    .confrim-invoice-layout .input-group {
        flex-wrap: wrap;
        border-radius: 8px;
        width: 100%;
    }

    .confrim-invoice-layout .form-control {
        font-size: 1rem !important;
        padding: 12px 15px !important;
        border-radius: 8px 8px 0 0 !important;
        width: 100% !important;
        flex: 1 1 100%;
        border: 2px solid #e0e0e0;
        border-bottom: none;
    }

    .confrim-invoice-layout .btn {
        font-size: 1rem !important;
        padding: 12px 20px !important;
        border-radius: 0 0 8px 8px !important;
        width: 100% !important;
        flex: 1 1 100%;
        margin-top: 0;
    }

    .confrim-invoice-layout .invalid-feedback {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin: 8px 0;
        width: 100%;
    }
}

/*# sourceMappingURL=main.css.map */
