/* ============================================================
   Nelson Congregation of Jehovah's Witnesses — Design System
   Premium NPO Website Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merriweather:wght@300;400;700;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary Palette */
    --primary:          #1a365d;
    --primary-light:    #2a4a7f;
    --primary-dark:     #0f2440;
    --primary-rgb:      26, 54, 93;

    /* Accent */
    --accent:           #d4a843;
    --accent-light:     #e8c877;
    --accent-dark:      #b8922e;
    --accent-rgb:       212, 168, 67;

    /* Neutrals */
    --white:            #ffffff;
    --off-white:        #f8f9fa;
    --light-gray:       #f1f3f5;
    --mid-gray:         #adb5bd;
    --dark-gray:        #495057;
    --charcoal:         #212529;

    /* Semantic */
    --success:          #2b9348;
    --info:             #0077b6;
    --warning:          #e6a817;
    --danger:           #d32f2f;

    /* Typography */
    --font-body:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:     'Merriweather', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max:    1280px;
    --container-narrow: 900px;
    --border-radius:    8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl:  0 12px 40px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Header height */
    --header-height: 80px;
    --header-height-scrolled: 65px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--dark-gray);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* ---------- Layout Utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--gray {
    background-color: var(--light-gray);
}

.section--primary {
    background-color: var(--primary);
    color: var(--white);
}

.section--primary h2,
.section--primary h3,
.section--primary h4,
.section--primary p {
    color: var(--white);
}

.section--primary .section__subtitle {
    color: rgba(255,255,255,0.8);
}

.text-center { text-align: center; }

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section__subtitle {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: var(--space-sm);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Gold decorative line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: var(--space-md) auto;
    border-radius: 2px;
}

.gold-line--left {
    margin-left: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    padding: 6px 0;
}

.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.header__top-contact {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.header__top-contact a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__top-contact a:hover {
    color: var(--accent-light);
}

.header__top-cta a {
    color: var(--accent-light);
    font-weight: 600;
}

.header__top-cta a:hover {
    color: var(--white);
}

.header__main {
    padding: 12px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.site-header.scrolled .header__logo {
    width: 40px;
    height: 40px;
}

.header__brand-text {
    display: flex;
    flex-direction: column;
}

.header__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 0;
}

.header__brand-tagline {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation — must stay on single row */
.header__nav {
    flex-shrink: 0;
}

.nav__list {
    display: flex;
    gap: 0;
    white-space: nowrap;
    align-items: center;
}

.nav__link {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger__bar {
    width: 26px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active .hamburger__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger__bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.85) 0%, rgba(15,36,64,0.7) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 750px;
    padding: var(--space-4xl) 0;
}

.hero__subtitle {
    font-size: 0.9rem;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero__subtitle::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero__desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb),0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.page-hero__breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.page-hero__breadcrumb a {
    color: var(--accent-light);
}

/* ---------- Cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card__image {
    height: 220px;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__body {
    padding: var(--space-xl);
}

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.1), rgba(var(--accent-rgb),0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.6rem;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.card__text {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Feature Cards (icon-based) */
.feature-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card__title {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.feature-card__text {
    font-size: 0.92rem;
    color: var(--dark-gray);
}

/* ---------- Schedule Table ---------- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.schedule-table thead {
    background: var(--primary);
    color: var(--white);
}

.schedule-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

.schedule-table tbody tr {
    transition: background var(--transition-fast);
}

.schedule-table tbody tr:hover {
    background: rgba(var(--accent-rgb),0.05);
}

.schedule-table tbody tr:last-child td {
    border-bottom: none;
}

/* ---------- Info Cards ---------- */
.info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
    transition: all var(--transition-base);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card__icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.info-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

/* ---------- Quote / Scripture ---------- */
.scripture-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl) var(--space-2xl);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scripture-block::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 30px;
    font-size: 8rem;
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.08);
    line-height: 1;
}

.scripture-block__text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    position: relative;
    color: var(--white);
}

.scripture-block__ref {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-light);
    font-weight: 600;
    font-style: normal;
}

/* ---------- Testimonial ---------- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card__quote {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--accent);
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

/* ---------- Contact Form ---------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.1);
}

.form-control::placeholder {
    color: var(--mid-gray);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23495057'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ---------- Two Column Layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.two-col--reverse {
    direction: rtl;
}

.two-col--reverse > * {
    direction: ltr;
}

.two-col__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.two-col__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-grid__item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 220px;
    position: relative;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-grid__item:hover img {
    transform: scale(1.08);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    color: var(--white);
}

.cta-banner h2, .cta-banner h3 {
    color: var(--white);
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
}

/* ---------- Stats Row ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-item__label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ---------- Map Container ---------- */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding-top: var(--space-4xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.footer__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

.footer__brand-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.footer__about {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-lg);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer__contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.footer__contact-icon {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__contact-text a {
    color: rgba(255,255,255,0.65);
}

.footer__contact-text a:hover {
    color: var(--accent-light);
}

.footer__bottom {
    padding: var(--space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer__bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer__bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

.footer__bottom-links a:hover {
    color: var(--accent-light);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- Form Success / Error Messages ---------- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    font-size: 0.92rem;
    font-weight: 500;
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ---------- Breadcrumb list items ---------- */
.belief-list {
    list-style: none;
    padding: 0;
}

.belief-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    font-size: 0.95rem;
}

.belief-list li:last-child {
    border-bottom: none;
}

.belief-list__icon {
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Meeting card ---------- */
.meeting-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent);
    transition: box-shadow var(--transition-base);
}

.meeting-card:hover {
    box-shadow: var(--shadow-lg);
}

.meeting-card__day {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xs);
}

.meeting-card__time {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.meeting-card__name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.meeting-card__details li {
    font-size: 0.9rem;
    color: var(--dark-gray);
    padding: var(--space-xs) 0;
    display: flex;
    gap: 8px;
    align-items: baseline;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nav__link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 3.5rem;
    }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        padding: 80px var(--space-xl) var(--space-xl);
        z-index: 1000;
    }

    .header__nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
    }

    .nav__link {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav__link::after {
        display: none;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        text-align: center;
        justify-content: center;
    }

    /* Two Column */
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .two-col--reverse {
        direction: ltr;
    }

    .two-col__image img {
        min-height: 280px;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Header top bar */
    .header__top-bar {
        display: none;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .header__title {
        font-size: 0.95rem;
    }

    .header__brand-tagline {
        display: none;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .hamburger {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .section {
        padding: 1rem 0;
    }
}
