@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Caveat:wght@600;700&family=Great+Vibes&family=Oswald:wght@600;700&display=swap');

:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --accent: #F59E0B;
    --bg-color: #0F172A; /* Deep dark blue */
    --surface: #1E293B;
    --surface-light: rgba(30, 41, 59, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --section-info: #0A0F1C;
    --section-jadwal: #151126;
    --section-khotbah: #080D1A;
    --section-persembahan: #1A1510;
    --section-info-singkat: #12182B;
    --footer-bg: #020617;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Modern gradients via oklch for better interpolation */
    --in-oklch: in oklch;
    --gradient-primary: linear-gradient(135deg var(--in-oklch), var(--primary), #A855F7);
}

body.light-mode {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --accent: #D97706;
    --bg-color: #F8FAFC;
    --surface: #FFFFFF;
    --surface-light: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #0F172A;
    --text-muted: #475569;
    
    --section-info: #EEF2FF;
    --section-jadwal: #F1F5F9;
    --section-khotbah: #F8FAFC;
    --section-persembahan: #FFFBEB;
    --section-info-singkat: #EEF2FF;
    --footer-bg: #E2E8F0;
}

@supports not (background: linear-gradient(in oklch, red, blue)) {
    :root {
        --in-oklch: ;
        --gradient-primary: linear-gradient(135deg, var(--primary), #A855F7);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
}

span {
    color: var(--primary);
}

/* Typography */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--footer-bg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
    transform: scale(1.18);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-line1,
.logo-line2,
.logo-line3 {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-main);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.8rem;
}

.nav-links a:not(.btn-primary) {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    box-shadow: none;
    transform: none;
}

.nav-links a.active:not(.btn-primary) {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.15);
    border: none;
    font-weight: 600;
    box-shadow: none;
}

.nav-links a.active:not(.btn-primary):hover {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
    background: var(--glass-bg);
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 3rem 5% 3rem;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 8s ease-out;
}

.hero-slider .slide.active-slide {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65); /* Dark overlay for text readability */
    z-index: -1;
}

.hero-content {
    animation: fadeUp 1s ease-out forwards;
    z-index: 1;
    max-width: 900px;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
}

/* Hero Scroll & Slider Indicator Component (Compact & Sleek) */
.hero-scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    outline: none;
}

.slider-dot:hover {
    background: rgba(245, 158, 11, 0.6);
    border-color: #F59E0B;
}

.slider-dot.active {
    background: #F59E0B;
    border-color: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
    transform: scale(1.15);
}

.scroll-line-container {
    position: relative;
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin: 0.15rem 0 0.25rem;
}

.scroll-line-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #F59E0B, rgba(245, 158, 11, 0));
    animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    user-select: none;
    animation: bounceVertical 2s infinite ease-in-out;
}

@keyframes bounceVertical {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(7px);
        opacity: 1;
    }
}

.greeting {
    display: block;
    font-family: 'Great Vibes', 'Caveat', cursive;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--accent);
    margin: 0;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.hero-title {
    font-family: var(--font-main);
    font-size: clamp(1.8rem, 4.4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: var(--text-main);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hero-content {
        gap: 0.9rem;
    }
    .greeting {
        font-size: 1.4rem;
    }
    .hero-title {
        font-size: clamp(1.1rem, 5.3vw, 1.8rem);
        letter-spacing: -0.3px;
    }
}

.hero-title span {
    background: linear-gradient(to right, #4F46E5, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section Background Color Variations (Distinct Dark Themes) */

/* Section 1: Informasi Gereja */
.church-info-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--section-info); /* Midnight Charcoal Slate */
    border-bottom: 1px solid var(--glass-border);
}

/* Section 2: Jadwal Hari Ini */
#jadwal-hari-ini {
    padding: 5.5rem 0;
    background-color: var(--section-jadwal); /* Deep Obsidian Indigo */
    border-bottom: 1px solid var(--glass-border);
}

/* Section 3: Khotbah Terbaru */
#khotbah-terbaru {
    padding: 5.5rem 0;
    background-color: var(--section-khotbah); /* Midnight Dark Navy */
    border-bottom: 1px solid var(--glass-border);
}

/* Section 4: Memberi Persembahan — layout handled by .persembahan-section */
#persembahan {
    padding: 2.5rem 0;
}

/* Section 5: Info Singkat */
#info-singkat {
    background-color: var(--section-info-singkat);
    border-bottom: 1px solid var(--glass-border);
}

.about {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features li {
    display: flex;
    gap: 1rem;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.features li:hover {
    transform: translateY(-5px);
}

.features .icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
}

.features h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.features p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card {
    background: linear-gradient(145deg, var(--surface), rgba(30, 41, 59, 0.4));
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-1 { grid-column: span 2; }
.card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer & Location Section */
footer {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    background-color: var(--footer-bg); /* Deepest Obsidian */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Scroll-driven Animations */
.scroll-reveal {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .card-1 { grid-column: span 1; }
    .about-visual { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Persembahan Styles */
.bank-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.copy-btn {
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.copy-btn:hover {
    background: var(--primary);
    color: white;
}
.qris-container {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.qris-container img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* =============================================
   ENVELOPE ANIMATION — Persembahan Section
   ============================================= */

.persembahan-section {
    padding: 0 0 1.5rem;
    background-color: var(--section-persembahan);
    border-bottom: 1px solid var(--glass-border);
}

.envelope-scene {
    max-width: 860px;
    margin: 0 auto;
}

/* Envelope rectangle — height driven by content */
.envelope-body {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1628;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ---- Content (inside the envelope, shown when flaps open) ---- */
.envelope-inner {
    position: relative;
    z-index: 1;
    padding: 1.5rem 2rem;
    opacity: 0;
    transform: scale(0.3);
    /* No transition here — animation is triggered via class */
}

.envelope-inner.visible {
    animation: popIn 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards;
}

@keyframes popIn {
    0%   { opacity: 0; transform: scale(0.3); }
    60%  { opacity: 1; transform: scale(1.06); }
    80%  { transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

/* Content grid: QRIS | divider | Transfer */
.env-content-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 0;
}

.env-col {
    padding: 0.8rem 1.5rem;
}

.env-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-align: center;
}

.env-qris {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Restored QRIS image to original size */
.env-qris .qris-container {
    margin-bottom: 0.8rem;
}

.env-qris .qris-container img {
    width: 220px !important;
    height: 220px !important;
}

.env-qris p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 220px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.env-transfer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* Compact bank-card inside envelope */
.env-transfer .bank-card {
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

/* Bendahara contact card */
.bendahara-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 0.6rem;
}

.bendahara-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bendahara-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bendahara-item:first-of-type {
    padding-top: 0;
}

.bendahara-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.1rem;
}

.bendahara-phone {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* WhatsApp button */
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.wa-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transform: translateY(-1px);
    color: #25D366;
}

.env-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0;
}

/* =============================================
   THE 4 FLAPS — Use clip-path triangles
   Each flap covers its quarter of the envelope
   ============================================= */

.flap {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

/*
  TOP flap: triangle pointing DOWN from top edge to center
  polygon: top-left corner → top-right corner → center-point
*/
.flap-top {
    background: linear-gradient(175deg, #1d3a62 0%, #163055 80%);
    clip-path: polygon(0% 0%, 100% 0%, 50% 52%);
    z-index: 14;
    transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

/*
  BOTTOM flap: triangle pointing UP from bottom edge to center
*/
.flap-bottom {
    background: linear-gradient(355deg, #0d1e38 0%, #142d50 80%);
    clip-path: polygon(0% 100%, 100% 100%, 50% 48%);
    z-index: 12;
    transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

/*
  LEFT flap: triangle pointing RIGHT from left edge to center
*/
.flap-left {
    background: linear-gradient(95deg, #0f1e35 0%, #17304f 100%);
    clip-path: polygon(0% 0%, 0% 100%, 52% 50%);
    z-index: 13;
    transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

/*
  RIGHT flap: triangle pointing LEFT from right edge to center
*/
.flap-right {
    background: linear-gradient(265deg, #0f1e35 0%, #17304f 100%);
    clip-path: polygon(100% 0%, 100% 100%, 48% 50%);
    z-index: 13;
    transition: clip-path 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

/* ---- OPEN states: collapse each flap back to its edge ---- */
.flap-top.open {
    clip-path: polygon(0% 0%, 100% 0%, 50% 0%);
}
.flap-bottom.open {
    clip-path: polygon(0% 100%, 100% 100%, 50% 100%);
}
.flap-left.open {
    clip-path: polygon(0% 0%, 0% 100%, 0% 50%);
}
.flap-right.open {
    clip-path: polygon(100% 0%, 100% 100%, 100% 50%);
}

/* ---- Wax Seal (sits on top flap) ---- */
.wax-seal {
    position: absolute;
    /* center of the top flap triangle = roughly top-third, horizontally centered */
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: radial-gradient(circle at 38% 35%, #FBBF24, #D97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #7c3900;
    box-shadow:
        0 4px 16px rgba(217, 119, 6, 0.65),
        inset 0 -2px 5px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.flap-top.open .wax-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
}

/* No fold crease lines */

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .env-content-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .env-divider {
        width: 70%;
        height: 1px;
        margin: 0.5rem auto;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    }
    .env-col {
        padding: 1rem;
    }
}



/* Brand & Logo Component Styles */
.hero-badge-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
}

.hero-logo-glow {
    position: absolute;
    inset: -25px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    filter: blur(16px);
    animation: pulseGlow 3s infinite alternate ease-in-out;
}

.hero-logo-img {
    position: relative;
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(245, 158, 11, 0.65));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.hero-logo-img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 14px 45px rgba(245, 158, 11, 0.95));
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(0.95); }
    100% { opacity: 0.95; transform: scale(1.12); }
}

.subpage-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.subpage-logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(245, 158, 11, 0.55));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.subpage-logo-img:hover {
    transform: scale(1.18);
    filter: drop-shadow(0 8px 28px rgba(245, 158, 11, 0.85));
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.footer-logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.footer-brand-logo:hover .footer-logo-img {
    transform: scale(1.18);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.9));
}

/* Section Informasi Gereja Detail Grid */

/* GARAM Animated Letters */
.garam-letters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4.5rem;
    margin-top: 1rem;
    position: relative;
}

.garam-letter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.garam-letter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, text-shadow 0.3s ease;
}

.garam-hover-content {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    width: 100%;
    max-width: 400px;
    text-align: left;
    z-index: 10;
}

.garam-meaning {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Animations for automatic playing */
@keyframes garamLetterAnim {
    0% {
        transform: scale(1) translateY(0);
        color: var(--text-main);
        text-shadow: none;
    }
    3%, 17% {
        transform: scale(1.2) translateY(-5px);
        color: var(--accent);
        text-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
    }
    20%, 100% {
        transform: scale(1) translateY(0);
        color: var(--text-main);
        text-shadow: none;
    }
}

@keyframes garamContentAnim {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    3%, 17% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    20%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
}

.garam-letter-wrapper:nth-child(1) .garam-letter { animation: garamLetterAnim 15s infinite 0s; }
.garam-letter-wrapper:nth-child(1) .garam-hover-content { animation: garamContentAnim 15s infinite 0s; }
.garam-letter-wrapper:nth-child(2) .garam-letter { animation: garamLetterAnim 15s infinite 3s; }
.garam-letter-wrapper:nth-child(2) .garam-hover-content { animation: garamContentAnim 15s infinite 3s; }
.garam-letter-wrapper:nth-child(3) .garam-letter { animation: garamLetterAnim 15s infinite 6s; }
.garam-letter-wrapper:nth-child(3) .garam-hover-content { animation: garamContentAnim 15s infinite 6s; }
.garam-letter-wrapper:nth-child(4) .garam-letter { animation: garamLetterAnim 15s infinite 9s; }
.garam-letter-wrapper:nth-child(4) .garam-hover-content { animation: garamContentAnim 15s infinite 9s; }
.garam-letter-wrapper:nth-child(5) .garam-letter { animation: garamLetterAnim 15s infinite 12s; }
.garam-letter-wrapper:nth-child(5) .garam-hover-content { animation: garamContentAnim 15s infinite 12s; }

/* Pause auto animation on container hover */
.garam-letters:hover .garam-letter,
.garam-letters:hover .garam-hover-content {
    animation-play-state: paused;
}

/* Override animation state for specifically hovered item */
.garam-letter-wrapper:hover .garam-letter {
    transform: scale(1.2) translateY(-5px) !important;
    color: var(--accent) !important;
    text-shadow: 0 5px 15px rgba(245, 158, 11, 0.4) !important;
}

.garam-letter-wrapper:hover .garam-hover-content {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Dim all non-hovered items when container is hovered */
.garam-letters:hover .garam-letter-wrapper:not(:hover) .garam-letter {
    transform: scale(1) translateY(0) !important;
    color: var(--text-main) !important;
    text-shadow: none !important;
}

.garam-letters:hover .garam-letter-wrapper:not(:hover) .garam-hover-content {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(5px) !important;
}

.church-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.church-info-left {
    position: relative;
}

.church-image-wrapper {
    position: relative;
    width: 100%;
}

.church-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-badge {
    position: absolute;
    bottom: -25px;
    right: -20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    padding: 1.6rem 2rem;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(217, 119, 6, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
    z-index: 5;
}

.stats-number {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: #0F172A;
    letter-spacing: -1px;
}

.stats-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.25;
    margin-top: 0.4rem;
}

.church-info-right {
    display: flex;
    flex-direction: column;
}

.welcome-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.welcome-title {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.welcome-script {
    font-family: 'Great Vibes', 'Caveat', cursive;
    color: var(--accent);
    font-weight: 400;
    font-size: clamp(3.4rem, 5.8vw, 5rem);
    display: inline-block;
    margin-top: 0.1rem;
    letter-spacing: 1px;
}

.welcome-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.welcome-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.welcome-highlights li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.98rem;
}

.plus-icon {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
}

.welcome-highlights li p {
    color: var(--text-muted);
}

.welcome-highlights li strong {
    color: var(--text-main);
}

.welcome-action {
    display: flex;
}

.btn-dark-primary {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: #0F172A;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-dark-primary:hover {
    background-color: var(--accent);
    color: #0F172A;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

/* Scroll Reveal Animations (Left & Right Slide Effects) */
.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .church-info-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .stats-badge {
        right: 10px;
        bottom: -20px;
    }
    
    .church-main-img {
        height: 380px;
    }
}

/* =============================================
   PROFIL PAGE — Redesigned Styles
   ============================================= */

/* --- Profil Hero Banner --- */
.profil-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 8rem 5% 4rem;
}

.profil-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.profil-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.05);
}

.profil-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(10, 15, 28, 0.95) 100%
    );
}

.profil-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    animation: fadeUp 1s ease-out forwards;
}

.profil-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profil-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.profil-breadcrumb a:hover {
    color: var(--accent);
}

.profil-breadcrumb .breadcrumb-separator {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.75rem;
}

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

.profil-hero-title {
    font-family: var(--font-main);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.profil-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.profil-hero-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 99px;
    margin: 1.5rem auto 0;
}

/* --- Sejarah Section (2-column) --- */
.profil-sejarah {
    padding: 6rem 0;
    background-color: var(--section-jadwal);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.sejarah-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.sejarah-visual {
    position: relative;
}

.sejarah-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sejarah-year-badge {
    position: absolute;
    bottom: -18px;
    left: 30px;
    background: var(--gradient-primary);
    padding: 1rem 1.8rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    z-index: 5;
}

.sejarah-year-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.sejarah-year-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.15rem;
}

.sejarah-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sejarah-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
}

.sejarah-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
}

.sejarah-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.sejarah-quote {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: rgba(79, 70, 229, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 14px 14px 0;
    margin-top: 0.5rem;
}

.sejarah-quote p {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.sejarah-quote cite {
    font-size: 0.85rem;
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

/* --- Visi Misi Section (Redesigned) --- */
.profil-visimisi {
    padding: 6rem 0;
    background-color: var(--section-info);
}

.visimisi-hero-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.visimisi-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.visimisi-visi-text {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.visimisi-misi-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

.visimisi-misi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.visimisi-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Strategi Card */
.strategi-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
}

.strategi-icon-wrap {
    background: rgba(79, 70, 229, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.strategi-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-weight: 700;
}

.strategi-pills {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.strategi-pill {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.strategi-pill:hover {
    background: rgba(79, 70, 229, 0.15);
    border-color: var(--primary);
    transform: translateX(4px);
}

.strategi-pill-icon {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Nilai Card */
.nilai-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nilai-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

.nilai-icon-wrap {
    background: rgba(245, 158, 11, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.nilai-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

/* --- Pastor Section (Upgraded) --- */
.profil-pastor {
    padding: 6rem 0;
    background-color: var(--section-jadwal);
}

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

.pastor-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.pastor-section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

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

.pastor-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.pastor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pastor-card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.pastor-card:hover .pastor-card-glow {
    opacity: 1;
}

.pastor-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.pastor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background-image: linear-gradient(var(--glass-bg), var(--glass-bg)), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    position: relative;
    z-index: 2;
}

.pastor-card:hover .pastor-photo {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.35);
}

.pastor-photo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(79, 70, 229, 0.2);
    z-index: 1;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.pastor-card:hover .pastor-photo-ring {
    border-color: rgba(79, 70, 229, 0.5);
    transform: scale(1.05);
}

.pastor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.pastor-role-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pastor-role-badge--founder {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.pastor-role-badge--lead {
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.25);
}

.pastor-role-badge--pastoral {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pastor-divider {
    width: 40px;
    height: 2px;
    background: var(--glass-border);
    margin: 1rem auto;
    border-radius: 99px;
    transition: width 0.3s ease, background 0.3s ease;
}

.pastor-card:hover .pastor-divider {
    width: 60px;
    background: var(--gradient-primary);
}

.pastor-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* --- Profil Page Responsive --- */
@media (max-width: 992px) {
    .profil-hero {
        min-height: 45vh;
        padding: 7rem 5% 3rem;
    }

    .sejarah-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sejarah-img {
        height: 320px;
    }

    .visimisi-cards-grid {
        grid-template-columns: 1fr;
    }

    .pastor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profil-hero {
        min-height: 40vh;
        padding: 6.5rem 5% 3rem;
    }

    .profil-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .sejarah-img {
        height: 260px;
    }

    .sejarah-year-badge {
        left: 15px;
        bottom: -14px;
        padding: 0.8rem 1.2rem;
    }

    .sejarah-year-number {
        font-size: 1.4rem;
    }

    .pastor-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .visimisi-visi-text {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
}

