/* =====================================================
   PROFIL PAGES - MODERN UI REDESIGN
   SMK TI Bali Global Badung
   
   Desain yang memanjakan mata:
   - Whitespace yang seimbang
   - Typography hierarchy yang jelas
   - Warna yang lembut dan konsisten
   - Animasi subtle dan tidak mengganggu
   ===================================================== */

/* =====================================================
   HERO SECTION - CLEAN & ELEGANT
   ===================================================== */

.page-hero.hero-profil {
    --hero-profil-a: rgba(30, 58, 138, 0.92);
    --hero-profil-b: rgba(59, 130, 246, 0.88);
    
    background: linear-gradient(135deg, var(--hero-profil-a) 0%, var(--hero-profil-b) 100%);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay */
.page-hero.hero-profil::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
    z-index: 1;
}

/* Noise texture untuk depth */
.page-hero.hero-profil::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 2;
    pointer-events: none;
}

/* Background Effects - More subtle */
.hero-profil .hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Orbs - Smaller and softer */
.hero-profil .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 15s ease-in-out infinite;
}

.hero-profil .hero-orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    top: -100px;
    right: -80px;
}

.hero-profil .hero-orb--2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.hero-profil .hero-orb--3 {
    display: none;
}

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

/* Watermark - More elegant */
.hero-profil .hero-profil-watermark {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0.08;
    pointer-events: none;
}

.hero-profil .hero-profil-watermark i {
    font-size: clamp(120px, 15vw, 220px);
    color: #fff;
}

/* Content styling */
.hero-profil .page-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
}

/* Badge - Pill style */
.hero-profil .page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-profil .page-hero-badge i {
    font-size: 0.85rem;
}

/* Title - Clean sans-serif */
.hero-profil h1 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* Description */
.hero-profil .page-hero-description {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

/* Breadcrumb - Minimal */
.hero-profil .breadcrumb-container {
    margin-top: 1.5rem;
    background: transparent;
    backdrop-filter: none;
    display: flex;
    justify-content: center;
}

.hero-profil .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

.hero-profil .breadcrumb a,
.hero-profil .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.hero-profil .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.hero-profil .breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

/* =====================================================
   COLOR VARIANTS - Subtle differences
   ===================================================== */

.hero-profil--visi {
    --hero-profil-a: rgba(16, 85, 130, 0.95);
    --hero-profil-b: rgba(6, 148, 162, 0.90);
}

.hero-profil--struktur {
    --hero-profil-a: rgba(88, 28, 135, 0.92);
    --hero-profil-b: rgba(124, 58, 237, 0.88);
}

.hero-profil--guru {
    --hero-profil-a: rgba(154, 52, 18, 0.92);
    --hero-profil-b: rgba(234, 88, 12, 0.88);
}

.hero-profil--fasilitas {
    --hero-profil-a: rgba(21, 94, 117, 0.92);
    --hero-profil-b: rgba(20, 184, 166, 0.88);
}

.hero-profil--akreditasi {
    --hero-profil-a: rgba(131, 24, 67, 0.92);
    --hero-profil-b: rgba(219, 39, 119, 0.88);
}

.hero-profil--yayasan {
    --hero-profil-a: rgba(55, 48, 163, 0.92);
    --hero-profil-b: rgba(99, 102, 241, 0.88);
}

.hero-profil--logo {
    --hero-profil-a: rgba(3, 105, 161, 0.92);
    --hero-profil-b: rgba(6, 182, 212, 0.88);
}

.hero-profil--mars {
    --hero-profil-a: rgba(180, 83, 9, 0.92);
    --hero-profil-b: rgba(245, 158, 11, 0.88);
}

/* =====================================================
   CONTENT AREA - MODERN & READABLE
   ===================================================== */

.subpage-content {
    padding: 0;
    padding-top: 4rem; /* Spacing dari hero section */
    background: var(--bg-primary);
    margin-top: 0;
}

/* Spacing khusus untuk halaman profil */
.page-hero.hero-profil + .subpage-content,
.page-hero + .subpage-content {
    padding-top: 4rem;
}

/* Stats Section - Modern Cards */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    border-radius: 14px;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto 1rem;
}

/* Handle both direct i.stat-icon and div.stat-icon */
i.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    border-radius: 14px;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto 1rem;
}

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

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Container Layout */
.subpage-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.subpage-container.full-width {
    grid-template-columns: 1fr;
    max-width: 900px;
}

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

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.sidebar-widget:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

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

.sidebar-widget h3 i {
    color: var(--primary);
}

/* Quick Nav Menu */
.quick-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav li {
    margin-bottom: 2px;
}

.quick-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quick-nav a i {
    width: 16px;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.quick-nav a:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    padding-left: 1.15rem;
}

.quick-nav a:hover i {
    opacity: 1;
}

.quick-nav a.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08));
    color: var(--primary);
    font-weight: 600;
}

.quick-nav a.active i {
    opacity: 1;
}

/* Main Article Content */
.subpage-main {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    min-width: 0;
}

.subpage-main h2 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--primary), transparent) 1;
}

.subpage-main h2:first-child {
    margin-top: 0;
}

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

.subpage-main p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

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

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

.subpage-main li::marker {
    color: var(--primary);
}

/* Blockquote Modern */
.subpage-main blockquote {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04));
    border: none;
    border-radius: 16px;
    padding: 2rem 2rem 2rem 2.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.subpage-main blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary-400));
    border-radius: 4px 0 0 4px;
}

.subpage-main blockquote p {
    margin: 0;
    color: inherit;
}

/* Founder Box Modern */
.founder-box {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.02));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.founder-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.founder-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.founder-role {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.founder-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary-400), var(--primary));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2rem;
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.timeline-left::before {
    right: -7px;
}

.timeline-right::before {
    left: -7px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Features Grid Modern */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    border-radius: 14px;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.feature-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.feature-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

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

/* CTA Section Modern */
.subpage-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    text-align: center;
    border-top: 1px solid var(--border);
}

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

.subpage-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.cta-btn.secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.cta-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =====================================================
   INFO CARDS - Modern Grid
   ===================================================== */

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    border-radius: 12px;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   LIGHT MODE ADJUSTMENTS
   ===================================================== */

[data-theme="light"] .page-hero.hero-profil {
    --hero-profil-a: rgba(30, 64, 175, 0.95);
    --hero-profil-b: rgba(59, 130, 246, 0.92);
}

[data-theme="light"] .page-hero.hero-profil::before {
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
}

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

[data-theme="light"] .stat-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .subpage-main {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .timeline-content:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Light mode color variants */
[data-theme="light"] .hero-profil--visi {
    --hero-profil-a: rgba(14, 116, 144, 0.95);
    --hero-profil-b: rgba(6, 182, 212, 0.92);
}

[data-theme="light"] .hero-profil--struktur {
    --hero-profil-a: rgba(109, 40, 217, 0.95);
    --hero-profil-b: rgba(139, 92, 246, 0.92);
}

[data-theme="light"] .hero-profil--guru {
    --hero-profil-a: rgba(194, 65, 12, 0.95);
    --hero-profil-b: rgba(249, 115, 22, 0.92);
}

[data-theme="light"] .hero-profil--fasilitas {
    --hero-profil-a: rgba(13, 148, 136, 0.95);
    --hero-profil-b: rgba(20, 184, 166, 0.92);
}

[data-theme="light"] .hero-profil--akreditasi {
    --hero-profil-a: rgba(190, 24, 93, 0.95);
    --hero-profil-b: rgba(236, 72, 153, 0.92);
}

[data-theme="light"] .hero-profil--yayasan {
    --hero-profil-a: rgba(79, 70, 229, 0.95);
    --hero-profil-b: rgba(129, 140, 248, 0.92);
}

[data-theme="light"] .hero-profil--logo {
    --hero-profil-a: rgba(2, 132, 199, 0.95);
    --hero-profil-b: rgba(14, 165, 233, 0.92);
}

[data-theme="light"] .hero-profil--mars {
    --hero-profil-a: rgba(217, 119, 6, 0.95);
    --hero-profil-b: rgba(251, 146, 60, 0.92);
}

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

@media (max-width: 1024px) {
    .subpage-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .subpage-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .page-hero.hero-profil {
        min-height: 360px;
    }
    
    .hero-profil .page-hero-content {
        padding: 1.5rem;
    }
    
    .hero-profil .hero-profil-watermark {
        display: none;
    }
    
    .subpage-container {
        padding: 3rem 1.5rem;
    }
    
    .subpage-main {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .founder-box {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-img {
        width: 120px;
        height: 120px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-left {
        text-align: left;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .timeline-left::before,
    .timeline-right::before {
        left: 13px;
    }
    
    .stats-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero.hero-profil {
        min-height: 320px;
    }
    
    .subpage-container {
        padding: 2rem 1rem;
    }
    
    .subpage-main {
        padding: 1.5rem 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-profil .hero-orb {
        animation: none;
    }
    
    .stat-card:hover,
    .feature-box:hover,
    .info-card:hover,
    .timeline-content:hover {
        transform: none;
    }
}

/* =====================================================
   ADDITIONAL COMPONENTS
   ===================================================== */

/* Motto Box */
.motto-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.motto-box h3 {
    color: var(--text-muted);
    font-size: 10rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.motto-box h1 {
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), var(--secondary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.5;
}

/* Orb Animation */
@keyframes orbFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

/* =====================================================
   PROFIL PAGE SPACING OVERRIDE
   Memastikan ada jarak antara hero dan konten
   ===================================================== */

/* Override untuk halaman profil - spacing setelah hero */
body .subpage-content {
    padding-top: 4rem !important;
}

body .content-wrapper {
    padding-top: 2rem;
}

/* Team Grid untuk halaman Yayasan */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

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

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg-card);
}

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Certificate Image */
.certificate-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--border);
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.02);
}

/* =====================================================
   LIGHT MODE FIXES FOR PROFIL PAGES
   ===================================================== */

/* Fix icon colors in light mode - stat cards */
[data-theme="light"] .stat-card .stat-icon,
[data-theme="light"] .stat-card i {
    color: #3b82f6 !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

[data-theme="light"] .stat-card .stat-number {
    color: #1e293b;
}

[data-theme="light"] .stat-card .stat-label {
    color: #64748b;
}

/* Fix info-card icons in light mode */
[data-theme="light"] .info-card-icon {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

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

[data-theme="light"] .info-card h4 {
    color: #1e293b;
}

[data-theme="light"] .info-card p {
    color: #64748b;
}

/* Fix inline icon colors */
[data-theme="light"] h2 i,
[data-theme="light"] h3 i {
    opacity: 0.9;
}

/* Fix text selection/highlight color */
[data-theme="light"] ::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #1e293b;
}

[data-theme="light"] ::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: #1e293b;
}

/* Fix facility card text on highlight */
[data-theme="light"] .facility-info h4::selection,
[data-theme="light"] .facility-info p::selection,
[data-theme="light"] .facility-feature::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #1e293b;
}

/* Ensure proper contrast on all text */
[data-theme="light"] .main-content h2,
[data-theme="light"] .main-content h3,
[data-theme="light"] .main-content h4 {
    color: #1e293b;
}

[data-theme="light"] .main-content p {
    color: #475569;
}

/* Fix sidebar in light mode */
[data-theme="light"] .sidebar-widget {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar-widget h3 {
    color: #1e293b;
}

[data-theme="light"] .sidebar-nav a {
    color: #475569;
}

[data-theme="light"] .sidebar-nav a:hover,
[data-theme="light"] .sidebar-nav a.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .sidebar-info .info-item {
    color: #64748b;
}

[data-theme="light"] .sidebar-info .info-item i {
    color: #3b82f6;
}
