@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-green: #059669;
    --primary-green-dark: #047B56;
    --hero-green: #064E3B; /* Darker green for hero */
    --primary-teal: #32A984;
    --gold: #E4C46F;
    --gold-dark: #DCB141;
    --success-green: #22C55E;
    --charcoal: #1F2937;
    --slate: #334155;
    --slate-light: #64748B;
    --navy-footer: #0F172A; /* Footer color */
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --light-sage: #F3FAF8;
    --sage-accent: #E6F5F0;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1024px) { .container { padding: 0 20px; } }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Typography */
.display-1 { font-size: 56px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.display-2 { font-size: 36px; font-weight: 700; line-height: 1.3; }
.heading-3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.body-large { font-size: 18px; line-height: 1.6; }
.body-regular { font-size: 16px; line-height: 1.6; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }

@media (max-width: 768px) {
    .display-1 { font-size: 40px; }
    .display-2 { font-size: 28px; }
}

/* Colors */
.text-primary { color: var(--primary-green); }
.text-white { color: var(--white); }
.text-slate { color: var(--slate); }
.text-slate-light { color: var(--slate-light); }
.text-gold { color: var(--gold-dark); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-gray); }

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; padding: 12px 24px; border-radius: 9999px;
    transition: all 0.2s ease; cursor: pointer; border: none; font-size: 15px;
}
.btn-primary { background-color: var(--primary-green); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-green-dark); transform: translateY(-2px); }
.btn-white { background-color: var(--white); color: var(--primary-green); }
.btn-white:hover { background-color: var(--light-gray); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--primary-green); color: var(--primary-green); background: transparent; }
.btn-outline:hover { background-color: var(--primary-green); color: var(--white); }

/* Navbar & Dropdowns */
.navbar { background: var(--white); padding: 12px 0; position: sticky; top: 0; z-index: 9999; box-shadow: var(--shadow-sm); }
.navbar-inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--primary-green); display: flex; align-items: center; gap: 12px; transition: transform 0.3s; }
.nav-brand img { height: 36px; }
.logo-img { height: 48px; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-weight: 800; font-size: 18px; color: var(--charcoal); line-height: 1.2; }
.brand-subtitle { font-size: 10px; color: var(--primary-green); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-brand:hover { transform: scale(1.02); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { color: var(--slate); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.nav-link:hover { color: var(--primary-green); }
.nav-link.active-menu {
    background: var(--sage-accent);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 700;
}
.menu-toggle { display: none; font-size: 28px; background: none; border: none; color: var(--charcoal); cursor: pointer; padding: 10px; z-index: 1001; position: relative; min-width: 48px; min-height: 48px; }

/* Dropdowns */
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--white); min-width: 220px; box-shadow: var(--shadow-md); border-radius: 12px; padding: 12px 0; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 100; border: 1px solid var(--light-gray); margin-top: 10px; }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: var(--white); border-top: 1px solid var(--light-gray); border-left: 1px solid var(--light-gray); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 12px 20px; color: var(--slate); font-size: 14px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.dropdown-menu a:hover { background: var(--sage-accent); color: var(--primary-green); }

@media (max-width: 1024px) {
    .navbar-inner { padding: 0 16px; }
    .logo-img { height: 40px; }
    .brand-title { font-size: 15px; }
    .brand-subtitle { font-size: 8px; }
    
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px 0; box-shadow: var(--shadow-md); gap: 16px; align-items: center; text-align: center; }
    .nav-links.active { display: flex !important; }
    .menu-toggle { display: block; }
    .nav-right { display: none; }
    .mobile-only { display: flex !important; width: 100%; padding: 0 24px; align-items: center; }
    
    .nav-dropdown { flex-direction: column; align-items: center; width: 100%; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; display: none; margin-top: 8px; width: 100%; }
    .dropdown-menu a { text-align: center; justify-content: center; padding: 12px 20px; }
    .dropdown-menu::before { display: none; }
    .nav-dropdown:hover .dropdown-menu { display: block; transform: none; }
}

/* Grids */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.kepsek-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
    .kepsek-grid { grid-template-columns: 400px 1fr; gap: 80px; }
}

/* Hero Section */
.hero-section { background: linear-gradient(135deg, var(--hero-green) 0%, var(--primary-green) 100%); color: var(--white); overflow: hidden; }
.hero-content { padding: 80px 20px; }
.hero-image-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-xl); border: 4px solid rgba(255,255,255,0.1); }
.hero-badge { position: absolute; bottom: -20px; right: 20px; background: var(--white); border-radius: 12px; padding: 16px 24px; box-shadow: var(--shadow-lg); color: var(--charcoal); display: flex; align-items: center; gap: 12px; }

/* Asymmetrical & Features Section */
.feature-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: all 0.3s; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--sage-accent); }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-accent); color: var(--primary-green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 24px; }

/* Check List */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.check-list li::before { content: '✓'; color: var(--primary-green); font-weight: bold; background: var(--sage-accent); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* News & Articles Card */
.kepsek-img-container:hover .kepsek-img { transform: scale(1.05); }
.article-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--light-gray); }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-content { padding: 24px; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 9999px; background: var(--sage-accent); color: var(--primary-green); display: inline-block; margin-bottom: 12px; }
.tag.gold { background: #FEF3E2; color: var(--gold-dark); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.bento-item { border-radius: 16px; overflow: hidden; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.bento-item:hover img { transform: scale(1.05); }
.bento-large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* Footer */
.footer { background-color: var(--navy-footer); color: var(--white); padding: 32px 0 16px; }
.footer-title { color: var(--gold); font-size: 15px; margin-bottom: 12px; font-family: var(--font-heading); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; font-size: 13px; }
.footer-links a { color: var(--slate-light); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; padding-top: 12px; color: var(--slate-light); font-size: 12px; display: flex; justify-content: space-between; align-items: center; }

/* Hero Slider Utilities */
.hero-tag { background: rgba(255,255,255,0.1); color: var(--gold); padding: 6px 16px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.slider-lines .line { height: 4px; width: 40px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.slider-lines .line.active { background: var(--gold); }
.hero-main-img-wrap:hover #hero-main-img { transform: scale(1.05); }
.hero-thumb { width: 80px; height: 50px; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; }
.hero-thumb:hover { border-color: var(--gold); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.thumb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 12px; font-weight: 800; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: var(--white); border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.slider-btn:hover { background: var(--primary-green); opacity: 1; transform: scale(1.05); }

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
    .hero-content { gap: 32px; padding: 40px 20px; }
    .hero-image-wrap img { height: 350px !important; }
    
    /* Make the right column center aligned */
    .hero-content > .relative { margin: 0 auto !important; }
    
    /* Fix floating badges inside image */
    .hero-badge-akreditasi { top: 16px !important; left: 16px !important; padding: 8px 12px !important; }
    .hero-badge-akreditasi .font-bold.text-xl { font-size: 14px !important; }
    .hero-badge-akreditasi span:first-child { font-size: 16px !important; }
    #hero-badge-num { top: 16px !important; right: 16px !important; }
    
    /* Move Sejak badge below image and center it */
    .hero-badge-sejak { 
        position: relative !important; 
        bottom: auto !important; 
        right: auto !important; 
        left: auto !important; 
        width: 100% !important; 
        margin-top: -24px !important; /* Slight overlap with image */
        padding: 16px !important; 
        justify-content: center !important;
    }
    
    /* Move thumbnails and buttons below the Sejak badge */
    .hero-thumb-container { 
        position: relative !important; 
        bottom: auto !important; 
        right: auto !important; 
        left: auto !important; 
        justify-content: center !important; 
        margin-top: 24px !important; 
    }
    
    .hero-section { padding-bottom: 40px !important; }
    .display-1 { font-size: 36px; }
    
    /* Bento Grid Mobile */
    .bento-grid { display: flex; flex-direction: column; gap: 16px; }
    .bento-item { height: 200px; }
}

/* === PAGE HERO (Unified) === */
.page-hero {
    background: linear-gradient(135deg, var(--hero-green) 0%, var(--primary-green) 100%);
    position: relative;
    padding: 60px 20px;
    text-align: center;
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; padding: 12px 24px; border-radius: 9999px;
    transition: all 0.2s ease; cursor: pointer; border: none; font-size: 15px;
}
.btn-primary { background-color: var(--primary-green); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-green-dark); transform: translateY(-2px); }
.btn-white { background-color: var(--white); color: var(--primary-green); }
.btn-white:hover { background-color: var(--light-gray); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--primary-green); color: var(--primary-green); background: transparent; }
.btn-outline:hover { background-color: var(--primary-green); color: var(--white); }

/* Navbar & Dropdowns */
.navbar { background: var(--white); padding: 12px 0; position: sticky; top: 0; z-index: 9999; box-shadow: var(--shadow-sm); }
.navbar-inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--primary-green); display: flex; align-items: center; gap: 12px; transition: transform 0.3s; }
.nav-brand img { height: 36px; }
.logo-img { height: 48px; }
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-weight: 800; font-size: 18px; color: var(--charcoal); line-height: 1.2; }
.brand-subtitle { font-size: 10px; color: var(--primary-green); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-brand:hover { transform: scale(1.02); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { color: var(--slate); font-weight: 600; font-size: 14px; transition: color 0.2s; }
.nav-link:hover { color: var(--primary-green); }
.nav-link.active-menu {
    background: var(--sage-accent);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 700;
}
.menu-toggle { display: none; font-size: 28px; background: none; border: none; color: var(--charcoal); cursor: pointer; padding: 10px; z-index: 1001; position: relative; min-width: 48px; min-height: 48px; }

/* Dropdowns */
.nav-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--white); min-width: 220px; box-shadow: var(--shadow-md); border-radius: 12px; padding: 12px 0; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 100; border: 1px solid var(--light-gray); margin-top: 10px; }
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: var(--white); border-top: 1px solid var(--light-gray); border-left: 1px solid var(--light-gray); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 12px 20px; color: var(--slate); font-size: 14px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.dropdown-menu a:hover { background: var(--sage-accent); color: var(--primary-green); }

@media (max-width: 1024px) {
    .navbar-inner { padding: 0 16px; }
    .logo-img { height: 40px; }
    .brand-title { font-size: 15px; }
    .brand-subtitle { font-size: 8px; }
    
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px 0; box-shadow: var(--shadow-md); gap: 16px; align-items: center; text-align: center; }
    .nav-links.active { display: flex !important; }
    .menu-toggle { display: block; }
    .nav-right { display: none; }
    .mobile-only { display: flex !important; width: 100%; padding: 0 24px; align-items: center; }
    
    .nav-dropdown { flex-direction: column; align-items: center; width: 100%; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; display: none; margin-top: 8px; width: 100%; }
    .dropdown-menu a { text-align: center; justify-content: center; padding: 12px 20px; }
    .dropdown-menu::before { display: none; }
    .nav-dropdown:hover .dropdown-menu { display: block; transform: none; }
}

/* Grids */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.kepsek-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
    .kepsek-grid { grid-template-columns: 400px 1fr; gap: 80px; }
}

/* Hero Section */
.hero-section { background: linear-gradient(135deg, var(--hero-green) 0%, var(--primary-green) 100%); color: var(--white); overflow: hidden; }
.hero-content { padding: 80px 20px; }
.hero-image-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-xl); border: 4px solid rgba(255,255,255,0.1); }
.hero-badge { position: absolute; bottom: -20px; right: 20px; background: var(--white); border-radius: 12px; padding: 16px 24px; box-shadow: var(--shadow-lg); color: var(--charcoal); display: flex; align-items: center; gap: 12px; }

/* Asymmetrical & Features Section */
.feature-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: all 0.3s; }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--sage-accent); }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-accent); color: var(--primary-green); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 24px; }

/* Check List */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.check-list li::before { content: '✓'; color: var(--primary-green); font-weight: bold; background: var(--sage-accent); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* News & Articles Card */
.kepsek-img-container:hover .kepsek-img { transform: scale(1.05); }
.article-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--light-gray); }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-content { padding: 24px; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 9999px; background: var(--sage-accent); color: var(--primary-green); display: inline-block; margin-bottom: 12px; }
.tag.gold { background: #FEF3E2; color: var(--gold-dark); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.bento-item { border-radius: 16px; overflow: hidden; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.bento-item:hover img { transform: scale(1.05); }
.bento-large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* Footer */
.footer { background-color: var(--navy-footer); color: var(--white); padding: 32px 0 16px; }
.footer-title { color: var(--gold); font-size: 15px; margin-bottom: 12px; font-family: var(--font-heading); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; font-size: 13px; }
.footer-links a { color: var(--slate-light); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; padding-top: 12px; color: var(--slate-light); font-size: 12px; display: flex; justify-content: space-between; align-items: center; }

/* Hero Slider Utilities */
.hero-tag { background: rgba(255,255,255,0.1); color: var(--gold); padding: 6px 16px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.2); }
.slider-lines .line { height: 4px; width: 40px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.slider-lines .line.active { background: var(--gold); }
.hero-main-img-wrap:hover #hero-main-img { transform: scale(1.05); }
.hero-thumb { width: 80px; height: 50px; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; }
.hero-thumb:hover { border-color: var(--gold); }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.thumb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 12px; font-weight: 800; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--charcoal); color: var(--white); border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.slider-btn:hover { background: var(--primary-green); opacity: 1; transform: scale(1.05); }

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
    .hero-content { gap: 32px; padding: 40px 20px; }
    .hero-image-wrap img { height: 350px !important; }
    
    /* Make the right column center aligned */
    .hero-content > .relative { margin: 0 auto !important; }
    
    /* Fix floating badges inside image */
    .hero-badge-akreditasi { top: 16px !important; left: 16px !important; padding: 8px 12px !important; }
    .hero-badge-akreditasi .font-bold.text-xl { font-size: 14px !important; }
    .hero-badge-akreditasi span:first-child { font-size: 16px !important; }
    #hero-badge-num { top: 16px !important; right: 16px !important; }
    
    /* Move Sejak badge below image and center it */
    .hero-badge-sejak { 
        position: relative !important; 
        bottom: auto !important; 
        right: auto !important; 
        left: auto !important; 
        width: 100% !important; 
        margin-top: -24px !important; /* Slight overlap with image */
        padding: 16px !important; 
        justify-content: center !important;
    }
    
    /* Move thumbnails and buttons below the Sejak badge */
    .hero-thumb-container { 
        position: relative !important; 
        bottom: auto !important; 
        right: auto !important; 
        left: auto !important; 
        justify-content: center !important; 
        margin-top: 24px !important; 
    }
    
    .hero-section { padding-bottom: 40px !important; }
    .display-1 { font-size: 36px; }
    
    /* Bento Grid Mobile */
    .bento-grid { display: flex; flex-direction: column; gap: 16px; }
    .bento-item { height: 200px; }
}

/* === PAGE HERO (Unified) === */
.page-hero {
    background: linear-gradient(135deg, var(--hero-green) 0%, var(--primary-green) 100%);
    position: relative;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    color: var(--white);
    margin-bottom: 40px;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l15 15-15 15L15 15z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease forwards;
}
.page-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    animation: fadeDown 0.8s ease forwards;
}
.page-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--white) !important;
}
.page-hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--white) !important;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 20px;
        border-radius: 0 0 24px 24px;
    }
    .page-hero-title {
        font-size: 32px;
    }
    .page-hero-subtitle {
        font-size: 14px;
    }
}
