/* ==========================================================================
   CUSTODY OF MARY – THE MOTHER OF GOD (NORTH INDIA)
   Modern Franciscan Luxury Design System & Master Stylesheet
   Primary Colors: #400B0B (Franciscan Burgundy) & #813121 (Terracotta Crimson)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Brand Primary Color Palette */
    --color-maroon-dark: #400B0B;
    --color-maroon-main: #571212;
    --color-terracotta: #813121;
    --color-terracotta-light: #A4432F;

    /* Luxury Accents */
    --color-gold: #C5A059;
    --color-gold-bright: #E5C175;
    --color-gold-muted: rgba(197, 160, 89, 0.25);

    /* Light & Neutral Tones */
    --color-bg-warm: #FAF7F2;
    --color-bg-card: #FFFFFF;
    --color-text-main: #2C1E1E;
    --color-text-muted: #362929;
    --color-border: #E8DFD5;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Elevation & Shadows */
    --shadow-soft: 0 10px 30px rgba(64, 11, 11, 0.06);
    --shadow-hover: 0 20px 40px rgba(64, 11, 11, 0.12);
    --shadow-dark-card: 0 15px 35px rgba(0, 0, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.5px;
    position: relative;
}

.header-logo,
.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.header-logo {
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(64, 11, 11, 0.15);
}

.footer-logo-img {
    width: 50px;
    margin-right: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container & Typography Helpers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 3rem 0;
}

.section-padding-sm {
    padding: 1rem 0;
}

.relative-z {
    position: relative;
    z-index: 5;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.text-gold {
    color: var(--color-gold) !important;
}

.light-text {
    color: #FFFFFF !important;
}

.bg-warm-light {
    background-color: var(--color-bg-warm);
    position: relative;
}

.gold-separator {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold), var(--color-terracotta));
    margin-top: 1rem;
    margin-bottom: 2rem;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;

}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-maroon-dark);
    line-height: 1.25;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0.8rem auto 0;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), #A8833E);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(197, 160, 89, 0.4);
}

.btn-primary-dark {
    background-color: var(--color-maroon-dark);
    color: #FFFFFF;
}

.btn-primary-dark:hover {
    background-color: var(--color-terracotta);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background-color: #FFFFFF;
    color: var(--color-maroon-dark);
    border-color: #FFFFFF;
}

.btn-large {
    padding: 1.1rem 2.4rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   3. PREMIUM TRANSPARENT STICKY HEADER & DROPDOWNS
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(64, 11, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFFFFF;
}

.header-logo {
    width: 90px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    padding: 0.45rem;
}

.footer-logo-img {
    width: 52px;
    height: auto;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.35rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #FFFFFF;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--color-gold-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Desktop Navigation List */
.nav-list {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav {
    flex-shrink: 1;
    min-width: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-bright);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #FFFFFF;
    border-radius: var(--radius-md);
    min-width: 250px;
    padding: 0.8rem 0;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu li a {
    display: block;
    padding: 5px 1.4rem;
    color: var(--color-maroon-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--color-bg-warm);
    color: var(--color-terracotta);
    padding-left: 1.8rem;
}

.highlight-link {
    color: var(--color-gold-bright) !important;
    font-weight: 600;
}

.btn-nav-contact {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-maroon-main));
    padding: 0.5rem 1.3rem !important;
    border-radius: 50px;
    border: 1px solid var(--color-gold-muted);
}

.btn-nav-contact::after {
    display: none;
}

.btn-nav-contact:hover {
    background: var(--color-gold);
    color: #FFFFFF !important;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
}

.mobile-toggle span {
    width: 26px;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-maroon-dark);
    z-index: 2000;
    padding: 2rem 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-gold);
}

.drawer-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    margin-top: 1.5rem;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 500;
    display: block;
}

.mobile-sub-toggle {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-sub-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-sub-menu.open {
    display: block;
}

.mobile-sub-menu li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    display: block;
}

/* --------------------------------------------------------------------------
   4. HERO SLIDER SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--color-maroon-dark);
}

.hero-section::before,
.hero-section::after,
.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.05) 55%, transparent 100%);
    filter: blur(24px);
    pointer-events: none;
    z-index: 2;
    animation: floatBubble 28s ease-in-out infinite alternate;
}

.hero-section::before {
    top: 8%;
    right: 6%;
    opacity: 0.35;
    transform: translateY(0) scale(1);
}

.hero-section::after {
    bottom: 6%;
    right: 10%;
    width: 240px;
    height: 240px;
    opacity: 0.2;
    animation-duration: 34s;
}

.about-section::before {
    top: 18%;
    left: 4%;
    opacity: 0.28;
    width: 280px;
    height: 280px;
    animation-duration: 30s;
}

.about-section::after {
    bottom: 10%;
    left: 12%;
    width: 220px;
    height: 220px;
    opacity: 0.18;
    animation-duration: 32s;
}

@keyframes floatBubble {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.65;
    }

    100% {
        transform: translateY(-28px) scale(1.05);
        opacity: 0.22;
    }
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(357deg, rgb(92 3 3 / 0%), rgb(90 0 0 / 0%) 45%, rgb(70 0 0 / 86%));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 3rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-bright);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 0 auto 2.2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--color-gold);
    width: 28px;
    border-radius: 10px;
}

/* Curved Divider SVG */
.curved-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.hero-curved {
    bottom: 0;
}

.hero-curved svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.hero-curved path {
    fill: #FFFFFF;
}

/* Moving Wave Keyframes */
.wave-layer-1 {
    animation: moveWave 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

@keyframes moveWave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25px);
    }

    100% {
        transform: translateX(0);
    }
}

/* --------------------------------------------------------------------------
   5. WELCOME SECTION (Split Modern Layout)
   -------------------------------------------------------------------------- */
.welcome-section {
    background-color: #FFFFFF;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-image-wrapper {
    position: relative;
}

.portrait-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.portrait-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portrait-frame:hover .portrait-img {
    transform: scale(1.04);
}

.frame-accent-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-gold);
    z-index: 3;
    pointer-events: none;
}

.corner-top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.corner-bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.badge-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-maroon-dark), var(--color-terracotta));
    color: #FFFFFF;
    padding: 1.2rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dark-card);
    border: 2px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold-bright);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.welcome-content {
    display: flex;
    flex-direction: column;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.tag-line {
    width: 35px;
    height: 2px;
    background-color: var(--color-terracotta);
}

.tag-text {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-terracotta);
}

.welcome-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin: 1.2rem 0;
    letter-spacing: 0.5px;
}

.welcome-quote-card {
    background-color: var(--color-bg-warm);
    border-left: 4px solid var(--color-gold);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0 2rem;
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.franciscan-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-maroon-dark);
    line-height: 1.4;
}

.quote-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-terracotta);
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-signature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.custos-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-maroon-dark);
}

.custos-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   6. ABOUT CUSTODY (Dark Curved Section & Interactive Timeline)
   -------------------------------------------------------------------------- */
.dark-bg-curved {
    background-color: var(--color-maroon-dark);
    position: relative;
}

.top-curve {
    top: 0;
}

.top-curve svg {
    display: block;
    width: 100%;
    height: 70px;
    transform: translateY(-99%);
}

.bottom-curve {
    bottom: 0;
}

.bottom-curve svg {
    display: block;
    width: 100%;
    height: 70px;
    transform: translateY(99%);
}

.about-interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.about-timeline-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.timeline-tab-btn:hover,
.timeline-tab-btn.active {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-maroon-main));
    border-color: var(--color-gold);
    color: #FFFFFF;
    transform: translateX(8px);
    box-shadow: var(--shadow-dark-card);
}

.tab-step {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold);
}

.tab-label {
    font-size: 1rem;
    font-weight: 600;
}

.about-timeline-content {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #FFFFFF;
    min-height: 380px;
}

.timeline-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.timeline-pane.active {
    display: block;
}

.pane-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--color-gold);
    color: var(--color-maroon-dark);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pane-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-gold-bright);
    margin-bottom: 1rem;
}

.pane-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pane-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* --------------------------------------------------------------------------
   7. MISSION & VISION (Dual Architectural Shield Cards)
   -------------------------------------------------------------------------- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

.mv-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF9 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold));
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mv-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(129, 49, 33, 0.08);
    color: var(--color-terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.mv-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.mv-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--color-maroon-dark);
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.mv-desc {
    color: var(--color-text-main);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
    padding: 1.25rem 1.35rem;
    border-left: 3px solid var(--color-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(250, 247, 242, .8);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

.mv-desc .mission-vocation {
    font-family: var(--font-body);
    font-size: .98rem;
    font-style: normal;
    line-height: 1.65;
    text-align: left;
}

.mv-desc .mission-vocation p {
    margin-bottom: .65rem;
}

.mv-desc .mission-vocation p:last-child {
    margin-bottom: 0;
}

.mv-desc .mission-history {
    display: none;
}

.mv-bullets {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.bullet-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-maroon-dark);
    background: var(--color-bg-warm);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mv-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--color-gold-muted);
    border-radius: 50px;
    color: var(--color-maroon-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.mv-read-more i {
    color: var(--color-gold);
    transition: transform var(--transition-fast);
}

.mv-read-more:hover,
.mv-read-more:focus-visible {
    background: var(--color-maroon-main);
    border-color: var(--color-maroon-main);
    color: #fff;
}

.mv-read-more:hover i,
.mv-read-more:focus-visible i {
    color: var(--color-gold-bright);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. FEATURED MINISTRIES (Interactive Tabbed Showcase)
   -------------------------------------------------------------------------- */
.ministry-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0 3.5rem;
    flex-wrap: wrap;
}

.m-tab-btn {
    background: #FFFFFF;
    border: 2px solid var(--color-border);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.m-tab-btn:hover,
.m-tab-btn.active {
    background: var(--color-maroon-dark);
    border-color: var(--color-maroon-dark);
    color: var(--color-gold-bright);
    box-shadow: 0 8px 20px rgba(64, 11, 11, 0.2);
}

.ministry-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.ministry-panel.active {
    display: block;
}

.m-panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    align-items: center;
}

.m-panel-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.m-panel-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.m-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(64, 11, 11, 0.85);
    color: var(--color-gold-bright);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.m-subhead {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-terracotta);
    display: block;
    margin-bottom: 0.5rem;
}

.m-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--color-maroon-dark);
    margin-bottom: 1.2rem;
}

.m-stats-grid {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--color-border);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-terracotta);
    display: block;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. LATEST NEWS (Editorial Magazine Layout)
   -------------------------------------------------------------------------- */
.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.link-arrow {
    font-weight: 700;
    color: var(--color-terracotta);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    color: var(--color-maroon-dark);
    gap: 0.8rem;
}

.news-editorial-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.news-featured {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.news-img-holder {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.news-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured:hover .news-img-holder img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-maroon-dark);
    color: var(--color-gold);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-body {
    padding: 2.5rem;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.news-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-maroon-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-heading a:hover {
    color: var(--color-terracotta);
}

.news-excerpt {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.news-read-more {
    font-weight: 700;
    color: var(--color-terracotta);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Stacked Mini News Cards */
.news-side-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-mini {
    display: flex;
    gap: 1.2rem;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.news-mini:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.news-mini-img {
    width: 140px;
    height: 185px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.news-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag-sm {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
}

.news-meta-sm {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.news-mini-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--color-maroon-dark);
}

.news-mini-heading a:hover {
    color: var(--color-terracotta);
}

.news-mini-text {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   10. UPCOMING EVENTS (Horizontal Calendar Timeline & Modals)
   -------------------------------------------------------------------------- */
.events-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.event-row-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition-fast);
}

.event-row-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.event-date-badge {
    background: linear-gradient(135deg, var(--color-gold), #967232);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-dark-card);
}

.event-day {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-info {
    flex-grow: 1;
    color: #FFFFFF;
}

.event-category-pill {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(197, 160, 89, 0.2);
    color: var(--color-gold-bright);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #FFFFFF;
    margin-bottom: 0.4rem;
}

.event-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.event-meta-tags {
    display: flex;
    gap: 1.8rem;
    font-size: 0.85rem;
    color: var(--color-gold-bright);
}

/* --------------------------------------------------------------------------
   11. PHOTO GALLERY (Masonry Lightbox Filter)
   -------------------------------------------------------------------------- */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2.5rem 0 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-terracotta);
    color: #FFFFFF;
    border-color: var(--color-terracotta);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(64, 11, 11, 0.9), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    padding: 2rem;
    text-align: center;
    color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transform: translateY(15px);
    transition: var(--transition-fast);
}

.gallery-item:hover .overlay-icon {
    transform: translateY(0);
}

.overlay-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.overlay-cat {
    font-size: 0.8rem;
    color: var(--color-gold-bright);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS (Dark Luxury Slider)
   -------------------------------------------------------------------------- */
.testimonial-carousel-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.testimonial-quote-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 4rem 3.5rem;
    position: relative;
    color: #FFFFFF;
}

.test-quote-bg {
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: 25px;
    left: 35px;
}

.test-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.test-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.test-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-maroon-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid #FFFFFF;
    overflow: hidden;
    flex-shrink: 0;
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-gold-bright);
}

.author-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.test-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.test-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.test-dot.active {
    background: var(--color-gold);
    width: 28px;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   13. CALL TO ACTION - VOCATION (Liquid Wave Border & Glowing Card)
   -------------------------------------------------------------------------- */
.cta-vocation-card {
    background: linear-gradient(135deg, var(--color-maroon-dark), var(--color-terracotta));
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--color-gold-muted);
}

.animated-wave-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.wave-anim-1 {
    opacity: 0.65;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    color: #FFFFFF;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.4rem;
    background: rgba(197, 160, 89, 0.25);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-bright);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.cta-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-features-flex {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   14. CONTACT INFORMATION & FORM
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3.5rem;
}

.contact-info-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-maroon-dark);
}

.contact-card-sub {
    color: var(--color-terracotta);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(129, 49, 33, 0.08);
    color: var(--color-terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-maroon-dark);
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-socials {
    margin-top: 2.5rem;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-maroon-dark);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-maroon-dark);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-maroon-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-bg-warm);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(129, 49, 33, 0.1);
}

.form-status-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.contact-recaptcha {
    display: flex;
    justify-content: center;
}

.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(24, 12, 10, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-popup-card {
    width: min(520px, 100%);
    margin-top: 4rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: flex-start;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-strong);
    padding: 1.2rem;
}

.contact-popup-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-popup.success .contact-popup-icon {
    background: rgba(37, 119, 75, 0.12);
    color: #25774b;
}

.contact-popup.error .contact-popup-icon {
    background: rgba(164, 52, 52, 0.12);
    color: #a43434;
}

.contact-popup h4 {
    margin: 0 0 0.3rem;
    color: var(--color-maroon-dark);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.contact-popup p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact-popup-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--color-bg-warm);
    color: var(--color-maroon-dark);
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   15. PREMIUM FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-maroon-dark);
    color: #FFFFFF;
    position: relative;
}

.footer-wave-top svg {
    display: block;
    width: 100%;
    height: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.tau-svg-sm {
    width: 36px;
    height: 36px;
    color: var(--color-gold);
}

.f-logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #FFFFFF;
    line-height: 1.1;
}

.f-logo-sub {
    font-size: 0.75rem;
    color: var(--color-gold-bright);
    text-transform: uppercase;
}

.footer-blessing {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.blessing-author {
    font-size: 0.8rem;
    color: var(--color-gold-bright);
    font-weight: 600;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-gold-bright);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    transition: var(--transition-fast);

}

.footer-links a:hover {
    color: var(--color-gold-bright);
    padding-left: 0.4rem;
}

.f-text-sm {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.2rem;
}

.footer-newsletter {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.3rem;
}

.footer-newsletter input {
    background: none;
    border: none;
    padding: 0.6rem 1.2rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter button {
    background: var(--color-gold);
    border: none;
    color: var(--color-maroon-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.footer-newsletter button:hover {
    background: #FFFFFF;
}

.footer-motto {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold-bright);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
    background: var(--color-gold);
    color: var(--color-maroon-dark);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   16. MODAL WINDOWS (Events & Lightbox)
   -------------------------------------------------------------------------- */
.modal-overlay,
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.open,
.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-dark-card);
    animation: modalScale 0.3s ease;
}

@keyframes modalScale {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close,
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-bg-warm);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-maroon-dark);
}

.modal-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-maroon-dark);
    margin-top: 0.4rem;
}

.modal-body {
    margin: 1.5rem 0;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-muted);
}

.modal-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1.2rem 0;
}

.modal-desc {
    font-size: 1rem;
    color: var(--color-text-main);
    line-height: 1.6;
}

/* Lightbox Styling */
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dark-card);
}

.lightbox-caption {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   17. SCROLL REVEAL ANIMATION CLASSES
   -------------------------------------------------------------------------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

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

/* --------------------------------------------------------------------------
   17A. FLOATING BUBBLES ANIMATION
   -------------------------------------------------------------------------- */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

.bubble:nth-child(1) {
    left: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    left: 20%;
    width: 20px;
    height: 20px;
    animation-duration: 16s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    left: 35%;
    width: 50px;
    height: 50px;
    animation-duration: 14s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    left: 50%;
    width: 30px;
    height: 30px;
    animation-duration: 18s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    left: 65%;
    width: 45px;
    height: 45px;
    animation-duration: 15s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    left: 75%;
    width: 25px;
    height: 25px;
    animation-duration: 20s;
    animation-delay: 5s;
}

.bubble:nth-child(7) {
    left: 85%;
    width: 35px;
    height: 35px;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.bubble:nth-child(8) {
    left: 90%;
    width: 55px;
    height: 55px;
    animation-duration: 17s;
    animation-delay: 6s;
}

.bubble:nth-child(9) {
    left: 5%;
    width: 28px;
    height: 28px;
    animation-duration: 19s;
    animation-delay: 3.5s;
}

.bubble:nth-child(10) {
    left: 45%;
    width: 38px;
    height: 38px;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-50vh) translateX(30px) scale(1);
        opacity: 0.4;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-110vh) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

.dark-bg-curved .bubble {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(197, 160, 89, 0.15) 60%, transparent 100%);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.bg-warm-light .bubble {
    background: radial-gradient(circle at 30% 30%, rgba(64, 11, 11, 0.2), rgba(129, 49, 33, 0.1) 60%, transparent 100%);
    box-shadow: 0 0 15px rgba(64, 11, 11, 0.15);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .header-logo {
        width: 50px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .welcome-grid,
    .mv-grid,
    .m-panel-grid,
    .news-editorial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-interactive-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .event-row-card {
        flex-direction: column;
        text-align: center;
    }

    .event-meta-tags {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-heading {
        font-size: 2.2rem;
    }

    .cta-features-flex {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .gallery-masonry {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: .35s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.social-links a:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .28);
}

/* Facebook */
.social-links .facebook {
    background: #1877F2;
}

/* YouTube */
.social-links .youtube {
    background: #FF0000;
}

/* Instagram */
.social-links .instagram {
    background: linear-gradient(45deg,
            #F58529,
            #FEDA77,
            #DD2A7B,
            #8134AF,
            #515BD4);
}

.copyright-link {
    color: #ffffff;
}

.copyright-link:hover {
    color: #c5a059;
}