* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Bouli Font */
@font-face {
    font-family: 'Boulia';
    src: url('Assets/Free+Boulia+Sans+Serif+Font/Web Font Kit/Boulia-Demo.woff') format('woff'),
         url('Assets/Free+Boulia+Sans+Serif+Font/Web Font Kit/Boulia-Demo.ttf') format('truetype'),
         url('Assets/Free+Boulia+Sans+Serif+Font/Web Font Kit/Boulia-Demo.eot') format('embedded-opentype'),
         url('Assets/Free+Boulia+Sans+Serif+Font/Web Font Kit/Boulia-Demo.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Wensley Font */
@font-face {
    font-family: 'Wensley';
    src: url('Assets/wensley/WensleyDemo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Dark mode variables */
:root[data-theme="dark"] {
    --primary-color: #1a1a1a;
    --secondary-color: #4a9eff;
    --accent-color: #ff6b6b;
    --text-color: #ffffff;
    --text-color-muted: #d0d0d0;
    --light-bg: #2a2a2a;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.4);
    --bg-color: #1a1a1a;
    --card-bg: #2a2a2a;
    --border-color: #3a3a3a;
}

/* Light mode muted text */
:root[data-theme="light"],
:root:not([data-theme]) {
    --text-color-muted: #666;
}

/* Light mode (default) */
:root[data-theme="light"],
:root:not([data-theme]) {
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Floating Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-family: 'Boulia', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    min-height: calc(100vh - 80px); /* Full viewport height minus navbar */
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 152, 219, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-content h2 {
    font-family: 'Boulia', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    font-weight: normal;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Headings use Josefin Sans, except hero text and logo */
h1, h2, h3, h4, h5, h6 {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light-bg);
    transition: background-color 0.3s ease;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-color-muted);
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--text-color);
}

/* Instagram Section */
.instagram-section {
    padding: 5rem 0;
    background: var(--light-bg);
    transition: background-color 0.3s ease;
}

.instagram-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.instagram-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.instagram-feed {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.instagram-loading {
    text-align: center;
    color: var(--text-color-muted);
    padding: 2rem;
}

.instagram-setup {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.instagram-setup p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.instagram-setup ol {
    color: var(--text-color);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.instagram-setup li {
    margin-bottom: 0.5rem;
}

.instagram-setup code {
    background: var(--light-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.instagram-note {
    font-style: italic;
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.instagram-error {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.instagram-error a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.instagram-error a:hover {
    text-decoration: underline;
}

.instagram-link {
    text-align: center;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.instagram-button span {
    font-size: 1.2rem;
}

/* Instagram embed styling */
.instagram-media {
    background: var(--card-bg) !important;
    border-radius: 10px !important;
    box-shadow: var(--shadow) !important;
    margin: 0 auto !important;
    max-width: 540px !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .instagram-section h2 {
        font-size: 2rem;
    }
    
    .instagram-container {
        padding: 0 1rem;
    }
    
    .instagram-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .instagram-setup {
        padding: 1.5rem;
    }
    
    .instagram-setup ol {
        padding-left: 1.25rem;
    }
}

/* Upcoming Events */
.upcoming-events {
    padding: 5rem 0;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.events-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: var(--card-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.event-card:hover {
    transform: translateX(5px);
}

.event-date {
    text-align: center;
    padding-right: 1.5rem;
    border-right: 2px solid var(--light-bg);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.event-date .date-full {
    font-size: 0.85rem;
    color: var(--text-color-muted);
    font-weight: normal;
}

.event-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.event-date .time {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-muted);
    margin-top: 0.5rem;
}

.event-details h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.event-details p {
    color: var(--text-color-muted);
}

/* Live Stream Page */
.stream-section {
    padding: 3rem 0;
}

.stream-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Service Times - Compact, slimmer profile */
.service-times-compact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.service-time-item {
    background: var(--light-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 180px;
}

.service-time-item h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.service-time-item .time-info {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-wrapper {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.video-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    min-height: 500px;
}

#video-player,
#flv-video-player {
    width: 100%;
    height: auto;
    background: #000;
}

.video-js {
    width: 100% !important;
    height: auto !important;
    padding-top: 56.25% !important; /* 16:9 aspect ratio */
}

.video-js .vjs-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    color: var(--white);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.video-content {
    text-align: center;
    padding: 2rem;
}

.video-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.stream-note {
    font-size: 0.9rem;
    color: var(--text-color-muted);
    font-style: italic;
}

.stream-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-card h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-color-muted);
    margin-bottom: 0.5rem;
}

.time-info {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Previous Livestreams Section */
.previous-streams-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-bg);
}

.previous-streams-section h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--text-color-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.carousel-indicator:hover {
    background: var(--secondary-color);
}

/* Stream Cards */
.stream-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stream-card-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--light-bg);
    overflow: hidden;
}

.stream-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white);
}

.stream-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.stream-card-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.stream-card-title {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stream-card-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--text-color-muted);
    font-style: italic;
    width: 100%;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    background: var(--card-bg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.video-modal-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-right: 3rem;
}

.video-modal-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-container {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .video-modal-content {
        padding: 1rem;
    }
    
    .video-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Comment Input Area */
.comment-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.comment-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.95rem;
    font-family: inherit;
}

.comment-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.comment-send {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.comment-send:hover:not(:disabled) {
    background: #2980b9;
}

.comment-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Chat Section - Inline */
.chat-section-inline {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 600px;
    transition: background-color 0.3s ease;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-bg);
}

.chat-header h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 0;
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.viewer-count svg {
    color: var(--secondary-color);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    min-height: 300px;
    max-height: 400px;
}

.chat-message {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.chat-user {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.chat-text {
    color: var(--text-color);
}

.chat-input-container {
    display: flex;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid var(--light-bg);
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
}

.chat-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.chat-send {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.chat-send:hover:not(:disabled) {
    background: #2980b9;
}

.chat-send:disabled,
.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-note {
    padding: 0.75rem 1.5rem;
    text-align: center;
    color: var(--text-color-muted);
    font-size: 0.85rem;
    font-style: italic;
    border-top: 1px solid var(--light-bg);
    background: var(--light-bg);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 152, 219, 0.7) 100%);
    z-index: 1;
}

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

.about-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.about-content {
    padding: 4rem 0;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h3 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-section p {
    color: var(--text-color-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.beliefs-list {
    list-style: none;
    padding-left: 0;
}

.beliefs-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color-muted);
    font-size: 1.1rem;
}

.beliefs-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Zone Structure */
.zone-structure {
    margin-top: 2rem;
}

.zone-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--light-bg);
}

.zone-header-fixed {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: inherit;
}

.zone-title {
    flex: 1;
}

.group-dropdown {
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.group-header {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: inherit;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 5px;
}

.group-header:hover {
    background: #2980b9;
}

.group-title {
    flex: 1;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.group-header.active .dropdown-icon {
    transform: rotate(180deg);
}

.zone-content {
    padding: 1.5rem;
    background: var(--light-bg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--card-bg);
    margin: 0;
    border-radius: 5px;
}

.group-content.active {
    max-height: 2000px;
    padding: 1.5rem;
}

.group-image-container {
    padding: 1rem;
    text-align: center;
    background: var(--light-bg);
    border-radius: 5px;
    margin: 0.5rem 0;
}

.group-image-display {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

.fellowships-list {
    padding: 0.5rem 0;
}

.fellowship-item {
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    background: var(--light-bg);
    border-left: 3px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--text-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fellowship-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #e8f4f8;
}

.fellowship-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.fellowship-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.fellowship-placeholder {
    padding: 1rem;
    color: #999;
    font-style: italic;
    text-align: center;
    background: var(--light-bg);
    border-radius: 4px;
    margin: 0.5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-item p {
    color: var(--text-color-muted);
    margin: 0;
}

.contact-info {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--text-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .theme-toggle {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .stream-container {
        grid-template-columns: 1fr;
    }

    .service-times-compact {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .carousel-slide {
        min-width: 100%;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .zone-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-hero h2 {
        font-size: 2rem;
    }


    .group-header {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Registration Modal Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.registration-modal {
    animation: fadeIn 0.3s ease;
}

.registration-modal-content {
    animation: slideIn 0.3s ease;
}

.registration-modal-content input:focus {
    outline: none;
    border-color: var(--secondary-color, #3498db);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.registration-modal-content button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.registration-modal-content button:active {
    transform: translateY(0);
}
