/* ================================
   General Styles
================================ */

/* Box Sizing for Consistency */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 5px;
}

/* Body Styles */
body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Poppins', 'Merriweather', serif, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
  margin: 0;
  padding: 0;
  height: 100vh;
  display: block;
  justify-content: center;
  align-items: center;
  padding-top: 64px; /* Add space for fixed navbar */
}

/* CSS Variables */
:root {
  --primary-color: #a94442;      /* Barn red */
  --secondary-color: #4b6043;    /* Forest green */
  --accent-color: #e2b76a;       /* Warm gold */
  --dark-color: #3a3a3a;         /* Charcoal for text */
  --light-color: #f8f5f0;        /* Warm off-white */
  --footer-bg: #e9d8a6;          /* Wheat for footer */
  --footer-text: #3a3a3a;        /* Footer text color */
  --text-color: #2d2d2d;         /* Main text */
  --text-light: #6C757D;         /* Muted gray */
  --success-color: #5B8A72;      /* Muted green */
  --spacing-unit: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Merriweather', 'Poppins', serif, sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.5;
  padding-top: 10px;
}

/* Links */
a {
  text-decoration: none !important;
  color: inherit;
  transition: color 0.3s;
}

a:hover,
a:focus {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Lists */
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

li {
  padding-top: 10px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  loading: lazy;
  margin-bottom: 15px;
  border-radius: 5px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  margin: 2px;
  margin-bottom: 15px;
}

.btn-secondary:hover {
  background-color: var(--dark-color);
  border: solid var(--accent-color) 3px;
}

.btn-outline-light {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ================================
   Header Styles
================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0; /* Smaller padding */
  min-height: 48px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  background-color: var(--light-color) !important;
}

.navbar-brand h2 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--primary-color);
  line-height: 1.2;
}

.navbar-brand em {
  font-style: normal;
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  padding: 0.3rem 0.7rem !important;
  font-size: 1rem;
  transition: color 0.3s ease;
  color: var(--dark-color) !important;
}

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

.nav-item.active .nav-link {
  color: var(--primary-color) !important;
}

/* ================================
   Hero Section
================================ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: none;
}

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

.modern-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.modern-box h1 {
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.modern-box p {
  color: var(--text-color);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: var(--primary-color);
  border: none;
  color: white;
}

.cta-buttons .btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.cta-buttons .btn-outline-light:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .modern-box {
    padding: 2rem;
  }
  
  .modern-box h1 {
    font-size: 2.5rem;
  }
  
  .modern-box p {
    font-size: 1.1rem;
  }
  
  .cta-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .card,
  .ministry-box,
  .contact-info-box {
    margin-bottom: 24px !important;
  }
}

/* ================================
   Card Styles
================================ */
.card {
  background-color: #F5FFFA;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 0 24px 0; /* Only bottom margin for vertical spacing */
}

.card-body {
  padding: 2rem;
}

.row {
  row-gap: 32px;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 32px !important;
  }
  .row {
    row-gap: 32px;
  }
}

/* ================================
   Section Styles
================================ */
.section-padding {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ================================
   Footer Styles
================================ */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 3rem;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--primary-color) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
}

.footer-bottom {
  background-color: #f3e9d2;
  color: var(--footer-text);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

footer p {
  color: #e0e6ed; /* Brighter, higher contrast for readability */
}

footer .mt-3 a {
  display: inline-block;
  margin-right: 24px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.1em;
}

footer .mt-3 a:last-child {
  margin-right: 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1.2rem;
  }
  
  .navbar-brand h2 {
    font-size: 1.5rem;
  }
  
  .section-heading h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    border-radius: 0;
  }

  footer .mt-3 a {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ================================
   Additional Styles
================================ */

/* Team Members */
.team-members {
  margin-top: 100px;
}

.team-member {
  border: 1px solid #eee;
  margin-bottom: 30px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  object-fit: cover;
}

.team-member .down-content {
  padding: 30px;
  text-align: center;
}

.team-member .thumb-container {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.team-member .thumb-container img {
  width: 340px;
  max-width: 90%;
  height: 380px;
  max-height: 420px;
  object-fit: contain;
  object-position: top center;
  background: #f8f8f8;
  padding: 0;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.team-member .thumb-container .hover-effect {
  position: absolute;
  background-color: rgba(243, 63, 63, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.team-member .thumb-container .hover-effect .hover-content {
  position: absolute;
  display: inline-block;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.team-member .thumb-container .hover-effect .hover-content ul.social-icons li a:hover {
  background-color: #fff;
  color: #f33f3f;
}

.team-member:hover .hover-effect {
  visibility: visible;
  opacity: 1;
}

.team-member .down-content h4 {
  font-size: 17px;
  color: #1a6692;
  margin-bottom: 8px;
}

.team-member .down-content span {
  display: block;
  font-size: 13px;
  color: #f33f3f;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Clients */
.happy-clients {
  margin-top: 100px;
  margin-bottom: 40px;
}

.happy-clients .client-item img {
  max-width: 100%;
  transition: all 0.3s;
  cursor: pointer;
}

.happy-clients .client-item img:hover {
  opacity: 0.8;
}

/* Find Us */
.find-us h4 {
  font-size: 17px;
  color: #1a6692;
  margin-bottom: 20px;
}

.find-us .left-content {
  margin-left: 30px;
}

/* Send Message */
.send-message {
  margin-top: 100px;
}

.contact-form {
  font-size: 14px;
  width: 100%;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7db6cc;
  box-shadow: none;
}

.contact-form button.filled-button {
  background-color: #FDD835;
  color: #000;
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 300;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s;
  border: none;
  outline: none;
  cursor: pointer;
}

.contact-form button.filled-button:hover {
  background-color: #121212;
  color: #fff;
}

/* Accordion */
.accordion {
  margin-left: 30px;
}

.accordion a {
  cursor: pointer;
  font-size: 17px;
  color: #1a6692 !important;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.accordion a:hover {
  color: #f33f3f !important;
}

.accordion a.active {
  color: #f33f3f !important;
}

.accordion li {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.accordion li:first-child {
  border-top: 1px solid #eee;
}

.accordion li .content {
  display: none;
  margin-top: 10px;
}

/* Cart Styles */
.cart-icon-container {
  position: relative;
  margin-left: auto;
}

#cart-count {
  background-color: #7db6cc;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.75rem;
  position: absolute;
  top: -10px;
  right: -10px;
  margin-right: 10px;
}

.background-header #cart-count {
  background-color: #7db6cc;
}

.shopping-cart-container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

.cart-items {
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.cart-item-image {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  margin: 0;
  font-size: 1.2em;
}

.cart-item-quantity,
.cart-item-price {
  margin: 5px 0;
}

.btn-remove,
.btn-clear {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-remove:hover,
.btn-clear:hover {
  background-color: #cc0000;
}

.btn-checkout {
  background-color: #0E86D4;
  color: #000;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-checkout:hover {
  background-color: #7db6cc;
}

.btn-clear,
.btn-checkout {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 30px;
}

.empty-cart p {
  text-align: center;
  font-size: 1.2em;
}

.item-name {
  padding-bottom: 20px;
  font-size: 2em;
}


/* ================================
   Dashboard Styles
================================ */

#dashboard-card {
  background-color: #d0f2ff;
  margin: 20px 10px 10px 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-section {
  margin-bottom: 30px;
  padding: 5px;
  border-radius: 15px;
  background-color: #eaf9ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-title {
  color: #7db6cc;
  margin-bottom: 20px;
  padding-top: 30px;
}

#user-details h1.dashboard-title {
  color: #0E86D4;
}

#user-details .details p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 5px 0;
}

#user-details button {
  max-width: 200px;
  background-color: #0E86D4;
  border: none;
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

#user-details button:hover {
  background-color: #7db6cc;
}

#admin-section h2.dashboard-title,
#user-dashboard h3.dashboard-title,
#recent-purchases h3.dashboard-title,
#user-orders h3.dashboard-title {
  color: #000;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-table th,
.dashboard-table td {
  text-align: left;
  padding: 12px;
}

.dashboard-header {
  background-color: #0E86D4;
  color: white;
}

.dashboard-data {
  background-color: #7db6cc;
  max-width: 80px;
  border-bottom: 1px solid #ddd;
}

.dashboard-list {
  list-style: none;
  padding: 0;
}

.dashboard-list li {
  background: #7db6cc;
  border: 1px solid #e9ecef;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
}

.btn-primary {
  color: #fff;
  background-color: #0E86D4;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #7db6cc;
}

/* Table Responsive */
@media (max-width: 768px) {
  .dashboard-table thead {
    display: none;
  }

  .dashboard-table tr {
    display: block;
    margin-bottom: 15px;
  }

  .dashboard-table td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .dashboard-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 50%;
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
  }
}

/* ================================
   Additional Components
================================ */

/* Login and Register Containers */
.login-container,
.register-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 120px 20px;
}

/* General Cards */
.card-body{
padding: 0px;
}

.login-card{
margin: 120px 15px 5px 15px;
}

/* Form Containers */
.form-container {
  padding: 20px 20% 20px 20%;
  margin: 20px;
}

/* Toggle Links */
.toggle-links {
  text-align: center;
  margin-top: 10px;
}

/* ================================
   Responsive Enhancements
================================ */

/* Enhanced Responsiveness */
@media (max-width: 1200px) {
  .section-heading h2 {
    font-size: 30px;
  }

  .page-heading .text-content h2 {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .page-heading {
    padding: 120px 0;
  }

  .page-heading .text-content h4 {
    font-size: 20px;
  }

  /* Adjust social icons */
  ul.social-icons li a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Adjust buttons */
  a.filled-button,
  .contact-form button.filled-button {
    font-size: 16px;
    padding: 8px 16px;
  }

  /* Adjust product-item h4 */
  .product-item .down-content h4 {
    font-size: 16px;
  }

  /* Adjust footer text */
  footer .inner-content p {
    font-size: 14px;
  }

  .team-member .thumb-container img {
    width: 100%;
    height: 250px;
    max-width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .banner .text-content h2 {
    font-size: 28px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .contact-form button.filled-button {
    font-size: 16px;
    padding: 8px 16px;
  }

  .team-member .down-content h4 {
    font-size: 16px;
  }

  .team-member .down-content span {
    font-size: 12px;
  }

  .carousel-caption {
    font-size: 14px;
  }

  footer .inner-content {
    padding: 40px 0;
  }

  footer h5.text-uppercase {
    font-size: 18px;
  }

  footer ul.list-unstyled li a {
    font-size: 14px;
  }
}

/* ================================
   Additional Enhancements
================================ */

/* Ensure responsive images */
.img-fluid {
  max-width: 100%;
  height: auto;
  margin-top: 15px;
  border: solid #0CF 3px;
  margin-bottom: 15px;
}

.service-img{
  border-radius: 50% !important;
}

/* Enhance form elements */
input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  border-color: #7db6cc;
}

/* Responsive Images */
@media (max-width: 768px) {
  .team-member img {
  
  }

  .team-member .down-content {
    padding: 20px;
  }
}

.contact-info-box {
  min-height: 0;
  height: auto !important;
  padding-bottom: 32px;
  overflow: visible !important;
}

/* ================================
   Responsive Design
================================ */

/* Team Member Image Fix */
.team-member .thumb-container img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: top center;
  background: #f8f8f8;
  padding: 10px 0;
  border-radius: 10px;
  display: block;
}

@media (max-width: 768px) {
  body {
    padding-top: 56px;
  }
  .navbar {
    min-height: 40px;
    padding: 0.3rem 0;
  }
  .navbar-brand h2 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 32px !important;
  }
}

/* Gallery Styles */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.gallery-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Featured Gallery Styles */
.featured-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.featured-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.featured-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.featured-gallery-item:hover .featured-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid,
    .featured-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.1rem;
    font-weight: 500;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

.lb-closeContainer {
    top: 20px;
    right: 20px;
}

.lb-close {
    opacity: 0.8;
}

.lb-close:hover {
    opacity: 1;
}

/* ================================
   Chat Styles (moved from chat_interface.php)
================================ */
.chat-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 5px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
    background-color: #fff;
}
.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 18px 10px;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    margin-bottom: 18px;
    background-color: #f8f9fa;
}
.message {
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 18px;
    line-height: 1.7;
    font-size: 16px;
    max-width: 90%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.message:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.user-message {
    background: linear-gradient(90deg, #e9ecef 80%, #d1e7ff 100%);
    margin-left: auto;
    color: #212529;
    border-bottom-right-radius: 4px;
}
.bot-message {
    background: #B7CFC9 !important;
    color: #223 !important;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}
.bot-message h2, .bot-message h3 {
    color: #223 !important;
}
.bot-message h2 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 0.5em;
}
.bot-message h3 {
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.bot-message p {
    margin-bottom: 10px;
}
.bot-message p:last-child {
    margin-bottom: 0;
}
.bot-message ul, .bot-message ol {
    margin: 10px 0;
    padding-left: 22px;
}
.bot-message li {
    margin-bottom: 6px;
}
.bot-message strong, .bible-verse .reference {
    color: #3a6652 !important;
}
.bible-verse {
    background: #E3F1ED !important;
    border-left: 5px solid #3a6652 !important;
    padding: 14px 18px;
    margin: 14px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 1px 4px rgba(255,215,0,0.08);
    color: #223 !important;
}
.bible-verse .reference {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 1.08em;
}
.bible-verse .text {
    font-style: italic;
    color: #333;
}
.loading {
    display: none;
    text-align: center;
    margin: 10px 0;
}
.input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.07);
    border-radius: 8px;
}
.form-control {
    border: 1px solid #ced4da;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
}
.btn-primary {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #007bff 80%, #0056b3 100%);
    border: none;
}
@media (max-width: 600px) {
    .chat-container {

    }
    .chat-messages {
        height: 320px;
        padding: 8px 2px;
    }
    .message {
        font-size: 15px;
        padding: 10px 8px;
        border-radius: 12px;
    }
    .bible-verse {
        padding: 8px 8px;
        border-radius: 0 8px 8px 0;
    }
}
/* End Chat Styles */

/* ================================
   Bible Verses and Fundamental Truths
================================ */
.bible-verses-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bible-verse {
    background: #E3F1ED;
    border-left: 5px solid #3a6652;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.bible-verse .reference {
    font-weight: bold;
    color: #3a6652;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.bible-verse .text {
    font-style: italic;
    color: #333;
    line-height: 1.6;
}

.fundamental-truths {
    margin-top: 3rem;
}

.fundamental-truths h2 {
    color: #3a6652;
    margin-bottom: 1.5rem;
    text-align: center;
}

.truth-item {
    background: #fff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.truth-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.truth-item h3 {
    color: #3a6652;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.truth-item p {
    color: #666;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bible-verses-section {
        padding: 1rem;
        margin: 1rem;
    }
    
    .bible-verse {
        padding: 1rem;
    }
    
    .truth-item {
        padding: 0.8rem;
    }
}

