/* ============================================
   ROOT VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #4154f1;
    --secondary-color: #012970;
    --text-primary: #012970;
    --footer-color: #012970;
    --header-top-color: #012970;
    --button-color: #4154f1;
    --hover-color: #012970;
}

/* ============================================
   ANIMASI SCROLL REVEAL (AOS)
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ============================================
   ANIMASI GLOBAL
   ============================================ */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

@keyframes progressAnim {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary, #012970);
    margin-bottom: 10px;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color, #4154f1);
    margin: 15px auto;
    border-radius: 2px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   OFF CANVAS MENU
   ============================================ */
.offcanvas {
    max-width: 320px;
    background: #ffffff;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #012970);
}

.offcanvas-brand img {
    height: 40px;
}

.offcanvas-body {
    padding: 16px 0;
}

.offcanvas .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.offcanvas .nav-item:last-child {
    border-bottom: none;
}

.offcanvas .nav-link {
    padding: 12px 20px;
    color: var(--text-primary, #012970) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    color: var(--primary-color, #4154f1) !important;
    background: #f0f3ff;
    border-left-color: var(--primary-color, #4154f1);
}

.offcanvas .nav-link i {
    width: 24px;
    text-align: center;
}

.offcanvas .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 20px;
    border-radius: 0;
    border-left: 2px solid var(--primary-color, #4154f1);
    margin: 0;
    width: 100%;
}

.offcanvas .dropdown-item {
    padding: 10px 16px;
    color: var(--text-primary, #012970) !important;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.offcanvas .dropdown-item:hover {
    background: transparent !important;
    color: var(--primary-color, #4154f1) !important;
    border-left-color: var(--primary-color, #4154f1);
    padding-left: 20px;
}

.offcanvas .dropdown-toggle::after {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.offcanvas .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.offcanvas-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-footer a {
    transition: all 0.3s ease;
}

.offcanvas-footer a:hover {
    color: var(--primary-color, #4154f1) !important;
}

.offcanvas-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

/* ============================================
   MARQUEE PENGUMUMAN
   ============================================ */
.marquee-wrapper {
    background: linear-gradient(135deg, var(--primary-color, #4154f1), var(--secondary-color, #012970));
    padding: 8px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.marquee-label {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-label i {
    animation: blink 1.5s ease-in-out infinite;
}

.marquee-content marquee {
    flex: 1;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.marquee-link {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 500;
}

.marquee-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
    background: rgba(255, 255, 255, 0.15);
}

.marquee-item {
    margin: 0 15px;
    display: inline-block;
}

.marquee-item .marquee-date {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.marquee-separator {
    margin: 0 15px;
    opacity: 0.3;
    color: #ffffff;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider .carousel-item {
    height: 650px;
    position: relative;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
    text-align: left;
}

.hero-slider .carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-slider .carousel-caption p {
    font-size: 1.3rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    background: var(--button-color, #4154f1) !important;
    border-color: var(--button-color, #4154f1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    background: var(--hover-color, #012970) !important;
    border-color: var(--hover-color, #012970) !important;
}

/* ============================================
   STATISTIK SECTION
   ============================================ */
.statistik-section {
    background: linear-gradient(135deg, var(--secondary-color, #012970) 0%, var(--primary-color, #4154f1) 100%) !important;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.statistik-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: floatBubble 8s ease-in-out infinite;
}

.statistik-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    animation: floatBubble 10s ease-in-out infinite reverse;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    height: 100%;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover .stat-icon {
    background: #fff;
    color: var(--primary-color, #4154f1);
    transform: scale(1.1) rotate(-10deg);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.stat-number .suffix {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.stat-progress {
    width: 60%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 12px auto 0;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    animation: progressAnim 2s ease forwards;
}

.stat-item:nth-child(1) .stat-progress-bar { animation-delay: 0.2s; }
.stat-item:nth-child(2) .stat-progress-bar { animation-delay: 0.4s; }
.stat-item:nth-child(3) .stat-progress-bar { animation-delay: 0.6s; }
.stat-item:nth-child(4) .stat-progress-bar { animation-delay: 0.8s; }

/* ============================================
   JURUSAN CARD (HOME)
   ============================================ */
.jurusan-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #f0f3ff;
    position: relative;
    overflow: hidden;
}

.jurusan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #4154f1), var(--secondary-color, #012970));
    transform: scaleX(0);
    transition: transform 0.5s;
}

.jurusan-card:hover::before {
    transform: scaleX(1);
}

.jurusan-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(65, 84, 241, 0.15);
    border-color: var(--primary-color, #4154f1);
}

.jurusan-card .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color, #4154f1);
    transition: all 0.5s;
}

.jurusan-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-color, #4154f1), var(--secondary-color, #012970));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.jurusan-card h5 {
    font-weight: 700;
    color: var(--text-primary, #012970);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.jurusan-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.jurusan-card .btn-link {
    color: var(--primary-color, #4154f1);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jurusan-card .btn-link:hover {
    color: var(--secondary-color, #012970);
}

.jurusan-card .btn-link i {
    transition: transform 0.3s;
}

.jurusan-card .btn-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   FASILITAS
   ============================================ */
.fasilitas-section {
    background: #f8faff;
    padding: 70px 0;
}

.fasilitas-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid #f0f3ff;
}

.fasilitas-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(65, 84, 241, 0.12);
    border-color: var(--primary-color, #4154f1);
}

.fasilitas-item .icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color, #4154f1);
    transition: all 0.4s;
}

.fasilitas-item:hover .icon {
    background: linear-gradient(135deg, var(--primary-color, #4154f1), var(--secondary-color, #012970));
    color: #fff;
    transform: scale(1.1);
}

.fasilitas-item h6 {
    font-weight: 600;
    color: var(--text-primary, #012970);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.fasilitas-item p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    padding: 70px 0;
    color: #fff;
}

.video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    aspect-ratio: 16/9;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 70px 0;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-light {
    padding: 16px 55px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: none;
}

.cta-section .btn-light:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* ============================================
   JURUSAN PAGE
   ============================================ */
.jurusan-stats {
    background: linear-gradient(135deg, var(--secondary-color, #012970) 0%, var(--primary-color, #4154f1) 100%);
    border-radius: 16px;
    padding: 20px 25px;
    color: #fff;
}

.jurusan-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.jurusan-stats .stat-card i {
    font-size: 2rem;
}

.jurusan-stats .stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.jurusan-stats .stat-card .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.jurusan-card-modern {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.jurusan-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(65, 84, 241, 0.12) !important;
}

.jurusan-card-modern .jurusan-image-wrapper {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.jurusan-card-modern .jurusan-image-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jurusan-card-modern:hover .jurusan-image-wrapper .card-img-top {
    transform: scale(1.05);
}

.jurusan-card-modern .jurusan-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.5rem;
}

.jurusan-card-modern .card-body {
    padding: 20px;
    position: relative;
}

.jurusan-card-modern .jurusan-icon-wrapper {
    width: 55px;
    height: 55px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color, #4154f1);
    margin-top: -35px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(65, 84, 241, 0.15);
    transition: all 0.3s ease;
}

.jurusan-card-modern:hover .jurusan-icon-wrapper {
    background: var(--primary-color, #4154f1);
    color: #fff;
    transform: scale(1.05) rotate(-5deg);
}

.jurusan-card-modern .card-title {
    color: var(--text-primary, #012970);
    font-size: 1.1rem;
}

.jurusan-card-modern .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jurusan-card-modern .btn-primary {
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jurusan-card-modern .btn-primary:hover {
    transform: translateX(5px);
}

.detail-card {
    border-radius: 16px;
    overflow: hidden;
}

.detail-image-wrapper {
    position: relative;
    overflow: hidden;
}

.detail-image-wrapper .card-img-top {
    height: 350px;
    object-fit: cover;
}

.detail-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.detail-badge .badge {
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 500;
}

.jurusan-icon-large {
    width: 60px;
    height: 60px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color, #4154f1);
    flex-shrink: 0;
}

.detail-title {
    color: var(--text-primary, #012970);
    font-size: 1.8rem;
}

.detail-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f3ff;
}

.detail-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-card {
    border-radius: 16px;
    border-top: 4px solid var(--primary-color, #4154f1);
}

.sidebar-title {
    color: var(--text-primary, #012970);
    font-size: 0.95rem;
}

.guru-list .guru-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3ff;
}

.guru-list .guru-item:last-child {
    border-bottom: none;
}

.guru-avatar img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #f0f3ff;
}

.guru-info {
    flex: 1;
}

.guru-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary, #012970);
}

.guru-mapel {
    display: block;
    font-size: 0.78rem;
    color: #6c757d;
}

.mapel-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f3ff;
}

.mapel-accordion .accordion-item:last-child {
    border-bottom: none;
}

.mapel-accordion .accordion-button {
    padding: 12px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    box-shadow: none !important;
}

.mapel-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-color, #4154f1);
}

.mapel-accordion .accordion-button .kelas-badge {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--primary-color, #4154f1);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 10px;
}

.mapel-accordion .accordion-button .kelas-label {
    flex: 1;
}

.mapel-accordion .accordion-body {
    padding: 8px 8px 12px;
}

.mapel-list li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: #495057;
}

/* ============================================
   BERITA
   ============================================ */
.berita-stats {
    background: linear-gradient(135deg, var(--secondary-color, #012970) 0%, var(--primary-color, #4154f1) 100%);
    border-radius: 16px;
    padding: 20px 25px;
    color: #fff;
}

.berita-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.berita-stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.berita-stats .stat-card i {
    font-size: 2rem;
}

.berita-stats .stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.berita-stats .stat-card .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.berita-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(65, 84, 241, 0.1) !important;
}

.berita-image-wrapper {
    position: relative;
    overflow: hidden;
}

.berita-image-wrapper .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-card:hover .berita-image-wrapper .card-img-top {
    transform: scale(1.05);
}

.berita-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.berita-badge .badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.berita-card .card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary, #012970);
}

.berita-card .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

.berita-card .btn-primary {
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.berita-card .btn-primary:hover {
    transform: translateX(5px);
}

.berita-card-home {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.berita-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(65, 84, 241, 0.1) !important;
}

.berita-card-home .berita-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.berita-card-home .berita-image-wrapper .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-card-home:hover .berita-image-wrapper .card-img-top {
    transform: scale(1.05);
}

.berita-card-home .berita-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.berita-card-home .berita-badge .badge {
    font-size: 0.7rem;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.berita-card-home .card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.berita-card-home .card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary, #012970);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-card-home .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.berita-card-home .btn-primary {
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    background: var(--button-color, #4154f1) !important;
    border: none !important;
}

.berita-card-home .btn-primary:hover {
    transform: translateX(5px);
    background: var(--hover-color, #012970) !important;
}

/* ============================================
   GALERI
   ============================================ */
.gallery-stats {
    background: linear-gradient(135deg, var(--secondary-color, #012970) 0%, var(--primary-color, #4154f1) 100%);
    border-radius: 16px;
    padding: 20px 25px;
    color: #fff;
}

.gallery-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.gallery-stats .stat-card i {
    font-size: 2rem;
    flex-shrink: 0;
}

.gallery-stats .stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.gallery-stats .stat-card .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.section-sub-header {
    margin-bottom: 20px;
}

.section-sub-header .divider-small {
    width: 40px;
    height: 3px;
    background: var(--primary-color, #4154f1);
    border-radius: 2px;
    margin-top: 8px;
}

.album-section {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f3ff;
}

.album-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(65, 84, 241, 0.12);
}

.album-card .album-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.album-card .album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.05);
}

.album-card .album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 41, 112, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    color: #fff;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-card .album-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.album-card .album-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
}

.album-card .album-info {
    padding: 12px 15px;
}

.album-card .album-info h6 {
    color: var(--text-primary, #012970);
    font-size: 0.95rem;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.galeri-grid .galeri-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.galeri-grid .galeri-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.galeri-grid .galeri-item:nth-child(6) {
    grid-column: span 2;
}

.galeri-grid .galeri-item:nth-child(11) {
    grid-column: span 2;
}

.galeri-grid .galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galeri-grid .galeri-item:hover img {
    transform: scale(1.08);
}

.galeri-grid .galeri-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 41, 112, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    color: #fff;
}

.galeri-grid .galeri-item:hover .overlay {
    opacity: 1;
}

.galeri-grid .galeri-item .overlay-content {
    text-align: center;
}

.galeri-grid .galeri-item .overlay-content i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 5px;
}

.galeri-grid .galeri-item .overlay-content .overlay-title {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    max-width: 90%;
    margin: 0 auto;
}

.galeri-item.hidden {
    display: none;
}

.btn-load-more {
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(65, 84, 241, 0.2);
}

.empty-state {
    background: #f8faff;
    border-radius: 16px;
    padding: 60px 20px !important;
}

.modal-content {
    border-radius: 16px;
    overflow: hidden;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f3ff;
}

/* ============================================
   PRESTASI
   ============================================ */
.prestasi-section {
    background: linear-gradient(180deg, #f8faff, #fff);
    padding: 70px 0;
}

.prestasi-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ffc107;
    transition: all 0.4s;
    height: 100%;
}

.prestasi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.prestasi-card .badge {
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
}

.prestasi-card h5 {
    font-weight: 600;
    color: #012970;
    margin: 10px 0;
}

/* ============================================
   KONTAK
   ============================================ */
.maps-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary-color, #4154f1);
}

.maps-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(65, 84, 241, 0.12) !important;
}

.maps-wrapper {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.maps-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

.maps-placeholder {
    padding: 50px 20px;
    background: #f8faff;
}

.maps-placeholder .display-1 {
    font-size: 4rem;
    opacity: 0.3;
    color: #4154f1;
}

.maps-placeholder h5 {
    color: #012970;
    font-weight: 600;
}

.maps-placeholder p {
    color: #6c757d;
}

.social-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    border-width: 2px;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(65, 84, 241, 0.2);
    background: var(--primary-color, #4154f1) !important;
    color: #fff !important;
    border-color: var(--primary-color, #4154f1) !important;
}

.contact-info-card .contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #f0f3ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color, #4154f1);
    margin-right: 14px;
    transition: all 0.3s ease;
}

.contact-info-card .contact-item:hover .contact-icon {
    background: var(--primary-color, #4154f1);
    color: #fff;
    transform: scale(1.05);
}

.contact-info-card hr {
    margin: 20px 0;
    opacity: 0.1;
}

.contact-form-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary-color, #4154f1);
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(65, 84, 241, 0.12) !important;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #eef2f7;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafcff;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color, #4154f1);
    box-shadow: 0 0 0 4px rgba(65, 84, 241, 0.08);
    background: #fff;
}

.contact-form .btn-primary {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    border: none !important;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(65, 84, 241, 0.3);
}

/* ============================================
   SPMB
   ============================================ */
.spmb-card {
    border-radius: 20px;
    border-top: 5px solid var(--primary-color, #4154f1);
}

.spmb-icon {
    width: 80px;
    height: 80px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color, #4154f1);
    margin: 0 auto 20px;
}

.spmb-option {
    background: #f8faff;
    padding: 25px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.spmb-option:hover {
    border-color: var(--primary-color, #4154f1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(65, 84, 241, 0.08);
}

.spmb-option-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color, #4154f1);
    margin: 0 auto 15px;
}

.spmb-form-card {
    border-radius: 20px;
    border-top: 5px solid var(--primary-color, #4154f1);
}

.spmb-form-card .form-control {
    border-radius: 10px;
    border: 2px solid #eef2f7;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.spmb-form-card .form-control:focus {
    border-color: var(--primary-color, #4154f1);
    box-shadow: 0 0 0 4px rgba(65, 84, 241, 0.08);
}
/* ============================================
   PROFIL PAGE
   ============================================ */
.profil-sidebar {
    border-radius: 16px;
    border-top: 4px solid var(--text-primary, #012970);
}

.profil-menu li {
    margin-bottom: 4px;
    list-style: none;
}

/* ===== GUNAKAN INHERIT ===== */
.profil-menu li a,
.profil-menu li a:link,
.profil-menu li a:visited {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-primary, #012970) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: transparent !important;
}

/* ===== TEKS DI DALAM A ===== */
.profil-menu li a span,
.profil-menu li a .text-label {
    color: var(--text-primary, #012970) !important;
}

/* ===== ICON ===== */
.profil-menu li a i {
    width: 20px;
    color: var(--text-primary, #012970) !important;
    transition: all 0.3s ease;
}

/* ===== HOVER ===== */
.profil-menu li a:hover,
.profil-menu li a:focus {
    background: var(--primary-light, #f0f3ff) !important;
    color: var(--text-primary, #012970) !important;
}

.profil-menu li a:hover i,
.profil-menu li a:focus i {
    color: var(--text-primary, #012970) !important;
}

.profil-menu li a:hover span,
.profil-menu li a:hover .text-label {
    color: var(--text-primary, #012970) !important;
}

/* ===== ACTIVE ===== */
.profil-menu li a.active,
.profil-menu li a.active:link,
.profil-menu li a.active:visited {
    background: var(--primary-color, #4154f1) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(65, 84, 241, 0.25);
}

.profil-menu li a.active i {
    color: #ffffff !important;
}

.profil-menu li a.active span,
.profil-menu li a.active .text-label {
    color: #ffffff !important;
}

.profil-menu li a.active:hover {
    color: #ffffff !important;
}

.profil-menu li a.active:hover i {
    color: #ffffff !important;
}

.profil-menu li a.active:hover span {
    color: #ffffff !important;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f8faff;
    border-radius: 10px;
}

.info-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-item label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-item p {
    margin-bottom: 0;
    font-weight: 500;
    color: #2c3e50;
}

.profil-section {
    margin-top: 25px;
}

.profil-section:first-child {
    margin-top: 0;
}

.profil-block {
    border-left: 4px solid var(--primary-color, #4154f1);
}

.guru-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 16px;
    border: 1px solid #f0f3ff;
    transition: all 0.3s ease;
    height: 100%;
}

.guru-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(65, 84, 241, 0.08);
}

.guru-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f3ff;
}

.fasilitas-item-modern {
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #f0f3ff;
    transition: all 0.3s ease;
    gap: 16px;
    height: 100%;
}

.fasilitas-item-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 84, 241, 0.08);
    border-color: var(--primary-color, #4154f1);
}

.fasilitas-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color, #4154f1);
    transition: all 0.3s ease;
}

.fasilitas-item-modern:hover .fasilitas-icon {
    background: var(--primary-color, #4154f1);
    color: #fff;
}

.struktur-placeholder {
    background: #f8faff;
    border-radius: 12px;
}

.misi-list {
    list-style: none;
    padding-left: 0;
}

.misi-list li {
    padding: 6px 0;
    font-size: 1rem;
    color: #2c3e50;
}

/* ============================================
   KALENDER
   ============================================ */
.event-stats {
    background: linear-gradient(135deg, var(--secondary-color, #012970) 0%, var(--primary-color, #4154f1) 100%);
    border-radius: 16px;
    padding: 20px 25px;
    color: #fff;
}

.event-stats .stat-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.event-stats .stat-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.event-stats .stat-badge i {
    font-size: 2rem;
    flex-shrink: 0;
}

.event-stats .stat-badge .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.event-stats .stat-badge .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    display: block;
}

.filter-wrapper {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f3ff;
}

.filter-wrapper .btn-outline-primary {
    border-color: #e9ecef;
    color: #6c757d;
}

.filter-wrapper .btn-outline-primary:hover,
.filter-wrapper .btn-outline-primary.active {
    background: var(--primary-color, #4154f1);
    border-color: var(--primary-color, #4154f1);
    color: #fff;
}

.table-primary-light {
    background: rgba(65, 84, 241, 0.04) !important;
}

.table-primary-light:hover {
    background: rgba(65, 84, 241, 0.08) !important;
}

.table thead th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding: 12px 16px;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: #f8faff;
}

.badge.rounded-circle {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--header-top-color) !important;
    font-size: 13px;
    padding: 6px 0;
}

.top-bar a {
    opacity: 0.8;
    transition: opacity 0.3s;
    text-decoration: none;
}

.top-bar a:hover {
    opacity: 1;
}

.top-bar .row {
    align-items: center;
}

.top-bar .text-start small,
.top-bar .text-end small {
    display: inline-block;
}


/* ============================================
   BERITA TERKAIT - LEBIH KECIL & RESPONSIVE
   ============================================ */

/* ===== RELATED LIST ===== */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-item {
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f3ff;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.related-content:hover {
    transform: translateX(3px);
}

/* ===== IMAGE ===== */
.related-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-image-placeholder {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #4154f1);
    color: #fff;
    font-size: 1.5rem;
}

/* ===== INFO ===== */
.related-info {
    flex: 1;
    min-width: 0;
}

.related-info h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #012970);
    margin: 0 0 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info small {
    font-size: 0.7rem;
    color: #6c757d;
}

.related-info small i {
    font-size: 0.65rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .related-image {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .related-image-placeholder {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }

    .related-info h6 {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .related-content {
        gap: 10px;
    }

    .related-image {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .related-image-placeholder {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1rem;
    }

    .related-info h6 {
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    .related-item {
        padding-bottom: 8px;
    }

    .related-content {
        gap: 8px;
    }

    .related-image {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 6px;
    }

    .related-image-placeholder {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .related-info h6 {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .related-info small {
        font-size: 0.65rem;
    }
}

/* ============================================
   FILTER KALENDER
   ============================================ */
.filter-wrapper {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f3ff;
}

.filter-wrapper .btn-group .btn-outline-primary {
    border-color: #e9ecef;
    color: #6c757d;
    background: #fff;
    font-weight: 500;
    padding: 6px 18px;
    transition: all 0.3s ease;
}

.filter-wrapper .btn-group .btn-outline-primary:hover {
    background: var(--primary-color, #4154f1);
    border-color: var(--primary-color, #4154f1);
    color: #fff;
}

/* ===== TOMBOL AKTIF - JELAS ===== */
.filter-wrapper .btn-group .btn-outline-primary.active {
    background: var(--primary-color, #4154f1) !important;
    border-color: var(--primary-color, #4154f1) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(65, 84, 241, 0.25);
}

.filter-wrapper .btn-group .btn-outline-primary.active:hover {
    background: var(--hover-color, #012970) !important;
    border-color: var(--hover-color, #012970) !important;
    color: #ffffff !important;
}
/* ============================================
   VISI & MISI CONTENT
   ============================================ */
.visi-content,
.misi-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
}

.visi-content ul,
.misi-content ul {
    padding-left: 20px;
    list-style: none;
}

.visi-content ul li,
.misi-content ul li {
    padding: 6px 0;
    position: relative;
    padding-left: 28px;
}

.visi-content ul li::before,
.misi-content ul li::before {
    content: '\f26a';
    font-family: 'bootstrap-icons';
    color: #28a745;
    position: absolute;
    left: 0;
    top: 6px;
}

.visi-content p,
.misi-content p {
    margin-bottom: 10px;
}

.visi-content strong,
.misi-content strong {
    color: var(--text-primary, #012970);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {

    .visi-content,
    .misi-content {
        font-size: 0.95rem;
    }

    .visi-box,
    .misi-box {
        padding: 16px !important;
    }
}/* ============================================
   FOOTER - ONLINE INFO
   ============================================ */
footer .border-top.border-light {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease;
}

footer .text-white-50 i {
    width: 16px;
    text-align: center;
}

footer .text-white-50:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ============================================
   STICKY SIDEBAR
   ============================================ */
.sidebar-sticky {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   SIDEBAR RELATED & POPULAR
   ============================================ */
.sidebar-related {
    border-radius: 16px;
    border-top: 4px solid var(--primary-color, #4154f1);
}

.sidebar-related .related-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f3ff;
}

.sidebar-related .related-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.related-image {
    width: 55px;
    height: 55px;
    min-width: 55px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-image-placeholder {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #4154f1);
    color: #fff;
    font-size: 1.2rem;
}

.related-info h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary, #012970);
    margin: 0 0 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info small {
    font-size: 0.65rem;
    color: #6c757d;
}

/* ============================================
   TAG ITEMS
   ============================================ */
.tag-item {
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item .badge {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-item:hover .badge {
    background: var(--primary-color, #4154f1) !important;
    color: #fff !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 576px) {
    .related-image {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .related-image-placeholder {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1rem;
    }

    .related-info h6 {
        font-size: 0.75rem;
    }
}
/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination-wrapper .pagination {
    gap: 5px;
}

.pagination-wrapper .page-link {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
    background: var(--primary-color, #4154f1);
    color: #fff;
    border-color: var(--primary-color, #4154f1);
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--primary-color, #4154f1);
    border-color: var(--primary-color, #4154f1);
    color: #fff;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary-color, #4154f1);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 30px rgba(65, 84, 241, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    text-decoration: none !important;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--secondary-color, #012970);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(65, 84, 241, 0.5);
    color: #fff !important;
}

.back-to-top i {
    transition: transform 0.3s;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--footer-color, #012970) !important;
    color: var(--warna-teks-footer, #ffffff);
    padding: 50px 0 20px;
    margin-top: 40px;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: var(--warna-teks-footer, #ffffff) !important;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color, #4154f1);
    border-radius: 2px;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

/* ===== FOOTER LINK ===== */
footer ul li a,
footer ul li a:link,
footer ul li a:visited {
    color: var(--warna-teks-footer, #ffffff) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.85;
}

footer ul li a:hover {
    color: var(--warna-teks-footer, #ffffff) !important;
    opacity: 1 !important;
    transform: translateX(5px);
}

/* ===== FOOTER LINK - CLASS KHUSUS ===== */
.footer-link,
.footer-link:link,
.footer-link:visited {
    color: var(--warna-teks-footer, #ffffff) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.85;
}

.footer-link .footer-link-text {
    color: var(--warna-teks-footer, #ffffff) !important;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--warna-teks-footer, #ffffff) !important;
    opacity: 1 !important;
    transform: translateX(5px);
}

.footer-link:hover .footer-link-text {
    color: var(--warna-teks-footer, #ffffff) !important;
}

/* ===== SOCIAL ICON ===== */
footer .social-icon {
    display: inline-block;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    color: var(--warna-teks-footer, #ffffff) !important;
    margin-right: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



footer .social-icon:hover {
    background: var(--primary-color, #4154f1);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(65, 84, 241, 0.3);
    color: #ffffff !important;
}

/* ===== FOOTER TEXT ===== */
footer p,
footer .small {
    color: var(--warna-teks-footer, #ffffff) !important;
    opacity: 0.8;
}

footer .text-center p {
    color: var(--warna-teks-footer, #ffffff) !important;
    opacity: 0.7;
}

/* ===== FOOTER HR ===== */
footer hr {
    border-color: var(--warna-teks-footer, #ffffff)15 !important;
    margin: 30px 0 20px;
    opacity: 0.3;
}


/* ============================================
   FOOTER CREDIT
   ============================================ */
.footer-credit,
.footer-credit:link,
.footer-credit:visited {
    color: var(--warna-teks-footer, #ffffff) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-credit:hover {
    color: var(--warna-teks-footer, #ffffff) !important;
    text-decoration: underline !important;
}
/* ============================================
   FOOTER - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    footer .social-icon {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 30px 0 15px;
    }

    footer .social-icon {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 0.8rem;
        margin-right: 5px;
    }
}
/* ============================================
   RESPONSIVE GLOBAL
   ============================================ */
@media (max-width: 992px) {
    .hero-slider .carousel-item { height: 500px; }
    .hero-slider .carousel-caption h2 { font-size: 2.5rem; }
    .galeri-grid { grid-template-columns: repeat(3, 1fr); }
    .galeri-grid .galeri-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .galeri-grid .galeri-item:nth-child(6) { grid-column: span 2; }
    .galeri-grid .galeri-item:nth-child(11) { grid-column: span 2; }
    .maps-wrapper iframe { height: 280px; }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 400px; }
    .hero-slider .carousel-caption h2 { font-size: 1.8rem; }
    .hero-slider .carousel-caption p { font-size: 0.9rem; }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .galeri-grid .galeri-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .galeri-grid .galeri-item:nth-child(6) { grid-column: span 2; }
    .galeri-grid .galeri-item:nth-child(11) { grid-column: span 2; }
    .event-stats .stat-badge { padding: 8px 12px; gap: 10px; }
    .event-stats .stat-badge .stat-number { font-size: 1.3rem; }
    .event-stats .stat-badge i { font-size: 1.5rem; }
    .jurusan-stats .stat-card { padding: 8px 12px; gap: 10px; }
    .jurusan-stats .stat-card .stat-number { font-size: 1.3rem; }
    .jurusan-stats .stat-card i { font-size: 1.5rem; }
    .jurusan-card-modern .jurusan-image-wrapper { height: 150px; }
    .detail-image-wrapper .card-img-top { height: 250px; }
    .detail-title { font-size: 1.4rem; }
    .jurusan-icon-large { width: 50px; height: 50px; font-size: 1.5rem; }
    .berita-image-wrapper .card-img-top { height: 180px; }
    .berita-card .card-title { font-size: 0.95rem; }
    .berita-card-home .berita-image-wrapper { height: 180px; }
    .berita-card-home .card-title { font-size: 0.95rem; }
    .berita-card-home .card-text { font-size: 0.85rem; }
    .berita-card-home .btn-primary { font-size: 0.78rem; padding: 5px 16px; }
    .gallery-stats .stat-card { padding: 8px 12px; gap: 10px; }
    .gallery-stats .stat-card .stat-number { font-size: 1.3rem; }
    .gallery-stats .stat-card i { font-size: 1.5rem; }
    .album-card .album-overlay i { font-size: 1.5rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-section .btn { padding: 14px 35px; font-size: 0.95rem; }
    .detail-content { font-size: 0.95rem; }
    .maps-wrapper iframe { height: 220px; }
    .contact-info-card .contact-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; }
    .contact-form .form-control { font-size: 0.9rem; padding: 8px 12px; }
    .contact-form .btn-primary { font-size: 0.95rem; padding: 10px; }
    .profil-logo-wrapper { width: 80px; height: 80px; }
    .guru-card { padding: 15px 10px; }
    .guru-avatar img { width: 60px; height: 60px; }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item { height: 300px; }
    .hero-slider .carousel-caption h2 { font-size: 1.3rem; }
    .hero-slider .carousel-caption p { font-size: 0.8rem; }
    .btn-hero { padding: 10px 25px; font-size: 0.85rem; }
    .galeri-grid { gap: 8px; }
    .galeri-grid .galeri-item .overlay-content i { font-size: 1.5rem; }
    .galeri-grid .galeri-item .overlay-content .overlay-title { font-size: 0.7rem; }
    .gallery-stats .stat-card { padding: 6px 10px; gap: 8px; flex-direction: column; text-align: center; }
    .gallery-stats .stat-card .stat-number { font-size: 1.1rem; }
    .gallery-stats .stat-card .stat-label { font-size: 0.65rem; }
    .gallery-stats .stat-card i { font-size: 1.2rem; }
    .event-stats .stat-badge { flex-direction: column; text-align: center; gap: 2px; padding: 6px 10px; }
    .event-stats .stat-badge i { font-size: 1.2rem; }
    .event-stats .stat-badge .stat-number { font-size: 1.1rem; }
    .event-stats .stat-badge .stat-label { font-size: 0.65rem; }
    .filter-wrapper .d-flex { flex-wrap: wrap; justify-content: center !important; }
    .filter-wrapper .btn-group { flex-wrap: wrap; }
    .jurusan-stats .stat-card { padding: 6px 10px; gap: 8px; }
    .jurusan-stats .stat-card .stat-number { font-size: 1.1rem; }
    .jurusan-stats .stat-card .stat-label { font-size: 0.65rem; }
    .jurusan-card-modern .jurusan-image-wrapper { height: 130px; }
    .detail-image-wrapper .card-img-top { height: 200px; }
    .detail-title { font-size: 1.2rem; }
    .detail-meta { font-size: 0.8rem; }
    .detail-meta span { display: block; margin-left: 0 !important; }
    .share-btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .detail-content { font-size: 0.9rem; line-height: 1.7; }
    .berita-image-wrapper .card-img-top { height: 150px; }
    .berita-card .card-title { font-size: 0.9rem; }
    .berita-card .card-text { font-size: 0.85rem; }
    .berita-card-home .berita-image-wrapper { height: 160px; }
    .berita-card-home .card-body { padding: 14px 16px 16px; }
    .berita-card-home .card-title { font-size: 0.9rem; }
    .berita-card-home .card-text { font-size: 0.82rem; }
    .berita-card-home .berita-badge .badge { font-size: 0.6rem; padding: 4px 10px; }
    .kontak-section { padding: 20px 0; }
    .maps-wrapper iframe { height: 180px; }
    .contact-info-card .card-body, .contact-form-card .card-body { padding: 16px !important; }
    .social-btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .maps-placeholder { padding: 30px 15px; }
    .maps-placeholder .display-1 { font-size: 3rem; }
    .back-to-top { width: 40px; height: 40px; font-size: 1.1rem; bottom: 20px; right: 20px; }
    /* .footer-credit { display: inline-block; } */
    .top-bar { font-size: 11px; padding: 4px 0; }
    .top-bar .col-12.text-center { padding: 2px 0; }
    .top-bar .text-start, .top-bar .text-end { text-align: center !important; }
    .top-bar .d-none.d-sm-inline { display: none !important; }
    .top-bar .ms-md-3 { margin-left: 0 !important; }
    .top-bar a { padding: 0 4px; }
    .offcanvas { max-width: 280px; }
    .offcanvas .nav-link { font-size: 0.9rem; padding: 10px 16px; }
    .offcanvas .dropdown-item { font-size: 0.85rem; padding: 8px 16px; }
    .detail-image-wrapper .card-img-top { height: 180px; }
    .guru-avatar img { width: 34px; height: 34px; }
    .berita-stats .stat-card { padding: 6px 10px; gap: 8px; }
    .berita-stats .stat-card .stat-number { font-size: 1.1rem; }
    .berita-stats .stat-card .stat-label { font-size: 0.65rem; }
    .kategori-list li a { font-size: 0.85rem; padding: 6px 10px; }
    .marquee-wrapper { padding: 6px 0; }
    .marquee-label { font-size: 0.55rem; padding: 3px 10px; }
    .marquee-label i { font-size: 0.6rem; }
    .marquee-content marquee { font-size: 0.7rem; }
    .marquee-item { margin: 0 5px; }
    .marquee-separator { margin: 0 5px; }
    .navbar-brand span { font-size: 0.85rem; }
    .navbar-brand img { height: 32px; }
    .statistik-section { padding: 40px 0; }
    .stat-item { padding: 15px 10px; border-radius: 12px; }
    .stat-number { font-size: 1.8rem; }
    .stat-icon { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 8px; }
    .stat-label { font-size: 0.7rem; letter-spacing: 0.5px; }
    .stat-progress { display: none; }
    .video-section { padding: 40px 0; }
    .cta-section { padding: 40px 0; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-section p { font-size: 0.9rem; }
    .cta-section .btn-light { padding: 12px 30px; font-size: 0.85rem; }
}