/* ====================================================================
   PT. SPAD SOLUTION INDONESIA — Enhanced Style.css
   Fitur: Auto-scroll produk, 31 galeri, 31 sekolah, Modern Jakarta map
   Updated: Foto Direktur 4:5 (portrait/vertikal)
   ==================================================================== */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
html { 
    scroll-behavior: smooth; 
    font-size: 16px;
}
body {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    overflow-x: hidden;
    line-height: 1.6;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.3s ease;
}
ul { 
    list-style: none; 
}
img { 
    max-width: 100%; 
    display: block; 
    height: auto;
}
input, textarea, button { 
    font-family: inherit; 
    font-size: inherit;
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}
.loading-screen {
    position: fixed; 
    inset: 0; 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 99999; 
    transition: opacity 0.8s, visibility 0.8s;
}
.loading-screen.hide { 
    opacity: 0; 
    visibility: hidden; 
}
.loading-spinner { 
    position: relative; 
    width: 140px; 
    height: 140px; 
}
.spinner-circle {
    position: absolute; 
    inset: 0;
    border: 6px solid transparent;
    border-top-color: #0F52BA;
    border-right-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
@keyframes spin { 
    to { 
        transform: rotate(360deg); 
    } 
}
.spinner-logo {
    position: absolute; 
    inset: 0;
    display: flex; 
    align-items: center; 
    justify-content: center;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}
.spinner-logo img { 
    width: 60px; 
    height: 60px; 
    border-radius: 12px; 
    object-fit: contain;
}
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000;
    padding: 0.4rem 0;
    background: rgba(255, 250, 250, 0.128);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: padding .3s, box-shadow .3s;
}
.navbar.scrolled { 
    padding: .6rem 0; 
    box-shadow: 0 8px 32px rgba(70, 65, 65, 0.425);
    background: rgba(14, 14, 14, 0.427);
}
.nav-container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: .75rem; 
    transition: transform .3s; 
}
.logo:hover { 
    transform: scale(1.05); 
}
.logo-img { 
    width: 45px; 
    height: 45px;
    object-fit: contain;
}
.logo-text { 
    display: flex; 
    flex-direction: column; 
}
.company-name { 
    color: #ffffff; 
    font-weight: 800; 
    font-size: .9rem; 
    letter-spacing: 1.2px; 
    line-height: 1.2;
}
.company-sub  { 
    color: rgba(255,255,255,.6); 
    font-size: .7rem; 
    letter-spacing: 2.5px; 
    font-weight: 600; 
}

/* ===== MOBILE NAVBAR - lebih ramping ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.25rem 0;
    }
    .logo {
        gap: 0.5rem;
    }
    .logo-img {
        width: 32px;
        height: 32px;
    }
    .company-name {
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }
    .company-sub {
        font-size: 0.6rem;
        letter-spacing: 1.8px;
    }
    .bar {
        width: 18px;
        height: 2px;
    }
    .nav-toggle {
        gap: 4px;
        padding: 0.4rem;
    }
    /* Sesuaikan X animation untuk bar yang lebih kecil */
    .nav-toggle.open .bar-1 {
        transform: translateY(6px) rotate(45deg);
    }
    .nav-toggle.open .bar-3 {
        transform: translateY(-6px) rotate(-45deg);
    }
}
.nav-menu { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
}
.nav-link {
    color: rgba(255,255,255,.85); 
    font-size: .9rem; 
    font-weight: 600;
    position: relative; 
    padding: .5rem 0;
    transition: color .3s, transform .3s;
}
.nav-link::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 0; 
    height: 3px; 
    background: linear-gradient(90deg, #FFB300, #FFA000);
    transition: width .3s;
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active { 
    color: #fff; 
    transform: translateY(-2px); 
}
.nav-link:hover::after, .nav-link.active::after { 
    width: 100%; 
}
.btn-contact {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff !important; 
    padding: .6rem 1.5rem; 
    border-radius: 28px;
    font-weight: 700; 
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 16px rgba(15,82,186,.3);
}
.btn-contact:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 24px rgba(15,82,186,.5); 
}
.btn-contact::after { 
    display: none !important; 
}
.nav-toggle { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: .5rem; 
    z-index: 1001;
}
.bar { 
    width: 22px; 
    height: 2px; 
    background: #fff; 
    border-radius: 2px; 
    transition: transform .3s ease, opacity .3s ease, width .3s ease; 
    display: block;
}
/* X animation when open */
.nav-toggle.open .bar-1 {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-close-item { display: none; }
@media (max-width: 900px) {
    .nav-toggle { 
        display: flex; 
    }
    .nav-menu {
        position: fixed; 
        top: 0; 
        right: -280px; 
        width: 260px; 
        height: 100vh;
        background: #0f172a;
        flex-direction: column; 
        align-items: flex-start;
        padding: 0;
        gap: 0;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        box-shadow: -4px 0 40px rgba(0,0,0,.45);
        overflow-y: auto;
    }
    .nav-menu.open { 
        right: 0; 
    }
    /* Close button inside menu */
    .nav-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: rgba(255,255,255,0.7);
        font-size: 15px;
        cursor: pointer;
        transition: background .2s, color .2s, transform .2s;
        position: absolute;
        top: 18px;
        right: 18px;
    }
    .nav-menu-close:hover {
        background: rgba(255,255,255,0.15);
        color: #fff;
        transform: rotate(90deg);
    }
    /* Menu header area */
    .nav-menu::before {
        content: 'Menu';
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.3);
        padding: 24px 24px 0;
        width: 100%;
        flex-shrink: 0;
    }
    /* Nav links */
    .nav-menu > li {
        width: 100%;
        padding: 0 16px;
    }
    /* Close button li - special layout */
    .nav-close-item {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 18px 18px 4px !important;
    }
    .nav-link { 
        font-size: 0.95rem; 
        width: 100%; 
        padding: 13px 10px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        transition: background .2s, color .2s;
        color: rgba(255,255,255,0.75);
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(255,255,255,0.07);
        color: #fff;
        transform: none;
    }
    .nav-link::after { display: none !important; }
    .nav-link.active {
        color: #FFB300;
        font-weight: 700;
    }
    /* Divider before contact button */
    .nav-menu li:last-child {
        padding: 12px 16px 24px;
        margin-top: 4px;
    }
    .btn-contact { 
        display: block;
        text-align: center;
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 0.88rem;
        font-weight: 700;
    }
    .btn-contact:hover {
        transform: none;
        box-shadow: 0 4px 18px rgba(15,82,186,.45);
    }
}
/* Overlay behind menu */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    transition: opacity .3s;
}
.nav-overlay.active {
    opacity: 1;
}
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.video-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,.85) 0%, rgba(30,41,59,.75) 100%);
}
.platform-ticker {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}
.ticker-track {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}
.ticker-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2rem;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .85rem;
    color: #ffffff;
    white-space: nowrap;
}
.ticker-item i {
    color: #0F52BA;
    font-size: 1rem;
}
.ticker-sep {
    color: #FFB300;
    font-size: 1.2rem;
}
.hero-container-centered {
    position: relative;
    z-index: 11;
    text-align: center;
    width: 100%;
}
.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}
.hero-title {
    font-size: clamp(2.3rem, 1vw, 1rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 8px 24px rgba(0,0,0,.3);
    animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
.text-gradient {
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255,255,255,.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out .2s both;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out .4s both;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 2rem;
    border-radius: 32px;
    font-weight: 700;
    font-size: .95rem;
    transition: all .3s;
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 48px;
}
.btn-primary {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(15,82,186,.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15,82,186,.6);
}
.btn-primary.glow {
    position: relative;
    overflow: hidden;
}
.btn-primary.glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .6s;
}
.btn-primary.glow:hover::before {
    left: 100%;
}
.btn-outline {
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
    transform: translateY(-3px);
}
.konsultasi-carousel-section {
    margin-top: 3rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    animation: fadeInUp 1.4s ease-out .6s both;
}
.konsultasi-label {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.konsultasi-label i {
    color: #FFB300;
    margin-right: .4rem;
}
.konsultasi-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 14px;
}
.konsultasi-carousel-wrapper::before,
.konsultasi-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.konsultasi-carousel-wrapper::before {
    left: 0;
}
.konsultasi-carousel-wrapper::after {
    right: 0;
}
.konsultasi-carousel {
    display: flex;
    gap: 14px;
    width: fit-content;
    animation: konsultasi-scroll 32s linear infinite;
}
.konsultasi-carousel.paused {
    animation-play-state: paused;
}
@keyframes konsultasi-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.konsultasi-card {
    position: relative;
    min-width: 200px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}
.konsultasi-card:hover {
    transform: translateY(-4px) scale(1.03);
}
.konsultasi-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.konsultasi-card:hover img {
    transform: scale(1.08);
}
.konsultasi-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent 20%, rgba(0,0,0,.72) 100%);
    padding: .9rem 1rem .75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity .3s;
}
.konsultasi-card:hover .konsultasi-overlay {
    opacity: 1;
}
.konsultasi-overlay span {
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
}
.konsultasi-overlay small {
    color: rgba(255,255,255,.7);
    font-size: .75rem;
    margin-top: .15rem;
}
@media (max-width: 600px) {
    .konsultasi-card {
        min-width: 150px;
        height: 95px;
    }
    .konsultasi-carousel { gap: 10px; }
    .konsultasi-carousel-wrapper::before,
    .konsultasi-carousel-wrapper::after { width: 30px; }
}
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.sub-heading {
    display: inline-block;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    padding: .5rem 1.5rem;
    border-radius: 24px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(15,82,186,.3);
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.about-section {
    padding: 6rem 0;
    background: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.about-content h3 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.about-content h3 i {
    color: #0F52BA;
}
.about-content p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.stat-box i {
    font-size: 2rem;
    color: #0F52BA;
    margin-bottom: .8rem;
}
.stat-box h4 {
    font-size: .9rem;
    color: #64748b;
    margin-bottom: .3rem;
    font-weight: 600;
}
.stat-box p {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
}
.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}
.main-image {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    width: 100%;
    height: auto;
    transition: transform .5s;
}
.about-image:hover .main-image {
    transform: scale(1.02);
}
.about-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    top: auto;
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #fff;
    padding: .55rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: 0.82rem;
    box-shadow: 0 4px 14px rgba(255,179,0,.35);
    z-index: 2;
}

@media (max-width: 768px) {
    .about-badge {
        padding: .45rem 0.85rem;
        font-size: 0.75rem;
        gap: .35rem;
        border-radius: 16px;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    .about-badge i {
        font-size: 0.8rem;
    }
}
.director-section {
    margin: 4rem 0;
}
.section-sub-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.section-sub-title i {
    color: #0F52BA;
}
.director-card {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s;
}
.director-card:hover {
    transform: translateY(-5px);
}
.director-photo-portrait {
    flex-shrink: 0;
    position: relative;
    width: 240px;
    max-width: 100%;
}
.photo-container {
    position: relative;
    width: 240px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    transition: transform .5s;
}
.director-photo-portrait:hover .photo-container {
    transform: translateY(-5px);
}
.dir-photo-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s;
}
.photo-container:hover .dir-photo-portrait {
    transform: scale(1.05);
}
.photo-frame {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    padding: 1.5rem;
    z-index: 1;
}
.photo-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15,82,186,.4);
}
.photo-signature {
    margin-top: 1rem;
    text-align: center;
}
.signature-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0F52BA, transparent);
    margin: 0 auto .5rem;
}
.signature-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .2rem;
}
.signature-title {
    font-size: .9rem;
    color: #64748b;
    font-weight: 600;
}
.director-info {
    flex: 1;
}
.director-info h4 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: .5rem;
    line-height: 1.2;
}
.director-title {
    color: #0F52BA;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.director-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.5rem;
}
.credential-badge {
    background: rgba(15,82,186,.1);
    color: #0F52BA;
    padding: .5rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .3s;
}
.credential-badge:hover {
    transform: translateY(-2px);
    background: rgba(15,82,186,.15);
}
.director-experience {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(15,82,186,.05);
    border-radius: 16px;
    border-left: 4px solid #0F52BA;
}
.director-experience h5 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.director-experience h5 i {
    color: #0F52BA;
}
.director-experience ul {
    list-style: none;
    padding-left: 0;
}
.director-experience li {
    color: #64748b;
    padding: .4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}
.director-experience li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0F52BA;
    font-weight: 700;
}
.director-quote {
    color: #64748b;
    font-style: italic;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    padding: 1.5rem;
    background: rgba(15,82,186,.03);
    border-radius: 16px;
    border-left: 4px solid #FFB300;
}
.director-quote i.fa-quote-left {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.5rem;
    color: #FFB300;
    opacity: .7;
}
.director-quote i.fa-quote-right {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 1.5rem;
    color: #FFB300;
    opacity: .7;
}
.values-section {
    margin-top: 4rem;
}
.values-grid-fixed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.value-card-fixed {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.value-card-fixed:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 20px rgba(15,82,186,.3);
}
.value-icon i {
    font-size: 1.8rem;
    color: #fff;
}
.value-card-fixed h4 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: .8rem;
}
.value-card-fixed p {
    color: #64748b;
    line-height: 1.6;
}
.products-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.product-carousel-wrapper {
    margin-top: 3rem;
    position: relative;
}
/* Nav arrows */
.product-carousel-wrapper .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(15,82,186,.2);
    color: #0F52BA;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.product-carousel-wrapper .carousel-arrow:hover {
    background: #0F52BA;
    color: #fff;
    box-shadow: 0 6px 20px rgba(15,82,186,.35);
    transform: translateY(-50%) scale(1.08);
}
.product-carousel-wrapper .carousel-arrow.arrow-prev { left: -22px; }
.product-carousel-wrapper .carousel-arrow.arrow-next { right: -22px; }
.product-carousel-wrapper .carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
.product-carousel {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    cursor: grab;
    user-select: none;
}
.product-carousel:active { cursor: grabbing; }
.product-carousel::-webkit-scrollbar { height: 4px; }
.product-carousel::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 99px; }
.product-carousel::-webkit-scrollbar-thumb { background: #0F52BA55; border-radius: 99px; }
.product-card-scroll {
    min-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transition: transform .3s, box-shadow .3s;
}
@media (max-width: 768px) {
    .product-card-scroll {
        min-width: 200px !important;
        max-width: 200px !important;
        width: 200px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.10) !important;
        transition: none !important;
        flex-shrink: 0;
    }
}
@media (max-width: 400px) {
    .product-card-scroll {
        min-width: 175px !important;
        max-width: 175px !important;
        width: 175px !important;
    }
}
.product-card-scroll:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.product-image-scroll {
    height: 220px;
    overflow: hidden;
    position: relative;
}
@media (max-width: 768px) {
    .product-image-scroll {
        height: 145px !important;
    }
}
@media (max-width: 400px) {
    .product-image-scroll {
        height: 125px !important;
    }
}
.product-image-scroll img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.product-card-scroll:hover .product-image-scroll img {
    transform: scale(1.1);
}
.product-content-scroll {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 220px);
}
@media (max-width: 768px) {
    .product-content-scroll {
        padding: 0.85rem 0.9rem 0.9rem !important;
        height: auto !important;
    }
    .product-content-scroll p {
        display: none !important;
    }
    .product-price {
        display: none !important;
    }
    .product-content-scroll h4 {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .btn-view-product-mini {
        padding: 0.6rem 0.7rem !important;
        font-size: 0.78rem !important;
        border-radius: 10px !important;
        gap: 0.35rem !important;
        box-shadow: none !important;
        min-height: 40px !important;
    }
    .btn-view-product-mini:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .product-card-scroll:hover {
        transform: none !important;
        box-shadow: 0 4px 14px rgba(0,0,0,0.10) !important;
    }
    .product-card-scroll:hover .product-image-scroll img {
        transform: none !important;
    }
}
.product-content-scroll h4 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: .5rem;
}
.product-content-scroll p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: .95rem;
    flex-grow: 1;
}
.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0F52BA;
    margin-bottom: 1rem;
}
.btn-view-product-mini {
    width: 100%;
    padding: .8rem;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn-view-product-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15,82,186,.4);
}
.text-center {
    text-align: center;
}
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
    padding: 1rem;
}
.product-modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
}
.modal-content-modern {
    position: relative;
    background: #fff;
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: modalSlideIn .4s ease-out;
}
@keyframes modalSlideIn {
    from { 
        transform: scale(.8) translateY(30px); 
        opacity: 0; 
    }
    to { 
        transform: scale(1) translateY(0); 
        opacity: 1; 
    }
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s, transform .3s;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(0,0,0,.2);
    transform: rotate(90deg);
}
.modal-close i {
    font-size: 1.2rem;
    color: #0f172a;
}
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}
.modal-image-wrap {
    position: relative;
}
.modal-image-main {
    border-radius: 16px;
    overflow: hidden;
}
.modal-image-main img {
    width: 100%;
    height: auto;
    display: block;
}
.modal-badge-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: .85rem;
    box-shadow: 0 4px 12px rgba(255,179,0,.4);
}
.modal-details h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: .8rem;
    line-height: 1.2;
}
.modal-price {
    font-size: 2rem;
    font-weight: 800;
    color: #0F52BA;
    margin-bottom: 1rem;
}
.modal-rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: 1.5rem;
}
.modal-rating i {
    color: #FFB300;
}
.modal-rating span {
    color: #64748b;
    font-size: .9rem;
    margin-left: .5rem;
}
.modal-details p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.product-specs h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.product-specs h4 i {
    color: #0F52BA;
}
.product-specs ul {
    list-style: none;
    margin-bottom: 2rem;
}
.product-specs li {
    padding: .6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}
.product-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0F52BA;
    font-weight: 700;
}
.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.btn-block {
    width: 100%;
    justify-content: center;
}
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .modal-content-modern {
        max-height: 95vh;
    }
    .modal-details h3 {
        font-size: 1.5rem;
    }
    .modal-price {
        font-size: 1.5rem;
    }
    .director-card {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    .director-photo-portrait {
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
    }
    .photo-container {
        width: 100%;
        height: 350px;
        max-width: 280px;
        margin: 0 auto;
    }
    .director-info h4 {
        font-size: 1.5rem;
    }
}
@media (max-width: 600px) {
    .director-card {
        padding: 1rem;
    }
    .photo-container {
        height: 300px;
    }
    .director-quote {
        padding: 1rem;
        font-size: 1rem;
    }
}
.services-section {
    padding: 6rem 0;
    background: #fff;
}
.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.service-card-compact {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.service-card-compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.service-icon-animated {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(15,82,186,.3);
    transition: transform .3s;
}
.service-card-compact:hover .service-icon-animated {
    transform: rotateY(180deg);
}
.service-icon-animated i {
    font-size: 2.2rem;
    color: #fff;
}
.service-card-compact h4 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 1rem;
}
.service-card-compact p {
    color: #64748b;
    line-height: 1.6;
}
.documentation-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.gallery-grid-masonry {
    columns: 3;
    column-gap: 1.5rem;
}
@media (max-width: 900px) {
    .gallery-grid-masonry {
        columns: 2;
    }
}
@media (max-width: 600px) {
    .gallery-grid-masonry {
        columns: 1;
    }
}
.gallery-item-masonry {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transition: transform .3s, box-shadow .3s;
}
.gallery-item-masonry:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.gallery-item-masonry img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s;
}
.gallery-item-masonry:hover img {
    transform: scale(1.08);
}
.gallery-overlay-masonry {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item-masonry:hover .gallery-overlay-masonry {
    opacity: 1;
}
.gallery-overlay-masonry h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: .3rem;
}
.gallery-overlay-masonry p {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
}
.performance-section {
    padding: 6rem 0;
    background: #fff;
}
.performance-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}
.circular-stats-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.circular-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transition: transform .3s;
}
.circular-card:hover {
    transform: translateY(-5px);
}
.circular-progress {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}
.circular-progress svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.circular-progress circle.bg {
    fill: none;
    stroke: rgba(0,0,0,.08);
    stroke-width: 12;
}
.circular-progress circle.progress {
    fill: none;
    stroke: url(#gradient1);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-out;
}
.circular-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}
.circular-card h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: .5rem;
}
.circ-label {
    color: #64748b;
    font-size: .9rem;
}
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.stat-card-modern {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15,82,186,.3);
    transition: transform .3s, box-shadow .3s;
}
.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15,82,186,.5);
}
.stat-icon-modern {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    opacity: .9;
}
.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1;
}
.stat-label-modern {
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    font-weight: 600;
}
.chart-container-modern {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.chart-title {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.chart-title i {
    color: #0F52BA;
}
.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}
.guarantee-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.guarantee-section .section-header .sub-heading {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
}
.guarantee-section .section-header h2 {
    color: #fff;
}
.guarantee-section .section-description {
    color: rgba(255,255,255,.8);
}
.guarantee-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.guarantee-card-modern {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform .3s, background .3s;
    height: 100%;
}
.guarantee-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,.1);
}
.guarantee-icon-3d {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(15,82,186,.5);
}
.guarantee-icon-3d i {
    font-size: 2.2rem;
    color: #fff;
}
.guarantee-card-modern h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.guarantee-card-modern p {
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}
.clients-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.schools-grid-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.school-card-photo {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    height: 100%;
}
.school-card-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.school-image {
    height: 200px;
    overflow: hidden;
}
.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.school-card-photo:hover .school-image img {
    transform: scale(1.1);
}
.school-info-photo {
    padding: 1.5rem;
    position: relative;
}
.school-logo-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(15,82,186,.3);
}
.school-logo-small i {
    font-size: 1.5rem;
    color: #fff;
}
.school-info-photo h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: .5rem;
}
.school-info-photo p {
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 1rem;
}
.school-info-photo p i {
    color: #0F52BA;
    margin-right: .3rem;
}
.school-badge-photo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 16px;
    font-size: .85rem;
    font-weight: 600;
}
.slide-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.slide-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}
.school-slide-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,.3);
    transition: right .4s cubic-bezier(.4,0,.2,1);
}
.school-slide-panel.open {
    right: 0;
}
.slide-panel-inner {
    padding: 2rem;
}
.slide-back-btn {
    background: rgba(15,82,186,.1);
    border: none;
    padding: .8rem 1.5rem;
    border-radius: 24px;
    color: #0F52BA;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    transition: background .3s;
}
.slide-back-btn:hover {
    background: rgba(15,82,186,.2);
}
.slide-school-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}
.slide-school-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15,82,186,.3);
    flex-shrink: 0;
}
.slide-school-icon i {
    font-size: 2rem;
    color: #fff;
}
.slide-header-text h2 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: .3rem;
    line-height: 1.2;
}
.slide-header-text p {
    color: #64748b;
}
.slide-timeline-title {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.slide-timeline-title i {
    color: #0F52BA;
}
.slide-timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
    border-left: 2px solid #e2e8f0;
    animation: slideInRight .4s ease-out both;
}
@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}
.slide-timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #0F52BA;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(15,82,186,.2);
}
.slide-timeline-item:last-child {
    border-left-color: transparent;
}
.slide-timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .8rem;
}
.slide-timeline-title2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .5rem;
}
.slide-timeline-desc {
    color: #64748b;
    line-height: 1.6;
}
.school-map-section {
    padding: 6rem 0;
    background: #fff;
}
.map-container-modern {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
#schoolMap {
    height: 600px;
    width: 100%;
}
.map-legend-modern {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    z-index: 1000;
    max-width: 250px;
}
.map-legend-modern h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.map-legend-modern h4 i {
    color: #0F52BA;
}
.legend-item-modern {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .8rem;
    font-size: .95rem;
    color: #64748b;
}
.legend-item-modern:last-child {
    margin-bottom: 0;
}
.legend-dot-blue, .legend-dot-green, .legend-dot-orange, .legend-dot-red {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,255,255,.5);
    flex-shrink: 0;
}
.legend-dot-blue { background: #0F52BA; }
.legend-dot-green { background: #10b981; }
.legend-dot-orange { background: #f97316; }
.legend-dot-red { background: #ef4444; }
.contact-section-modern {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.contact-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}
@media (max-width: 900px) {
    .contact-grid-modern {
        grid-template-columns: 1fr;
    }
}
.contact-form-modern {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.contact-form-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 2rem;
}
.contact-form-header i {
    font-size: 2rem;
    color: #0F52BA;
}
.contact-form-header h3 {
    font-size: 1.8rem;
    color: #0f172a;
}
.form-group-modern {
    margin-bottom: 1.5rem;
}
.form-group-modern label {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: .5rem;
    font-size: .95rem;
}
.form-group-modern label i {
    color: #0F52BA;
}
.form-group-modern input,
.form-group-modern textarea,
.form-group-modern select {
    width: 100%;
    padding: .9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: .95rem;
    transition: border-color .3s, box-shadow .3s;
    background: #fff;
}
.form-group-modern input:focus,
.form-group-modern textarea:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: #0F52BA;
    box-shadow: 0 0 0 4px rgba(15,82,186,.1);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-card-info {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    display: flex;
    gap: 1.2rem;
    transition: transform .3s, box-shadow .3s;
    align-items: flex-start;
}
.contact-card-info:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.contact-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15,82,186,.3);
}
.contact-icon-modern i {
    font-size: 1.3rem;
    color: #fff;
}
.contact-card-info h5 {
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: .3rem;
}
.contact-card-info p {
    color: #64748b;
    line-height: 1.6;
}
.contact-card-info a {
    color: #0F52BA;
    transition: color .3s;
    text-decoration: none;
}
.contact-card-info a:hover {
    color: #3b82f6;
    text-decoration: underline;
}
.social-links-modern {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links-modern a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}
.social-links-modern a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15,82,186,.4);
}
.footer-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 0 2rem;
    color: #fff;
}
.footer-grid-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 900px) {
    .footer-grid-modern {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
@media (max-width: 600px) {
    .footer-grid-modern {
        grid-template-columns: 1fr;
    }
}
.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1rem;
    object-fit: contain;
}
.footer-brand-modern h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}
.footer-brand-modern p {
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-certificates {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cert-badge-modern {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    padding: .5rem 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
}
.cert-badge-modern i {
    color: #FFB300;
}
.footer-links-modern h4,
.footer-contact-modern h4,
.footer-social-modern h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}
.footer-links-modern ul {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.footer-links-modern a {
    color: rgba(255,255,255,.7);
    transition: color .3s, transform .3s;
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}
.footer-links-modern a:hover {
    color: #FFB300;
    transform: translateX(5px);
}
.footer-contact-modern ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact-modern li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: rgba(255,255,255,.7);
}
.footer-contact-modern i {
    color: #FFB300;
    margin-top: .2rem;
    flex-shrink: 0;
}
.footer-contact-modern a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .3s;
}
.footer-contact-modern a:hover {
    color: #FFB300;
    text-decoration: underline;
}
.footer-social-modern p {
    color: rgba(255,255,255,.7);
    margin-bottom: 1.5rem;
}
.social-icons-modern {
    display: flex;
    gap: 1rem;
}
.social-icon-modern {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform .3s, background .3s;
    text-decoration: none;
}
.social-icon-modern:hover {
    transform: translateY(-5px);
}
.social-icon-modern.instagram:hover { background: #E4405F; }
.social-icon-modern.facebook:hover { background: #1877F2; }
.social-icon-modern.tiktok:hover { background: #010101; }
.social-icon-modern.youtube:hover { background: #FF0000; }
.footer-bottom-modern {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-modern p {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
}
.footer-legal-modern {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.footer-legal-modern a {
    color: rgba(255,255,255,.6);
    transition: color .3s;
    text-decoration: none;
    font-size: .9rem;
}
.footer-legal-modern a:hover {
    color: #FFB300;
}
.footer-legal-modern span {
    color: rgba(255,255,255,.3);
}
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15,82,186,.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15,82,186,.6);
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .product-carousel {
        gap: 0.75rem;
    }
    .product-card-scroll {
        min-width: 145px !important;
        max-width: 145px !important;
        width: 145px !important;
    }
    .contact-form-modern,
    .contact-card-info {
        padding: 1.5rem;
    }
    .modal-content-modern {
        width: 95%;
    }
    .school-slide-panel {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .btn {
        padding: .7rem 1.5rem;
        font-size: .9rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .platform-ticker {
        top: 60px;
    }
    .ticker-item {
        font-size: .75rem;
    }
    .map-legend-modern {
        position: relative;
        top: auto;
        right: auto;
        margin: 1rem;
        max-width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .product-carousel {
        animation: none;
    }
    .ticker-track {
        animation: none;
    }
}
:focus-visible {
    outline: 2px solid #0F52BA;
    outline-offset: 2px;
}
@media print {
    .navbar,
    .hero-buttons,
    .platform-ticker,
    .back-to-top,
    .footer-modern,
    .contact-section-modern,
    .school-map-section {
        display: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    .container {
        max-width: 100%;
        padding: 0;
    }
    a {
        text-decoration: underline;
        color: #000;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .about-section,
    .products-section,
    .services-section,
    .documentation-section,
    .performance-section,
    .guarantee-section,
    .clients-section {
        padding: 2rem 0;
        break-inside: avoid;
    }
    .director-photo-portrait {
        break-inside: avoid;
    }
}/* ========================================
   CLIENTS SECTION - MITRA SEKOLAH MODERN
   ======================================== */
.clients-section-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}
.clients-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.filter-controls {
    max-width: 1000px;
    margin: 0 auto 50px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}
.filter-search {
    position: relative;
    margin-bottom: 20px;
}
.filter-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 18px;
}
.filter-search input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
}
.filter-search input:focus {
    outline: none;
    border-color: #0F52BA;
    background: white;
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.1);
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 82, 186, 0.1), transparent);
    transition: left 0.5s ease;
}
.filter-btn:hover::before {
    left: 100%;
}
.filter-btn:hover {
    border-color: #0F52BA;
    color: #0F52BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.2);
}
.filter-btn.active {
    background: linear-gradient(135deg, #0F52BA 0%, #2563eb 100%);
    border-color: #0F52BA;
    color: white;
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.4);
}
.filter-btn i {
    font-size: 16px;
}
.filter-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}
.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}
.schools-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}
.school-card-modern {
    background: white;
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.school-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 82, 186, 0.05), transparent);
    transition: left 0.6s ease;
}
.school-card-modern:hover::before {
    left: 100%;
}
.school-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 82, 186, 0.15);
    border-color: #0F52BA;
}
.school-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F52BA 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: white;
    box-shadow: 0 6px 16px rgba(15, 82, 186, 0.3);
    transition: all 0.3s ease;
}
.school-card-modern:hover .school-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(15, 82, 186, 0.4);
}
.school-badge-type {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}
.school-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 1.4;
}
.school-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}
.school-location i {
    color: #ef4444;
}
.school-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.project-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.project-tag i {
    color: #10b981;
    font-size: 10px;
}
.view-on-map-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0F52BA 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.view-on-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.4);
}
.view-on-map-btn:active {
    transform: translateY(0);
}
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}
.no-results i {
    font-size: 80px;
    color: #d1d5db;
    margin-bottom: 20px;
}
.no-results h3 {
    font-size: 24px;
    color: #374151;
    margin: 0 0 10px 0;
}
.no-results p {
    color: #6b7280;
    font-size: 16px;
}
.map-section-modern {
    margin-top: 60px;
    position: relative;
    z-index: 10;
}
.map-header-anim {
    text-align: center;
    margin-bottom: 28px;
}
.map-header-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-header-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #0F52BA;
    opacity: 0;
    animation: iconRingPulse 2.4s ease-out infinite;
}
.map-header-icon-ring--2 {
    animation-delay: 1.2s;
}
@keyframes iconRingPulse {
    0%   { transform: scale(0.6); opacity: .7; }
    100% { transform: scale(1.7); opacity: 0; }
}
.map-header-icon-main {
    font-size: 28px;
    color: #0F52BA;
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}
.map-title {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}
.map-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0F52BA, #2563eb, #0F52BA);
    border-radius: 2px;
    animation: titleUnderlineGrow 1s 0.4s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes titleUnderlineGrow {
    to { width: 70%; }
}
.map-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 0;
}
.map-stats-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}
.map-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 30px;
    padding: 6px 14px 6px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: border-color .3s, box-shadow .3s, transform .3s;
    cursor: default;
}
.map-pill:hover {
    border-color: #0F52BA;
    box-shadow: 0 4px 16px rgba(15,82,186,.18);
    transform: translateY(-2px);
}
.map-pill__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    flex-shrink: 0;
}
.map-pill__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.map-pill__num {
    font-size: 13px;
    font-weight: 800;
    color: #0F52BA;
    background: #eef2ff;
    padding: 1px 7px;
    border-radius: 10px;
}
.map-chrome {
    position: relative;
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 12px 48px rgba(0,0,0,.10);
    overflow: hidden;
}
.map-chrome::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0F52BA, #2563eb, #8b5cf6, #0F52BA);
    background-size: 300% 300%;
    animation: borderGradient 6s ease infinite;
    z-index: 0;
    opacity: .35;
}
@keyframes borderGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.map-chrome::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 22px;
    background: #fff;
    z-index: 0;
}
.map-chrome > * { position: relative; z-index: 1; }
.map-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    z-index: 2;
    pointer-events: none;
}
.map-corner::before,
.map-corner::after {
    content: '';
    position: absolute;
    background: #0F52BA;
    border-radius: 3px;
}
.map-corner--tl { top: 8px; left: 8px; }
.map-corner--tl::before { top: 0; left: 0; width: 28px; height: 3px; }
.map-corner--tl::after  { top: 0; left: 0; width: 3px; height: 28px; }
.map-corner--tr { top: 8px; right: 8px; }
.map-corner--tr::before { top: 0; right: 0; width: 28px; height: 3px; }
.map-corner--tr::after  { top: 0; right: 0; width: 3px; height: 28px; }
.map-corner--bl { bottom: 8px; left: 8px; }
.map-corner--bl::before { bottom: 0; left: 0; width: 28px; height: 3px; }
.map-corner--bl::after  { bottom: 0; left: 0; width: 3px; height: 28px; }
.map-corner--br { bottom: 8px; right: 8px; }
.map-corner--br::before { bottom: 0; right: 0; width: 28px; height: 3px; }
.map-corner--br::after  { bottom: 0; right: 0; width: 3px; height: 28px; }
.map-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(15,82,186,.45) 50%, transparent 100%);
    z-index: 3;
    animation: scanSweep 4s linear infinite;
    pointer-events: none;
}
@keyframes scanSweep {
    0%   { top: 0%; }
    100% { top: 100%; }
}
.school-map {
    height: 560px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 2px 12px rgba(0,0,0,.07);
}
.map-infobar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding: 8px 0;
}
.map-infobar__item {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
}
.map-infobar__item i {
    color: #0F52BA;
    font-size: 11px;
}
.map-infobar__sep {
    color: #d1d5db;
    font-size: 14px;
}
.custom-marker {
    position: relative;
    width: 40px;
    height: 40px;
}
.custom-marker::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 28px; height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    background: currentColor;
    opacity: .35;
    animation: markerPulseRing 2.2s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes markerPulseRing {
    0%   { transform: scale(0.8); opacity: .45; }
    70%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}
.marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0F52BA;
    position: absolute;
    left: 50%; top: 50%;
    margin: -18px 0 0 -18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
    transition: transform .25s, box-shadow .25s;
    z-index: 1;
    border: 3px solid #fff;
}
.marker-pin i {
    color: white;
    font-size: 15px;
    z-index: 1;
}
.custom-marker:hover .marker-pin {
    transform: scale(1.25);
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.marker-bounce {
    animation: markerBounce 0.6s ease;
}
@keyframes markerBounce {
    0%, 100% { transform: translateY(0); }
    25%      { transform: translateY(-10px); }
    50%      { transform: translateY(-5px); }
    75%      { transform: translateY(-8px); }
}
.custom-marker.marker-enter {
    animation: markerDropIn .45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes markerDropIn {
    0%   { opacity: 0; transform: translateY(-30px) scale(.6); }
    100% { opacity: 1; transform: translateY(0)   scale(1); }
}
.map-popup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-width: 250px;
    animation: popupFadeIn .25s ease;
}
@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0);   }
}
.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
.popup-header strong {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
}
.popup-badge {
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.popup-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
}
.popup-location i { color: #ef4444; }
.popup-projects        { font-size: 13px; }
.popup-projects strong { color: #374151; display: block; margin-bottom: 6px; }
.popup-projects ul     { list-style: none; padding: 0; margin: 0; }
.popup-projects li     { padding: 4px 0; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.popup-projects i      { color: #10b981; font-size: 10px; }
.leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.14);
    border: 2px solid #e5e7eb;
    animation: popupFadeIn .25s ease;
}
.leaflet-popup-tip { border: 2px solid #e5e7eb; }
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.leaflet-control-zoom a {
    color: #374151 !important;
    font-size: 18px !important;
    height: 36px !important;
    line-height: 36px !important;
    transition: background .2s;
}
.leaflet-control-zoom a:hover {
    background: #eef2ff !important;
    color: #0F52BA !important;
}
.map-legend {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    border: 1px solid rgba(0,0,0,.06);
}
.map-legend h4 {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.map-legend h4 i { color: #0F52BA; font-size: 12px; }
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    padding: 3px 0;
    cursor: pointer;
    transition: color .2s;
}
.legend-item:hover { color: #0F52BA; }
.legend-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    position: relative;
}
.legend-marker::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    animation: legendPulse 2s ease-in-out infinite;
}
@keyframes legendPulse {
    0%, 100% { opacity: 0;   transform: scale(1); }
    50%      { opacity: .3;  transform: scale(1.6); }
}
@media (max-width: 768px) {
    .clients-section-modern {
        padding: 50px 0;
    }
    .filter-controls {
        padding: 16px;
    }
    .filter-buttons {
        gap: 8px;
    }
    .filter-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
    .schools-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .school-card-modern {
        padding: 18px 16px 16px;
    }
    .school-icon-modern {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .school-name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .school-location {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .project-tag {
        font-size: 11px;
        padding: 4px 9px;
    }
    .view-on-map-btn {
        padding: 9px;
        font-size: 12px;
    }
    .map-title {
        font-size: 22px;
    }
    .school-map {
        height: 360px;
    }
    .map-chrome {
        padding: 14px;
        border-radius: 16px;
    }
    .map-stats-pills {
        gap: 7px;
    }
    .map-pill {
        padding: 5px 10px 5px 8px;
    }
    .map-pill__label, .map-pill__num {
        font-size: 12px;
    }
    .map-infobar {
        gap: 6px;
    }
    .map-infobar__item {
        font-size: 11px;
    }
    .map-legend {
        gap: 10px;
    }
    .legend-item {
        font-size: 12px;
    }
}
@media (max-width: 420px) {
    .filter-search input {
        font-size: 13px;
        padding: 11px 14px 11px 42px;
    }
    .filter-btn {
        padding: 7px 10px;
        font-size: 11px;
    }
    .filter-count {
        padding: 2px 5px;
        font-size: 10px;
    }
    .schools-grid-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .school-card-modern {
        padding: 16px 15px 15px;
    }
    .school-name {
        font-size: 15px;
    }
    .map-chrome {
        padding: 10px;
        border-radius: 14px;
    }
    .school-map {
        height: 300px;
    }
    .map-stats-pills {
        gap: 5px;
    }
    .map-pill {
        padding: 4px 8px 4px 6px;
        border-radius: 20px;
    }
    .map-pill__dot {
        width: 9px;
        height: 9px;
    }
    .map-pill__label, .map-pill__num {
        font-size: 11px;
    }
    .map-header-icon-wrap {
        width: 48px;
        height: 48px;
    }
    .map-header-icon-main {
        font-size: 20px;
    }
    .map-infobar {
        display: none;
    }
}/* =============================================================================
   PT. SPAD SOLUTION INDONESIA — Enhanced Map Styles
   Modern, Animasi Halus, Responsif untuk Desktop & Mobile
   ============================================================================= */
.school-map {
    height: 560px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        inset 0 2px 12px rgba(0,0,0,.05),
        0 4px 20px rgba(0,0,0,.08);
    transition: opacity 0.3s ease;
    position: relative;
}
.map-tiles {
    transition: opacity 0.2s ease-in-out;
}
.custom-marker-enhanced {
    position: relative;
    width: 40px;
    height: 40px;
}
.marker-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.marker-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: var(--marker-color, #3b82f6);
    border-radius: 50%;
    opacity: 0;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}
.marker-dot {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--marker-color, #3b82f6);
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 12px rgba(0,0,0,.15),
        0 2px 4px rgba(0,0,0,.10);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}
.marker-dot i {
    color: white;
    font-size: 14px;
    transition: transform 0.3s ease;
}
.custom-marker-enhanced {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.custom-marker-enhanced.marker-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.custom-marker-enhanced.marker-hover .marker-dot {
    transform: scale(1.25) translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(0,0,0,.25),
        0 4px 8px rgba(0,0,0,.15);
}
.custom-marker-enhanced.marker-hover .marker-dot i {
    transform: scale(1.1);
}
.custom-marker-enhanced.marker-clicked .marker-dot {
    animation: markerBounce 0.6s ease;
}
@keyframes markerBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.15) translateY(-8px); }
    50% { transform: scale(1.05) translateY(-4px); }
    75% { transform: scale(1.1) translateY(-6px); }
}
.modern-popup {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    padding: 0;
    min-width: 260px;
}
.popup-header-new {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}
.popup-header-new h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}
.type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.popup-location-new {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 14px;
    padding: 8px 0;
}
.popup-location-new i {
    color: #ef4444;
    font-size: 12px;
}
.popup-projects-new {
    margin-bottom: 14px;
}
.popup-projects-new strong {
    display: block;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}
.popup-projects-new ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.popup-projects-new li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    color: #6b7280;
    font-size: 13px;
}
.popup-projects-new li i {
    color: #10b981;
    font-size: 11px;
}
.popup-btn {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0F52BA 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15,82,186,.25);
}
.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15,82,186,.35);
}
.popup-btn:active {
    transform: translateY(0);
}
.popup-btn i {
    font-size: 12px;
}
.leaflet-popup-modern .leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,.15),
        0 4px 12px rgba(0,0,0,.10);
    border: 2px solid #e5e7eb;
    padding: 18px;
    animation: popupSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.leaflet-popup-modern .leaflet-popup-tip {
    border-top: 2px solid #e5e7eb;
}
.leaflet-popup-modern .leaflet-popup-close-button {
    color: #94a3b8;
    font-size: 20px;
    width: 24px;
    height: 24px;
    padding: 0;
    transition: all 0.2s ease;
}
.leaflet-popup-modern .leaflet-popup-close-button:hover {
    color: #ef4444;
    transform: scale(1.1);
}
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
    border-radius: 12px !important;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.leaflet-control-zoom a {
    color: #374151 !important;
    background: rgba(255,255,255,0.95) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.leaflet-control-zoom a:hover {
    background: #eef2ff !important;
    color: #0F52BA !important;
    transform: scale(1.05);
}
.leaflet-control-zoom-in {
    border-bottom: 1px solid #e5e7eb !important;
}
.school-card-modern {
    transition: all 0.3s ease;
}
.school-card-modern.highlight-pulse {
    animation: cardHighlight 1s ease 2;
    box-shadow: 0 0 0 4px rgba(15,82,186,.3);
}
@keyframes cardHighlight {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 40px rgba(15,82,186,.25);
    }
}
.map-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    padding: 8px 16px 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}
.map-pill:hover {
    border-color: #0F52BA;
    box-shadow: 0 6px 20px rgba(15,82,186,.2);
    transform: translateY(-3px);
}
.map-pill__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    flex-shrink: 0;
}
.map-pill__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.map-pill__num {
    font-size: 13px;
    font-weight: 800;
    color: #0F52BA;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .school-map {
        height: 400px;
        border-radius: 12px;
    }
    .marker-dot {
        width: 32px;
        height: 32px;
    }
    .marker-dot i {
        font-size: 12px;
    }
    .modern-popup {
        min-width: 240px;
    }
    .popup-header-new h4 {
        font-size: 14px;
    }
    .type-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .popup-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    .leaflet-control-zoom a {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 14px !important;
    }
    .map-pill {
        padding: 6px 12px 6px 10px;
        gap: 6px;
    }
    .map-pill__dot {
        width: 12px;
        height: 12px;
    }
    .map-pill__label,
    .map-pill__num {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .school-map {
        height: 350px;
    }
    .marker-dot {
        width: 28px;
        height: 28px;
        border-width: 2px;
    }
    .marker-dot i {
        font-size: 11px;
    }
    .modern-popup {
        min-width: 220px;
    }
    .popup-header-new {
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .popup-header-new h4 {
        font-size: 13px;
    }
    .popup-location-new,
    .popup-projects-new li {
        font-size: 12px;
    }
    .leaflet-popup-modern .leaflet-popup-content-wrapper {
        padding: 14px;
    }
}
.custom-marker-enhanced,
.marker-dot,
.popup-btn,
.map-pill {
    will-change: transform;
}
.school-map,
.marker-wrapper,
.modern-popup,
.leaflet-popup-content-wrapper {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
    .leaflet-control-zoom a {
        background: rgba(30, 41, 59, 0.95) !important;
        color: #e2e8f0 !important;
    }
    .leaflet-control-zoom a:hover {
        background: rgba(15, 82, 186, 0.2) !important;
        color: #60a5fa !important;
    }
}
.school-card-modern.highlight-pulse {
    animation: cardHighlight 1.2s ease 2;
}
@keyframes cardHighlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
/* ====================================================================
   PT. SPAD SOLUTION INDONESIA — Enhanced Schools Section
   Update: Schools Carousel Layout (Like Partners Section)
   ==================================================================== */
.filter-controls-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.filter-search-inline {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.filter-search-inline i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}
.filter-search-inline input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}
.filter-search-inline input:focus {
    outline: none;
    border-color: #0F52BA;
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.1);
}
.filter-buttons-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.filter-btn i {
    font-size: 1rem;
}
.filter-btn .filter-count {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}
.filter-btn:hover {
    border-color: #0F52BA;
    background: rgba(15, 82, 186, 0.05);
    transform: translateY(-2px);
}
.filter-btn.active {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-color: #0F52BA;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.3);
}
.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.schools-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 2rem;
}
.schools-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}
.schools-carousel::-webkit-scrollbar {
    display: none;
}
.school-card-carousel {
    min-width: 300px;
    max-width: 300px;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}
.school-card-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0F52BA 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.school-card-carousel:hover::before {
    transform: scaleX(1);
}
.school-card-carousel:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(15, 82, 186, 0.15);
}
.school-icon-carousel {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.25);
}
.school-icon-carousel i {
    font-size: 2rem;
    color: #fff;
}
.school-badge-carousel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFB300 0%, #FFA000 100%);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.3);
}
.school-name-carousel {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.school-location-carousel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.school-location-carousel i {
    color: #0F52BA;
    font-size: 0.95rem;
}
.school-projects-carousel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.project-tag-carousel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #475569;
}
.project-tag-carousel i {
    color: #10b981;
    font-size: 0.8rem;
}
.view-on-map-btn-carousel {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.view-on-map-btn-carousel:hover {
    background: linear-gradient(135deg, #0d3d8f 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.4);
    transform: translateY(-2px);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: #0F52BA;
    width: 30px;
    border-radius: 10px;
}
.schools-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}
.school-stat {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.school-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(15, 82, 186, 0.15);
}
.school-stat .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.25);
}
.school-stat .stat-icon i {
    font-size: 2rem;
    color: #fff;
}
.school-stat .stat-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}
.school-stat .stat-content p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}
.map-section-enhanced {
    margin-top: 4rem;
    padding: 3rem 0;
}
@media (max-width: 1024px) {
    .schools-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .filter-buttons-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-btn {
        justify-content: space-between;
    }
    .school-card-carousel {
        min-width: 280px;
        max-width: 280px;
    }
    .schools-stats {
        grid-template-columns: 1fr;
    }
    .school-stat {
        gap: 1rem;
        padding: 1.5rem;
    }
    .school-stat .stat-icon {
        width: 60px;
        height: 60px;
    }
    .school-stat .stat-content h3 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .filter-controls-compact {
        gap: 1rem;
    }
    .filter-search-inline {
        max-width: 100%;
    }
    .school-card-carousel {
        min-width: 260px;
        max-width: 260px;
        padding: 1.5rem;
    }
}
.schools-grid-modern,
.no-results {
    display: none !important;
}
.map-header-anim {
    text-align: center;
    margin-bottom: 3rem;
}
.map-header-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-header-icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid #0F52BA;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}
.map-header-icon-ring--2 {
    animation-delay: 1s;
}
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}
.map-header-icon-main {
    font-size: 2.5rem;
    color: #0F52BA;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.map-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.map-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}
.map-stats-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.map-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.map-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.map-pill__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.map-pill__label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}
.map-pill__num {
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
}
.map-chrome {
    position: relative;
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.map-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #0F52BA;
    z-index: 10;
}
.map-corner--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.map-corner--tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.map-corner--bl { bottom: 60px; left: 10px; border-right: none; border-top: none; }
.map-corner--br { bottom: 60px; right: 10px; border-left: none; border-top: none; }
.map-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0F52BA, transparent);
    z-index: 10;
    animation: scan 3s linear infinite;
}
@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(600px); opacity: 0; }
}
.school-map {
    width: 100%;
    height: 600px;
    border-radius: 20px;
}
.map-infobar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #fff;
    font-size: 0.9rem;
    flex-wrap: wrap;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.map-infobar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.map-infobar__item i {
    color: #0F52BA;
}
.map-infobar__sep {
    color: #64748b;
}
.custom-marker {
    background: transparent !important;
    border: none !important;
}
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.leaflet-popup-tip {
    display: none;
}
@media (max-width: 768px) {
    .map-title {
        font-size: 1.5rem;
    }
    .map-stats-pills {
        gap: 0.5rem;
    }
    .map-pill {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .school-map {
        height: 400px;
    }
    .map-infobar {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
    @keyframes scan {
        0% { transform: translateY(0); opacity: 0; }
        50% { opacity: 1; }
        100% { transform: translateY(400px); opacity: 0; }
    }
}

/* ================= MAP STABILITY FIX ================= */
.leaflet-container {
  background: #e5e7eb;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* cluster bubble */
.marker-cluster div {
  background: #0F52BA;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
}

/* cluster size */
.marker-cluster-small div { width: 34px; height: 34px; }
.marker-cluster-medium div { width: 40px; height: 40px; }
.marker-cluster-large div { width: 46px; height: 46px; }

/* custom label marker */
.map-marker-label {
  background: #0F52BA;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* ========== GALLERY CAROUSEL STYLES - MODERN & COMPACT ========== */

.gallery-section-modern {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Gallery Filter Buttons */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.65rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-filter-btn:hover {
    border-color: #0F52BA;
    color: #0F52BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.15);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: white;
    border-color: #0F52BA;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.3);
}

.gallery-filter-btn i {
    font-size: 0.95rem;
}

/* Gallery Carousel Wrapper */
.gallery-carousel-wrapper {
    position: relative;
    margin: 2rem 0;
    padding: 0 4rem;
}

.gallery-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #0F52BA #e2e8f0;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.gallery-carousel-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-carousel-container::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.gallery-carousel-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 10px;
}

.gallery-carousel-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #2563eb 100%);
}

/* Gallery Carousel */
.gallery-carousel {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
}

/* Gallery Card - UKURAN SEDANG */
.gallery-card {
    flex-shrink: 0;
    width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: white;
    scroll-snap-align: start;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(15, 82, 186, 0.18);
}

.gallery-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.06);
}

/* Gallery Card Overlay */
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-content h4 {
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.gallery-card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gallery-card-content p i {
    color: #0F52BA;
    background: white;
    padding: 3px;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Category Badge */
.gallery-card-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: rgba(15, 82, 186, 0.95);
    color: white;
    padding: 0.4rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    z-index: 5;
}

/* Gallery Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #0F52BA;
    color: #0F52BA;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gallery-nav:hover {
    background: #0F52BA;
    color: white;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.3);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.gallery-nav i {
    font-size: 1.2rem;
}

/* Gallery Indicators */
.gallery-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.gallery-indicator:hover {
    background: #94a3b8;
    transform: scale(1.15);
}

.gallery-indicator.active {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    width: 22px;
    border-radius: 10px;
    border-color: #0F52BA;
}

/* Gallery Stats */
.gallery-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.gallery-stat-card {
    background: white;
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.25s ease;
    border: 2px solid #e2e8f0;
}

.gallery-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 82, 186, 0.12);
    border-color: #0F52BA;
}

.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(15, 82, 186, 0.25);
}

.stat-icon-wrapper i {
    font-size: 1.4rem;
    color: white;
}

.stat-content h3 {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0F52BA;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-content p {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
}

.gallery-lightbox.active {
    display: flex;
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-info {
    text-align: center;
    color: white;
}

.lightbox-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.lightbox-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: none;
    color: #0F52BA;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1.2rem;
    z-index: 10001;
}

.lightbox-close:hover {
    background: #0F52BA;
    color: white;
    transform: rotate(90deg) scale(1.08);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    color: #0F52BA;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1.2rem;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: #0F52BA;
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* Category Badge Colors */
.gallery-card[data-category="renovasi"] .gallery-card-badge {
    background: rgba(59, 130, 246, 0.95);
}

.gallery-card[data-category="pengadaan"] .gallery-card-badge {
    background: rgba(16, 185, 129, 0.95);
}

.gallery-card[data-category="konstruksi"] .gallery-card-badge {
    background: rgba(245, 158, 11, 0.95);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-card {
        width: 300px;
    }

    .gallery-carousel-wrapper {
        padding: 0 3.5rem;
    }
    
    .gallery-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-carousel-wrapper {
        padding: 0 3rem;
    }

    .gallery-card {
        width: 280px;
    }

    .gallery-card-image {
        height: 190px;
    }

    .gallery-nav {
        width: 45px;
        height: 45px;
    }

    .gallery-nav i {
        font-size: 1.1rem;
    }
    
    .gallery-filter-buttons {
        gap: 0.6rem;
    }
    
    .gallery-filter-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .gallery-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery-stat-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .stat-icon-wrapper i {
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.6rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-info h3 {
        font-size: 1.2rem;
    }

    .lightbox-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-carousel-wrapper {
        padding: 0 2.5rem;
    }

    .gallery-card {
        width: 260px;
    }

    .gallery-card-image {
        height: 175px;
    }

    .gallery-card-content h4 {
        font-size: 0.95rem;
    }

    .gallery-card-content p {
        font-size: 0.8rem;
    }

    .gallery-nav {
        width: 42px;
        height: 42px;
    }

    .gallery-nav i {
        font-size: 1rem;
    }
    
    .gallery-filter-btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }
}

/* Accessibility */
.gallery-card:focus-within,
.gallery-nav:focus,
.gallery-filter-btn:focus,
.lightbox-close:focus,
.lightbox-nav:focus {
    outline: 2px solid #0F52BA;
    outline-offset: 2px;
}

/* Loading skeleton */
.gallery-card.loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
}

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

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .gallery-card,
    .gallery-nav,
    .gallery-indicator,
    .gallery-filter-btn {
        will-change: transform;
    }
}


/* ========== MITRA SEKOLAH (CLIENTS) - MODERN DESIGN ========== */

.clients-section-modern {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.clients-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(15, 82, 186, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Filter Controls - Compact Horizontal */
.filter-controls-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0 3rem;
}

.filter-search-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.filter-search-inline:focus-within {
    border-color: #0F52BA;
    box-shadow: 0 4px 16px rgba(15, 82, 186, 0.15);
}

.filter-search-inline i {
    color: #64748b;
    font-size: 1rem;
}

.filter-search-inline input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    color: #1e293b;
}

.filter-search-inline input::placeholder {
    color: #94a3b8;
}

.filter-buttons-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.25rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    border-color: #0F52BA;
    color: #0F52BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.15);
}

.filter-btn:hover i {
    transform: scale(1.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: white;
    border-color: #0F52BA;
    box-shadow: 0 4px 16px rgba(15, 82, 186, 0.3);
}

.filter-count {
    background: rgba(15, 82, 186, 0.1);
    color: #0F52BA;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 0.25rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Schools Carousel Wrapper */
.schools-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    margin: 0 -1rem;
    scrollbar-width: thin;
    scrollbar-color: #0F52BA #e2e8f0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.schools-carousel-wrapper::-webkit-scrollbar {
    height: 8px;
}

.schools-carousel-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.schools-carousel-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 10px;
}

.schools-carousel-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #2563eb 100%);
}

/* Schools Carousel */
.schools-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
    width: fit-content;
}

/* School Card in Carousel */
.school-card-carousel {
    flex-shrink: 0;
    width: 300px;
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.school-card-carousel:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15, 82, 186, 0.18);
    border-color: #0F52BA;
}

/* School Media (Photo/Video) */
.school-media-carousel {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.school-media-carousel img,
.school-media-carousel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.school-card-carousel:hover .school-media-carousel img,
.school-card-carousel:hover .school-media-carousel video {
    transform: scale(1.08);
}

/* Media Type Badge */
.media-badge-carousel {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 82, 186, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.media-badge-carousel i {
    font-size: 0.85rem;
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 4;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.15);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.video-play-overlay i {
    color: #0F52BA;
    font-size: 1.8rem;
    margin-left: 4px;
}

/* School Card Content */
.school-card-content {
    padding: 1.25rem;
}

/* School Type Badge */
.school-badge-carousel {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 5;
    backdrop-filter: blur(8px);
}

/* Type Colors */
.school-card-carousel[data-type="SDN"] .school-badge-carousel {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.school-card-carousel[data-type="SMP"] .school-badge-carousel {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.school-card-carousel[data-type="SMPN"] .school-badge-carousel {
    background: rgba(139, 92, 246, 0.95);
    color: white;
}

.school-card-carousel[data-type="SMA"] .school-badge-carousel {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.school-card-carousel[data-type="SLBN"] .school-badge-carousel {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

/* School Name */
.school-name-carousel {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* School Location */
.school-location-carousel {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.school-location-carousel i {
    color: #0F52BA;
    font-size: 0.9rem;
}

/* School Projects */
.school-projects-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-tag-carousel {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eff6ff;
    color: #1e40af;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.project-tag-carousel:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.project-tag-carousel i {
    font-size: 0.7rem;
}

/* Detail Button */
.view-detail-btn-carousel {
    width: 100%;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.25);
}

.view-detail-btn-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 82, 186, 0.35);
    background: linear-gradient(135deg, #0d47a1 0%, #2563eb 100%);
}

.view-detail-btn-carousel:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.3);
}

.view-detail-btn-carousel i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.view-detail-btn-carousel:hover i {
    transform: translateX(3px);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    width: 22px;
    border-radius: 12px;
    border-color: #0F52BA;
}

/* Schools Stats */
.schools-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.school-stat {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.school-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 82, 186, 0.12);
    border-color: #0F52BA;
}

.school-stat .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(15, 82, 186, 0.25);
}

.school-stat .stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.school-stat .stat-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #0F52BA;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.school-stat .stat-content p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Responsive Design for Clients */
@media (max-width: 1024px) {
    .school-card-carousel {
        width: 280px;
    }

    .school-media-carousel {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .clients-section-modern {
        padding: 4rem 0;
    }

    .filter-controls-compact {
        gap: 1.25rem;
    }

    .filter-search-inline {
        max-width: 100%;
    }

    .filter-buttons-inline {
        gap: 0.6rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .schools-carousel-wrapper {
        padding: 1.5rem 0;
        margin: 0;
    }

    .schools-carousel {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .school-card-carousel {
        width: 260px;
    }

    .school-media-carousel {
        height: 145px;
    }

    .school-card-content {
        padding: 1rem;
    }

    .video-play-overlay {
        width: 50px;
        height: 50px;
    }

    .video-play-overlay i {
        font-size: 1.5rem;
    }

    .media-badge-carousel,
    .school-badge-carousel {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .view-detail-btn-carousel {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }

    .schools-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .school-stat {
        padding: 1.5rem;
    }

    .carousel-dots {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .school-card-carousel {
        width: 240px;
    }

    .school-media-carousel {
        height: 130px;
    }

    .school-name-carousel {
        font-size: 0.95rem;
    }

    .school-location-carousel {
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
    .schools-carousel-wrapper {
        scroll-behavior: smooth;
    }

    .school-card-carousel,
    .video-play-overlay,
    .view-detail-btn-carousel,
    .filter-btn {
        will-change: transform;
    }
}

/* Accessibility */
.school-card-carousel:focus-within,
.view-detail-btn-carousel:focus,
.filter-btn:focus {
    outline: 3px solid #0F52BA;
    outline-offset: 2px;
}

/* Loading Skeleton for Media */
.school-media-skeleton {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ========== PERFORMANCE SECTION STYLES - ADDED ========== */
/* ========== PERFORMANCE SECTION STYLES ========== */

.performance-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.performance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(circle at 30% 20%, rgba(15, 82, 186, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.performance-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Section Header */
.performance-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.performance-header .section-subtitle {
    color: #0F52BA;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.performance-header .section-subtitle i {
    font-size: 1.2rem;
}

.performance-header h2 {
    font-size: 2.75rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.performance-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Performance Overview - Key Metrics */
.performance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.metric-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0F52BA 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(15, 82, 186, 0.15);
    border-color: #0F52BA;
}

.metric-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 82, 186, 0.25);
    transition: all 0.4s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(15, 82, 186, 0.35);
}

.metric-icon i {
    font-size: 2rem;
    color: white;
}

.metric-content h3 {
    font-size: 3rem;
    font-weight: 900;
    color: #0F52BA;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
}

.metric-content h3 .metric-value {
    display: inline-block;
}

.metric-content h3 .metric-suffix {
    font-size: 2rem;
    color: #3b82f6;
    margin-left: 0.25rem;
}

.metric-content p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 1rem;
}

.metric-trend.up {
    color: #10b981;
}

.metric-trend.down {
    color: #ef4444;
}

.metric-trend i {
    font-size: 1rem;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 8px 28px rgba(15, 82, 186, 0.12);
    border-color: #0F52BA;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.chart-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chart-header h3 i {
    color: #0F52BA;
    font-size: 1.3rem;
}

.chart-period {
    background: #eff6ff;
    color: #0F52BA;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.chart-canvas {
    position: relative;
    height: 300px;
}

/* Progress Bars */
.performance-progress {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.progress-header {
    margin-bottom: 2rem;
}

.progress-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.progress-header p {
    color: #64748b;
    font-size: 1rem;
}

.progress-items {
    display: grid;
    gap: 2rem;
}

.progress-item {
    position: relative;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-label i {
    color: #0F52BA;
}

.progress-percentage {
    font-weight: 900;
    color: #0F52BA;
    font-size: 1.1rem;
}

.progress-bar-container {
    height: 12px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(15, 82, 186, 0.12);
    border-color: #0F52BA;
}

.achievement-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.achievement-card:hover .achievement-badge {
    transform: scale(1.1) rotate(10deg);
}

.achievement-badge i {
    font-size: 2.5rem;
    color: white;
}

.achievement-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Comparison Table */
.performance-comparison {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.comparison-header {
    margin-bottom: 2rem;
}

.comparison-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
}

.comparison-table thead th {
    color: white;
    font-weight: 700;
    padding: 1.25rem;
    text-align: left;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table tbody td {
    padding: 1.25rem;
    color: #1e293b;
    font-weight: 600;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: #0F52BA;
}

.comparison-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-value.positive {
    color: #10b981;
}

.comparison-value.negative {
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-header h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .performance-section {
        padding: 3rem 0;
    }
    
    .performance-header {
        margin-bottom: 3rem;
    }
    
    .performance-header h2 {
        font-size: 2rem;
    }
    
    .performance-header p {
        font-size: 1rem;
    }
    
    .performance-overview {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .metric-card {
        padding: 2rem 1.5rem;
    }
    
    .metric-content h3 {
        font-size: 2.5rem;
    }
    
    .metric-content h3 .metric-suffix {
        font-size: 1.5rem;
    }
    
    .charts-grid {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .chart-card {
        padding: 1.5rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .performance-progress {
        padding: 2rem 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .performance-comparison {
        padding: 1.5rem;
        overflow-x: auto;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .performance-header h2 {
        font-size: 1.75rem;
    }
    
    .metric-icon {
        width: 60px;
        height: 60px;
    }
    
    .metric-icon i {
        font-size: 1.5rem;
    }
    
    .metric-content h3 {
        font-size: 2rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-canvas {
        height: 250px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

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

.metric-card,
.chart-card,
.achievement-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.metric-card:nth-child(1) { animation-delay: 0.1s; }
.metric-card:nth-child(2) { animation-delay: 0.2s; }
.metric-card:nth-child(3) { animation-delay: 0.3s; }
.metric-card:nth-child(4) { animation-delay: 0.4s; }

/* Accessibility */
.metric-card:focus-within,
.chart-card:focus-within,
.achievement-card:focus-within {
    outline: 3px solid #0F52BA;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .performance-section {
        background: white;
    }
    
    .performance-section::before,
    .performance-section::after {
        display: none;
    }
    
    .metric-card,
    .chart-card,
    .achievement-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}/* ====================================================================
   PERFORMANCE SECTION - MODERN & OPTIMIZED
   Design: Clean, minimal, dengan animasi smooth dan ringan
   ==================================================================== */

/* === SECTION CONTAINER === */
.performance-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background Elements */
.performance-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.04) 0%, transparent 70%);
    pointer-events: none;
    animation: floatSlow 20s ease-in-out infinite;
}

.performance-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* === HEADER === */
.performance-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.performance-header .section-subtitle {
    color: #0F52BA;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 82, 186, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.performance-header .section-subtitle i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.performance-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.performance-header p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === KEY METRICS GRID === */
.performance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.metric-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0F52BA 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15, 82, 186, 0.12);
    border-color: #0F52BA;
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 16px rgba(15, 82, 186, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(15, 82, 186, 0.3);
}

.metric-icon i {
    font-size: 1.8rem;
    color: white;
}

.metric-content h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0F52BA;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.metric-content h3 .metric-suffix {
    font-size: 1.8rem;
    color: #3b82f6;
    margin-left: 0.2rem;
}

.metric-content p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    background: #f0fdf4;
}

.metric-trend.up {
    color: #10b981;
}

.metric-trend i {
    font-size: 0.9rem;
}

/* === CHARTS GRID === */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.chart-card {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 8px 20px rgba(15, 82, 186, 0.1);
    border-color: #cbd5e1;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.chart-header h3 i {
    color: #0F52BA;
    font-size: 1.2rem;
}

.chart-period {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #0F52BA;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #bfdbfe;
}

.chart-canvas {
    position: relative;
    height: 280px;
}

/* === PROGRESS BARS === */
.performance-progress {
    background: white;
    padding: 2.2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.progress-header {
    margin-bottom: 1.8rem;
}

.progress-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.progress-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.progress-items {
    display: grid;
    gap: 1.5rem;
}

.progress-item {
    position: relative;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.progress-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-label i {
    color: #0F52BA;
    font-size: 1rem;
}

.progress-percentage {
    font-weight: 900;
    color: #0F52BA;
    font-size: 1.05rem;
}

.progress-bar-container {
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F52BA 0%, #3b82f6 100%);
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 82, 186, 0.3);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* === ACHIEVEMENTS GRID === */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.achievement-card {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(15, 82, 186, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 82, 186, 0.1);
    border-color: #cbd5e1;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.25);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.achievement-card:hover .achievement-badge {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.35);
}

.achievement-badge i {
    font-size: 2.2rem;
    color: white;
}

.achievement-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* === COMPARISON TABLE === */
.performance-comparison {
    background: white;
    padding: 2.2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.comparison-header {
    margin-bottom: 1.8rem;
}

.comparison-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.comparison-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
}

.comparison-table thead th {
    color: white;
    font-weight: 700;
    padding: 1.1rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table tbody td {
    padding: 1.1rem 1rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.93rem;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: #0F52BA;
}

.comparison-value {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    font-size: 0.85rem;
}

.comparison-value.positive {
    color: #10b981;
    background: #f0fdf4;
}

.comparison-value i {
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-overview {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .performance-section {
        padding: 3.5rem 0;
    }
    
    .performance-header {
        margin-bottom: 2.5rem;
    }
    
    .performance-header h2 {
        font-size: 2rem;
    }
    
    .performance-overview {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .chart-canvas {
        height: 240px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.9rem 0.7rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .metric-card {
        padding: 1.5rem 1.2rem;
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
    }
    
    .metric-icon i {
        font-size: 1.5rem;
    }
    
    .metric-content h3 {
        font-size: 2rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* === ANIMATION DELAYS === */
.metric-card:nth-child(1) { animation-delay: 0.1s; }
.metric-card:nth-child(2) { animation-delay: 0.2s; }
.metric-card:nth-child(3) { animation-delay: 0.3s; }
.metric-card:nth-child(4) { animation-delay: 0.4s; }

/* === ACCESSIBILITY === */
.metric-card:focus-within,
.chart-card:focus-within,
.achievement-card:focus-within {
    outline: 2px solid #0F52BA;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .performance-section::before,
    .performance-section::after,
    .progress-bar-fill::after,
    .performance-header .section-subtitle i {
        animation: none;
    }
    
    .metric-card,
    .chart-card,
    .achievement-card {
        transition: none;
    }
}
/* ====================================================================
   MOBILE FIX - PERFORMANCE SECTION RESPONSIVE
   Fix untuk table dan semua element agar tidak terpotong di mobile
   ==================================================================== */

/* Table Responsive Wrapper */
.performance-comparison {
    background: white;
    padding: 2.2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

.comparison-header {
    margin-bottom: 1.8rem;
}

.comparison-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.comparison-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Table Container with Scroll */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1rem;
}

.comparison-table {
    width: 100%;
    min-width: 600px; /* Minimum width untuk prevent crushing */
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
}

.comparison-table thead th {
    color: white;
    font-weight: 700;
    padding: 1.1rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table thead th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table tbody td {
    padding: 1.1rem 1rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.93rem;
    white-space: nowrap;
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: #0F52BA;
    position: sticky;
    left: 0;
    background: white;
    z-index: 1;
}

.comparison-table tbody tr:hover td:first-child {
    background: #f8fafc;
}

.comparison-value {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    font-size: 0.85rem;
}

.comparison-value.positive {
    color: #10b981;
    background: #f0fdf4;
}

.comparison-value i {
    font-size: 0.9rem;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .performance-section {
        padding: 3rem 0;
        overflow-x: hidden; /* Prevent horizontal scroll on section */
    }
    
    .container {
        padding: 0 1rem; /* Reduce container padding */
    }
    
    .performance-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .performance-header h2 {
        font-size: 1.8rem;
    }
    
    .performance-header p {
        font-size: 0.95rem;
    }
    
    /* Metrics Grid */
    .performance-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .metric-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    /* Charts Grid */
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .chart-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .chart-canvas {
        height: 240px;
    }
    
    /* Progress Section */
    .performance-progress {
        padding: 1.5rem;
        margin: 0 0.5rem 2rem;
    }
    
    .progress-items {
        gap: 1.2rem;
    }
    
    /* Achievements Grid */
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0;
        margin: 0 0.5rem 2rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    /* Table Responsive */
    .performance-comparison {
        padding: 1.2rem;
        margin: 0 0.5rem;
        overflow: visible; /* Allow scroll indicator */
    }
    
    .comparison-header h3 {
        font-size: 1.3rem;
    }
    
    .comparison-header p {
        font-size: 0.85rem;
    }
    
    .table-responsive {
        margin: 1rem -1.2rem; /* Negative margin to full width */
        padding: 0 1.2rem;
    }
    
    .comparison-table {
        min-width: 650px;
        font-size: 0.85rem;
    }
    
    .comparison-table thead th {
        padding: 0.9rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .comparison-table tbody td {
        padding: 0.9rem 0.7rem;
        font-size: 0.85rem;
    }
    
    /* Scroll Indicator */
    .table-responsive::after {
        content: '← Geser untuk melihat semua →';
        display: block;
        text-align: center;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 600;
        margin-top: 0.8rem;
        padding: 0.5rem;
        background: #f8fafc;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .performance-section {
        padding: 2.5rem 0;
    }
    
    .performance-header h2 {
        font-size: 1.6rem;
    }
    
    .metric-card {
        padding: 1.3rem;
        margin: 0 0.3rem;
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
    }
    
    .metric-icon i {
        font-size: 1.5rem;
    }
    
    .metric-content h3 {
        font-size: 2rem;
    }
    
    .chart-card {
        padding: 1.2rem;
        margin: 0 0.3rem;
    }
    
    .chart-canvas {
        height: 220px;
    }
    
    .performance-progress {
        padding: 1.2rem;
        margin: 0 0.3rem 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        margin: 0 0.3rem 1.5rem;
    }
    
    .performance-comparison {
        padding: 1rem;
        margin: 0 0.3rem;
    }
    
    .comparison-header h3 {
        font-size: 1.2rem;
    }
    
    .table-responsive {
        margin: 1rem -1rem;
        padding: 0 1rem;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 0.8rem;
    }
    
    .comparison-table thead th {
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .comparison-table tbody td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .comparison-value {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .chart-canvas {
        height: 200px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .performance-header h2 {
        font-size: 1.4rem;
    }
    
    .metric-content h3 {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        min-width: 550px;
    }
}
/* ====================================================================
   CHART FIX - Perbaikan Chart Terpotong & Miring di Mobile
   ==================================================================== */

/* Chart Card Mobile Fix */
@media (max-width: 768px) {
    .chart-card {
        padding: 1.2rem 0.8rem; /* Reduce padding untuk lebih banyak ruang */
        margin: 0 0.3rem 1rem; /* Smaller margin */
        overflow: visible; /* Allow chart to breathe */
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .chart-header h3 {
        font-size: 1.1rem;
    }
    
    /* Chart Canvas Container */
    .chart-canvas {
        height: 260px; /* Increased height */
        position: relative;
        padding: 0.5rem; /* Add padding inside canvas container */
        margin: 0 auto; /* Center the canvas */
        width: 100%; /* Full width */
    }
    
    /* Canvas Element */
    .chart-canvas canvas {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .chart-card {
        padding: 1rem 0.5rem;
        margin: 0 0.2rem 1rem;
    }
    
    .chart-header h3 {
        font-size: 1rem;
    }
    
    .chart-period {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
    
    .chart-canvas {
        height: 240px;
        padding: 0.3rem;
    }
}

/* Progress Section Mobile Fix */
@media (max-width: 768px) {
    .performance-progress {
        padding: 1.5rem 1rem;
        margin: 0 0.3rem 2rem;
    }
    
    .progress-header {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .progress-header h3 {
        font-size: 1.4rem;
        text-align: left;
    }
    
    .progress-header p {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .progress-items {
        gap: 1.3rem;
        padding: 0 0.5rem;
    }
    
    .progress-item {
        width: 100%;
    }
    
    .progress-info {
        margin-bottom: 0.7rem;
    }
    
    .progress-label {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .progress-label i {
        flex-shrink: 0;
    }
    
    .progress-percentage {
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .progress-bar-container {
        height: 10px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .performance-progress {
        padding: 1.2rem 0.8rem;
    }
    
    .progress-header h3 {
        font-size: 1.2rem;
    }
    
    .progress-header p {
        font-size: 0.85rem;
    }
    
    .progress-label {
        font-size: 0.85rem;
    }
    
    .progress-percentage {
        font-size: 0.95rem;
    }
    
    .progress-bar-container {
        height: 9px;
    }
}

/* Metric Cards Mobile Fix - Prevent Cutting */
@media (max-width: 768px) {
    .performance-overview {
        padding: 0 0.3rem;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem 1.2rem;
        margin: 0;
        width: 100%;
    }
    
    .metric-icon {
        margin-bottom: 1rem;
    }
    
    .metric-content {
        text-align: left;
    }
    
    .metric-content h3 {
        font-size: 2.3rem;
        line-height: 1.1;
    }
    
    .metric-content p {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }
    
    .metric-trend {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .metric-card {
        padding: 1.3rem 1rem;
    }
    
    .metric-content h3 {
        font-size: 2rem;
    }
    
    .metric-content p {
        font-size: 0.85rem;
    }
}

/* Achievements Mobile Fix */
@media (max-width: 768px) {
    .achievements-grid {
        padding: 0 0.3rem;
        gap: 1rem;
    }
    
    .achievement-card {
        padding: 1.5rem 1.2rem;
        margin: 0;
    }
    
    .achievement-badge {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
    
    .achievement-badge i {
        font-size: 2rem;
    }
    
    .achievement-card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .achievement-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .achievement-card {
        padding: 1.3rem 1rem;
    }
    
    .achievement-badge {
        width: 60px;
        height: 60px;
    }
    
    .achievement-badge i {
        font-size: 1.8rem;
    }
    
    .achievement-card h4 {
        font-size: 0.95rem;
    }
    
    .achievement-card p {
        font-size: 0.8rem;
    }
}

/* Container Global Fix untuk Mobile */
@media (max-width: 768px) {
    .performance-section .container {
        padding: 0 0.8rem;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .performance-section .container {
        padding: 0 0.6rem;
    }
}

/* Charts Grid Mobile Specific */
@media (max-width: 768px) {
    .charts-grid {
        padding: 0 0.3rem;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .charts-grid {
        padding: 0 0.2rem;
        gap: 1rem;
    }
}

/* Fix untuk Text Alignment di Mobile */
@media (max-width: 768px) {
    .performance-header {
        text-align: center;
        padding: 0 1rem;
    }
    
    .performance-header .section-subtitle {
        margin: 0 auto 1rem;
    }
    
    .performance-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .performance-header p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .performance-header {
        padding: 0 0.5rem;
    }
    
    .performance-header h2 {
        font-size: 1.6rem;
    }
    
    .performance-header p {
        font-size: 0.9rem;
    }
}

/* Prevent any element from causing horizontal scroll */
@media (max-width: 768px) {
    .performance-section,
    .performance-section * {
        box-sizing: border-box;
    }
    
    .performance-section {
        overflow-x: hidden;
        width: 100%;
    }
    
    .performance-section .container {
        overflow-x: hidden;
    }
}


/* ================================================================
   RESPONSIVE — Website Mobile (bukan app)
   Layout menyesuaikan layar, tetap tampilan website biasa
   ================================================================ */

/* Tablet */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .about-image { order: -1; }
    .director-card {
        flex-direction: column;
        text-align: center;
    }
    .director-photo-portrait { margin-bottom: 1rem; }
}

/* Mobile ≤768px */
@media (max-width: 768px) {

    /* ── Global ── */
    html, body {
        overflow-x: hidden;
    }
    body {
        padding-bottom: 0 !important;
    }
    .container {
        padding: 0 16px !important;
    }
    section {
        padding: 40px 0 !important;
    }
    .section-header h2 {
        font-size: 1.6rem !important;
    }
    .section-description {
        font-size: 0.9rem !important;
    }

    /* ── Navbar ── */
    .navbar {
        padding: 0 16px !important;
    }

    /* ── Hero ── */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .hero-buttons .btn {
        justify-content: center !important;
    }
    .konsultasi-card {
        min-width: 90px !important;
        height: 90px !important;
    }

    /* ── About ── */
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .about-image {
        order: -1 !important;
    }
    .about-image .main-image {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }
    .company-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    .stat-box {
        padding: 12px 8px !important;
    }
    .stat-box h4 { font-size: 0.65rem !important; }
    .stat-box p  { font-size: 1rem !important; }
    .director-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .director-photo-portrait { margin-bottom: 1rem !important; }
    .director-experience ul { text-align: left !important; }
    .values-grid-fixed {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* ── Products ── */
    .carousel-arrow { display: none !important; }
    .product-carousel {
        padding: 4px 16px 8px !important;
        scrollbar-width: none !important;
    }
    .product-carousel::-webkit-scrollbar { display: none !important; }
    .product-card-scroll {
        min-width: 195px !important;
        max-width: 195px !important;
    }
    .product-image-scroll { height: 140px !important; }
    .product-content-scroll p { display: none !important; }
    .product-price { display: none !important; }

    /* ── Services ── */
    .services-grid-compact {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* ── Gallery ── */
    .gallery-filter-buttons {
        overflow-x: auto !important;
        scrollbar-width: none !important;
        flex-wrap: nowrap !important;
        padding-bottom: 8px !important;
    }
    .gallery-filter-buttons::-webkit-scrollbar { display: none !important; }
    .gallery-filter-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 0.78rem !important;
        padding: 7px 12px !important;
    }
    .gallery-nav { display: none !important; }
    .gallery-carousel {
        overflow-x: auto !important;
        scrollbar-width: none !important;
        padding: 4px 0 8px !important;
    }
    .gallery-carousel::-webkit-scrollbar { display: none !important; }
    .gallery-card {
        min-width: 240px !important;
        flex-shrink: 0 !important;
    }

    /* ── Performance ── */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .charts-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .performance-comparison { overflow-x: auto !important; }
    .comparison-table { min-width: 420px !important; font-size: 0.8rem !important; }

    /* ── Clients ── */
    .schools-carousel {
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }
    .schools-carousel::-webkit-scrollbar { display: none !important; }
    .carousel-arrows-schools { display: none !important; }
    #schoolMap { height: 260px !important; }

    /* ── Contact ── */
    .contact-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* ── Footer ── */
    .footer-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .footer-brand-modern { text-align: center !important; }
    .footer-logo { margin: 0 auto 1rem !important; display: block !important; }
    .footer-certificates { justify-content: center !important; }
    .footer-links-modern ul {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .footer-bottom-modern {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }
    .footer-legal-modern { justify-content: center !important; flex-wrap: wrap !important; }

    /* ── Prevent horizontal overflow ── */
    .footer-modern,
    .about-section,
    .products-section,
    .services-section,
    .documentation-section,
    .performance-section,
    .clients-section-modern,
    .contact-section-modern {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* Extra small ≤480px */
@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem !important; }
    .company-stats { grid-template-columns: repeat(2, 1fr) !important; }
    .values-grid-fixed { grid-template-columns: 1fr !important; }
    .services-grid-compact { grid-template-columns: 1fr !important; }
    .metrics-grid { grid-template-columns: 1fr !important; }
    .achievements-grid { grid-template-columns: 1fr !important; }
    .product-card-scroll { min-width: 165px !important; max-width: 165px !important; }
}
/* ===== KATALOG PRODUK MODAL ===== */
.katalog-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(8, 20, 48, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.katalog-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Bottom sheet style on mobile, centered on desktop */
.katalog-modal-sheet {
    background: #fff;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
    box-shadow: 0 -10px 60px rgba(15, 82, 186, 0.18);
}
.katalog-modal-overlay.active .katalog-modal-sheet {
    transform: translateY(0);
}
@media (min-width: 600px) {
    .katalog-modal-overlay {
        align-items: center;
    }
    .katalog-modal-sheet {
        border-radius: 24px;
        max-height: 85vh;
        transform: translateY(30px) scale(0.97);
    }
    .katalog-modal-overlay.active .katalog-modal-sheet {
        transform: translateY(0) scale(1);
    }
}

/* Drag handle */
.katalog-drag-handle {
    width: 44px;
    height: 5px;
    background: #e2e8f0;
    border-radius: 99px;
    margin: 14px auto 0;
    flex-shrink: 0;
}
@media (min-width: 600px) {
    .katalog-drag-handle { display: none; }
}

/* Header */
.katalog-modal-header {
    padding: 16px 20px 0;
    flex-shrink: 0;
}
.katalog-modal-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.katalog-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 82, 186, 0.30);
}
.katalog-modal-title-group {
    flex: 1;
    padding: 0 14px;
}
.katalog-modal-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0F52BA;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.katalog-modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.katalog-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.katalog-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Divider */
.katalog-header-divider {
    height: 1px;
    background: linear-gradient(90deg, #0F52BA22, #3b82f622, #0F52BA22);
    margin: 14px 0 0;
}

/* Item count badge */
.katalog-item-count {
    font-size: 0.78rem;
    color: #64748b;
    padding: 12px 20px 8px;
    flex-shrink: 0;
}
.katalog-item-count span {
    font-weight: 700;
    color: #0F52BA;
}

/* Scrollable list */
.katalog-list {
    overflow-y: auto;
    flex: 1;
    padding: 0 16px 100px;
    scrollbar-width: thin;
    scrollbar-color: #0F52BA33 transparent;
}
.katalog-list::-webkit-scrollbar { width: 4px; }
.katalog-list::-webkit-scrollbar-thumb { background: #0F52BA44; border-radius: 99px; }

/* Each item card */
.katalog-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
    /* Staggered entrance animation */
    opacity: 0;
    transform: translateY(18px);
}
.katalog-item.visible {
    animation: katalog-item-in 0.38s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}
@keyframes katalog-item-in {
    to { opacity: 1; transform: translateY(0); }
}
.katalog-item:hover {
    border-color: #0F52BA44;
    box-shadow: 0 4px 18px rgba(15, 82, 186, 0.12);
    transform: translateY(-2px);
}
.katalog-item:active {
    transform: scale(0.98);
}

.katalog-item-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.katalog-item-info {
    flex: 1;
    min-width: 0;
}
.katalog-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.katalog-item-sub {
    font-size: 0.77rem;
    color: #64748b;
}
.katalog-item-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    background: #eff6ff;
    color: #0F52BA;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Footer CTA */
.katalog-modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #fff 70%, transparent);
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.katalog-cta-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0F52BA 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(15, 82, 186, 0.30);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.katalog-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 82, 186, 0.40);
}
.katalog-cta-wa {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #25D366;
    border: 2px solid #25D36644;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.katalog-cta-wa:hover {
    background: #25D36612;
    border-color: #25D366;
}

/* Shimmer loading placeholder */
.katalog-shimmer {
    height: 68px;
    border-radius: 16px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite linear;
    margin-bottom: 10px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
