/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Turquoise Palette */
    --primary-color: #40E0D0;
    --primary-dark: #20B2AA;
    --primary-light: #7FFFD4;
    --primary-glow: rgba(64, 224, 208, 0.3);
    
    /* Accent Colors */
    --accent-coral: #FF6B6B;
    --accent-gold: #FFD700;
    --accent-purple: #8B5CF6;
    --accent-emerald: #10B981;
    
    /* Dark Theme Colors */
    --background-primary: #0A0A0B;
    --background-secondary: #1A1A1B;
    --background-tertiary: #2A2A2B;
    --background-glass: rgba(26, 26, 27, 0.8);
    --background-overlay: rgba(10, 10, 11, 0.9);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E7;
    --text-tertiary: #98989D;
    --text-muted: #6E6E73;
    
    /* Border & Shadow */
    --border-color: #3A3A3B;
    --border-light: rgba(64, 224, 208, 0.2);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(64, 224, 208, 0.3);
    --shadow-glow-intense: 0 0 40px rgba(64, 224, 208, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
    --gradient-dark: linear-gradient(135deg, var(--background-primary), var(--background-secondary));
    --gradient-overlay: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(139, 92, 246, 0.1));
    
    /* Dimensions */
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--background-overlay);
    box-shadow: var(--shadow-glow);
    border-bottom: 1px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

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

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    position: relative;
}

.cta-button::after {
    display: none;
}

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

.hamburger .bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/homepage/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.6), rgba(26, 26, 27, 0.7)),
                radial-gradient(circle at 30% 70%, rgba(64, 224, 208, 0.15), transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(155, 89, 182, 0.12), transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

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

.btn {
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: 1;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary span {
    position: relative;
    z-index: 2;
}

/* Hero Graphics */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-cross, .floating-heart, .floating-hands {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: white;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
}

.floating-cross {
    top: 20%;
    right: 20%;
    background: var(--gradient-primary);
    color: white;
    animation-delay: 0s;
    box-shadow: var(--shadow-glow);
}

.floating-cross::before {
    content: '✟';
}

.floating-heart {
    top: 60%;
    left: 10%;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
    color: white;
    animation-delay: 2s;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.floating-heart::before {
    content: '♥';
}

.floating-hands {
    bottom: 20%;
    right: 40%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-emerald));
    color: white;
    animation-delay: 4s;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.floating-hands::before {
    content: '🙏';
}

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

/* Section Styles */
section {
    padding: 80px 0;
}


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: transparent;
    position: relative;
    padding-top: 80px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-hero-image {
    position: relative;
    margin: 60px 0;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    height: 400px;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-hero-image:hover .about-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    padding: 40px;
    color: white;
    text-align: center;
}

.image-overlay h3 {
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    transition: var(--transition-slow);
}

.about-card:hover .card-bg-image {
    opacity: 0.2;
    transform: scale(1.1);
}

.about-card > *:not(.card-image-bg) {
    position: relative;
    z-index: 2;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-glow);
}

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

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--background-primary);
    position: relative;
    padding: 80px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.service-preview {
    margin: 60px 0;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    position: relative;
    height: 500px;
}

.preview-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.preview-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-overlay);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
}

.video-overlay h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-intense);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-time {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.service-time .time {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.service-time .label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 5px;
}

.service-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-details p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Community Section */
.community {
    background: var(--background-secondary);
    position: relative;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.community .container {
    position: relative;
    z-index: 2;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.community-card {
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-large);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.community-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.community-card .card-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0 0 20px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: -40px -40px 20px -40px;
}

.community-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.community-card:hover .community-bg-image {
    transform: scale(1.1);
}

.community-card .card-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.community-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    margin-top: 15px;
}

.card-link i {
    transition: var(--transition);
}

.card-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* Tithes & Offerings Section */
.offerings {
    background: var(--background-tertiary);
    position: relative;
}

.offerings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(64, 224, 208, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.offerings .container {
    position: relative;
    z-index: 2;
}

.offerings .section-header {
    margin-bottom: 2rem;
}

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

.offerings-cta .btn {
    min-width: 200px;
}

/* Contact Section */
.contact {
    background: var(--background-tertiary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(64, 224, 208, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--background-glass);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--background-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--background-tertiary);
    color: var(--text-primary);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--background-secondary);
}

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

/* Footer */
.footer {
    background: var(--background-primary);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #40E0D0;
}

.footer-section ul li a:hover {
    color: #40E0D0;
    transform: translateX(10px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--background-glass);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Breakpoints: 480px, 768px, 1024px, 1280px
   ===================================================== */

/* Large Desktop (1280px+) */
@media (max-width: 1280px) {
    .container {
        max-width: 1100px;
        padding: 0 30px;
    }

    section {
        padding: 80px 0;
    }
}

/* Laptop / Small Desktop (1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 25px;
    }

    section {
        padding: 60px 0;
    }

    /* Navigation - Hamburger for iPad Pro */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-glow);
        padding: 40px 20px;
        border-bottom: 1px solid var(--border-light);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 12px 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 20px;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

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

    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 10px 20px;
    }

    .nav-logo-img {
        height: 55px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 75px);
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-glow);
        padding: 40px 20px;
        border-bottom: 1px solid var(--border-light);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 12px 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Layout */
    .container {
        padding: 0 20px;
    }

    section {
        padding: 50px 0;
    }

    /* Typography */
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    /* Grids */
    .about-grid,
    .services-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Cards */
    .about-card,
    .service-card,
    .community-card {
        padding: 30px 25px;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Images */
    .hero-image,
    .about-hero-image {
        height: 280px;
        margin: 30px 0;
    }
    
    .service-preview {
        height: 300px;
        margin: 30px 0;
    }
    
    .video-overlay h3 {
        font-size: 1.8rem;
    }
    
    .video-overlay p {
        font-size: 1.1rem;
    }
    
    .community-card .card-image {
        height: 180px;
        margin: -30px -25px 20px -25px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .footer-section {
        padding: 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer {
        padding: 50px 0 20px;
    }
}

/* Large Mobile (480px - 768px) */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 40px 0;
    }

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

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

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

    .about-card,
    .service-card,
    .community-card,
    .contact-form {
        padding: 25px 20px;
    }

    .community-card .card-image {
        height: 160px;
        margin: -25px -20px 15px -20px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 35px 0;
    }

    /* Typography - Reduced sizes */
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

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

    .section-header p {
        font-size: 0.85rem;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    p, li { font-size: 0.9rem; }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        max-width: 100%;
    }

    /* Cards */
    .about-card,
    .service-card,
    .community-card,
    .contact-form {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .about-card h3,
    .service-card h3,
    .community-card h3 {
        font-size: 1.1rem;
    }

    .about-card p,
    .service-card p,
    .community-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .community-card .card-image {
        height: 130px;
        margin: -18px -14px 12px -14px;
        border-radius: 14px 14px 0 0;
    }

    /* Images */
    .hero-image,
    .about-hero-image {
        height: 200px;
        border-radius: 14px;
    }

    .service-preview {
        height: 220px;
    }

    .video-overlay h3 {
        font-size: 1.2rem;
    }

    .video-overlay p {
        font-size: 0.85rem;
    }

    /* Navigation */
    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .nav-logo-img {
        height: 50px;
    }

    .nav-menu {
        padding: 25px 15px;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 8px 12px;
    }

    /* Footer */
    .footer {
        padding: 35px 0 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

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

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

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

    .section-header p {
        font-size: 0.8rem;
    }

    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1rem; }
    h4 { font-size: 0.9rem; }
    p, li { font-size: 0.85rem; }

    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .about-card,
    .service-card,
    .community-card {
        padding: 14px 12px;
    }

    .about-card h3,
    .service-card h3,
    .community-card h3 {
        font-size: 1rem;
    }

    .nav-logo h2 {
        font-size: 1.1rem;
    }

    .nav-logo-img {
        height: 45px;
    }
}

/* Advanced Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    .text-reveal {
        animation: textReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    .hero-title {
        animation: heroTitleReveal 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    .hero-subtitle {
        animation: heroSubtitleReveal 1.5s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
    
    .hero-buttons {
        animation: heroButtonsReveal 1.5s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }
}

/* Disable all scroll animations on mobile - make elements static */
@media (max-width: 1024px) {
    /* Make all scroll-triggered animated elements immediately visible */
    .scroll-animate,
    .scroll-animate.animate,
    .fade-in-up,
    .text-reveal,
    [class*="animate"],
    .team-member,
    .team-header,
    .leadership-text,
    .leadership-visual,
    .join-team-content,
    .service-card,
    .program-card,
    .belief-card,
    .theology-card,
    .statement-section,
    .mission-text-content,
    .mission-visual,
    .journey-text-content,
    .journey-visual,
    .timeline-header,
    .journey-container,
    .values-header,
    .value-card,
    .stat-card,
    .stats-header,
    .gallery-item,
    .services-showcase-header,
    .worship-text-content,
    .worship-visual,
    .programs-header,
    .join-us-content,
    .beliefs-header,
    .approach-visual,
    .approach-text-content,
    .theology-header,
    .statement-header {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Disable parallax effects on mobile */
    .hero-content,
    .crew-hero-content,
    .gallery-hero-content,
    .services-hero-content,
    .philosophy-hero-content,
    .story-hero-content {
        transform: none !important;
    }
}

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

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

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

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

/* Sophisticated hover effects */
.about-card,
.service-card,
.community-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, box-shadow;
}

.about-card:hover,
.service-card:hover,
.community-card:hover {
    will-change: auto;
}

/* Glow pulse animation for CTA elements */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: var(--shadow-glow);
    }
    50% {
        box-shadow: var(--shadow-glow-intense);
    }
}

.btn-primary {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Smooth image loading */
img {
    transition: opacity 0.6s ease-in-out;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Loading animations */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* Enhanced parallax effect */
.hero::before,
.about::before,
.services::before,
.community::before,
.contact::before {
    will-change: transform;
} 