/* ==============================================
   Grace Chapel - Modern Stylesheet
   ============================================== */

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

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Content */
main {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    overflow: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.header-brand {
    flex-shrink: 0;
}

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

.logo-icon {
    font-size: 2rem;
    color: #38bdf8;
    line-height: 1;
}

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

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Styles */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

nav a:hover {
    color: #38bdf8;
}

nav a:hover::after {
    width: 60%;
}

.nav-cta {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

nav a.active {
    color: #38bdf8;
    text-decoration: none;
}

nav a.active::after {
    width: 60%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

section {
    padding: 3rem 1rem;
    border-bottom: none;
}

section.hero-section {
    padding: 0;
    margin: 0;
}

h2 {
    color: #0f2438;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

h3 {
    color: #1a3f5a;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

p {
    color: #4a5568;
}
/* Contact Information */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    background: #f5f7fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

label {
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 0.5rem;
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #1a3a52;
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
}

button:active {
    transform: translateY(-2px);
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: #0f2438;
    overflow: hidden;
    height: 85vh;
    min-height: 550px;
    max-height: 800px;
}

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

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    display: flex;
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: filter 0.6s ease;
}

.carousel-slide.active img {
    animation: zoom 8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 36, 56, 0.4) 0%, rgba(15, 36, 56, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-text {
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
    animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.carousel-text h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    padding: 0;
    text-transform: none;
}

.carousel-text p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    background: #38bdf8;
    color: #0f2438;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

.hero-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.5);
}

.carousel-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.carousel-dot.active {
    background-color: #38bdf8;
    width: 32px;
    border-radius: 6px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 15;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Quick Info Banner */
.quick-info-banner {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    gap: 2rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.quick-info-item svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
}

.quick-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.quick-value {
    font-size: 1rem;
    font-weight: 600;
}

.quick-info-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.section-label.light {
    color: #38bdf8;
}

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.header-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
    border-radius: 2px;
}

.header-accent.center {
    margin: 0 auto;
}

/* Welcome Section Grid */
.welcome-section {
    background: #ffffff;
}

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

.welcome-text {
    padding-right: 2rem;
}

.welcome-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 1.5rem;
}

.welcome-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #38bdf8;
    border-radius: 16px;
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-btn {
    display: inline-block;
    background: transparent;
    color: #0f2438;
    padding: 1rem 2rem;
    border: 2px solid #0f2438;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
}

.modern-btn:hover {
    background: #0f2438;
    color: white;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-section {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 6rem 2rem;
    margin: 0;
    text-align: center;
}

.mission-container {
    max-width: 900px;
    margin: 0 auto;
}

.mission-section h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 1.5rem;
}

.mission-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    font-style: italic;
    color: #38bdf8;
    margin: 2.5rem 0;
    padding: 0;
    border: none;
    line-height: 1.4;
}

.mission-content .section-header {
    margin-bottom: 2.5rem;
}

.mission-intro {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f2438;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mission-intro strong {
    background: linear-gradient(120deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-paragraph {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

/* New Connect Section */
.connect-section-new {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0;
}

.connect-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.connect-info {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.connect-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.connect-intro {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.connect-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.connect-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    color: #38bdf8;
    width: 22px;
    height: 22px;
}

.detail-content {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f2438;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #0f2438;
    padding: 1rem 1.75rem;
    border: 2px solid #0f2438;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #0f2438;
    color: white;
}

.connect-map {
    position: relative;
    min-height: 400px;
    background: #e2e8f0;
}

.connect-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Legacy Contact Cards Grid */
.connect-section {
    background: #f8fafc;
}

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

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card.featured {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
}

.contact-card.featured::before {
    background: linear-gradient(90deg, #38bdf8, #ffffff);
    transform: scaleX(1);
}

.contact-card.featured .contact-icon-wrapper {
    background: rgba(56, 189, 248, 0.2);
}

.contact-card.featured .contact-icon-wrapper svg {
    color: #38bdf8;
}

.contact-card.featured h3 {
    color: white;
}

.contact-card.featured .contact-main,
.contact-card.featured .contact-sub {
    color: rgba(255, 255, 255, 0.9);
}

.contact-card.featured .contact-link {
    color: #38bdf8;
}

.contact-icon-wrapper {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon-wrapper svg {
    color: #0ea5e9;
    width: 32px;
    height: 32px;
}

.contact-card h3 {
    color: #0f2438;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a3f5a;
    margin-bottom: 0.25rem;
}

.contact-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.contact-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0ea5e9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #0284c7;
    letter-spacing: 1px;
}

/* Legacy Contact Information */
.contact-info {
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #38bdf8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, transparent 100%);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-item:hover::before {
    right: 0;
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: bounce 2s infinite;
}

.contact-item:hover .contact-icon {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-item h3 {
    color: #0f2438;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.contact-item p {
    margin: 0.7rem 0;
    color: #4a5568;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.contact-item p strong {
    color: #0f2438;
    font-weight: 700;
}

/* Footer Styles */
footer {
    background: linear-gradient(180deg, #0a1929 0%, #0f2438 100%);
    color: #94a3b8;
    padding: 0;
    margin-top: 0;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    padding: 5rem 2rem 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 1.75rem;
    color: #38bdf8;
}

.footer-logo .logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #0f2438;
    transform: translateY(-3px);
}

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

.footer-column h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-column p {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.footer-column p strong {
    color: #38bdf8;
    font-weight: 600;
}

.footer-address {
    font-size: 0.9rem;
    color: #475569 !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.footer-bottom p {
    margin: 0;
    color: #475569;
    font-size: 0.875rem;
}

.footer-credit {
    color: #38bdf8 !important;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .welcome-text {
        padding-right: 0;
        text-align: center;
    }

    .header-accent {
        margin: 0 auto;
    }

    .welcome-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .connect-wrapper {
        grid-template-columns: 1fr;
    }

    .connect-info {
        padding: 4rem 2rem;
        text-align: center;
    }

    .connect-info h2 {
        font-size: 2.2rem;
    }

    .connect-detail-item {
        justify-content: center;
        text-align: left;
    }

    .connect-buttons {
        justify-content: center;
    }

    .connect-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        margin: 1rem 0 0 0 !important;
        text-align: center;
    }

    nav {
        position: static;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .logo-tagline {
        display: none;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .carousel-container {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-text h2 {
        font-size: 2.5rem;
    }

    .carousel-text p {
        font-size: 1.1rem;
    }

    .hero-label {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.85rem;
    }

    .quick-info-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .quick-info-divider {
        width: 60px;
        height: 1px;
    }

    .welcome-text h2 {
        font-size: 2.2rem;
    }

    .content-section {
        padding: 3rem 1.5rem;
    }

    .mission-section {
        padding: 4rem 1.5rem;
    }

    .mission-quote {
        font-size: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    nav ul {
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .carousel-container {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-text h2 {
        font-size: 2rem;
    }

    .carousel-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-label {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        padding: 12px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .quick-info-banner {
        padding: 1.5rem 1rem;
    }

    .quick-info-item {
        gap: 0.75rem;
    }

    .quick-value {
        font-size: 0.9rem;
    }

    .welcome-text h2 {
        font-size: 1.8rem;
    }

    .image-frame img,
    .image-placeholder {
        height: 280px;
    }

    .content-section {
        padding: 2.5rem 1rem;
    }

    .mission-section {
        padding: 3rem 1rem;
    }

    .mission-quote {
        font-size: 1.25rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .mission-text {
        font-size: 0.95rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    button {
        width: 100%;
        align-self: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.highlight {
    color: #1a3a52;
    font-weight: 600;
}

.success-message {
    background-color: #dcfce7;
    color: #166534;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #16a34a;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #dc2626;
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
    color: white;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: white;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
}

.about-images .image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-images .image-grid .about-image-frame:first-child {
    grid-column: 1 / -1;
}

.about-image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-image-frame:first-child img {
    height: 250px;
}

/* Pastor Section */
.pastor-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.pastor-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.pastor-image {
    position: sticky;
    top: 100px;
}

.pastor-image-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pastor-image-frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.pastor-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 450px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.pastor-placeholder span {
    font-size: 0.9rem;
    color: #64748b;
}

.pastor-info-card {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: -2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.pastor-info-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

.pastor-info-card p {
    margin: 0;
    color: white;
}

.pastor-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.pastor-content h3 {
    font-size: 1.5rem;
    color: #38bdf8;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pastor-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
}

.pastor-family-images {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.small-image-frame {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.small-image-frame img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.image-placeholder.small {
    height: 180px;
}

/* Beliefs Section */
.beliefs-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
}

.beliefs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.beliefs-header h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 2.5rem;
    text-transform: none;
}

.beliefs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.belief-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.belief-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.belief-number {
    width: 40px;
    height: 40px;
    background: #38bdf8;
    color: #0f2438;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.belief-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.belief-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.belief-verse {
    font-size: 0.8rem;
    color: #38bdf8;
    font-style: italic;
}

/* Covenant Section */
.covenant-section {
    padding: 5rem 2rem;
    background: white;
}

.covenant-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.covenant-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.covenant-image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.covenant-image-frame img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.covenant-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.covenant-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #4a5568;
}

.covenant-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a3f5a !important;
    border-left: 4px solid #38bdf8;
    padding-left: 1.5rem;
    margin-bottom: 2rem !important;
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 2.5rem;
    text-transform: none;
    margin-bottom: 1rem;
}

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

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

.cta-buttons .btn-primary {
    background: white;
    color: #0284c7;
}

.cta-buttons .btn-primary:hover {
    background: #0f2438;
    color: white;
}

.btn-secondary.light {
    border-color: white;
    color: white;
}

.btn-secondary.light:hover {
    background: white;
    color: #0284c7;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .pastor-grid,
    .covenant-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pastor-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .covenant-images {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .covenant-image-frame {
        flex: 1;
        min-width: 150px;
    }

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

@media (max-width: 768px) {
    .page-hero {
        padding: 5rem 1.5rem 3rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .about-section,
    .pastor-section,
    .beliefs-section,
    .covenant-section {
        padding: 3rem 1.5rem;
    }

    .about-content h2,
    .pastor-content h2,
    .beliefs-header h2,
    .covenant-content h2 {
        font-size: 2rem;
    }

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

    .belief-card {
        padding: 1.5rem;
    }

    .pastor-family-images {
        flex-direction: column;
    }

    .small-image-frame img {
        height: 200px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }

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

    .covenant-images {
        flex-direction: column;
    }

    .covenant-image-frame {
        min-width: 100%;
    }
}

/* History Section */
.history-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-header {
    text-align: center;
    margin-bottom: 3rem;
}

.history-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-transform: none;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.history-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #4a5568;
}

.history-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1a3f5a !important;
}

.history-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #38bdf8;
    font-weight: 500;
    color: #0f2438 !important;
    margin-top: 1.5rem !important;
}

.history-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.history-image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-image-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Timeline */
.timeline-section {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    border-radius: 20px;
    padding: 3rem;
}

.timeline-section h3 {
    text-align: center;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.timeline-item.current {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background: #38bdf8;
    border-radius: 50%;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.timeline-item.current .timeline-marker {
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.1);
    }
}

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

.timeline-years {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #38bdf8;
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.timeline-duration {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.timeline-note {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* History Responsive */
@media (max-width: 1024px) {
    .history-content {
        grid-template-columns: 1fr;
    }

    .history-images {
        position: static;
        flex-direction: row;
    }

    .history-image-frame {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 3rem 1.5rem;
    }

    .timeline-section {
        padding: 2rem 1.5rem;
    }

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

    .history-images {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .timeline-section h3 {
        font-size: 1.5rem;
    }

    .timeline-item {
        padding: 1.25rem;
    }
}

/* ==============================================
   Finding Grace Page Styles
   ============================================== */

.finding-grace-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 50%, #0f2438 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.finding-grace-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.finding-grace-hero .page-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Video Section */
.grace-video-section {
    background: #f8fafc;
    padding: 4rem 2rem;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Grace Article */
.grace-article {
    background: white;
    padding: 0;
}

.grace-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.grace-section {
    margin-bottom: 3.5rem;
}

.grace-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #0f2438;
    margin-bottom: 0.5rem;
}

.grace-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.grace-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 1.5rem;
}

.grace-lead {
    font-size: 1.3rem !important;
    color: #1f2937 !important;
    font-weight: 500;
    line-height: 1.8 !important;
}

.grace-highlight-text {
    font-size: 1.25rem !important;
    color: #0f2438 !important;
    background: linear-gradient(180deg, transparent 60%, rgba(56, 189, 248, 0.2) 60%);
    display: inline;
    padding: 0 0.25rem;
}

.grace-highlight-text strong {
    color: #0ea5e9;
}

/* Scripture Quotes */
.scripture-quote {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #38bdf8;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.scripture-quote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: rgba(56, 189, 248, 0.3);
    line-height: 1;
}

.scripture-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem !important;
    font-style: italic;
    color: #1e3a5f !important;
    margin-bottom: 0.75rem !important;
    padding-left: 1.5rem;
}

.scripture-quote cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-style: normal;
    color: #0ea5e9;
    font-weight: 600;
    padding-left: 1.5rem;
}

.scripture-quote.featured {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    border-left-color: #38bdf8;
}

.scripture-quote.featured::before {
    color: rgba(56, 189, 248, 0.2);
}

.scripture-quote.featured p {
    color: white !important;
}

.scripture-quote.featured cite {
    color: #38bdf8;
}

/* Grace Callouts */
.grace-callout {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.grace-callout:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1);
}

.grace-callout h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #0f2438;
    margin-bottom: 1rem;
}

.grace-callout p {
    margin-bottom: 0 !important;
    color: #4b5563 !important;
}

/* Final Messages */
.grace-final {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: #0f2438 !important;
    text-align: center;
    padding: 2rem 0;
}

.grace-question {
    font-family: 'Playfair Display', serif;
    font-size: 2rem !important;
    color: #0ea5e9 !important;
    text-align: center;
    font-weight: 600;
    padding: 1rem 0 2rem;
}

/* Grace CTA Section */
.grace-cta {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    text-align: center;
}

.grace-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.grace-cta-content > p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
    max-width: 600px;
    margin: 0 auto 2rem !important;
}

.grace-contact-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-action {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem !important;
    margin-bottom: 0.25rem !important;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-number:hover {
    color: #7dd3fc;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.contact-note {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.grace-closing {
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
}

/* Finding Grace Responsive Styles */
@media (max-width: 768px) {
    .finding-grace-hero {
        min-height: 40vh;
    }

    .finding-grace-hero .page-hero-content p {
        font-size: 1.1rem;
    }

    .grace-video-section {
        padding: 2rem 1rem;
    }

    .grace-content {
        padding: 3rem 1.5rem;
    }

    .grace-section h2 {
        font-size: 1.8rem;
    }

    .grace-content p {
        font-size: 1rem;
    }

    .grace-lead {
        font-size: 1.15rem !important;
    }

    .scripture-quote {
        padding: 1.5rem;
    }

    .scripture-quote p {
        font-size: 1.1rem !important;
        padding-left: 0;
    }

    .scripture-quote cite {
        padding-left: 0;
    }

    .scripture-quote::before {
        font-size: 3rem;
        left: 0.5rem;
    }

    .grace-callout {
        padding: 1.5rem;
    }

    .grace-cta {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .grace-cta-content h2 {
        font-size: 2rem;
    }

    .grace-question {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .grace-content {
        padding: 2rem 1rem;
    }

    .grace-section h2 {
        font-size: 1.5rem;
    }

    .grace-highlight-text {
        font-size: 1.1rem !important;
    }

    .grace-final {
        font-size: 1.1rem !important;
    }

    .grace-contact-box {
        padding: 1.5rem;
    }

    .contact-number {
        font-size: 1.3rem;
    }
}

/* ==============================================
   Sermons Page Styles
   ============================================== */

.sermons-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 50%, #0f2438 100%);
    min-height: 45vh;
}

/* Sermon Filters */
.sermon-filters {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

/* Sermon Filters - Enhanced Design */
.sermon-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.filter-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.filter-group label {
    font-weight: 600;
    color: #0f2438;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #38bdf8;
    border-radius: 50%;
}

.filter-group select,
.filter-group input {
    padding: 0.9rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #374151;
}

.filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
}

.filter-group input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.filter-group input::placeholder {
    color: #94a3b8;
}

.filter-group select:hover,
.filter-group input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Latest Sermon Section */
.latest-sermon {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 4rem 2rem;
}

.latest-sermon-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.latest-label {
    display: inline-block;
    background: #38bdf8;
    color: #0f2438;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.latest-sermon h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.75rem;
}

.latest-date {
    color: #38bdf8;
    font-weight: 500;
    margin-bottom: 1rem;
}

.latest-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Podbean Embed Fallback */
.podbean-embed-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.latest-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.latest-actions audio {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
}

.btn-primary {
    display: inline-block;
    background: #38bdf8;
    color: #0f2438;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

/* Series Grid Section */
.sermon-series-section {
    background: white;
    padding: 4rem 2rem;
}

.series-container {
    max-width: 1200px;
    margin: 0 auto;
}

.series-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #0f2438;
    text-align: center;
    margin-bottom: 2.5rem;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.series-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.series-color-bar {
    height: 6px;
    background: var(--series-color, #38bdf8);
}

.series-card-content {
    padding: 1.5rem;
}

.series-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #0f2438;
    margin-bottom: 0.5rem;
}

.series-count {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.series-latest {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.series-btn {
    background: transparent;
    color: var(--series-color, #38bdf8);
    border: 2px solid var(--series-color, #38bdf8);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.series-btn:hover {
    background: var(--series-color, #38bdf8);
    color: white;
}

/* All Sermons Section */
.all-sermons-section {
    background: #f8fafc;
    padding: 4rem 2rem;
}

.sermons-container {
    max-width: 1000px;
    margin: 0 auto;
}

.sermons-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #0f2438;
    text-align: center;
    margin-bottom: 0.5rem;
}

.sermon-count {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.sermons-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Sermon Item */
.sermon-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sermon-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.sermon-series-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    border-radius: 0 0 8px 0;
}

.sermon-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.sermon-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #0f2438;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sermon-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.sermon-date,
.sermon-duration {
    color: #64748b;
    font-size: 0.9rem;
}

.sermon-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sermon-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sermon-audio {
    width: 100%;
    border-radius: 8px;
}

.sermon-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sermon-link:hover {
    color: #0ea5e9;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    color: #64748b;
    padding: 3rem;
    font-size: 1.1rem;
}

/* Subscribe CTA */
.subscribe-cta {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.subscribe-container {
    max-width: 800px;
    margin: 0 auto;
}

.subscribe-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 0.75rem;
}

.subscribe-cta > p,
.subscribe-container > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.podcast-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.podcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.podcast-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.podcast-btn.apple:hover { border-color: #fc3c44; }
.podcast-btn.spotify:hover { border-color: #1ed760; }
.podcast-btn.amazon:hover { border-color: #ff9900; }
.podcast-btn.podbean:hover { border-color: #38bdf8; }

.podcast-icon {
    font-size: 1.2rem;
}

/* Sermons Responsive Styles */
@media (max-width: 768px) {
    .sermon-filters {
        padding: 1.5rem;
    }

    .filter-container {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        max-width: none;
        min-width: auto;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.8rem 1rem;
        padding-right: 2.5rem;
        background-size: 1rem;
    }

    .latest-sermon {
        padding: 3rem 1.5rem;
    }

    .latest-sermon h2 {
        font-size: 1.8rem;
    }

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

    .sermon-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .podcast-links {
        flex-direction: column;
    }

    .podcast-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sermon-filters {
        padding: 1rem;
    }

    .latest-sermon h2 {
        font-size: 1.5rem;
    }

    .sermon-title {
        font-size: 1.15rem;
    }

    .all-sermons-section {
        padding: 2rem 1rem;
    }

    .sermon-content {
        padding: 1rem;
    }
}

/* ==============================================
   Events / What's Happening Page Styles
   ============================================== */

.events-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 50%, #0f2438 100%);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.events-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 40%);
    animation: heroFloat 15s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Featured Event Section */
.featured-event {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 6rem 2rem;
    position: relative;
}

.featured-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #0f2438 0%, transparent 100%);
    opacity: 0.03;
}

.featured-event-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(15, 36, 56, 0.2);
}

.label-icon {
    font-size: 1.1rem;
}

.featured-event-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(15, 36, 56, 0.12);
    overflow: hidden;
}

.featured-event-image {
    position: relative;
    min-height: 500px;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.countdown-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 36, 56, 0.95) 100%);
    padding: 3rem 2rem 2rem;
}

.countdown-label {
    display: block;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
}

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

.countdown-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-event-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.featured-event-info .event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    width: fit-content;
    box-shadow: 0 8px 25px rgba(15, 36, 56, 0.2);
}

.event-date-badge .event-month {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #38bdf8;
}

.event-date-badge .event-day {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-date-badge .event-year {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
}

.featured-event-info h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #0f2438;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 36, 56, 0.08);
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    color: #0f2438;
    font-weight: 600;
}

.detail-item span {
    font-size: 0.85rem;
    color: #64748b;
}

.event-description {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.highlight-tag {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.event-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: #92400e;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.event-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    color: #1e40af;
    font-weight: 500;
    margin: 1rem 0;
    font-size: 0.9rem;
    border-left: 4px solid #3b82f6;
}

.event-warning svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #92400e;
}

.notice-icon svg {
    width: 18px;
    height: 18px;
}

.event-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(15, 36, 56, 0.3), 0 0 0 2px rgba(56, 189, 248, 0.3);
    width: fit-content;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.event-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
    transition: left 0.5s ease;
}

.event-register-btn:hover::before {
    left: 100%;
}

.event-register-btn svg {
    transition: transform 0.3s ease;
    color: #38bdf8;
}

.event-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 36, 56, 0.4), 0 0 0 3px rgba(56, 189, 248, 0.5);
    background: linear-gradient(135deg, #1a3f5a 0%, #0f2438 100%);
}

.event-register-btn:hover svg {
    transform: translateX(5px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #0f2438;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Regular Events Grid Section */
.events-grid-section {
    padding: 6rem 2rem;
    background: white;
}

.events-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Wednesday Nights Card - Redesigned */
.event-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 36, 56, 0.1);
    border: 1px solid rgba(15, 36, 56, 0.05);
}

.event-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
}

.event-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
}

.event-card-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.event-card-header .event-subtitle {
    color: #38bdf8;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.wednesday-schedule {
    padding: 0;
    margin: 0;
    list-style: none;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: #f8fafc;
}

.week-badge {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
}

.schedule-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.schedule-title {
    font-weight: 600;
    color: #0f2438;
    font-size: 1.05rem;
}

.schedule-desc {
    font-size: 0.9rem;
    color: #64748b;
}

.schedule-icon {
    font-size: 1.5rem;
}

/* Annual Events Section */
.annual-events-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.annual-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.annual-events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.annual-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.annual-event-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 36, 56, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(15, 36, 56, 0.05);
}

.annual-event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(15, 36, 56, 0.15);
}

.annual-event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.annual-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.annual-event-card:hover .annual-event-image img {
    transform: scale(1.08);
}

.event-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 36, 56, 0.8) 100%);
}

.event-date-overlay {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.overlay-month {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-year {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    margin-left: 0.25rem;
}

.annual-event-content {
    padding: 2rem;
}

.event-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.annual-event-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    color: #0f2438;
    margin-bottom: 1rem;
}

.annual-event-content > p {
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.event-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-features span {
    background: #f8fafc;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Event Link Button */
.event-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.event-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.35);
}

.event-link-btn svg {
    flex-shrink: 0;
}

/* Events CTA Section */
.events-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 40%);
}

.events-cta-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.events-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.events-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

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

.cta-btn.primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.45);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Events Page Responsive */
@media (max-width: 992px) {
    .featured-event-content {
        grid-template-columns: 1fr;
    }

    .featured-event-image {
        min-height: 350px;
    }

    .featured-event-info {
        padding: 2.5rem;
    }

    .featured-event-info h2 {
        font-size: 2rem;
    }

    .annual-events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .events-hero {
        min-height: 40vh;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .featured-event {
        padding: 4rem 1.5rem;
    }

    .featured-event-image {
        min-height: 280px;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-num {
        font-size: 1.75rem;
    }

    .event-card-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .schedule-item {
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
    }

    .schedule-info {
        flex: 1 0 60%;
    }

    .events-cta h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn.primary,
    .cta-btn.secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .featured-event-info {
        padding: 1.5rem;
    }

    .featured-event-info h2 {
        font-size: 1.6rem;
    }

    .event-date-badge {
        padding: 0.75rem 1.25rem;
    }

    .event-date-badge .event-day {
        font-size: 2rem;
    }

    .event-details {
        padding: 1rem;
    }

    .detail-item {
        gap: 0.75rem;
    }

    .event-highlights {
        gap: 0.4rem;
    }

    .highlight-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .annual-event-image {
        height: 220px;
    }

    .annual-event-content {
        padding: 1.5rem;
    }

    .annual-event-content h3 {
        font-size: 1.4rem;
    }

    .annual-events-section,
    .events-grid-section {
        padding: 4rem 1rem;
    }

    .schedule-item {
        gap: 1rem;
    }

    .schedule-icon {
        display: none;
    }
}

/* ==============================================
   Contact / Plan Your Visit Page Styles
   ============================================== */

.contact-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 50%, #0f2438 100%);
    min-height: 45vh;
}

/* Visit Info Section */
.visit-info-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.visit-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.visit-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(15, 36, 56, 0.1);
    border: 1px solid rgba(15, 36, 56, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(15, 36, 56, 0.12);
}

.visit-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
}

.visit-card-icon svg {
    width: 32px;
    height: 32px;
}

.visit-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #0f2438;
    margin-bottom: 1.25rem;
}

/* Service Times List */
.service-times-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-time-item {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-time-item .day {
    font-weight: 700;
    color: #0f2438;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-time-item .time {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
}

.service-time-item .desc {
    font-size: 0.85rem;
    color: #64748b;
}

/* Location Card */
.visit-card .address {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.directions-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 36, 56, 0.3);
}

/* What to Expect List */
.expect-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.expect-list li {
    padding: 0.6rem 0;
    color: #4a5568;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.expect-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-weight: 700;
}

.expect-list li:last-child {
    border-bottom: none;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 2rem;
    background: white;
}

.contact-form-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-info .section-label {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.contact-form-info h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    color: #0f2438;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-form-info > p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.contact-detail-item .detail-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 36, 56, 0.08);
    color: #0369a1;
}

.contact-detail-item .detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-item div {
    display: flex;
    flex-direction: column;
}

.contact-detail-item strong {
    color: #0f2438;
    font-weight: 600;
}

.contact-detail-item span {
    color: #64748b;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 36, 56, 0.08);
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f2438;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Map Section */
.map-section {
    width: 100%;
    height: 400px;
    filter: grayscale(20%);
}

.map-section iframe {
    display: block;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .visit-info-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-form-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-info {
        text-align: center;
    }

    .contact-details {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .visit-info-section {
        padding: 3rem 1.5rem;
        margin-top: -2rem;
    }

    .visit-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-section {
        padding: 3rem 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .contact-form-info h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .visit-card h3 {
        font-size: 1.3rem;
    }

    .service-time-item .time {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .map-section {
        height: 300px;
    }
}

/* ==============================================
   Giving Page Styles
   ============================================== */

.giving-hero {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 50%, #0f2438 100%);
    min-height: 45vh;
}

/* Giving Intro Section */
.giving-intro-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.giving-intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.giving-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 2.5rem;
}

.giving-scripture {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 50px rgba(15, 36, 56, 0.15);
}

.giving-scripture::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 5rem;
    color: rgba(56, 189, 248, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.giving-scripture p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.giving-scripture cite {
    color: #38bdf8;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

/* Giving Options Section */
.giving-options-section {
    padding: 5rem 2rem;
    background: white;
}

.giving-options-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.giving-option-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.giving-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 36, 56, 0.1);
}

.giving-option-card.featured {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: white;
    border-color: #38bdf8;
}

.giving-option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    box-shadow: 0 4px 15px rgba(15, 36, 56, 0.1);
}

.giving-option-card.featured .giving-option-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    box-shadow: none;
}

.giving-option-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #0f2438;
    margin-bottom: 1rem;
}

.giving-option-card.featured h3 {
    color: white;
}

.giving-option-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.giving-option-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.give-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.give-btn.primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.give-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.45);
}

.service-info,
.address-info {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f2438;
}

.address-info span {
    color: #4a5568;
    font-size: 0.95rem;
}

.address-info span:first-child {
    font-weight: 600;
    color: #0f2438;
}

/* Impact Section */
.giving-impact-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.giving-impact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.impact-content {
    text-align: center;
    margin-bottom: 3rem;
}

.impact-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    color: #0f2438;
    margin-bottom: 0.75rem;
}

.impact-content > p {
    color: #64748b;
    font-size: 1.1rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.impact-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 36, 56, 0.08);
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
}

.impact-item h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: #0f2438;
    margin-bottom: 0.5rem;
}

.impact-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Giving CTA */
.giving-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    text-align: center;
}

.giving-cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.giving-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1rem;
}

.giving-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.giving-cta .cta-btn.primary {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.giving-cta .cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.45);
}

/* Giving Page Responsive */
@media (max-width: 992px) {
    .giving-options-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .giving-intro-section {
        padding: 3rem 1.5rem;
    }

    .giving-scripture {
        padding: 2rem;
    }

    .giving-scripture p {
        font-size: 1.25rem;
    }

    .giving-options-section {
        padding: 3rem 1.5rem;
    }

    .giving-option-card {
        padding: 2rem;
    }

    .giving-cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .giving-description {
        font-size: 1.05rem;
    }

    .giving-scripture::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }

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

    .impact-item {
        padding: 1.5rem;
    }

    .giving-impact-section {
        padding: 3rem 1rem;
    }
}

/* ==============================================
   Homepage Featured Event Section
   ============================================== */

.homepage-featured-event {
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.homepage-featured-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.homepage-event-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.homepage-event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Event Image */
.hp-event-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hp-event-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.hp-event-countdown {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.hp-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hp-countdown-num {
    font-size: 2rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1;
}

.hp-countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Event Info */
.hp-event-info {
    color: white;
}

.hp-event-label {
    display: inline-block;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hp-event-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: white;
}

.hp-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.hp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.hp-meta-item svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.hp-event-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.hp-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hp-event-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.hp-event-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hp-event-btn.primary {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.hp-event-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.hp-event-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hp-event-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .homepage-event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hp-event-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .hp-event-info {
        text-align: center;
    }

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

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

    .hp-event-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .homepage-featured-event {
        padding: 3rem 1.5rem;
    }

    .hp-event-info h2 {
        font-size: 1.8rem;
    }

    .hp-event-image img {
        height: 280px;
    }

    .hp-countdown-num {
        font-size: 1.5rem;
    }

    .hp-event-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hp-event-buttons {
        flex-direction: column;
    }

    .hp-event-btn {
        width: 100%;
    }
}

/* ==============================================
   Global Mobile Enhancements
   ============================================== */

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    /* Navigation improvements */
    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Button touch targets */
    .btn-primary,
    .btn-secondary,
    .modern-btn,
    .hero-btn,
    .event-register-btn,
    .event-link-btn {
        min-height: 48px;
    }
    
    /* Featured event warning box */
    .event-warning {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    /* Event details grid */
    .event-details {
        gap: 0.75rem;
    }
    
    .detail-item {
        padding: 0.75rem;
    }
    
    /* Wednesday schedule mobile */
    .wednesday-schedule {
        padding: 0.5rem;
    }
    
    .schedule-item {
        gap: 1rem;
    }
    
    .week-badge {
        min-width: 40px;
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    /* Annual event cards */
    .annual-event-card {
        border-radius: 12px;
    }
    
    .annual-event-content {
        padding: 1.25rem;
    }
    
    .annual-event-content h3 {
        font-size: 1.25rem;
    }
    
    .annual-event-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Footer mobile */
    .footer-links {
        text-align: center;
    }
    
    .footer-col h4 {
        margin-bottom: 0.75rem;
    }
    
    /* Form inputs mobile */
    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    /* Extra small screen improvements */
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    /* Featured event mobile */
    .featured-event-info h2 {
        font-size: 1.4rem;
    }
    
    .event-date-badge {
        padding: 0.6rem 1rem;
    }
    
    .event-date-badge .event-month {
        font-size: 0.7rem;
    }
    
    .event-date-badge .event-day {
        font-size: 1.75rem;
    }
    
    .highlight-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .event-register-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Countdown mobile */
    .countdown-timer {
        gap: 0.75rem;
    }
    
    .countdown-num {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        font-size: 0.65rem;
    }
    
    /* Section padding */
    .events-grid-section,
    .annual-events-section {
        padding: 2rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    /* Connect section on homepage */
    .connect-wrapper {
        padding: 0 1rem;
    }
    
    .connect-info h2 {
        font-size: 1.6rem;
    }
    
    .connect-detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .connect-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .connect-buttons .btn-primary,
    .connect-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Mission section */
    .mission-quote {
        font-size: 1.25rem;
    }
    
    .mission-paragraph {
        font-size: 0.95rem;
    }
    
    /* Welcome section */
    .welcome-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-paragraph {
        font-size: 0.95rem;
    }
}

/* Ensure images don't overflow on mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    iframe {
        max-width: 100%;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    main {
        overflow-x: hidden;
    }
}

/* Fix audio player on mobile */
@media (max-width: 480px) {
    audio {
        width: 100%;
        max-width: 100%;
    }
    
    .latest-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .latest-actions audio {
        width: 100%;
    }
}

/* ==============================================
   Cookie Consent Banner
   ============================================== */

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f2438 0%, #1a3f5a 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-banner p {
    display: inline;
    margin-right: 1rem;
    font-size: 0.95rem;
}

#cookie-banner button {
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#cookie-banner button:not(.link-button) {
    background: #c9a227;
    color: #0f2438;
}

#cookie-banner button:not(.link-button):hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}

#cookie-banner .link-button {
    background: transparent;
    color: #87ceeb;
    text-decoration: underline;
    padding: 0.5rem 0.75rem;
}

#cookie-banner .link-button:hover {
    color: #ffffff;
}

/* Cookie Modal */
#cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    backdrop-filter: blur(4px);
}

#cookie-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#cookie-modal h2 {
    color: #0f2438;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
}

#cookie-modal p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

#cookie-modal #close-modal {
    background: #0f2438;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

#cookie-modal #close-modal:hover {
    background: #1a3f5a;
}

/* Cookie Banner Mobile Responsiveness */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }
    
    #cookie-banner p {
        display: block;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    #cookie-banner button {
        margin: 0.25rem;
    }
}
