/* Sejarah Page Enhancements */

/* Download Section */
.download-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.download-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #10b981;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.download-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.download-text p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-download,
.btn-print {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.btn-download {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.btn-print {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-print:hover {
    background: #f0fdfa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

/* Interactive Timeline */
.timeline-item {
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.timeline-item::before {
    content: 'Klik untuk detail';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-content {
    transition: all 0.4s ease;
}

.timeline-item .timeline-highlights {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
}

.timeline-item.expanded .timeline-highlights {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.timeline-item.expanded {
    transform: scale(1.02);
    z-index: 10;
}

.timeline-item.expanded .timeline-content {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.timeline-item.expanded::before {
    content: 'Klik untuk tutup';
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
}

/* Scroll Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(40px);
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for timeline */
.timeline-item.animate-in {
    animation-delay: calc(var(--index, 0) * 0.15s);
}

/* Achievement cards animation */
.achievement-card.animate-ready {
    opacity: 0;
    transform: scale(0.9);
}

.achievement-card.animate-in {
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.achievement-card:nth-child(1).animate-in {
    animation-delay: 0s;
}

.achievement-card:nth-child(2).animate-in {
    animation-delay: 0.1s;
}

.achievement-card:nth-child(3).animate-in {
    animation-delay: 0.2s;
}

.achievement-card:nth-child(4).animate-in {
    animation-delay: 0.3s;
}

/* Stats counter animation */
.stat-item.animate-in {
    animation-delay: calc(var(--index, 0) * 0.1s);
}

.counter-animate {
    animation: pulse 0.5s ease;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: #10b981;
    }
}

/* Enhanced hover effects */
.timeline-content:hover {
    background: #f8fafc;
}

.achievement-card {
    transition: all 0.3s;
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.achievement-card:hover .achievement-icon {
    transform: rotate(10deg) scale(1.1);
}

.stat-item {
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Timeline dot pulse */
.timeline-dot {
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.timeline-item.expanded .timeline-dot {
    animation: dotExpand 0.4s forwards;
}

@keyframes dotExpand {
    to {
        transform: scale(1.3);
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }
}

/* Print Styles */
@media print {

    .navbar,
    .download-section,
    .cta-section,
    footer,
    .breadcrumb,
    .timeline-item::before {
        display: none !important;
    }

    .page-hero {
        background: white !important;
        color: black !important;
    }

    .timeline-item,
    .achievement-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .timeline-highlights {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }

    body {
        background: white !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .download-card {
        padding: 2rem;
    }

    .download-content {
        flex-direction: column;
        text-align: center;
    }

    .download-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-download,
    .btn-print {
        width: 100%;
        justify-content: center;
    }

    .timeline-item::before {
        display: none;
    }
}

/* ==================================================
   SEJARAH KELURAHAN - VINTAGE STORYTELLING CHRONICLE
   Warm Heritage Design with Paper Textures & Timeline
   ================================================== */

/* Import Vintage Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Dancing+Script:wght@600;700&display=swap');

/* Hide old hero sections */
.page-hero {
    display: none !important;
}

/* ==================================================
   HERO HERITAGE - Old Paper Cover Page
   ================================================== */
.hero-heritage {
    min-height: 85vh;
    background: linear-gradient(135deg, #fef9f3 0%, #f5ebe0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

/* Paper texture overlay */
.hero-heritage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(139, 69, 19, 0.015) 2px,
            rgba(139, 69, 19, 0.015) 4px);
    opacity: 0.6;
    pointer-events: none;
}

/* Vintage corner ornaments */
.hero-heritage::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    border: 3px double rgba(112, 66, 20, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.heritage-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212, 163, 115, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
}

.heritage-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Vintage wax seal badge */
.heritage-badge {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #704214 0%, #8b4513 50%, #704214 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    box-shadow:
        0 8px 25px rgba(112, 66, 20, 0.3),
        0 0 0 8px rgba(212, 163, 115, 0.2),
        0 0 0 16px rgba(212, 163, 115, 0.1);
    position: relative;
}

.heritage-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(212, 163, 115, 0.4);
}

.heritage-badge i {
    font-size: 3.5rem;
    color: #fef9f3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Heritage title with emboss effect */
.heritage-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #3e2723;
    margin: 0 0 2rem;
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.8),
        2px 2px 4px rgba(112, 66, 20, 0.15);
    letter-spacing: 0.02em;
}

/* Decorative divider */
.heritage-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto 2rem;
    color: #704214;
}

.heritage-divider span {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #704214, transparent);
}

.heritage-divider i {
    font-size: 1.5rem;
    color: #8b4513;
}

.heritage-subtitle {
    font-size: 1.5rem;
    color: #5d4037;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

/* Vintage meta info */
.heritage-meta {
    margin-top: 2.5rem;
}

.meta-vintage {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(112, 66, 20, 0.08);
    border: 2px solid rgba(112, 66, 20, 0.2);
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    color: #5d4037;
}

.year-badge {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #704214;
}

.separator {
    color: #d4a373;
}

/* ==================================================
   INTRO SECTION - Manuscript Style
   ================================================== */
.intro-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fef9f3 100%);
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(112, 66, 20, 0.08);
    border-left: 4px solid #8b4513;
    border-radius: 4px;
    color: #704214;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 2rem;
}

/* Drop cap - first letter */
.intro-text p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.15em 0 0;
    color: #704214;
    text-shadow: 2px 2px 0px rgba(212, 163, 115, 0.3);
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #5d4037;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid rgba(112, 66, 20, 0.15);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(112, 66, 20, 0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b4513 0%, #704214 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.75rem;
    color: #fef9f3;
}

.stat-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3e2723;
    margin: 0 0 0.25rem;
}

.stat-info p {
    font-size: 0.9rem;
    color: #8d6e63;
    margin: 0;
    text-align: left !important;
}

/* ==================================================
   TIMELINE SECTION - Animated Story Scroll
   ================================================== */
.timeline-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #fef9f3 0%, #f5ebe0 100%);
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.icon-badge {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #8b4513 0%, #704214 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow:
        0 8px 25px rgba(112, 66, 20, 0.25),
        0 0 0 6px rgba(212, 163, 115, 0.2);
}

.icon-badge i {
    font-size: 3rem;
    color: #fef9f3;
}

.section-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #3e2723;
    margin: 0 0 1rem;
}

.section-desc {
    font-size: 1.25rem;
    color: #5d4037;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

/* Timeline container - simple absolute positioning */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Vertical timeline line - absolute center */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #8b4513 8%,
            #8b4513 92%,
            transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* Each timeline item is a row */
.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

/* Left aligned items */
.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.left .timeline-content {
    margin-right: calc(50% + 30px);
    margin-left: 0;
}

/* Right aligned items */
.timeline-item.right {
    justify-content: flex-end;
}

.timeline-item.right .timeline-content {
    margin-left: calc(50% + 30px);
    margin-right: 0;
}

/* Dot markers */
.timeline-dot {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #8b4513;
    border-radius: 50%;
    box-shadow:
        0 0 0 4px #f5ebe0,
        0 3px 10px rgba(139, 69, 19, 0.25);
    z-index: 10;
}

/* Timeline content cards */
.timeline-content {
    background: white;
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border: 2px solid rgba(112, 66, 20, 0.12);
    box-shadow:
        0 8px 25px rgba(112, 66, 20, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 520px;
}

/* Paper fold corner effect */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent rgba(112, 66, 20, 0.1) transparent transparent;
    border-radius: 0 15px 0 0;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(112, 66, 20, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border-color: #8b4513;
}

/* Vintage year badge */
.timeline-year {
    display: inline-block;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: #704214;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.2) 0%, rgba(139, 69, 19, 0.1) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(112, 66, 20, 0.2);
    margin-bottom: 1.5rem;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #3e2723;
    margin: 0 0 1rem;
    text-align: left;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #5d4037;
    margin-bottom: 1.25rem;
    text-align: left;
}

.timeline-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #5d4037;
    font-size: 0.95rem;
}

.timeline-highlights i {
    color: #8b4513;
    font-size: 0.875rem;
}

/* ==================================================
   ACHIEVEMENTS SECTION - Trophy Showcase
   ================================================== */
.achievements-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f5ebe0 0%, white 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.achievement-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 3px solid rgba(218, 165, 32, 0.2);
    box-shadow:
        0 15px 40px rgba(139, 69, 19, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trophy podium effect */
.achievement-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 8px;
    background: linear-gradient(to bottom, rgba(218, 165, 32, 0.3), transparent);
    border-radius: 50%;
}

.achievement-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 60px rgba(218, 165, 32, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border-color: #daa520;
}

/* Metallic trophy icon */
.achievement-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f4d03f 0%, #daa520 50%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow:
        0 10px 30px rgba(218, 165, 32, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.3),
        0 0 0 8px rgba(218, 165, 32, 0.1);
    transition: transform 0.4s;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(10deg);
}

.achievement-icon i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.achievement-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3e2723;
    margin: 0 0 1rem;
}

.achievement-card .year {
    display: inline-block;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #8b4513 0%, #704214 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(112, 66, 20, 0.3);
}

.achievement-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5d4037;
    margin: 0;
}

/* ==================================================
   CTA SECTION - Vintage Banner
   ================================================== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #8b4513 0%, #704214 100%);
    position: relative;
    overflow: hidden;
}

/* Vintage pattern overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 3rem;
    color: #fef9f3;
}

.cta-text {
    flex: 1;
}

.cta-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #fef9f3;
    margin: 0 0 0.5rem;
}

.cta-text p {
    font-size: 1.125rem;
    color: rgba(254, 249, 243, 0.9);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: #fef9f3;
    color: #704214;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: white;
}

.btn-outline {
    background: transparent;
    color: #fef9f3;
    border: 2px solid #fef9f3;
}

.btn-outline:hover {
    background: #fef9f3;
    color: #704214;
    transform: translateY(-4px);
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1024px) {
    .intro-stats {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        width: 100%;
        padding-left: 80px;
        padding-right: 2rem;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 28px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .heritage-title {
        font-size: 2.5rem;
    }

    .heritage-subtitle {
        font-size: 1.125rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .intro-text p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .section-title-main {
        font-size: 2.25rem;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.35rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

/* === SEJARAH PAGE ENHANCEMENTS === */

/* Areas Grid Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.area-card {
    grid-column: span 2;
}

/* Center the last 2 cards */
.area-card:nth-child(4) {
    grid-column: 2 / 4;
}

.area-card:nth-child(5) {
    grid-column: 4 / 6;
}

.area-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-8px);
    border-color: #10b981;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
}

.area-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.area-icon i {
    font-size: 2rem;
    color: white;
}

.area-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.area-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Legacy Section Tweaks */
.legacy-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.legacy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.legacy-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.legacy-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.legacy-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {

    /* Fix: Reset grid layout for mobile */
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .area-card,
    .area-card:nth-child(4),
    .area-card:nth-child(5) {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100%;
    }

    .area-card {
        padding: 2rem 1.5rem;
    }

    .legacy-text h3 {
        font-size: 1.6rem;
    }
}