/* Base Styles */
:root {
    --primary: #6C63FF;
    --primary-dark: #5a52d9;
    --secondary: #4CAF50;
    --accent: #FF6B6B;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-dark: #333333;
    --text-light: #f8f9fa;
    --card-bg: #ffffff;
    --section-bg: #f8f9fa;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

p, .lead {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    opacity: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), 
                url('https://images.unsplash.com/photo-1501612780327-45045538702b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center/cover;
    color: white;
    padding: 140px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.card-text {
    color: #555;
    line-height: 1.7;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

/* Mission Boxes */
.mission-box {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Bible Verse Section */
.bible-verse-container {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.bible-verse {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bible-verse:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.bible-quote-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.7;
}

.bible-verse-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.bible-verse-reference {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bible-verse-verse {
    position: relative;
    padding-right: 1rem;
}

.bible-verse-verse::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 50%;
}

.bible-version {
    font-weight: 600;
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bible-verse {
        padding: 2rem 1.5rem;
    }
    
    .bible-verse-text {
        font-size: 1.3rem;
    }
    
    .bible-verse-reference {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .bible-verse-verse::after {
        display: none;
    }
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Pricing Section */
#pricing {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.pricing-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pricing-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card .card-header h4 {
    color: var(--dark);
    font-weight: 700;
    margin: 0;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0 0.5rem;
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 0.5rem;
    margin-right: 2px;
    color: var(--dark);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    margin-left: 5px;
}

.pricing-card.border-primary .card-header {
    background: var(--gradient) !important;
    color: white;
}

.pricing-card.border-primary .card-header h4,
.pricing-card.border-primary .price,
.pricing-card.border-primary .currency,
.pricing-card.border-primary .amount,
.pricing-card.border-primary .period,
.pricing-card.border-primary .text-muted {
    color: white !important;
}

.pricing-card .card-body {
    color: #495057;
}

.pricing-card ul li {
    color: #495057;
}

.pricing-card .text-muted {
    color: #6c757d !important;
}

.pricing-card ul li.text-muted {
    opacity: 0.7;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Animation for price cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Hover effects */
.pricing-card .btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* Tooltip for feature explanations */
[data-bs-toggle="tooltip"] {
    border-bottom: 1px dotted var(--primary);
    cursor: help;
}

/* Responsive text adjustments */
@media (max-width: 767.98px) {
    .price {
        font-size: 2.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .pricing-card .card-body, 
    .pricing-card .card-header,
    .pricing-card .card-footer {
        padding: 1.5rem 1rem;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer .input-group {
    max-width: 400px;
}

footer .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Backgrounds */
.bg-light {
    background-color: var(--section-bg) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .mission-box {
        padding: 30px;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}