/* ==========================================================================
   PUBLIC SITE STYLESHEET — SMKku
   Consolidated & optimized. Works alongside tokens.css and system.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. RESET & BASE
   -------------------------------------------------------------------------- */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: var(--font-sans);
    color: var(--c-neutral-800);
    background: var(--c-neutral-0);
}

img, video, iframe {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   1. TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--c-primary-900);
    color: #fff;
    font-size: var(--text-xs);
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-left {
    display: flex;
    gap: 22px;
    align-items: center;
}

.topbar-left a {
    color: #eef1f7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.92;
    transition: color var(--duration-fast) var(--ease-out);
}

.topbar-left a:hover {
    color: var(--c-accent-300);
    opacity: 1;
}

.topbar-right {
    display: none;
}

/* --------------------------------------------------------------------------
   2. NAVBAR & NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(16, 22, 43, 0.08), 0 8px 25px rgba(16, 22, 43, 0.05);
    backdrop-filter: blur(8px);
}

.navbar-content {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--c-primary-900);
    flex-shrink: 0;
}

.brand-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-logo > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-logo strong:first-child {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-logo small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 600;
    color: var(--c-accent-600);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Nav Menu Desktop */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
    list-style: none;
}

.nav-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    color: var(--c-neutral-800);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: var(--radius-sm);
    transition: color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}

.nav-menu > li > a:hover {
    background: var(--c-primary-50);
    color: var(--c-primary-700);
}

.nav-menu > li > a[aria-current="page"] {
    color: var(--c-primary-700);
    font-weight: 700;
}

/* Dropdown Desktop */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 2px solid var(--c-accent-600);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), visibility var(--duration-fast) var(--ease-out);
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 18px;
    color: var(--c-neutral-700);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--duration-fast) var(--ease-out);
}

.dropdown-menu li a:hover {
    background: var(--c-primary-50);
    color: var(--c-primary-700);
    padding-left: 23px;
}

@media (min-width: 993px) {
    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* SPMB & Login buttons in nav */
.btn-spmb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--c-accent-600);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.btn-spmb:hover {
    background: var(--c-accent-700);
    color: #fff;
    transform: translateY(-1px);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--c-accent-600);
    border-radius: var(--radius-sm);
    color: var(--c-accent-700);
    background: transparent;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-login:hover {
    background: var(--c-accent-600);
    color: #fff;
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--c-primary-900);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & SWIPER
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: clamp(500px, 75vh, 680px);
    min-height: 480px;
    overflow: hidden;
    background: var(--c-primary-900);
}

.hero-slider,
.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomHero 10s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(13, 36, 64, 0.78) 0%,
        rgba(13, 36, 64, 0.45) 50%,
        rgba(13, 36, 64, 0.22) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: min(920px, calc(100% - 40px));
    text-align: center;
    color: #fff;
    animation: heroFade 1s ease;
}

.hero-title {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    animation: heroTitle 1s ease;
}

.hero-subtitle {
    margin: 0 auto 28px;
    max-width: 720px;
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.6;
    color: var(--c-primary-50);
    animation: heroSubtitle 1.2s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroButton 1.4s ease;
}

/* Swiper navigation */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    z-index: 10;
}

.hero-section .swiper-button-next { right: 20px; }
.hero-section .swiper-button-prev { left: 20px; }

.hero-section .swiper-pagination {
    bottom: 20px;
    z-index: 10;
}

.hero-section .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.55;
}

.hero-section .swiper-pagination-bullet-active {
    background: var(--c-accent-400);
    opacity: 1;
}

@keyframes heroFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroTitle {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroSubtitle {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroButton {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* --------------------------------------------------------------------------
   4. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-copy {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--c-neutral-600);
}

.about-subtitle {
    color: var(--c-primary-900);
    font-size: 18px;
    border-left: 3px solid var(--c-accent-600);
    padding-left: 12px;
    margin: 24px 0 10px;
}

/* --------------------------------------------------------------------------
   5. HOME MEDIA FRAMES & CARDS
   Aspect ratio locked 4:3 so all photos remain proportional
   -------------------------------------------------------------------------- */
.home-media-frame,
.public-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-neutral-100);
}

.home-media-frame img,
.public-media-frame img,
.home-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-media-card {
    padding: 0;
}

.home-card-body {
    padding: 18px 20px 22px;
}

.major-title {
    font-size: 17px;
    color: var(--c-primary-900);
    margin-bottom: 8px;
    font-weight: 600;
}

.major-description {
    font-size: 13px;
    color: var(--c-neutral-600);
    line-height: 1.7;
    margin-bottom: 14px;
}

.major-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-accent-700);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.major-link:hover {
    color: var(--c-accent-800);
    text-decoration: underline;
}

.activity-image,
.agenda-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
}

.activity-body,
.agenda-body {
    padding: 18px 20px 22px;
}

.activity-title,
.agenda-title {
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-primary-900);
    margin: 8px 0 16px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. GALLERY
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--c-neutral-200);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
    background: linear-gradient(transparent, rgba(13, 36, 64, 0.85));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

/* --------------------------------------------------------------------------
   7. STATISTICS
   -------------------------------------------------------------------------- */
.statistics-section {
    padding: 60px 0;
    background: var(--c-primary-900);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 20px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2 {
    font-size: clamp(32px, 4vw, 42px);
    color: var(--c-accent-300);
    margin: 0 0 6px;
    font-weight: 700;
}

.stat-item p {
    font-size: 12px;
    color: var(--c-primary-100);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   8. PARTNER SECTION
   -------------------------------------------------------------------------- */
.partner-section {
    padding: 60px 0;
    background: var(--c-neutral-50);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 18px;
    align-items: center;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.partner-card img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.partner-card:hover img {
    filter: none;
    opacity: 1;
}

.partner-card span {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-neutral-600);
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: var(--c-primary-900);
    color: #d8dbe3;
    padding: 58px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 36px;
}

.footer h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer p,
.footer-menu a,
.footer-social a {
    font-size: 12px;
    line-height: 1.8;
    color: var(--c-neutral-400);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-menu a:hover {
    color: var(--c-accent-300);
}

.footer-social-column {
    margin-top: 0;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xs);
    text-decoration: none;
    color: var(--c-neutral-300);
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-accent-300);
    border-color: var(--c-accent-300);
}

.footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 20px;
}

.copyright {
    text-align: center;
    font-size: 11px;
    color: var(--c-neutral-500);
}

/* --------------------------------------------------------------------------
   10. FLOATING BUTTONS
   -------------------------------------------------------------------------- */
.whatsapp {
    position: fixed;
    left: 22px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 26px;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform var(--duration-fast) var(--ease-out);
}

.whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

#scrollTop {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--c-accent-600);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: background-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

#scrollTop:hover {
    background: var(--c-accent-700);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   11. SPMB PAGE
   -------------------------------------------------------------------------- */
.spmb-page {
    background: var(--c-neutral-50);
}

.spmb-hero {
    background:
        linear-gradient(135deg, rgba(13, 36, 64, 0.92), rgba(23, 67, 111, 0.85)),
        url('../images/hero-bg.jpg') center / cover;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.spmb-hero h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    color: #fff;
    letter-spacing: 0.5px;
}

.spmb-hero h3 {
    margin: 8px 0 0;
    color: var(--c-accent-300);
    font-size: clamp(16px, 2vw, 20px);
}

.spmb-hero p {
    margin: 10px auto 0;
    max-width: 650px;
    color: var(--c-primary-100);
    font-size: 13px;
}

.spmb-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.spmb-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--c-neutral-300);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--c-neutral-700);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--duration-fast) var(--ease-out);
}

.spmb-tabs a.active,
.spmb-tabs a:hover {
    background: var(--c-primary-700);
    border-color: var(--c-primary-700);
    color: #fff;
}

.spmb-panel {
    background: #fff;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.spmb-panel h2 {
    margin: 0 0 12px;
    color: var(--c-primary-900);
    font-size: 22px;
}

.spmb-panel p,
.spmb-panel li {
    color: var(--c-neutral-600);
    line-height: 1.8;
    font-size: 13px;
}

.spmb-form-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--c-neutral-200);
}

.spmb-form-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.spmb-form-title h3 {
    margin: 0;
    color: var(--c-primary-900);
    font-size: 20px;
}

.spmb-form-title p {
    margin: 4px 0 0;
    color: var(--c-neutral-500);
    font-size: 13px;
}

.spmb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.spmb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spmb-field.full {
    grid-column: 1 / -1;
}

.spmb-field label {
    color: var(--c-neutral-700);
    font-size: 12px;
    font-weight: 600;
}

.spmb-field input,
.spmb-field select,
.spmb-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--c-neutral-300);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--c-neutral-900);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.spmb-field textarea {
    min-height: 105px;
    resize: vertical;
}

.spmb-field input:focus,
.spmb-field select:focus,
.spmb-field textarea:focus {
    border-color: var(--c-primary-600);
    box-shadow: var(--focus-ring);
}

.spmb-help {
    color: var(--c-neutral-500);
    font-size: 11px;
    line-height: 1.5;
}

.spmb-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--c-accent-600);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--ease-out);
}

.spmb-submit:hover {
    background: var(--c-accent-700);
}

.spmb-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.spmb-alert.success {
    background: var(--c-success-50);
    border: 1px solid var(--c-success-100);
    color: var(--c-success-700);
}

.spmb-alert.error {
    background: var(--c-danger-50);
    border: 1px solid var(--c-danger-100);
    color: var(--c-danger-700);
}

.spmb-success-number {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    background: var(--c-accent-100);
    color: var(--c-accent-800);
    font-weight: 700;
}

.spmb-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.spmb-info-card {
    padding: 18px;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-md);
    background: var(--c-neutral-50);
}

.spmb-info-card h4 {
    margin: 0 0 8px;
    color: var(--c-primary-900);
    font-size: 14px;
}

.spmb-info-card ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--c-neutral-600);
}

/* --------------------------------------------------------------------------
   12. DETAIL JURUSAN / PROGRAM KEAHLIAN
   -------------------------------------------------------------------------- */
.major-detail-page {
    padding: 48px 0 72px;
    background: var(--c-neutral-50);
    min-height: 60vh;
}

.major-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--c-neutral-600);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.major-back-link:hover {
    color: var(--c-primary-600);
    text-decoration: underline;
}

.major-detail-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-neutral-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.major-detail-photo {
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: var(--c-neutral-100);
}

.major-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.major-detail-body {
    padding: 30px 36px 36px;
}

.major-detail-body > h1 {
    margin: 8px 0 0;
    color: var(--c-primary-900);
    font-size: 28px;
    line-height: 1.25;
}

.major-detail-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--c-neutral-200);
}

.major-detail-section h2 {
    margin: 0 0 10px;
    color: var(--c-primary-900);
    font-size: 18px;
}

.major-detail-text {
    color: var(--c-neutral-700);
    font-size: 14px;
    line-height: 1.85;
}

.major-not-found {
    max-width: 650px;
    margin: 30px auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--c-neutral-200);
    box-shadow: var(--shadow-sm);
}

.major-not-found h1 {
    margin-bottom: 10px;
    color: var(--c-primary-900);
}

.major-not-found p {
    color: var(--c-neutral-600);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   13. KONTAK
   -------------------------------------------------------------------------- */
.contact-hero {
    background:
        linear-gradient(rgba(13, 36, 64, 0.85), rgba(13, 36, 64, 0.85)),
        url('../images/hero-bg.jpg') center / cover;
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}

.contact-hero h1 {
    margin: 0 0 8px;
    font-size: 32px;
    color: #fff;
}

.contact-hero p {
    margin: 0;
    color: var(--c-primary-100);
    font-size: 14px;
}

.contact-page {
    padding: 40px 0 70px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--c-neutral-700);
    box-shadow: var(--shadow-xs);
    transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.contact-info-card strong {
    color: var(--c-primary-900);
    font-size: 14px;
}

.contact-info-card span:last-child {
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-neutral-600);
}

.contact-info-icon {
    font-size: 24px;
    color: var(--c-primary-600);
    margin-bottom: 4px;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.contact-form-card,
.contact-side-card {
    background: #fff;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-xs);
}

.contact-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-accent-600);
}

.contact-section-heading h2 {
    margin: 6px 0 8px;
    color: var(--c-primary-900);
    font-size: 22px;
}

.contact-section-heading p {
    margin: 0 0 20px;
    color: var(--c-neutral-600);
    font-size: 13px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-submit,
.contact-wa-button,
.contact-map-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: 0;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.contact-submit {
    background: var(--c-primary-700);
    color: #fff;
}

.contact-submit:hover {
    background: var(--c-primary-800);
}

.contact-wa-button {
    background: #16a34a;
    color: #fff;
    margin: 8px 0;
}

.contact-wa-button:hover {
    background: #15803d;
}

.contact-map-button {
    background: var(--c-neutral-50);
    color: var(--c-primary-700);
    border: 1px solid var(--c-neutral-300);
}

.contact-map-button:hover {
    background: var(--c-neutral-100);
}

.contact-side-card h3 {
    margin-top: 0;
    color: var(--c-primary-900);
    font-size: 18px;
}

.contact-side-card p {
    color: var(--c-neutral-600);
    line-height: 1.65;
    font-size: 13px;
}

.contact-side-divider {
    height: 1px;
    background: var(--c-neutral-200);
    margin: 20px 0;
}

.contact-note {
    font-size: 12px;
    color: var(--c-neutral-500);
}

.contact-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.contact-alert-success {
    background: var(--c-success-50);
    border: 1px solid var(--c-success-100);
    color: var(--c-success-700);
}

.contact-alert-error {
    background: var(--c-danger-50);
    border: 1px solid var(--c-danger-100);
    color: var(--c-danger-700);
}

.contact-map-wrap {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--c-neutral-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.contact-map-title {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 14px;
}

.contact-map-title h2 {
    margin: 0;
    font-size: 18px;
    color: var(--c-primary-900);
}

.contact-map-title a {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary-600);
    text-decoration: none;
}

.contact-map-title a:hover {
    text-decoration: underline;
}

.contact-map,
.map-responsive {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--c-neutral-100);
}

.contact-map iframe,
.map-responsive iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* TABLET (≤ 992px) */
@media (max-width: 992px) {
    .navbar {
        height: 68px;
    }

    .navbar-content {
        height: 68px;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 18px;
        box-sizing: border-box;
        background: #fff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        font-size: 13px;
        text-transform: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 4px 0 8px;
        padding: 4px;
        background: var(--c-neutral-50);
        border-radius: var(--radius-sm);
        border-top: none;
        box-shadow: none;
    }

    .dropdown.open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 16px;
        border-radius: var(--radius-xs);
    }

    .btn-spmb,
    .btn-login {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin-top: 6px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-map,
    .map-responsive {
        aspect-ratio: 16 / 9;
    }
}

/* MOBILE (≤ 650px) */
@media (max-width: 650px) {
    .topbar {
        display: none;
    }

    .container {
        width: calc(100% - 28px);
    }

    .hero-section {
        height: 56vh;
        min-height: 380px;
    }

    .hero-title {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 12px 10px;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .spmb-hero {
        padding: 45px 16px;
    }

    .spmb-panel {
        padding: 20px 16px;
    }

    .spmb-form-grid {
        grid-template-columns: 1fr;
    }

    .spmb-info-grid {
        grid-template-columns: 1fr;
    }

    .spmb-tabs a {
        flex: 1 1 calc(50% - 8px);
    }

    .contact-info-grid,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-map,
    .map-responsive {
        aspect-ratio: 4 / 3;
    }

    .whatsapp {
        left: 16px;
        bottom: 18px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    #scrollTop {
        right: 16px;
        bottom: 18px;
        width: 40px;
        height: 40px;
    }
}

/* SMALL MOBILE (≤ 420px) */
@media (max-width: 420px) {
    .container {
        width: calc(100% - 20px);
    }

    .brand-logo img {
        width: 40px;
        height: 40px;
    }

    .brand-logo strong:first-child {
        font-size: 15px;
    }

    .brand-logo small {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .spmb-tabs a {
        flex: 1 1 100%;
    }

    .spmb-submit {
        width: 100%;
    }
}