/* ═══════════════════════════════════════════════════════════════════════════
   LUMASAABA BIBLES - COMPREHENSIVE STYLESHEET V8.1
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --primary-purple: #667eea;
    --dark-purple: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-light: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --warning-red: #e53e3e;
    --success-green: #38a169;
    --nav-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION - STICKY TOP BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    height: var(--nav-height);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-purple);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
    display: block;
}

.nav-link:hover {
    background: var(--primary-purple);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════════ */

.main-content {
    padding-top: var(--nav-height);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    border-radius: 12px;
    margin: 20px 0 40px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero .subtitle {
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero .tagline {
    font-size: 1.1em;
    opacity: 0.95;
    margin-top: 25px;
    font-style: italic;
}

.section {
    background: var(--bg-white);
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.section h2 {
    color: var(--primary-purple);
    font-size: 2.2em;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 4px solid var(--primary-purple);
}

.section h3 {
    color: var(--text-dark);
    font-size: 1.6em;
    margin: 35px 0 20px 0;
}

.section h4 {
    color: var(--dark-purple);
    font-size: 1.3em;
    margin: 25px 0 15px 0;
}

.section p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.9;
}

.scripture {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-purple);
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.scripture-text {
    font-style: italic;
    line-height: 2;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.scripture-ref {
    display: block;
    text-align: right;
    margin-top: 15px;
    color: var(--primary-purple);
    font-weight: 700;
    font-style: normal;
    font-size: 1.05em;
}

.prophetic-bold {
    font-weight: 700;
    color: var(--warning-red);
    font-size: 1.2em;
    margin: 25px 0;
    line-height: 1.7;
}

.prophetic-question {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.25em;
    margin: 20px 0;
    line-height: 1.6;
}

ul {
    margin: 20px 0 20px 40px;
}

ul li {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.checklist {
    list-style: none;
    margin-left: 0;
}

.checklist li:before {
    content: "✅ ";
    margin-right: 10px;
}

.vision-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 35px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-purple);
    margin: 35px 0;
}

.pattern-card {
    background: white;
    border: 2px solid var(--border-light);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 5px solid var(--success-green);
}

.footer {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px 30px;
    color: var(--text-dark);
    border-top: 4px solid var(--primary-purple);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-brand h3 {
    color: var(--primary-purple);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.footer-tagline {
    font-style: italic;
    color: var(--dark-purple);
    font-weight: 600;
    margin: 10px 0;
}

.footer-ministry {
    margin-top: 15px;
    font-size: 1.05em;
}

.footer-nav h4, .footer-connect h4 {
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary-purple);
}

.footer-connect p {
    margin: 10px 0;
}

.footer-connect a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-connect a:hover {
    color: var(--dark-purple);
}

.footer-link {
    display: inline-block;
    padding: 5px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

.footer-verse {
    margin-top: 10px;
    font-size: 0.95em;
    opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BUTTONS & HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-cta {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: var(--primary-purple);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: white;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-intro {
    margin-bottom: 40px;
}

.contact-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 3px solid var(--primary-purple);
    padding: 35px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.contact-email {
    color: var(--primary-purple);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2em;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    font-size: 0.95em;
    opacity: 0.9;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 5px solid var(--primary-purple);
}

.contact-form-container h3 {
    color: var(--primary-purple);
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.form-note {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCRIPTURE ONLINE SECTION (V8) - NEW STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

.scripture-online-section {
    background: linear-gradient(135deg, #f5f3ff 0%, #e9d5ff 50%, #fef3c7 100%);
    border: 3px solid var(--primary-purple);
    border-radius: 15px;
    padding: 50px 40px;
}

.scripture-online-section .intro-text {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
    line-height: 1.6;
}

.bible-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.bible-resource-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.bible-resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-purple);
}

.resource-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.bible-resource-card h3 {
    color: var(--primary-purple);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.resource-subtitle {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1em;
}

.resource-description {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.resource-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.external-icon {
    font-size: 1.1em;
    font-weight: bold;
}

.online-access-benefits {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.online-access-benefits h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2em;
}

.divine-providence-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    font-size: 1.05em;
    line-height: 1.8;
}

.divine-providence-note strong {
    color: var(--dark-purple);
}

.access-both {
    margin-top: 40px;
}

.access-both h3 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 30px;
    font-size: 1.8em;
}

.two-column-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.access-option {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.access-option:hover {
    border-color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.access-option h4 {
    color: var(--primary-purple);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.access-option ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.access-option ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.access-option ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.inline-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.inline-cta:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive adjustments for Scripture Online section */
@media (max-width: 768px) {
    .scripture-online-section {
        padding: 30px 20px;
    }
    
    .bible-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-access {
        grid-template-columns: 1fr;
    }
    
    .three-column-access {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   OFFLINE APP CARD - ADDITIONAL STYLES (V8.1)
   ═══════════════════════════════════════════════════════════════════════════ */

.offline-app-card {
    border: 2px solid var(--success-green);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.offline-app-card:hover {
    border-color: var(--success-green);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.3);
}

.app-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.app-detail-item {
    background: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.resource-button-download {
    background: linear-gradient(135deg, var(--success-green) 0%, #2f855a 100%);
}

.resource-button-download:hover {
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.5);
}

.installation-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.installation-link:hover {
    color: var(--dark-purple);
    transform: translateX(3px);
}

.three-column-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.physical-bible-callout {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.physical-bible-callout h4 {
    color: var(--dark-purple);
    margin-bottom: 15px;
}

.physical-bible-callout p {
    margin-bottom: 15px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   INSTALLATION GUIDE SECTION (V8.1)
   ═══════════════════════════════════════════════════════════════════════════ */

.installation-guide-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    border: 3px solid #0284c7;
}

.installation-steps {
    margin: 40px 0;
}

.installation-step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.installation-step:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success-green) 0%, #2f855a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(56, 161, 105, 0.3);
}

.step-content h3 {
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.step-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.step-content li {
    margin: 8px 0;
    line-height: 1.6;
}

.step-note {
    background: #fef3c7;
    padding: 10px 15px;
    border-left: 3px solid #f59e0b;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.95em;
}

.step-note code {
    background: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--dark-purple);
}

.installation-tips {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.installation-tips h3 {
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.installation-troubleshooting {
    background: #fef3c7;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #f59e0b;
    margin: 30px 0;
}

.installation-troubleshooting h3 {
    color: var(--dark-purple);
    margin-bottom: 25px;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-purple);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    color: var(--primary-purple);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
}

.back-to-resources {
    text-align: center;
    margin-top: 30px;
}

/* Responsive adjustments for Installation Guide */
@media (max-width: 768px) {
    .installation-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .installation-guide-section {
        padding: 30px 20px;
    }
}
    border: none;
    font-size: 1.5em;
    font-weight: bold;
    width: 55px;
    height: 55px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero .subtitle {
        font-size: 1.3em;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .section {
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul {
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 12px 15px;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
}
