:root {
    --primary-color: #3e6d9c;
    --primary-color-dark: #2c5075;
    --primary-color-light: #5a8eba;
    --secondary-color: #f0f4f8;
    --accent-color: #dca54c;
    --accent-color-dark: #c08b38;
    --dark-color: #1c2331;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, #dca54c 0%, #3e6d9c 70%, #2c5786 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjwvcmVjdD4KPHBhdGggZD0iTTAgNUw1IDBaTTYgNEw0IDZaTS0xIDFMMSAtMVoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2Utb3BhY2l0eT0iMC4wNSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.header .container {
    position: relative;
    z-index: 10;
}

.header .btn {
    position: relative;
    z-index: 20;
}

.header h1 {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header .fas {
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color-dark);
}

.text-shadow-medium {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.icon {
    margin-right: 0.5rem;
}

.bibq-logo {
    display: inline-block;
    vertical-align: baseline;
}

.bibq-logo-q {
    color: #dca54c;
    font-size: 1.3em;
    font-weight: 600;
    position: relative;
    line-height: 1;
}

.content-container {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.section {
    margin-bottom: 2rem;
}

.auth-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

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



/* Override any possible site-nav hover effects */
.site-nav a.coming-soon:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}



.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    border-radius: 10px;
}




.card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
    background: white;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.06);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}

.card-body {
    padding: 1.75rem;
}
.section-separator {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #dee2e6;
    z-index: 1;
}

.separator-text {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: white;
    z-index: 2;
    color: var(--text-color-light);
    font-weight: 600;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(62, 109, 156, 0.25);
    border-color: var(--primary-color-light);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark));
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-color-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 109, 156, 0.3);
}


.btn-primary-2 {
    background: linear-gradient(to right, #a1b5c7, #7d8ea1);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    color: white;
}

.btn-primary-2:hover {
    background: linear-gradient(to right, #7d8ea1, #a1b5c7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
}



.footer {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 70%, var(--primary-color-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

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

.footer a:hover {
    color: #dca54c;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 3rem;
    font-size: 0.9rem;
}

.google-signin-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: #ffffff;
    color: #757575;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-google:hover {
    background-color: #f8f8f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-google img {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.chat-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 70vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iI2Y4ZjlmYSI+PC9yZWN0Pgo8Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSIxIiBmaWxsPSIjZTBlMGUwIj48L2NpcmNsZT4KPC9zdmc+');
    -webkit-overflow-scrolling: touch;
}

.message {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.user-container {
    align-self: flex-end;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    border-radius: 18px 18px 0 18px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.bot-container {
    align-self: flex-start;
    margin-bottom: 2rem;
    max-width: 100%;
    animation: fadeIn 0.5s ease-in;
}

.bot-message {
    align-self: flex-start;
    background-color: white;
    border-radius: 18px 18px 18px 0;
    padding: 0.8rem 0.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border-left: 3px solid var(--accent-color);
}

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

.signup-steps {
    position: relative;
    overflow: hidden;
}

.step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease-in-out;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-header {
    margin-bottom: 25px;
}

.step-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #e9ecef;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.step-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.step-dot.completed {
    background-color: var(--success-color);
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e9ecef;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.step-line.completed {
    background-color: var(--success-color);
}

.verses-container {
    margin-top: 0.8rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    background: linear-gradient(to right, rgba(220, 165, 76, 0.1), transparent);
    border-radius: 4px;
}

.verse-reference {
    font-weight: bold;
    color: var(--primary-color-dark);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    display: inline-block;
}

.verse-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #444;
}

.context-verse {
    color: #666;
    background-color: rgba(240, 240, 240, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-result-verse {
    background-color: rgba(62, 109, 156, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    font-weight: bold;
}

.search-result {
    background-color: rgba(62, 109, 156, 0.1);
    border-radius: 8px;
    font-weight: bold;
}

.bible-results-container {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bible-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    padding: 8px;
}

.verses-section {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.verses-section.minimized {
    max-height: 0;
}

.bible-toggle-icon {
    transition: transform 0.3s ease;
}

.bible-results-header.minimized .bible-toggle-icon {
    transform: rotate(180deg);
}

.hidden-cluster {
    display: none;
}

.show-more-btn {
    display: block;
    margin: 1rem auto;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-color-light);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.show-more-btn:hover {
    background-color: #2c5282;
}

.ai-response-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.ai-response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: var(--primary-color-dark);
    font-weight: bold;
    position: relative;
    z-index: 2;
    padding: 8px 0;
}



/* Plan Selection Cards */
.plan-card {
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding: 0;
    height: 100%;
    border: 2px solid transparent;
}

.plan-card .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-card .price-tag {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 1.5rem;
}

.plan-card .period {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.plan-card.selected {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.plan-card:hover {
    transform: translateY(-5px);
}

.premium-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.pricing-features {
    padding-left: 0;
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Ribbon styling */
.ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    z-index: 1;
    overflow: hidden;
    width: 120px;
    height: 120px;
}

.ribbon span {
    position: absolute;
    top: 30px;
    right: -25px;
    transform: rotate(45deg);
    width: 150px;
    display: block;
    padding: 6px 0;
    background-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Form Input Styling */
.form-control {
    height: 52px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #f8f9fa;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease-in-out;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

/* Floating label effect on focus */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group:focus-within .form-label {
    color: var(--primary-color);
}

/* Input icon support */
.input-with-icon {
    position: relative;
}

.input-with-icon .form-control {
    padding-left: 3rem;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: color 0.2s;
}

.input-with-icon:focus-within i {
    color: var(--primary-color);
}

/* Error state */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
    padding-right: 1.25rem;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.invalid-feedback {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Focus animation */
@keyframes focusAnimation {
    0% { transform: scale(0.98); }
    70% { transform: scale(1.001); }
    100% { transform: scale(1); }
}

.form-control:focus {
    animation: focusAnimation 0.3s ease forwards;
}

.lead{
    font-weight: normal;
}


.loading-dots {
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #6c757d;
    border-radius: 50%;
    display: inline-block;
    animation: dots-animation 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dots-animation {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}


.loading-spinner {
    text-align: center;
    padding: 20px;
    color: #666;
}

.loading-spinner i {
    font-size: 24px;
}
