:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-sky: #45bdfd;
    --color-sky-light: #94e0ff;
    --color-sky-dark: #1d87c5;
    --color-offwhite: #f7fbff;
    --text-dark: #0f172a;
    --text-muted: #6b7a8f;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-offwhite);
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
}

#mainNav {
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    padding: 1rem 0;
}

#mainNav.scrolled,
#mainNav.bg-white {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.15em;
    text-decoration: none;
}

.nav-logo span {
    color: var(--color-sky);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--color-sky);
    color: var(--color-black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--color-sky-light);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg,
.hero-gradient {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background-size: cover;
    background-position: center;
    filter: brightness(0.38);
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 10vw;
    max-width: 860px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.hero-eyebrow span {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sky);
    font-weight: 500;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-sky);
    opacity: 0.35;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 6vw, 82px);
    font-weight: 900;
    line-height: 1.06;
    color: #fff;
    opacity: 0;
}

.hero h1 em {
    font-style: italic;
    color: var(--color-sky-light);
}

.hero-sub {
    margin-top: 1.5rem;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    font-weight: 300;
    opacity: 0;
}

.hero-verse {
    margin-top: 1.5rem;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-sky);
    opacity: 0;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
}

.btn-primary,
.btn-give,
.btn-outline,
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 1.8rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-primary,
.btn-give,
.btn-gold {
    background: var(--color-sky);
    color: var(--color-black);
}

.btn-primary:hover,
.btn-give:hover,
.btn-gold:hover {
    background: var(--color-sky-light);
    transform: translateY(-2px);
}

.btn-outline,
.btn-outline-gold {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.btn-outline:hover,
.btn-outline-gold:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    transform: translateY(-2px);
}

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-sky);
    font-weight: 500;
    margin-bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.section-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 40px;
    height: 1px;
    background: var(--color-sky);
    opacity: 0.35;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-title em,
.hero h1 em,
.pilier-body h3 em,
.bridge-text h3 em,
.event-title em {
    color: var(--color-sky-dark);
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 900px) {
    #mainNav .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        margin-top: 10px;
        border-radius: 5px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content {
        padding: 0 6vw;
    }
}

@media (max-width: 540px) {
    .hero {
        min-height: 75vh;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

blockquote {
    position: relative;
    display: inline-block;
    padding: 10px 30px 10px 40px;
    border-radius: 4px;
    font-family: "Bitter", serif;
    font-size: 10px;
    color: #333;
    text-align: left;
    transition-duration: 0.3s;

    span.author {
        position: relative;
        display: block;
        text-align: right;
        margin-top: 5px;
        color: #999;

        i {
            position: relative;
            background: #eee;
            padding-left: 2px;
            font-style: italic;
            z-index: 5;
        }

        &::before {
            display: block;
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            width: 80%;
            height: 1px;
            background: #ccc;
            z-index: 1;
        }
    }

    &::before {
        display: block;
        position: absolute;
        top: 4px;
        left: 4px;
        content: '"';
        font-family: "Bitter", serif;
        font-size: 60px;
        color: #999;
    }
}

#mainNav .dropdown-menu {
    min-width: 14rem !important;
    max-width: 14rem !important;
    border: none !important;
    border-radius: 0% !important;
    border-top: 2px solid #000 !important;
    padding-bottom: 0% !important;
}

#mainNav .dropdown-menu .dropdown-item {
    font-size: 0.7rem !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

#mainNav .dropdown-menu img{
    margin-top: 1rem;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

/****** Hearder of other pages ******/
.small-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.small-header .line {
    height: 2px;
    display: block;
    background-color: white;
    width: 60px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.small-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.small-header p {
    font-size: 1rem;
    width: 80%;
    margin: 0 auto;
}

/* Navbar improvements */
#mainNav {
    transition: all 0.25s ease;
    padding: 0.6rem 0;
}

#mainNav.bg-white {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Global button tweaks */
.call-to-action {
    border-radius: 6px;
}
