* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

/*================================================================================================================*/
/* NAVBAR 2 BARIS */
/*================================================================================================================*/

.navbar {
    background: #ffffff;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.08);
}

/*--Baris 1: Logo + Social + Email--------------------------------------------------------------------------------*/
.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-full {
    height: 50px;
    width: auto;
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icon {
    color: #030066;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: #06ccfd;
    transform: scale(1.1);
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #030066;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.email-link:hover {
    color: #06ccfd;
}

/*--Baris 2: Menu Navigasi----------------------------------------------------------------------------------------*/
.navbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 8px solid #030066;
    position: relative;
}

.navbar-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fbad03;
    transform: translateY(100%);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #030066;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 1.2rem 0;
    display: inline-block;
    transition: 0.3s;
}

.nav-link:hover {
    color: #06ccfd;
}

/*--Dropdown Desktop----------------------------------------------------------------------------------------------*/
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    border-top: 3px solid #030066;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #030066;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background: #06ccfd;
    color: #ffffff;
}

/*--Mobile Menu Toggle (Hidden on desktop)------------------------------------------------------------------------*/
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #030066;
    transition: 0.3s;
    border-radius: 2px;
}

/*--Mobile Sidebar Pop Up-----------------------------------------------------------------------------------------*/
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    transition: 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 2px solid #030066;
}

.sidebar-logo {
    height: 40px;
    width: auto;
}

.close-sidebar {
    background: none;
    border: none;
    color: #030066;
    cursor: pointer;
    padding: 0.3rem;
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu > li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #030066;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

.sidebar-menu > li > a:hover {
    background: #f5f5f5;
    color: #06ccfd;
}

/*--Sidebar Dropdown----------------------------------------------------------------------------------------------*/
.sidebar-dropdown > a {
    cursor: pointer;
}

.sidebar-arrow {
    transition: transform 0.3s;
}

.sidebar-dropdown.active > a .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    list-style: none;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.sidebar-dropdown.active .sidebar-submenu {
    max-height: 500px;
}

.sidebar-submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-submenu li:last-child {
    border-bottom: none;
}

.sidebar-submenu a {
    display: block;
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    color: #030066;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.sidebar-submenu a:hover {
    background: #06ccfd;
    color: #ffffff;
}

/*--Sidebar Overlay-----------------------------------------------------------------------------------------------*/
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/*================================================================================================================*/
/* RESPONSIVE NAVBAR */
/*================================================================================================================*/

@media (max-width: 769px) {
    /* Navbar jadi 1 baris di mobile */
    .navbar-top {
        padding: 0.6rem 1rem;
        border-bottom: 8px solid #030066;
        position: relative;
    }

    .navbar-top::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #fbad03;
        transform: translateY(100%);
    }

    .logo-full {
        height: 35px;
    }

    /*--Hide contact links on mobile-----------------------------------------*/
    .navbar-contact {
        display: none;
    }

    /*--Hide desktop menu----------------------------------------------------*/
    .navbar-bottom {
        display: none;
    }

    /*--Show burger button---------------------------------------------------*/
    .navbar-top {
        display: flex;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo-full {
        height: 30px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
}

@media (min-width: 769px) {
    /* Hide mobile elements on desktop */
    .mobile-sidebar,
    .sidebar-overlay {
        display: none;
    }
}

/*================================================================================================================*/
/* SAMBUTAN KEPALA SEKOLAH */
/*================================================================================================================*/

.welcome-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #030066;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #030066, #06ccfd, #fbad03);
    margin: 0 auto;
    border-radius: 2px;
}

.welcome-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.principal-photo {
    width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(3, 0, 102, 0.2);
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
    border: 4px solid #030066;
}

.welcome-text {
    flex: 1;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

.welcome-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.welcome-text p:first-child {
    font-weight: 700;
    color: #030066;
    font-size: 1.1rem;
}

.welcome-text p:last-of-type {
    font-style: italic;
    color: #030066;
    margin-bottom: 1.5rem;
}

.principal-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #030066 0%, #06ccfd 100%);
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

.principal-info strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.principal-info span {
    font-size: 0.95rem;
    opacity: 0.95;
}

/*----------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE WELCOME SECTION */
/*----------------------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {
    .welcome-section {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .welcome-content {
        flex-direction: column;
        padding: 1.5rem;
    }

    .principal-photo {
        width: 100%;
        max-width: 300px;
        float: none;
        margin: 0 auto 1.5rem auto;
        display: block;
    }

    .welcome-text {
        text-align: justify;
    }

    .welcome-text p {
        font-size: 0.95rem;
    }

    .principal-info {
        padding: 1.2rem;
    }

    .principal-info strong {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .welcome-content {
        padding: 1rem;
    }

    .principal-photo {
        max-width: 250px;
    }

    .welcome-text p {
        font-size: 0.9rem;
    }

    .principal-info strong {
        font-size: 1rem;
    }

    .principal-info span {
        font-size: 0.85rem;
    }
}

/*================================================================================================================*/
/* CTA BUTTON SECTION */
/*================================================================================================================*/

.cta-section {
    width: 100%;
    height: 0;
    padding-bottom: 40.00%; /* Aspect ratio 16:9, sesuaikan jika gambar berbeda */
    position: relative;
    background-image:url('../img/JoinUs.jpeg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8%; 
}


.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #030066 0%, #06ccfd 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(3, 0, 102, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06ccfd 0%, #fbad03 100%);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 204, 253, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/*----------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE CTA BUTTON */
/*----------------------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {
   .cta-section {
        padding-bottom: 75%; /* Adjust untuk mobile jika perlu */
    }

    .cta-overlay {
        padding-top: 10%;
    }
    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding-bottom: 100%; /* Adjust untuk mobile kecil jika perlu */
    }

    .cta-overlay {
        padding-top: 12%;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
}

/*================================================================================================================*/
/* HERO SLIDER */
/*================================================================================================================*/

.hero-slider {
    width: 100%;
    position: relative;
    background: #f5f5f5;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 700px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.slide {
    position: relative;
    width: 100vw;
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 5px;
    /*transform: translateX(-5%);*/
    text-align: left;
    color: #ffffff;
    background: linear-gradient(
        to top,
        rgba(3, 0, 102, 0.75),
        rgba(3, 0, 102, 0.45));
    padding: 1.5rem 3rem;
    border-radius: 10px;
    max-width: 90%;
    border-right: 5px solid #fbad03;
  
}

.slide-caption h2 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.slide-caption p {
    font-size: 1.1rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/*--Mobile line break control---------------------------*/
.mobile-break {
    display: none;
}

/*--Navigation Buttons--------------------------------------------------------------------------------------------*/
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 0, 102, 0.7);
    color: #ffffff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: 0.3s;
    border-radius: 5px;
}

.slider-btn:hover {
    background: #06ccfd;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/*--Dots Indicator------------------------------------------------------------------------------------------------*/
.slider-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: #06ccfd;
    border-color: #06ccfd;
}

.dot.active {
    background: #fbad03;
    border-color: #fbad03;
    width: 9px;
    height: 9px;
}
/*----------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE SLIDER */
/*----------------------------------------------------------------------------------------------------------------*/

@media (max-width: 769px) {
    .slider-container {
        height: 350px;
    }

    .slide-caption {
        bottom: 20px;
        padding: 1rem 1.5rem;
    }

    .slide-caption h2 {
        font-size: 1.3rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .slider-btn {
        padding: 0.7rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }
}

.mobile-break {
    display: none;
}

@media (max-width: 480px) {
    .mobile-break {
        display: block;
    }
    
    .slider-container {
        height: 280px;
    }

    .slide-caption {
        bottom: 15px;
        left: 5px;
        text-align: left;
        padding: 0.8rem 1rem;
    }

    .slide-caption h2 {
        font-size: 0.8rem;
    }

    .slide-caption p {
        font-size: 0.7rem;
    }

    /*--Show line break on mobile----------------------------*/
    .mobile-break {
        display: block;
    }

    .slider-btn {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 7px;
        height: 7px;
    }
}

/*================================================================================================================*/
/* FORM PENDAFTARAN */
/*================================================================================================================*/

.form-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h1 {
    color: #030066;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.registration-form {
    max-width: 1000px;
    margin: 0 auto;
}

.form-section-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.section-title {
    color: #030066;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #06ccfd;
}

.section-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    flex: 100%;
}

.form-group label {
    color: #030066;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: "Nunito", sans-serif;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06ccfd;
    box-shadow: 0 0 0 3px rgba(6, 204, 253, 0.1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #e0e0e0;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: #06ccfd;
    background: #f8f9fa;
}

.form-group small {
    color: #999;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-reset,
.btn-submit {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reset {
    background: #e0e0e0;
    color: #666;
}

.btn-reset:hover {
    background: #ccc;
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #030066 0%, #06ccfd 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(3, 0, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #06ccfd 0%, #fbad03 100%);
    transition: 0.5s;
    z-index: -1;
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 204, 253, 0.4);
}

/* Footer */
.footer {
    background: #030066;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
}

/*----------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE FORM */
/*----------------------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {
    .form-section {
        padding: 2rem 1rem;
    }

    .form-header h1 {
        font-size: 1.8rem;
    }

    .form-section-box {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-reset,
    .btn-submit {
        width: 100%;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-section-box {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
}

/*================================================================================================================*/
/* FORM VALIDATION STYLES */
/*================================================================================================================*/

/* Status validasi field */
.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.05);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Pesan validasi */
.validation-message {
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    display: block !important;
}

.validation-message.valid {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

.validation-message.invalid {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
}

/* Highlight field wajib */
.form-group label[required]::after {
    content: " *";
    color: #dc3545;
}

/* Animasi untuk error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
    animation: shake 0.5s ease-in-out;
}

/* Style untuk file upload */
input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.3s;
}

input[type="file"]:hover {
    border-color: #007bff;
}

input[type="file"]:valid {
    border-color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .validation-message {
        font-size: 0.75rem !important;
    }
    
    .form-group input.is-invalid,
    .form-group select.is-invalid,
    .form-group textarea.is-invalid {
        font-size: 14px;
    }
}

/* Loading state untuk submit */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Tooltip untuk informasi field */
.form-group {
    position: relative;
}

.form-group small {
    display: block;
    margin-top: 3px;
    color: #6c757d;
    font-size: 0.8rem;
}

/* ================================================================ */
/* Shared — Login Modal & Navbar Tombol Login                        */
/* ================================================================ */
body { display: flex; flex-direction: column; min-height: 100vh; }

/* ── Tombol Login Navbar ── */
.btn-login {
    display: flex; align-items: center; gap: 0.45rem;
    background: linear-gradient(135deg, #030066, #06ccfd);
    color: #fff; border: none;
    padding: 0.55rem 1.3rem; border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer; transition: 0.25s;
    box-shadow: 0 3px 12px rgba(3,0,102,0.25);
    white-space: nowrap; margin-left: auto;
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(6,204,253,0.4); }
.btn-login-mobile { display: none; }
@media (max-width: 768px) {
    .btn-login-mobile { display: flex; padding: 0.45rem 1rem; font-size: 0.82rem; }
    .navbar-bottom .btn-login:not(.btn-login-mobile) { display: none; }
}

/* ── Overlay Login ── */
#loginOverlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9000;
}

/* ── Modal Login ── */
#loginModal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    width: 92%; max-width: 400px;
    z-index: 9001;
    animation: loginIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
    overflow: hidden;
}
@keyframes loginIn {
    from { opacity:0; transform: translate(-50%, -48%) scale(0.92); }
    to   { opacity:1; transform: translate(-50%, -50%) scale(1); }
}
.login-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(3,0,102,0.05), rgba(6,204,253,0.08));
    border-bottom: 3px solid #030066;
}
.login-logo { height: 44px; width: auto; }
.login-close {
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer;
    color: #666; line-height: 1; transition: 0.2s;
}
.login-close:hover { color: #e74c3c; transform: rotate(90deg); }
.login-modal-body { padding: 1.8rem 1.8rem 2rem; }
.login-title { color: #030066; font-size: 1.3rem; font-weight: 800; margin: 0 0 0.3rem; text-align: center; }
.login-subtitle { color: #888; font-size: 0.82rem; font-weight: 600; text-align: center; margin: 0 0 1.4rem; }
.login-alert {
    padding: 0.75rem 1rem; border-radius: 8px;
    font-size: 0.85rem; font-weight: 700;
    margin-bottom: 1.2rem; line-height: 1.5;
    background: rgba(231,76,60,0.1); color: #c0392b;
    border-left: 3px solid #e74c3c;
}
.login-alert.alert-warning { background: rgba(243,156,18,0.1); color: #b7770d; border-left-color: #f39c12; }
.login-form-group { margin-bottom: 1.1rem; }
.login-form-group label { display: block; color: #030066; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; }
.login-form-group input {
    width: 100%; padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0; border-radius: 8px;
    font-family: 'Nunito', sans-serif; font-size: 0.95rem; font-weight: 600;
    transition: 0.2s; box-sizing: border-box;
}
.login-form-group input:focus { outline: none; border-color: #06ccfd; box-shadow: 0 0 0 3px rgba(6,204,253,0.12); }
.login-pass-wrap { position: relative; }
.login-pass-wrap input { padding-right: 2.8rem; }
.login-eye {
    position: absolute; right: 0.8rem; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 0;
    color: #999; display: flex; align-items: center; transition: color 0.2s;
}
.login-eye:hover { color: #030066; }
.login-btn {
    width: 100%; padding: 0.9rem;
    background: linear-gradient(135deg, #030066, #06ccfd);
    color: #fff; border: none; border-radius: 8px;
    font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800;
    cursor: pointer; transition: 0.25s; margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(3,0,102,0.25);
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,204,253,0.4); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Shared Page Title ── */
.page-title {
    text-align: center;
    padding: 40px 0 8px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #030066;
    margin: 0;
    background: #fff;
}

/* ── Footer ── */
.footer {
    background: #030066;
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ================================================================ */
/* Custom Confirm Modal — Form Pendaftaran                           */
/* ================================================================ */
#confirmOverlay {
    position: fixed; inset: 0;
    background: rgba(3, 0, 102, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
#confirmOverlay.active {
    opacity: 1;
    visibility: visible;
}
#confirmModal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -48%) scale(0.92);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(3, 0, 102, 0.22);
    width: 92%; max-width: 420px;
    z-index: 9101;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.34,1.56,0.64,1),
                transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
                visibility 0.28s;
}
#confirmModal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.confirm-header {
    background: linear-gradient(135deg, #030066 0%, #0600b0 100%);
    padding: 1.5rem 1.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.confirm-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(6, 204, 253, 0.18);
    border: 2.5px solid rgba(6, 204, 253, 0.5);
    display: flex; align-items: center; justify-content: center;
    color: #06ccfd;
}
.confirm-header h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
}
.confirm-accent {
    width: 48px; height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #06ccfd, #fbad03);
}
.confirm-body {
    padding: 1.6rem 1.8rem;
    text-align: center;
}
.confirm-body p {
    color: #444;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}
.confirm-body p strong {
    color: #030066;
}
.confirm-actions {
    display: flex;
    gap: 0.9rem;
    padding: 0 1.8rem 1.8rem;
}
.btn-confirm-cancel {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2.5px solid #030066;
    border-radius: 10px;
    background: #fff;
    color: #030066;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}
.btn-confirm-cancel:hover {
    background: rgba(3, 0, 102, 0.07);
}
.btn-confirm-submit {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #030066, #06ccfd);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 14px rgba(3, 0, 102, 0.28);
}
.btn-confirm-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 204, 253, 0.4);
}

/* ================================================================ */
/* Toast Notifikasi Sukses — Form Pendaftaran                        */
/* ================================================================ */
#toastSukses {
    position: fixed;
    top: 1.5rem; right: 1.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(3, 0, 102, 0.18);
    border-left: 5px solid #030066;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 340px;
    z-index: 9200;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
#toastSukses.active {
    opacity: 1;
    transform: translateX(0);
}
.toast-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #030066, #06ccfd);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.toast-content {
    flex: 1;
}
.toast-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #030066;
    margin: 0 0 0.2rem;
}
.toast-msg {
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.toast-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #030066, #06ccfd, #fbad03);
    border-radius: 0 0 0 14px;
    width: 100%;
    transform-origin: left;
    animation: toastProgress 4s linear forwards;
}
@keyframes toastProgress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}
@media (max-width: 480px) {
    #toastSukses, #toastError {
        top: auto; bottom: 1.2rem;
        right: 0.8rem; left: 0.8rem;
        max-width: none;
        transform: translateY(150%);
    }
    #toastSukses.active, #toastError.active {
        transform: translateY(0);
    }
}

/* Toast Error — sama struktur dengan toast sukses */
#toastError {
    position: fixed;
    top: 1.5rem; right: 1.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(192, 57, 43, 0.18);
    border-left: 5px solid #c0392b;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 340px;
    z-index: 9200;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
#toastError.active {
    opacity: 1;
    transform: translateX(0);
}


/* ================================================================ */
/* Section Profil & CTA — dari index.html                         */
/* ================================================================ */
/* ================================================================ */
/* Section Profil                                                    */
/* ================================================================ */
.profil-section {
    padding: 80px 0;
}
.profil-sejarah-bg  { background: #f8faff; }
.profil-visi-bg     { background: #fff; }
.profil-logo-bg     { background: linear-gradient(135deg, #f0f4ff 0%, #e8faff 100%); }
.profil-struktur-bg { background: #fff; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.profil-section-header {
    text-align: center;
    margin-bottom: 52px;
}
.profil-label {
    display: inline-block;
    background: linear-gradient(135deg, #030066, #06ccfd);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 14px;
}
.profil-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #030066;
    margin: 0 0 16px;
}
.profil-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #030066, #06ccfd);
    border-radius: 2px;
    margin: 0 auto;
}

/* --- Sejarah --- */
.sejarah-paragraf {
    text-align: justify;
    color: #444;
    line-height: 1.9;
    font-size: 1rem;
    max-width: 820px;
    margin: 0 auto;
}

/* --- Visi & Misi --- */
.visi-misi-card {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 32px rgba(3,0,102,0.10);
    border: 1.5px solid rgba(3,0,102,0.08);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}
.vm-gambar {
    width: 280px;
    min-width: 220px;
    flex-shrink: 0;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vm-gambar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vm-teks {
    padding: 36px 36px 36px 8px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}
.vm-visi h3, .vm-misi h3 {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #030066;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.vm-visi-singkat {
    font-weight: 700;
    color: #030066;
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0 0 10px;
}
.vm-visi-panjang {
    color: #555;
    font-size: 0.91rem;
    line-height: 1.75;
    text-align: justify;
    margin: 0;
}
.vm-misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.vm-misi-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.vm-misi-icon {
    color: #06ccfd;
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.vm-misi-list strong {
    display: block;
    font-weight: 800;
    color: #030066;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.vm-misi-list p {
    margin: 0;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .visi-misi-card { flex-direction: column; }
    .vm-gambar { width: 100%; min-height: 220px; }
    .vm-teks { padding: 24px; }
}

/* --- Arti Logo --- */
.arti-logo-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
}
.arti-logo-img-wrap {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(3,0,102,0.1);
    padding: 40px;
    display: flex; align-items: center; justify-content: center;
}
.arti-logo-img {
    max-width: 100%;
    height: auto;
}
.arti-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.arti-logo-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(3,0,102,0.07);
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, #030066, #06ccfd) 1;
}
.arti-logo-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.arti-logo-item strong {
    display: block;
    color: #030066;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.arti-logo-item p {
    margin: 0;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --- Struktur Organisasi --- */
.struktur-img-wrap {
    display: flex;
    justify-content: center;
}
.struktur-placeholder {
    width: 100%;
    max-width: 800px;
    min-height: 360px;
    border: 3px dashed rgba(3,0,102,0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(3,0,102,0.02);
    padding: 40px;
    text-align: center;
}
.struktur-placeholder p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #030066;
    opacity: 0.5;
    margin: 0;
}
.struktur-placeholder span {
    font-size: 0.82rem;
    color: #888;
}
.struktur-placeholder code {
    background: rgba(3,0,102,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #030066;
}
.filosofi-logogram {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, #030066, #06109e);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 16px;
    color: #fff;
}
.filosofi-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #06ccfd;
}
.filosofi-logogram strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.filosofi-logogram p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}
.filosofi-warna-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.struktur-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(3,0,102,0.12);
}



/* --- Responsive Profil --- */
@media (max-width: 900px) {
    .profil-sejarah-content,
    .visi-misi-grid,
    .arti-logo-content { grid-template-columns: 1fr; }
    .arti-logo-img-wrap { padding: 24px; max-width: 260px; margin: 0 auto; }
}
@media (max-width: 600px) {
    .profil-section { padding: 52px 0; }
    .profil-section-header h2 { font-size: 1.5rem; }
    .visi-card, .misi-card { padding: 24px 18px; }
}