/* General Styles */
 body {
            margin: 0;
            font-family: Arial, sans-serif;
            background-color: #fff9e3; /* Cream background */
            color: #5e0c4a; /* Purple text color */
        }
        header {
            background-color: #5e0c4a; /* Purple */
            color: #f1bb65; /* Gold */
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        header .logo {
            font-size: 24px;
            font-weight: bold;
        }
        nav {
            display: flex;
            gap: 15px;
        }
        nav a {
            color: #f1bb65; /* Gold */
            text-decoration: none;
            font-size: 16px;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }
        .hamburger div {
            width: 25px;
            height: 3px;
            background: #f1bb65; /* Gold */
            margin: 4px 0;
        }
        .banner {
            position: relative;
            background: url('../assets/BackgroundAll.jpeg') center/cover no-repeat;
            height: 700px; /* Fixed Height */
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
        }
        .banner::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
            z-index: 1;
        }
        .banner div {
            position: relative;
            z-index: 2;
        }
         @media (min-width: 769px) {
            .banner {
                height: 700px;
            }
        }
        @media (max-width: 768px) {
            .banner {
                height: 350px;
            }
        }
        /* Section Styles */
        section {
            padding: 40px 20px;
        }
        .banner h1 {
            font-size: 36px;
            margin: 0;
            color: #f1bb65; /* Gold */
        }
        .banner p {
            font-size: 20px;
            margin: 10px 0 0;
            color: #fff9e3; /* Cream */
        }
        footer {
            background: #5e0c4a; /* Purple */
            color: #fff9e3; /* Cream */
            padding: 20px;
            text-align: center;
        }
        @media (max-width: 768px) {
            nav {
                display: none;
                flex-direction: column;
                gap: 10px;
                background: #5e0c4a; /* Purple */
                position: absolute;
                top: 60px;
                right: 20px;
                width: 200px;
                padding: 10px;
            }
            nav.show {
                display: flex;
            }
            .hamburger {
                display: flex;
            }
        }
        .sectionBody {
            font-family: Arial, sans-serif;
            background-color: #fff9e3; /* Cream */
            color: #5e0c4a; /* Purple */
            margin: 0;
            padding: 20px;
        }
        .section {
            margin-bottom: 40px;
            padding: 20px;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .section h2 {
            color: #5e0c4a;
            text-align: center;
            margin-bottom: 20px;
        }
        .mobile-event {
            display: none;
            position: relative;
            padding: 64px 24px;
            border-radius: 18px;
            overflow: hidden;
            color: #fff9e3;
            text-align: center;
        }
        .mobile-event-bg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }
        .mobile-event-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
            z-index: 1;
        }
        .mobile-event-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 18px;
        }
        .mobile-event-media {
            width: 100%;
            max-width: 520px;
        }
        .mobile-event-video {
            width: 100%;
            height: auto;
            border-radius: 14px;
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
        }
        .mobile-event h2 {
            font-size: 1.75rem;
            line-height: 1.35;
            margin: 0;
            color: #ffffff;
        }
        .mobile-event .btn {
            padding: 12px 26px;
        }
        @media (max-width: 768px) {
            .mobile-event {
                display: block;
            }
        }
        @media (max-width: 600px) {
            .mobile-event {
                padding: 24px 16px;
            }
            .mobile-event h2 {
                font-size: 1.45rem;
            }
            .mobile-event-video {
                border-radius: 12px;
            }
        }
        @media (max-width: 420px) {
            .mobile-event {
                padding: 22px 14px;
            }
            .mobile-event h2 {
                font-size: 1.3rem;
            }
        }
        @media (min-width: 769px) {
            .mobile-event {
                display: none !important;
            }
        }
        .cta .btn {
            display: inline-block;
            background-color: #f1bb65; /* Gold */
            color: #5e0c4a; /* Purple */
            border: none;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin: 10px 5px;
            font-size: 16px;
            cursor: pointer;
        }
        .cta .btn:hover {
            background-color: #e0a84e; /* Darker Gold */
        }
        /* About Section */
        .about-container {
            display: flex;
            gap: 20px;
            align-items: center;
            flex-wrap: wrap;
        }
        .about-text {
            flex: 1;
            text-align: left;
            background: #fff9e3; /* Cream background */
            padding: 20px;
            border-radius: 8px;
        }
        .about-image img {
            width: 100%;
            border-radius: 8px;
            max-width: 500px;
            height: auto;
        }
        /* Devotional Button - Purple background with Gold text */
        .btn-devotional {
            background-color: #5e0c4a; /* Purple */
            color: #f1bb65; /* Gold */
            border: 2px solid #f1bb65;
        }

        .btn-devotional:hover {
            background-color: #4a093d; /* Darker purple */
            color: #fff9e3; /* Cream on hover */
            border-color: #fff9e3;
        }

        .btn-zoom {
            background-color: #1c64f2;
            color: #ffffff;
        }

        .btn-zoom:hover {
            background-color: #174bc1;
            color: #ffffff;
        }

        /* Events Section */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        .event-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .event-card h3 {
            color: #5e0c4a;
            margin-bottom: 10px;
        }
        /* Ministries Section */
        .ministries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            text-align: center;
        }
        .ministry-item img {
            max-width: 80px;
            margin-bottom: 10px;
        }
        .ministry-item {
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        /* Sermons Section */
        .sermons-gallery {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        .sermon-item {
            flex: 1 1 calc(50% - 20px);
            text-align: center;
        }
        .sermon-thumbnail {
            position: relative;
            cursor: pointer;
        }
        .sermon-thumbnail img {
            width: 100%;
            border-radius: 8px;
        }
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            font-size: 24px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal-content {
            background: #5e0c4a;
            color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            position: relative;
            width: 90%;
            max-width: 600px;
        }
        .modal-content video {
            width: 100%;
            max-width: 559px;
        }
        .close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
            background: #f1bb65;
            color: #5e0c4a;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        @media (max-width: 768px) {
            .modal-content {
                width: 90%;
                max-width: 300px;
            }
        }
        .site-credit {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
          }
          
          .site-credit a {
            color: #FFA725;
            text-decoration: none;
          }
          
          .site-credit a:hover {
            text-decoration: underline;
          }
          
          .devotional-highlight {
            background-color: #1a2132;
            color: white;
            padding: 40px 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-top: 3px solid #ff015b;
            border-bottom: 3px solid #ff015b;
          }
          
          .devotional-wrapper {
            display: flex;
            flex-direction: row;
            max-width: 1200px;
            width: 100%;
            gap: 40px;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
          }
          
          .devotional-image img {
            max-width: 320px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(255, 1, 91, 0.5);
          }
          
          .devotional-content {
            flex: 1;
            min-width: 280px;
          }
          
          .devotional-content h2 {
            font-size: 1.8rem;
            color: #ff015b;
            margin-bottom: 10px;
          }
          
          .devotional-content h3 {
            font-size: 1.5rem;
            margin: 0;
            font-weight: bold;
          }
          
          .devotional-content .scripture {
            font-style: italic;
            margin: 10px 0;
            color: #ccc;
          }
          
          .devotional-content .highlight {
            font-weight: bold;
            font-size: 1rem;
            margin-bottom: 20px;
            color: white;
          }
          
          .btn.btn-devotional {
            background-color: #ff015b;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            transition: background 0.3s ease;
          }
          
          .btn.btn-devotional:hover {
            background-color: #e6004c;
          }

          #chat-launcher {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: white;
  border-radius: 50px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 9999;
}

/* Chat Launcher Styles */
#chat-launcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
  }
  
  #chat-launcher img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;
  }
  
  #chat-options {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  #chat-options.hidden {
    display: none;
  }
  
  #chat-options button {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #f4f4f4;
    cursor: pointer;
    text-align: left;
    width: 150px;
  }
  
  #chat-options button:hover {
    background-color: #e0e0e0;
  }
  
  /* Mobile-specific tweak */
  @media (max-width: 480px) {
    #chat-launcher {
      right: 10px;
      bottom: 80px;
    }
  
    #chat-options {
      right: 0;
      bottom: 65px;
    }
  
    #chat-options button {
      width: 140px;
      font-size: 13px;
    }
  }
