/* =====================================================
   SUBPAGE CSS - Styling untuk Halaman-halaman Sub
   File ini dipake di semua halaman Profil, Jurusan,
   Kesiswaan, Kurikulum, dan Humas
   
   Author: Tim IT SMK TI Bali Global Badung
   ===================================================== */


/* =====================================================
   SECTION 1: VARIABEL KHUSUS SUBPAGE
   Warna dan ukuran tambahan buat subpage
   ===================================================== */

:root {
    /* Hero subpage (bagian atas halaman) */
    --subpage-hero-height: 350px;
    --subpage-hero-overlay: linear-gradient(135deg, rgba(10, 15, 30, 0.9), rgba(0, 77, 128, 0.7));
    
    /* Area konten */
    --subpage-content-bg: var(--bg-primary);
    --subpage-content-padding: 4rem 0;
    
    /* Sidebar (info tambahan) */
    --sidebar-width: 280px;
    --sidebar-bg: rgba(0, 247, 255, 0.03);
    --sidebar-border: rgba(0, 247, 255, 0.1);
}

[data-theme="light"] {
    --subpage-hero-overlay: linear-gradient(135deg, rgba(0, 119, 182, 0.85), rgba(0, 180, 216, 0.75));
    --sidebar-bg: rgba(0, 119, 182, 0.03);
    --sidebar-border: rgba(0, 119, 182, 0.1);
}


/* =====================================================
   SECTION 2: PAGE HERO / BANNER
   Banner di bagian atas setiap halaman sub
   ===================================================== */

/* Container hero (wadahnya) */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 400px; /* Sedikit lebih tinggi */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
    margin-top: 80px; /* Offset untuk fixed navbar */
}

/* Overlay gradient (lapisan biar hero lebih kebaca) */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--subpage-hero-overlay);
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Overlay pola (biar nggak polos) */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 247, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(0deg, rgba(10, 22, 40, 0.8) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Dekorasi bentuk gelombang di bawah header */
.page-hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.page-hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.page-hero-shape .shape-fill {
    fill: var(--subpage-content-bg);
}

/* Konten hero */
.page-hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    transform: translateY(-20px);
}

/* Badge kategori */
.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.page-hero-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-hero-badge i {
    color: var(--accent-400); 
}

/* Judul halaman */
.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-hero h1 span {
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--secondary-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Deskripsi singkat */
.page-hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* Hero di mode terang */
[data-theme="light"] .page-hero-badge {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-700);
    border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .page-hero-shape .shape-fill {
    fill: #ffffff; /* Match body background light mode */
}


/* =====================================================
   SECTION 3: BREADCRUMB
   Navigasi path halaman
   ===================================================== */

/* Wadah breadcrumb */
.breadcrumb-container {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: relative;
    z-index: 10;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.25rem;
}

.breadcrumb-current {
    color: var(--primary);
    font-weight: 600;
}

[data-theme="light"] .breadcrumb-container {
    background: rgba(255, 255, 255, 0.1);
}


/* =====================================================
   SECTION 4: MAIN CONTENT AREA
   Area konten utama dengan/tanpa sidebar
   ===================================================== */

/* Pembungkus section */
.page-content {
    padding: var(--subpage-content-padding);
    background: var(--subpage-content-bg);
}

/* Layout dengan sidebar */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Layout tanpa sidebar (full width) */
.content-wrapper.full-width {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* Konten utama */
.main-content {
    min-width: 0; /* Fix untuk overflow content */
}

/* Styling artikel */
.main-content article {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

/* Heading dalam artikel */
.main-content h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.main-content h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.main-content h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

/* Paragraf */
.main-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* List / daftar */
.main-content ul,
.main-content ol {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.main-content li {
    margin-bottom: 0.5rem;
}

/* Link dalam konten */
.main-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.main-content a:hover {
    border-bottom-color: var(--primary);
}

/* Image dalam konten */
.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Figure dengan caption */
.main-content figure {
    margin: 2rem 0;
}

.main-content figcaption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* Blockquote */
.main-content blockquote {
    background: rgba(0, 247, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.main-content blockquote cite {
    display: block;
    margin-top: 0.75rem;
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
}

/* Table */
.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.main-content th,
.main-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.main-content th {
    background: rgba(0, 247, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.main-content tr:hover {
    background: rgba(0, 247, 255, 0.03);
}


/* =====================================================
   SECTION 5: SIDEBAR
   Sidebar navigasi dan info tambahan
   ===================================================== */

/* Sidebar container */
.page-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Sidebar widget */
.sidebar-widget {
    background: var(--sidebar-bg);
    border: 1px solid var(--sidebar-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Widget title */
.sidebar-widget h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget h3 i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Navigation widget - menu halaman terkait */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: rgba(0, 247, 255, 0.1);
    color: var(--primary);
    padding-left: 1.25rem;
}

.sidebar-nav a.active {
    background: rgba(0, 247, 255, 0.15);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
    opacity: 1;
}

/* Info widget - kontak cepat, etc */
.sidebar-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sidebar-info p {
    margin-bottom: 0.75rem;
}

.sidebar-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-info .info-item i {
    color: var(--primary);
    margin-top: 0.25rem;
    width: 18px;
    text-align: center;
}

/* CTA widget */
.sidebar-cta {
    text-align: center;
}

.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
}


/* =====================================================
   SECTION 6: CARD COMPONENTS
   Komponen card untuk galeri, list item, dll
   ===================================================== */

/* Grid kartu */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Card item */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.1);
    border-color: var(--primary);
}

/* Card image */
.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

/* Card body */
.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Card with icon */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: #0a0f1a;
}

[data-theme="light"] .card-icon i {
    color: #fff;
}


/* =====================================================
   SECTION 7: PROFILE/TEAM CARDS
   Card untuk daftar guru, pengurus, dll
   ===================================================== */

/* Grid kartu profil */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Profile card */
.profile-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.1);
}

/* Profile photo */
.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--primary);
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-role {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.profile-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* =====================================================
   SECTION 8: GALLERY
   Grid galeri foto
   ===================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}


/* =====================================================
   SECTION 9: CTA SECTION
   Call to action di bawah konten
   ===================================================== */

.cta-section {
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1), rgba(123, 97, 255, 0.1));
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid rgba(0, 247, 255, 0.2);
}

.cta-section h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* =====================================================
   SECTION 10: RESPONSIVE
   Penyesuaian untuk berbagai ukuran layar
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .page-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
    
    .page-hero h1 {
        font-size: 2.25rem;
    }
}

/* Versi HP (mobile) */
@media (max-width: 768px) {
    .page-hero {
        min-height: 280px;
        margin-top: 70px;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero-description {
        font-size: 0.95rem;
    }
    
    .page-content {
        padding: 2.5rem 0;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .main-content article {
        padding: 1.5rem;
    }
    
    .main-content h2 {
        font-size: 1.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-section h3 {
        font-size: 1.35rem;
    }
}

/* Mobile kecil */
@media (max-width: 480px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
}

/* =====================================================
   SECTION X: COMPAT MODE (Legacy Class)
   Beberapa halaman lama masih pake class versi "subpage-*".
   Nah ini kita akalin biar tampilannya tetep kece tanpa bongkar total.
   ===================================================== */

/* Ini overlay div kadang dobel sama ::before, jadi mending dimatiin biar gak terlalu gelap */
.page-hero-overlay {
    display: none;
}

/* Wrapper section konten (alias dari .page-content) */
.subpage-content {
    padding: var(--subpage-content-padding);
    background: var(--subpage-content-bg);
}

/* Container konten (alias dari .content-wrapper) */
.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Kalau ada sidebar: jadikan grid (biar gak turun ke bawah & gak berantakan) */
.subpage-container.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

/* Mode full width (buat halaman yang gak butuh sidebar) */
.subpage-container.full-width {
    max-width: 900px;
}

/* Artikel utama (alias gaya .main-content article) */
.subpage-main {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

/* Sidebar versi legacy (yang dipakai di banyak halaman) */
.subpage-sidebar {
    position: sticky;
    top: 110px;
}

.subpage-sidebar .sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.subpage-sidebar .sidebar-widget h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

/* Quick nav: ini harus keliatan klik-able (ada hover, ada active) */
.subpage-sidebar .quick-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.subpage-sidebar .quick-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    text-decoration: none;
    transition: transform var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), background var(--transition-normal);
}

.subpage-sidebar .quick-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.25);
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.06);
}

.subpage-sidebar .quick-nav a.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(139, 92, 246, 0.12));
    border-color: rgba(0, 212, 255, 0.25);
}

.subpage-sidebar .quick-nav a i {
    width: 18px;
    text-align: center;
    opacity: 0.8;
}

/* Contact info: rapihin spacing biar gak "berisik" */
.subpage-sidebar .contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    margin: 0 0 10px;
    line-height: 1.6;
}

.subpage-sidebar .contact-info i {
    margin-top: 2px;
    color: var(--accent-400);
}

/* Heading dalam artikel */
.subpage-main h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.subpage-main h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.subpage-main h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

/* Paragraf dan list */
.subpage-main p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.subpage-main ul,
.subpage-main ol {
    color: var(--text-secondary);
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.subpage-main li {
    margin-bottom: 0.5rem;
}

/* Link dalam konten */
.subpage-main a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.subpage-main a:hover {
    border-bottom-color: var(--primary);
}

/* Gambar dalam konten */
.subpage-main img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.subpage-main figure {
    margin: 2rem 0;
}

.subpage-main figcaption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* Quote biar lebih "berasa" */
.subpage-main blockquote {
    background: rgba(0, 247, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Table biar rapih (kalo ada tabel akreditasi/struktur) */
.subpage-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.subpage-main th,
.subpage-main td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.subpage-main th {
    background: rgba(0, 247, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.subpage-main tr:hover {
    background: rgba(0, 247, 255, 0.03);
}

/* CTA legacy: ada halaman yang pake .subpage-cta + .cta-btn */
.subpage-cta {
    margin: 3rem 0;
}

.subpage-cta > .container {
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.08), rgba(123, 97, 255, 0.08));
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(0, 247, 255, 0.18);
}

.subpage-cta h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin: 0 0 0.75rem 0;
}

.subpage-cta p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.subpage-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.subpage-cta .cta-btn.primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(139, 92, 246, 0.18));
    color: var(--text-primary);
}

.subpage-cta .cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.subpage-cta .cta-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

@media (max-width: 992px) {
    .subpage-container.has-sidebar {
        grid-template-columns: 1fr;
    }

    .subpage-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .subpage-cta > .container {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }
}

/* Breadcrumb versi halaman (yang markup-nya masih simpel) */
.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

.page-hero .breadcrumb i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.page-hero .breadcrumb span {
    color: #fff;
    font-weight: 600;
}

[data-theme="light"] .page-hero .breadcrumb {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .subpage-main {
        padding: 1.75rem;
    }

    .subpage-container {
        padding: 0 1rem;
    }
}


/* =====================================================
   FIN - Akhir dari subpage.css
   Halaman sub siap tampil kece! ðŸ’ª
   ===================================================== */


/* =====================================================
   SECTION EXTRAS: PROFIL COMPONENTS
   Komponen khusus untuk halaman profil
   ===================================================== */

/* --- Stats Counter --- */
.stats-section {
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(0,0,0,0.2) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

[data-theme='light'] .stat-card {
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-500);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-400);
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Timeline Sejarah --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-primary);
    border: 4px solid var(--accent-400);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--border);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--border);
}

.timeline-right::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--border);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--border) transparent transparent;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--bg-card);
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    border-color: var(--accent-400);
}

[data-theme='light'] .timeline-content {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.timeline-date {
    font-weight: 700;
    color: var(--accent-400);
    margin-bottom: 0.5rem;
    display: block;
}

@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-left::after, .timeline-right::after {
        left: 21px;
    }
    
    .timeline-right {
        left: 0%;
    }
}

/* --- Founder Card --- */
.founder-box {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.founder-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: var(--accent-glow);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.2;
}

.founder-img {
    flex-shrink: 0;
    width: 200px;
    height: 250px; /* Fixed height ratio styling */
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--accent-400);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.founder-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.founder-role {
    color: var(--accent-400);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .founder-box {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Feature Cards (Visi Misi Short) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-400);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-link {
    margin-top: auto;
    color: var(--accent-400);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link:hover {
    gap: 0.8rem;
}


/* =====================================================
   HERO PROFIL - MODERN & INTERAKTIF
   SMK TI Bali Global Badung
   ===================================================== */

/* Hero profil dengan efek modern */
.page-hero.hero-profil {
    --hero-profil-a: rgba(59, 130, 246, 0.65);
    --hero-profil-b: rgba(139, 92, 246, 0.55);
    --hero-profil-accent: rgba(0, 212, 255, 0.15);
    
    background-image:
        radial-gradient(circle at 18% 75%, var(--hero-profil-accent) 0%, transparent 55%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
        linear-gradient(135deg, var(--hero-profil-a), var(--hero-profil-b));
    min-height: 480px;
    overflow: hidden;
}

.page-hero.hero-profil::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.20));
}

.page-hero.hero-profil::after {
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 52%);
}

/* Background effects container */
.hero-profil .hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Animated Orbs */
.hero-profil .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-profil .hero-orb--1 {
    width: 280px;
    height: 280px;
    background: rgba(59, 130, 246, 0.5);
    top: -80px;
    left: -60px;
    animation-delay: 0s;
}

.hero-profil .hero-orb--2 {
    width: 220px;
    height: 220px;
    background: rgba(139, 92, 246, 0.45);
    bottom: -60px;
    right: -40px;
    animation-delay: 2s;
    animation-duration: 10s;
}

.hero-profil .hero-orb--3 {
    width: 160px;
    height: 160px;
    background: rgba(0, 212, 255, 0.35);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    animation-duration: 12s;
    opacity: 0.3;
}

/* Grid overlay */
.hero-profil .hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* Floating Icons */
.hero-profil .hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-profil .floating-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: iconFloat 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profil .floating-icon:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-profil .floating-icon--1 { top: 18%; left: 8%; animation-delay: 0s; }
.hero-profil .floating-icon--2 { top: 28%; right: 12%; animation-delay: 1s; animation-duration: 7s; }
.hero-profil .floating-icon--3 { bottom: 28%; left: 12%; animation-delay: 2s; animation-duration: 5s; }
.hero-profil .floating-icon--4 { bottom: 35%; right: 10%; animation-delay: 3s; animation-duration: 8s; }

/* Watermark */
.hero-profil .hero-profil-watermark {
    position: absolute;
    right: clamp(-40px, -2vw, -10px);
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    z-index: 2;
    pointer-events: none;
    opacity: 0.15;
}

.hero-profil .hero-profil-watermark i {
    font-size: clamp(100px, 12vw, 200px);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Hero content styling */
.hero-profil .page-hero-content {
    position: relative;
    z-index: 5;
}

.hero-profil .page-hero-badge {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.hero-profil h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: none;
    margin-bottom: 1rem;
}

.hero-profil h1 span {
    color: rgba(255, 255, 255, 0.95);
    background: none;
    -webkit-text-fill-color: unset;
}

.hero-profil .page-hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-profil .breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
}

.hero-profil .breadcrumb a,
.hero-profil .breadcrumb span,
.hero-profil .breadcrumb-link,
.hero-profil .breadcrumb-current {
    color: #fff;
}

.hero-profil .breadcrumb i,
.hero-profil .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   VARIASI WARNA PER HALAMAN PROFIL
   ===================================================== */

.hero-profil--visi {
    --hero-profil-a: rgba(59, 130, 246, 0.65);
    --hero-profil-b: rgba(16, 185, 129, 0.55);
}

.hero-profil--struktur {
    --hero-profil-a: rgba(139, 92, 246, 0.65);
    --hero-profil-b: rgba(59, 130, 246, 0.55);
}

.hero-profil--guru {
    --hero-profil-a: rgba(245, 158, 11, 0.65);
    --hero-profil-b: rgba(239, 68, 68, 0.50);
}

.hero-profil--fasilitas {
    --hero-profil-a: rgba(16, 185, 129, 0.65);
    --hero-profil-b: rgba(59, 130, 246, 0.55);
}

.hero-profil--akreditasi {
    --hero-profil-a: rgba(236, 72, 153, 0.60);
    --hero-profil-b: rgba(139, 92, 246, 0.55);
}

.hero-profil--yayasan {
    --hero-profil-a: rgba(99, 102, 241, 0.65);
    --hero-profil-b: rgba(168, 85, 247, 0.55);
}

.hero-profil--logo {
    --hero-profil-a: rgba(14, 165, 233, 0.65);
    --hero-profil-b: rgba(6, 182, 212, 0.55);
}

.hero-profil--mars {
    --hero-profil-a: rgba(234, 88, 12, 0.60);
    --hero-profil-b: rgba(249, 115, 22, 0.55);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .page-hero.hero-profil {
        min-height: 420px;
    }
    
    .hero-profil .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-profil .floating-icon--4 {
        display: none;
    }
    
    .hero-profil .hero-profil-watermark {
        opacity: 0.10;
        right: -60px;
    }
    
    .hero-profil .hero-orb--1 { width: 180px; height: 180px; }
    .hero-profil .hero-orb--2 { width: 150px; height: 150px; }
    .hero-profil .hero-orb--3 { display: none; }
}

@media (max-width: 480px) {
    .page-hero.hero-profil {
        min-height: 380px;
    }
    
    .hero-profil .hero-floating-icons {
        display: none;
    }
    
    .hero-profil .hero-profil-watermark {
        display: none;
    }
}

/* =====================================================
   LIGHT MODE - HERO PROFIL
   Sama dengan dark mode (teks putih)
   ===================================================== */

[data-theme="light"] .page-hero.hero-profil {
    background-image:
        radial-gradient(ellipse at 20% 80%, var(--hero-profil-accent) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 45%),
        linear-gradient(135deg, var(--hero-profil-a), var(--hero-profil-b));
}

[data-theme="light"] .page-hero.hero-profil::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.10));
}

[data-theme="light"] .hero-profil .hero-orb {
    opacity: 0.4;
}

[data-theme="light"] .hero-profil .hero-grid-overlay {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero-profil .floating-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero-profil .page-hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.30);
    color: #fff;
}

[data-theme="light"] .hero-profil h1,
[data-theme="light"] .hero-profil h1 span {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

[data-theme="light"] .hero-profil .page-hero-description {
    color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .hero-profil .breadcrumb,
[data-theme="light"] .hero-profil .breadcrumb-container .breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .hero-profil .breadcrumb a,
[data-theme="light"] .hero-profil .breadcrumb span,
[data-theme="light"] .hero-profil .breadcrumb-link,
[data-theme="light"] .hero-profil .breadcrumb-current {
    color: #fff;
}

[data-theme="light"] .hero-profil .hero-profil-watermark i {
    color: rgba(255, 255, 255, 0.3);
}

/* =====================================================
   PARTICLES - Hero Profil
   ===================================================== */

.hero-profil .hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-profil .hero-particle {
    position: absolute;
    bottom: -10%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particleRise 15s linear infinite;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Ripple effect on floating icon click */
.hero-profil .floating-icon .icon-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: ripple 0.6s ease-out forwards;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* =====================================================
   TYPOGRAPHY MODERN - Hero Profil
   ===================================================== */

.hero-profil h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-profil h1 span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 800;
}

.hero-profil .page-hero-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-profil .page-hero-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: none;
}


/* =====================================================
   SECTION 11: DOWNLOAD COMPONENTS
   Komponen untuk link download file (PDF, Gambar, dll)
   ===================================================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-card::before {
    content: '\f1c1'; /* PDF Icon indicator */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.03;
    transform: rotate(15deg);
    transition: all 0.4s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.download-card:hover::before {
    opacity: 0.07;
    transform: scale(1.1) rotate(10deg);
}

.download-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.download-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.download-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.download-desc::before {
    content: '\f073'; /* Calendar icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    color: var(--primary);
}

.download-badge {
    background: rgba(239, 68, 68, 0.1); /* Red for PDF */
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-card:hover .btn-download {
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

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

.btn-download:hover i {
    transform: translateY(2px);
}
