/* ============================================================
   Blue Sky — modernized front-end stylesheet
   ------------------------------------------------------------
   Palet, nama kelas, dan struktur yang dipakai JavaScript
   (menu SmartMenus, marquee .quote, overlay #search_form,
   sticky menu, #return-to-top) TIDAK diubah.
   Yang berubah hanya presentasi: tipografi, jarak, radius,
   bayangan, dan state hover.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Trajan Pro — HANYA untuk nama sekolah di header (.brand).
   Sumber sama dengan versi lama; bila gagal dimuat, jatuh ke serif. */
@font-face {
   font-family: "Trajan Pro";
   src: url("https://db.onlinewebfonts.com/t/b11f35f77210c651367969365f87af24.woff2") format("woff2"),
        url("https://db.onlinewebfonts.com/t/b11f35f77210c651367969365f87af24.woff") format("woff"),
        url("https://db.onlinewebfonts.com/t/b11f35f77210c651367969365f87af24.ttf") format("truetype");
   font-display: swap;
}

/* @palette-start */
:root {
   --brand: #014585;
   --brand-deep: #013262;
   --brand-soft: #0b5aa8;
   --accent: #0f6fc7;
   --accent-deep: #0a5497;
   --accent-soft: #7fb6e8;
   --ink: #16203a;
   --muted: #5d6b85;
   --line: #e2e8f4;
   --paper: #edf3fc;
   --radius: 16px;
   --radius-sm: 12px;
   --radius-pill: 999px;
   --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -16px rgba(16, 24, 40, .28);
   --shadow-md: 0 2px 6px rgba(16, 24, 40, .06), 0 18px 40px -24px rgba(16, 24, 40, .36);
   --shadow-lg: 0 24px 60px -28px rgba(16, 24, 40, .45);
   --ring: 0 0 0 4px rgba(15, 111, 199, .18);
}
/* @palette-end */

/* ---------- BASE ---------- */
html {
   scroll-behavior: smooth;
}
body {
   font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 15px;
   line-height: 1.65;
   color: var(--ink);
   background-color: var(--paper);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
body a {
   color: var(--brand);
   font-weight: 500;
   transition: color .18s ease;
}
body a:hover {
   color: var(--accent);
   text-decoration: none;
}
::selection {
   background: var(--accent);
   color: #fff;
}
img {
   max-width: 100%;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
   outline: 2px solid var(--accent);
   outline-offset: 2px;
}
.text-muted {
   color: var(--muted) !important;
}

/* ---------- TOP BAR ---------- */
.top-bar {
   background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-soft) 100%);
   color: #fff;
   font-size: 13.5px;
   padding: 18px 0;
   border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-bar a {
   color: rgba(255, 255, 255, .88);
   font-weight: 600;
}
.top-bar a:hover {
   color: var(--accent-soft);
}
.top-bar i {
   margin-right: 6px;
   opacity: .75;
}
.top-header {
   display: flex;
   align-items: center/* vertical alignment */;
   gap: 18px;
}
.top-header img {
   width: 64px;
   height: 64px;
   object-fit: contain;
   border-radius: 14px;
   padding: 6px;
   background: rgba(255, 255, 255, .1);
   box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
   flex: 0 0 auto;
}
.top-left {
   margin: 0;
}
.top-left li + li {
   margin-top: 2px;
   color: rgba(255, 255, 255, .72);
   font-size: 12.5px;
   line-height: 1.5;
}
.top-right {
   margin: 0;
}
.top-right .list-inline-item {
   margin-right: 1.35rem;
}
.top-right .list-inline-item:last-child {
   margin-right: 0;
}

/* ---------- BRAND ---------- */
.brand {
   font-family: "Trajan Pro", "Times New Roman", Georgia, serif;
   font-weight: 700;
   font-size: 19px;
   line-height: 1.25;
   letter-spacing: .045em;
   text-transform: uppercase;
   color: #fff;
   margin: 0;
}

/* ---------- MENU BAR ---------- */
.menu-bar {
   text-transform: uppercase;
   font-weight: 700;
   background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
   border-bottom: 0;
   box-shadow: 0 12px 30px -20px rgba(16, 24, 40, .65);
}
.menu-bar .navbar {
   padding: 0;
}
.sticky.is-sticky {
   position: fixed;
   left: 0;
   right: 0;
   top: 0;
   z-index: 1000;
   width: 100%;
   background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
   box-shadow: 0 14px 32px -20px rgba(16, 24, 40, .85);
   animation: menu-slide-down .22s ease;
}
@keyframes menu-slide-down {
   from { transform: translateY(-100%); }
   to   { transform: translateY(0); }
}
#main-menu {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   margin: 0;
   padding: 0;
   list-style: none;
   width: 100%;
}
#main-menu > li > a {
   display: block;
   position: relative;
   padding: 15px 14px;
   color: #fff !important;
   font-size: 12.5px;
   font-weight: 700;
   letter-spacing: .045em;
   text-decoration: none;
   transition: background-color .18s ease, color .18s ease;
}
#main-menu > li > a::after {
   content: "";
   position: absolute;
   left: 14px;
   right: 14px;
   bottom: 8px;
   height: 2px;
   border-radius: 2px;
   background: #fff;
   opacity: .9;
   transform: scaleX(0);
   transform-origin: left center;
   transition: transform .22s ease;
}
#main-menu > li > a:hover,
#main-menu > li > a:focus,
#main-menu > li.highlighted > a {
   background-color: rgba(0, 0, 0, .14) !important;
   color: #fff !important;
}
#main-menu > li > a:hover::after,
#main-menu > li > a:focus::after,
#main-menu > li.highlighted > a::after {
   transform: scaleX(1);
}
#main-menu.sm-clean {
   background: transparent;
}
#main-menu.sm-clean ul {
   background: var(--brand);
   border: 1px solid rgba(255, 255, 255, .1);
   border-radius: var(--radius-sm);
   box-shadow: var(--shadow-lg);
   padding: 8px;
   min-width: 230px;
}
#main-menu.sm-clean ul a {
   color: rgba(255, 255, 255, .9) !important;
   padding: 11px 14px;
   border-radius: 9px;
   font-size: 12.5px;
   font-weight: 600;
   letter-spacing: .03em;
}
#main-menu.sm-clean ul a:hover,
#main-menu.sm-clean ul a:focus,
#main-menu.sm-clean ul a:active,
#main-menu.sm-clean ul a.highlighted {
   background: var(--accent) !important;
   color: #fff !important;
}
.navbar-toggler {
   border: 1px solid rgba(255, 255, 255, .4);
   border-radius: 10px;
   padding: .35rem .6rem;
   margin: 8px 0;
}
.navbar-toggler:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* ---------- CAROUSEL ---------- */
.carousel {
   border-radius: var(--radius);
   overflow: hidden;
   background: #0b1120;
   box-shadow: var(--shadow-md);
}
.carousel-inner img {
   display: block;
   width: 100%;
   max-height: 520px;
   object-fit: cover;
}
.carousel-caption {
   border-top: 0;
   color: #fff;
   background: linear-gradient(to top, rgba(1, 50, 98, .92) 0%, rgba(1, 50, 98, 0) 100%);
   opacity: 1;
   right: 0;
   left: 0;
   bottom: 0;
   text-align: left;
   padding: 46px 28px 26px;
}
.carousel-caption p {
   margin: 0;
   font-size: 14.5px;
   text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.carousel-caption h2 {
   color: #fff;
}
.carousel-indicators {
   margin-bottom: 1rem;
   z-index: 3;
}
.carousel-indicators li {
   width: 10px;
   height: 10px;
   margin: 0 4px;
   border: 0;
   border-radius: var(--radius-pill);
   background-color: rgba(255, 255, 255, .55);
   transition: width .22s ease, background-color .22s ease;
}
.carousel-indicators .active {
   width: 26px;
   background-color: var(--accent);
}

/* ---------- PAGE TITLE ---------- */
.page-title {
   position: relative;
   font-size: 19px;
   font-weight: 800;
   line-height: 1.3;
   letter-spacing: -.01em;
   color: var(--ink);
   border-bottom: 0;
   margin: 0 0 18px;
   padding: 0 0 12px;
}
.page-title:after {
   content: "";
   display: block;
   position: absolute;
   left: 0;
   bottom: 0;
   width: 64px;
   height: 3px;
   padding: 0;
   border: 0;
   border-radius: 3px;
   background: linear-gradient(90deg, var(--accent), var(--brand-soft));
}
footer .page-title {
   color: #fff;
   font-size: 15px;
   letter-spacing: .04em;
   text-transform: uppercase;
   margin-bottom: 16px;
}
footer .page-title:after {
   border: 0;
   background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

/* ---------- QUOTE / MARQUEE ---------- */
div.quote {
   overflow: hidden;
   background: linear-gradient(115deg, var(--brand) 0%, var(--brand-deep) 100%);
   border-radius: var(--radius);
   box-shadow: var(--shadow-sm);
}
.quote-title {
   font-size: 11.5px;
   font-weight: 800;
   letter-spacing: .08em;
   text-transform: uppercase;
   display: inline-block;
   padding: 15px 18px;
   color: #FFF;
   float: left;
   background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
   left: 0px;
   top: 0px;
   height: 50px;
}
ul.quote {
   display: block;
   padding: 0;
   margin: 0;
   list-style: none;
   line-height: 1;
   position: relative;
   overflow: hidden;
   height: 50px;
   background-color: transparent;
}
ul.quote li {
   color: #fff;
   position: absolute;
   top: -950em;
   left: 0;
   display: block;
   white-space: nowrap;
   font: 500 13.5px/1.5 "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
   padding: 17px 15px 15px 15px;
}
ul.quote li span {
   color: var(--accent-soft);
   font-weight: 700;
}

/* ---------- CARDS ---------- */
.card {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius);
   box-shadow: var(--shadow-sm);
   transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover {
   border-color: #d3dcee;
   box-shadow: var(--shadow-md);
}
.card-body {
   padding: 1.25rem;
}
.card-title {
   font-size: 16.5px;
   font-weight: 700;
   line-height: 1.4;
   color: var(--ink);
   margin-bottom: .5rem;
}
.card-title a {
   color: var(--ink);
   font-weight: 700;
}
.card-title a:hover {
   color: var(--accent);
}
h5.card-title {
   font-size: 16.5px;
   font-weight: 700;
}
.card-text {
   color: var(--muted);
   font-size: 14px;
   line-height: 1.7;
}
.card-footer {
   padding: .9rem 1.25rem;
   background: #fbfcfe;
   border-top: 1px solid var(--line);
   border-radius: 0 0 var(--radius) var(--radius);
}
.card > .card-img,
.card > .card-img-top {
   border-radius: var(--radius) var(--radius) 0 0;
}
.card-img {
   object-fit: cover;
}
/* Markup lama memakai rounded-0; dipertahankan agar tidak ada
   perubahan file view, tetapi tampilannya kini membulat. */
.rounded-0 {
   border-radius: var(--radius) !important;
}
.card-img.rounded-0 {
   border-radius: var(--radius-sm) !important;
}
.border-secondary {
   border-color: var(--line) !important;
}

/* ---------- BUTTONS ---------- */
.btn {
   border-radius: var(--radius-pill);
   font-size: 13.5px;
   font-weight: 700;
   letter-spacing: .02em;
   padding: .55rem 1.15rem;
   transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn.action-button {
   background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
   border: 0;
   color: #fff;
   box-shadow: 0 10px 24px -16px rgba(16, 24, 40, .7);
}
.btn.action-button:hover,
.btn.action-button:focus {
   background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
   color: #fff;
   transform: translateY(-1px);
   box-shadow: var(--shadow-md);
}
.btn-sm.action-button {
   width: 34px;
   height: 34px;
   padding: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 12px;
   border-radius: 50% !important;
   box-shadow: none;
}

/* ---------- FORMS ---------- */
.form-control {
   height: auto;
   padding: .55rem .85rem;
   font-size: 14px;
   color: var(--ink);
   background-color: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-sm);
   transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus {
   border-color: var(--accent);
   box-shadow: var(--ring);
}
label,
.control-label {
   font-size: 13px;
   font-weight: 600;
   color: var(--ink);
}
.form-check-input {
   margin-top: .3rem;
}
.form-check-label {
   font-size: 14px;
   font-weight: 500;
}
.input-group > .form-control {
   border-top-right-radius: 0;
   border-bottom-right-radius: 0;
}
.input-group-append .btn {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0;
}

/* ---------- SIDEBAR ---------- */
.sidebar .page-title {
   font-size: 15px;
   letter-spacing: .03em;
}
.sidebar .card-title {
   font-size: 15.5px;
}
.sidebar .card:hover {
   transform: none;
}
.sidebar .list-group-item {
   border: 1px solid var(--line);
}
.list-group-item {
   margin-bottom: 8px;
   padding: .7rem .9rem;
   font-size: 13.5px;
   font-weight: 600;
   color: var(--ink);
   background-color: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-sm) !important;
   transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.list-group-item-action:hover,
.list-group-item-action:focus {
   background-color: #f7f9fe;
   border-color: #d3dcee;
   color: var(--accent);
   transform: translateX(2px);
}
.list-group-item h6 {
   margin: 0;
   font-size: 13.5px;
   font-weight: 700;
}

/* ---------- CONTENT WRAPPER ---------- */
section.content {
   padding: 6px 0 42px;
}

/* ---------- MEDIA ---------- */
.embed-responsive {
   overflow: hidden;
   border-radius: var(--radius-sm);
   background: #0b1120;
   box-shadow: var(--shadow-sm);
}
.mapouter {
   overflow: hidden;
   border-radius: var(--radius);
}
.gmap_canvas iframe {
   display: block;
   width: 100%;
   min-height: 320px;
   border: 0;
}

/* ---------- TABLE ---------- */
.table {
   font-size: 13.5px;
   background-color: #fff;
}
.table thead th {
   font-size: 11.5px;
   font-weight: 800;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--muted);
   background-color: #f8fafe;
   border-bottom: 2px solid var(--line);
}
.table td,
.table th {
   color: var(--ink);
   border-color: var(--line);
   vertical-align: middle;
}

/* ---------- DEFINITION LISTS ---------- */
dt {
   font-weight: 700;
   color: var(--ink);
}
dd {
   margin-bottom: .4rem;
   color: var(--muted);
}

/* ---------- FOOTER ---------- */
footer {
   color: rgba(255, 255, 255, .82);
   font-size: 13.5px;
}
footer .primary-footer {
   padding: 46px 0 34px;
   background: linear-gradient(150deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-soft) 100%);
}
footer .secondary-footer {
   padding: 14px 0;
   background-color: var(--brand-deep);
   border-top: 1px solid rgba(255, 255, 255, .12);
}
footer .copyright {
   color: rgba(255, 255, 255, .7);
   padding: 0;
}
footer a {
   color: rgba(255, 255, 255, .88);
   font-weight: 600;
}
footer a:hover {
   color: var(--accent-soft);
}
footer dl {
   margin-bottom: 0;
}
footer dt {
   margin-bottom: 2px;
   font-size: 11.5px;
   font-weight: 600;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: rgba(255, 255, 255, .58);
}
footer dd {
   margin-bottom: 12px;
   color: #fff;
   font-weight: 500;
}
.primary-footer nav ol.breadcrumb {
   background-color: transparent;
}

/* ---------- SOCIAL ---------- */
.social-icon {
   width: 42px;
   height: 42px;
   padding-top: 13px;
   margin-right: 10px;
   font-size: 16px;
   text-align: center;
   color: #fff;
   background-color: rgba(255, 255, 255, .14);
   border-radius: 50%;
   transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}
.social-icon:hover {
   transform: translateY(-2px);
   opacity: .92;
}
.linked-in {
   background-color: #007bb6;
}
.facebook {
   background-color: #3b5998;
}
.twitter {
   background-color: #1da1f2;
}
.instagram {
   background: linear-gradient(45deg, #f09433 0%, #dc2743 55%, #bc1888 100%);
}
.youtube {
   background-color: #ef4e17;
}

/* ---------- TAGS ---------- */
.tag-content-block {
   display: block;
}
.tag a {
   display: inline-block;
   margin: 0 5px 6px 0;
   padding: 8px 12px;
   font-size: 11px;
   font-weight: 700;
   line-height: 1;
   letter-spacing: .05em;
   text-transform: uppercase;
   text-decoration: none;
   color: #fff;
   background-color: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .28);
   border-radius: var(--radius-pill);
   transition: background-color .18s ease, border-color .18s ease;
}
.tag a:hover {
   color: #fff;
   background-color: var(--accent);
   border-color: var(--accent);
}

/* ---------- FULLSCREEN SEARCH ---------- */
#search_form {
   z-index: 999999;
   position: fixed;
   top: 0px;
   left: 0px;
   width: 100%;
   height: 100%;
   background-color: rgba(6, 12, 32, .94);
   -webkit-backdrop-filter: blur(8px);
   backdrop-filter: blur(8px);
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
   -webkit-transform: translate(0px, -100%) scale(0, 0);
   -moz-transform: translate(0px, -100%) scale(0, 0);
   -o-transform: translate(0px, -100%) scale(0, 0);
   -ms-transform: translate(0px, -100%) scale(0, 0);
   transform: translate(0px, -100%) scale(0, 0);
   opacity: 0;
}
#search_form.open {
   -webkit-transform: translate(0px, 0px) scale(1, 1);
   -moz-transform: translate(0px, 0px) scale(1, 1);
   -o-transform: translate(0px, 0px) scale(1, 1);
   -ms-transform: translate(0px, 0px) scale(1, 1);
   transform: translate(0px, 0px) scale(1, 1);
   opacity: 1;
}
#search_form input[type="search_form"] {
   position: absolute;
   top: 50%;
   width: 100%;
   margin: -51px auto 0;
   padding-left: 30px;
   padding-right: 30px;
   font-size: clamp(22px, 5vw, 54px);
   font-weight: 400;
   text-align: center;
   color: rgb(255, 255, 255);
   background: rgba(0, 0, 0, 0);
   border: 0px;
   outline: none;
}
#search_form input[type="search_form"]::placeholder {
   color: rgba(255, 255, 255, .45);
}
#search_form .btn {
   position: absolute;
   top: 50%;
   left: 50%;
   margin-top: 61px;
   margin-left: -45px;
   border-color: rgba(255, 255, 255, .55);
   color: #fff;
}
#search_form .btn:hover {
   background-color: var(--accent);
   border-color: var(--accent);
}

/* ---------- ACTION BUTTON ALIAS ---------- */
.action-button {
   background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
   color: #fff;
}
.action-button:hover {
   background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
   color: #fff;
}

/* ---------- RETURN TO TOP ---------- */
#return-to-top {
   opacity: 1;
   z-index: 10000;
   position: fixed;
   bottom: 24px;
   right: 24px;
   width: 46px;
   height: 46px;
   display: none;
   text-decoration: none;
   background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
   border-radius: 50%;
   box-shadow: var(--shadow-md);
   transition: transform .2s ease, background .2s ease;
}
#return-to-top i {
   position: relative;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   margin: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 18px;
}
#return-to-top:hover {
   background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
   transform: translateY(-2px);
}
#return-to-top:hover i {
   color: #fff;
}

/* ---------- TOASTR OVERRIDE ---------- */
.toast {
   background-color: #030303;
   border-radius: var(--radius-sm);
}
.toast-success {
   background-color: #00cb18;
}
.toast-error {
   background-color: #ef5137;
}
.toast-info {
   background-color: #4b8df8;
}
.toast-warning {
   background-color: #ffb848;
}
.toast-title,
.toast-message {
   text-align: left;
}

/* ---------- RESPONSIVE ---------- */
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
   body {
      font-size: 14.5px;
   }
   .top-left {
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
   .top-header {
      flex-direction: column;
      gap: 10px;
      text-align: center;
   }
   .top-header img {
      width: 56px;
      height: 56px;
   }
   .card-body {
      padding: 1rem;
   }
   section.content {
      padding: 0 0 32px;
   }
   footer .primary-footer {
      padding: 32px 0 22px;
   }
   .carousel-inner img {
      max-height: 300px;
   }
   #search_form input[type="search_form"] {
      padding-left: 18px;
      padding-right: 18px;
   }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
   .top-left {
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
   .top-left {
      text-align: center !important;
   }
   .top-right {
      display: none;
   }
}

/* Navigation collapses below lg: stack the menu items */
@media (max-width: 991.98px) {
   #main-menu {
      display: block;
      padding: 6px 0;
   }
   #main-menu > li {
      display: block;
      border-top: 1px solid rgba(255, 255, 255, .14);
   }
   #main-menu > li:first-child {
      border-top: 0;
   }
   #main-menu > li > a {
      padding: 13px 6px;
   }
   #main-menu > li > a::after {
      display: none;
   }
   #main-menu.sm-clean ul {
      min-width: 200px;
   }
   .page-title {
      font-size: 17px;
   }
}
