* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f7fc;
    color: #333;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a4b8c;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #1a4b8c;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 420px;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(3, 12, 43, 0.85) 0%, rgba(2, 23, 90, 0.4) 60%, rgba(12, 22, 56, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    color: #ffffff;
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-overlay p {
    font-size: 0.95rem;
    max-width: 550px;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #1a4b8c;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    width: fit-content;
    transition: 0.3s;
}

.btn-hero:hover {
    background-color: #e2e8f0;
}

/* STATS BAR */
.stats-wrapper {
    padding: 0 8%;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stat-card {
    text-align: center;
    border-right: 1px solid #edf2f7;
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: #1a4b8c;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a4b8c;
}

.stat-label {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 600;
}

/* SECTIONS & GRIDS */
.section-container {
    padding: 50px 8%;
}

.section-title {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 24px;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* CARD NEWS */
.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.card-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(12, 35, 75, 0.75);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.card-body {
    padding: 16px;
}

.card-meta {
    font-size: 0.7rem;
    color: #718096;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.card-body h3 {
    font-size: 0.9rem;
    color: #2d3748;
    line-height: 1.4;
    font-weight: 600;
}

/* CARD PROGRAM UNGGULAN */
.card-program {
    position: relative;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.foto-program {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.logo-program {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    z-index: 3;
}

.program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 35, 75, 0.9) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.program-overlay h3 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* PROFIL PAGE */
.profil-container {
    padding: 40px 8%;
}

.sejarah-banner {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.sejarah-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.lead-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 500;
}

.sub-text {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 30px;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card-visi {
    background-color: #0b2545;
    color: #ffffff;
    padding: 24px;
    border-radius: 12px;
}

.card-visi .icon-box {
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-visi h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-visi p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.card-misi {
    background-color: #e0f2fe;
    padding: 24px;
    border-radius: 12px;
    color: #0369a1;
}

.card-misi-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.icon-box-blue {
    background: #0284c7;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.card-misi h3 {
    font-size: 1.1rem;
    color: #0c4a6e;
}

.card-misi ul {
    list-style: none;
}

.card-misi ul li {
    font-size: 0.75rem;
    color: #0c4a6e;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    line-height: 1.4;
}

.card-misi ul li span {
    background: #bae6fd;
    color: #0369a1;
    font-weight: bold;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.kepala-sekolah-box {
    text-align: center;
}

.kepala-sekolah-box img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.kepala-sekolah-box h4 {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #1a365d;
    font-weight: 700;
}

/* JURUSAN SECTION */
.program-keahlian-section {
    margin-top: 60px;
}

.jurusan-grid {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 20px;
    align-items: center;
}

.jurusan-card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.jurusan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jurusan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 35, 75, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.jurusan-overlay p {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.jurusan-logos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.logo-badge {
    border: 2px solid #1a365d;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: bold;
    color: #1a365d;
    text-align: center;
    width: 100%;
}

/* FOOTER */
.footer {
    background-color: #dbeafe;
    padding-top: 40px;
    color: #1e3a8a;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 0 8% 40px 8%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-col p, .footer-col ul li a {
    font-size: 0.85rem;
    color: #3b82f6;
    line-height: 1.6;
    text-decoration: none;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e3a8a;
}

.footer-col ul {
    list-style: none;
}

.footer-bottom {
    background-color: #bfdbfe;
    text-align: center;
    padding: 16px;
    font-size: 0.8rem;
    color: #1e40af;
}

/* HALAMAN PRODUK SEKOLAH */
.produk-hero {
    height: 220px;
}

.produk-overlay-hero {
    background: linear-gradient(to right, rgba(3, 12, 43, 0.6) 0%, rgba(2, 23, 90, 0.3) 100%);
    justify-content: center;
    padding-left: 8%;
}

.produk-overlay-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.pk-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.pk-subtitle {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pk-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 28px;
    color: #718096;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pk-info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #1a4b8c;
}

.pk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pk-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pk-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f1f3f5;
    overflow: hidden;
}

.pk-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-photo img.contain {
    object-fit: contain;
}

.pk-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(12, 35, 75, 0.75);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

.pk-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pk-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a365d;
}

.pk-price {
    margin: 4px 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a4b8c;
}

.pk-wa {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 11px 0;
    border-radius: 8px;
    transition: 0.3s;
}

.pk-wa:hover {
    background: #1ebe5b;
}

.pk-wa svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.pk-steps {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pk-steps h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 16px;
}

.pk-steps ol {
    list-style: none;
    counter-reset: langkah;
    display: flex;
    gap: 24px;
    padding: 0;
}

.pk-steps li {
    counter-increment: langkah;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
}

.pk-steps li::before {
    content: counter(langkah);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #1a4b8c;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pk-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.pk-float:hover {
    background: #1ebe5b;
}

.pk-float-icon {
    display: flex;
}

.pk-float-icon svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.pk-wa:focus-visible,
.pk-float:focus-visible {
    outline: 3px solid #1a4b8c;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .pk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pk-grid {
        grid-template-columns: 1fr;
    }

    .pk-steps ol {
        flex-direction: column;
        gap: 14px;
    }
}

/* HALAMAN ARTIKEL */
.artikel-hero {
    height: 260px;
}

.artikel-overlay-hero {
    background: linear-gradient(to top, rgba(3, 12, 43, 0.85) 0%, rgba(2, 23, 90, 0.25) 60%, rgba(12,22,56,0.1) 100%);
    justify-content: flex-end;
    padding: 0 8% 30px 8%;
}

.artikel-overlay-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.artikel-overlay-hero p {
    font-size: 0.85rem;
    max-width: 480px;
    margin-bottom: 0;
}

.artikel-container {
    padding: 50px 8%;
}

.artikel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
}

.artikel-card-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    margin-bottom: 14px;
}

.artikel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artikel-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .artikel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .artikel-grid {
        grid-template-columns: 1fr;
    }
}

/* HALAMAN GALERI */
.galeri-hero {
    height: 220px;
}

.galeri-overlay-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    justify-content: center;
    padding-left: 8%;
}

.galeri-overlay-hero h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.galeri-overlay-hero p {
    font-size: 0.85rem;
    max-width: 500px;
}
.galeri-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 20px;
}

.galeri-container .section-title {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
    color: #151618;
    text-transform: lowercase;
}

.galeri-masonry {
    column-count: 3;
    column-gap: 14px;
}

.galeri-masonry img {
    width: 100%;
    display: block;
    margin-bottom: 14px;
    border-radius: 6px;
    break-inside: avoid;
}

@media (max-width: 900px) {
    .galeri-masonry {
        column-count: 2;
    }
}

@media (max-width: 540px) {
    .galeri-masonry {
        column-count: 1;
    }
}

/* HALAMAN EKSTRAKURIKULER */
.ekskul-hero {
    height: 260px;
}

.ekskul-overlay-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15%;
}

.ekskul-overlay-hero p {
    max-width: 600px;
    margin: 0 auto;
}

.ekskul-container {
    padding: 50px 8%;
}

.ekskul-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ekskul-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ekskul-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ekskul-body {
    padding: 16px;
}

.ekskul-body h3 {
    font-size: 1rem;
    color: #1a365d;
    margin-bottom: 6px;
    font-weight: 700;
}

.ekskul-body p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .ekskul-grid {
        grid-template-columns: 1fr;
    }
}

/* HALAMAN KONTAK */
.kontak-hero {
    padding: 60px 8% 40px 8%;
    background-color: #eff6ff;
}

.eyebrow-dark {
    color: #1a4b8c;
}

.kontak-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 12px 0 16px 0;
    line-height: 1.3;
}

.kontak-hero .text-blue {
    color: #1a4b8c;
}

.kontak-hero p {
    font-size: 0.9rem;
    color: #64748b;
    max-width: 500px;
    line-height: 1.6;
}

.kontak-container {
    padding: 40px 8% 50px 8%;
}

/* INFO KONTAK & PETA */
.kontak-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    margin-bottom: 60px;
}

.info-kontak-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-kontak-card h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.info-item i {
    color: #1a4b8c;
    margin-top: 3px;
    width: 16px;
}

.info-item p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.5;
}

.kontak-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    width: 100%;
    max-width: 100%;
}

.kontak-map iframe {
    max-width: 100%;
}

/* FORM & FOTO */
.kontak-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.kontak-form-box h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.kontak-form-box .text-blue {
    color: #1a4b8c;
}

.kontak-form-box > p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.kontak-form-box input,
.kontak-form-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    resize: none;
}

.kontak-form-box input:focus,
.kontak-form-box textarea:focus {
    outline: none;
    border-color: #1a4b8c;
}

.btn-kirim {
    background-color: #1a4b8c;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-kirim:hover {
    background-color: #143a6b;
}

.kontak-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 420px;
}

.kontak-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kontak-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.kontak-badge i {
    color: #1a4b8c;
    font-size: 1.4rem;
}

.kontak-badge strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.kontak-badge span {
    font-size: 0.7rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .kontak-info-grid,
    .kontak-form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .kontak-photo {
        height: 300px;
    }
}
/* ===== HOVER: BERANDA & PROFIL ===== */

/* Berita Update: kartu naik, gambar zoom */
.card-news {
    transition: transform .3s ease, box-shadow .3s ease;
}
.card-img-wrapper {
    overflow: hidden;
}
.card-img-wrapper img {
    transition: transform .5s ease;
}
.card-news:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}
.card-news:hover .card-img-wrapper img {
    transform: scale(1.06);
}

/* Program Unggulan (Beranda) dan Program Keahlian (Profil) */
.card-program {
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card-program img:not(.logo-program) {
    transition: transform .5s ease;
}
.card-program:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}
.card-program:hover img:not(.logo-program) {
    transform: scale(1.06);
}
/* ===== EFEK HOVER GAMBAR ===== */

/* Galeri: gambar membesar sedikit dan bayangan muncul */
.galeri-masonry img {
    transition: transform .4s ease, box-shadow .4s ease;
    cursor: pointer;
}
.galeri-masonry img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    position: relative;
    z-index: 2;
}

/* Artikel: gambar zoom di dalam kotaknya */
.artikel-card-img {
    overflow: hidden;
    border-radius: 12px;
}
.artikel-card-img img {
    transition: transform .5s ease;
}
.artikel-item:hover .artikel-card-img img {
    transform: scale(1.08);
}

/* Ekstrakurikuler: kartu naik, gambar zoom */
.ekskul-card {
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.ekskul-card img {
    transition: transform .5s ease;
}
.ekskul-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}
.ekskul-card:hover img {
    transform: scale(1.06);
}

/* Produk: kartu naik, gambar zoom */
.pk-photo {
    overflow: hidden;
}
.pk-photo img {
    transition: transform .5s ease;
}
.pk-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.pk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
}
.pk-card:hover .pk-photo img {
    transform: scale(1.06);
}

/* Hormati pengguna yang mematikan animasi di perangkatnya */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}