/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #2C4A5E;      /* Deep slate blue */
    --primary-light: #4A6B82;
    --accent: #D4A373;       /* Warm earth tone/gold */
    --bg-light: #F8F9FA;     /* Off-white */
    --text-dark: #2B2D42;    /* Dark charcoal */
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}

/* Target Mobile Screens (Up to 768px wide) */
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem; /* Scaled down for mobile navigation */
    }
}

/* Extra Small Screens (Phones in portrait under 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem; 
    }
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- ABOUT SECTION --- */
/* Standalone Invitation Banner Styles */
.about-invite-banner {
    background: linear-gradient(135deg, --primary 0%, --primary-light 100%);
    border: 1px solid #e2e8f0;
    border-left: 5px solid #8A9A86; /* Accent primary brand color */
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-invite-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08);
}

.invite-banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.invite-icon {
    background: #ffffff;
    color: #8A9A86;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.invite-text h4 {
    margin: 0 0 0.35rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.invite-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);;
}

.invite-text p strong {
    color: #0f172a;
}

/* Responsive view for mobile screens */
@media (max-width: 640px) {
    .about-invite-banner {
        padding: 1.5rem;
    }
    
    .invite-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .invite-icon {
        width: 48px;
        height: 48px;
    }
    
    .invite-icon svg {
        width: 24px;
        height: 24px;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- BELIEFS SECTION --- */
.beliefs-section {
    background-color: var(--white);
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: start; /* Keeps other cards in row from auto-stretching when one expands */
}

.belief-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    min-height: 275px;
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.belief-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.belief-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.belief-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Hidden container for full text */

/* Transition Container using Grid sub-row */
.more-text {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

/* Inner wrapper required to let grid animate from 0 height */
.more-text-inner {
    overflow: hidden;
}

.belief-card.expanded .more-text {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 10px;
}
/* Expand Button Styling */
.expand-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px 0 0 0;
    margin-top: auto;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.expand-btn:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* --- WHAT'S ON SECTION --- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-tag {
    align-self: flex-start;
    background: #EBF2F7;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.event-time {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.topic {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 0.85rem;
}

/* --- FOOTER / CONTACT --- */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col p, .footer-col a {
    color: #D1D5DB;
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #A0AEC0;
}

/* --- ANIMATIONS (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 1.9rem; }
    .hero-content p { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    .hamburger { display: flex; }
.nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    gap: 20px;
    padding: 20px 0;
    
    /* Smooth Transform setup */
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    
    /* Consistent hardware-accelerated transition */
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease-in-out,
                visibility 0.28s linear;
}

.nav-links.active {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}
}
/* Social Link Styling */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon {
    display: flex;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-icon i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;   
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* Special / One-off Event Banner */
.special-event-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f4 100%);
    border: 2px solid #8A9A86; /* Using your complementary green accent */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(138, 154, 134, 0.15);
    position: relative;
    overflow: hidden;
}

.special-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #8A9A86;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.special-event-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.special-event-title {
    color: var(--primary);
    font-size: 1.6rem;
}

.special-event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 600;
    color: var(--primary-light);
    font-size: 0.95rem;
    margin: 5px 0 10px 0;
}

.special-event-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}
/* Glad Tidings Section Styling */

/* Link Styling */
.gt-lead a {
    color:var(--primary-light); /* Primary brand color */
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

/* Animated Underline Effect */
.gt-lead a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-light);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.gt-lead a:hover {
    color: var(--primary-light);
}

.gt-lead a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.glad-tidings-section {
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.glad-tidings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.gt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #8A9A86; /* Secondary Sage Green */
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gt-lead {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.gt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.gt-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #4a5568;
}

.gt-features i {
    color: var(--accent); /* Warm Gold Accent */
    font-size: 1.1rem;
    margin-top: 3px;
}

.gt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Button variants if not already defined */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary); /* Slate Blue */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1e3545;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Responsive Iframe Container */
.iframe-container {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Embed placeholder before iframe is added */
.iframe-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 380px;
    color: #94a3b8;
}

.iframe-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Responsive layout adjustments for mobile */
@media (max-width: 768px) {
    .glad-tidings-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Card Outer Styling */
.gt-article-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Subtle lift effect on hover */
.gt-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Image Container & Aspect Ratio */
.gt-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--primary);
}

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

/* Zoom image slightly on hover */
.gt-article-card:hover .gt-card-image img {
    transform: scale(1.05);
}

/* Badge over Image */
.gt-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #8A9A86; /* Sage Green */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 14px;
    z-index: 2;
}

/* Card Body Content */
.gt-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gt-card-title {
    color: var(--primary); /* Slate Blue */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.gt-card-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* "Read More" Call to Action Link */
.gt-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent); /* Warm Gold Accent */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.gt-card-link i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

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

.gt-card-link:hover i {
    transform: translateX(4px); /* Arrow nudges right on hover */
}
.gt-article-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    min-height: 280px; /* Prevents layout shift during loading */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Loading Widget Style */
.card-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    color: #8A9A86; /* Sage Green Accent */
    gap: 12px;
}

.loader-icon {
    font-size: 2rem;
    color: var(--accent); /* Warm Gold Accent */
}

.card-loader p {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

/* Helper Class to Toggle Visibility */
.hidden {
    display: none !important;
}

/* Content Container Styling */
.gt-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.gt-ai-disclaimer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b; /* Muted slate text */
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
    border-radius: 6px;
    margin: 0px 0 12px 0;
}

.gt-ai-disclaimer i {
    color: #8a9a86; /* Accent color matching your theme */
    font-size: 0.85rem;
}