/* ==========================================================================
   Base Styles and Variables
   ========================================================================== */

/* Replace Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Anton&display=swap');


/* Root */

:root {

    /* Main Color Palette */
    /* Updated Color Palette */
    --cuc-primary: #2e3192;
    /* Deep brand blue */
    --cuc-primary-dark: #1a1c5e;
    --cuc-primary-light: #4a4da8;

    /* Gold gradient colors */
    --cuc-gold-light: #fced80;
    --cuc-gold-medium: #efc56d;
    --cuc-gold-dark: #e1b45f;

    /* Accent colors */
    --cuc-accent-red: #e41d29;
    --cuc-accent-red-light: #ff4757;

    /* Neutrals */
    --cuc-dark: #2b2d42;
    --cuc-darker: #1a1c2e;
    --cuc-light: #f8f9fa;
    --cuc-lighter: #ffffff;
    --cuc-gray: #6c757d;
    --cuc-light-gray: #e9ecef;


    --cuc-font-primary: 'Roboto', sans-serif;
    --cuc-font-secondary: 'Playfair Display', serif;
    --cuc-font-accent: 'Poppins', sans-serif;


    /* Gradient definitions */
    --cuc-gold-gradient: linear-gradient(135deg, var(--cuc-gold-dark), var(--cuc-gold-medium), var(--cuc-gold-light));
    --cuc-gold-gradient-reverse: linear-gradient(135deg, var(--cuc-gold-light), var(--cuc-gold-medium), var(--cuc-gold-dark));
    --cuc-gold-gradient-vertical: linear-gradient(to bottom, var(--cuc-gold-dark), var(--cuc-gold-medium), var(--cuc-gold-light));



    /* Optional Color Palette */
    --primary: #4a6bff;
    /* Vibrant blue from logo */
    --primary-dark: #3a56d4;
    --primary-light: #6b85ff;
    --secondary: #ff6b6b;
    /* Coral red */
    --accent: #f9c74f;
    /* Warm yellow */
    --dark: #2b2d42;
    /* Dark navy */
    --darker: #1a1c2e;
    --light: #f8f9fa;
    /* Light gray */
    --lighter: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-circle: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-primary: 0 4px 20px rgba(74, 107, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--cuc-font-primary);
    color: var(--dark);
    background-color: var(--lighter);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--cuc-font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--darker);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
    margin-bottom: var(--space-sm);
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xxl) 0;
}

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

.text-highlight {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--cuc-primary);
    color: var(--cuc-lighter) !important;
    box-shadow: var(--shadow-primary);
    animation: pulse 10s infinite;
}

.btn-primary:hover {
    background-color: var(--cuc-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--lighter);
}

.btn-lg {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
}

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

/* Countdown Styles */
.countdown-container {
    margin: var(--space-lg) 0;
}

.countdown {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: var(--light); */
        background-color: rgba(46, 49, 146, 0.1);
    border: 1px solid rgba(46, 49, 146, 0.2);
    position: relative;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    min-width: 70px;
}
.countdown-item::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: url('../assets/images/fire-icon-small.png') no-repeat;
    background-size: contain;
    opacity: 0;
    transition: var(--transition);
}

.countdown-item:hover::before {
    opacity: 1;
    cursor: default;
    animation: flicker 0.5s infinite alternate;
}


.countdown-item span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-item span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lighter);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-outter {
    position: absolute;
    border: 4px solid var(--primary);
    border-color: var(--primary) transparent var(--primary) transparent;
    border-radius: var(--radius-circle);
    width: 100%;
    height: 100%;
    animation: loader-outter 1.5s linear infinite;
}

.loader-inner {
    position: absolute;
    border: 4px solid var(--primary);
    border-color: transparent var(--secondary) transparent var(--secondary);
    border-radius: var(--radius-circle);
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: loader-inner 1.5s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner>img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.loader-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

@keyframes loader-outter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Notification Banner */
/* .notification-banner {
    background-color: var(--primary);
    color: var(--lighter);
    padding: var(--space-xs) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 100;
    transition: var(--transition);
}

.notification-banner p {
    color: var(--lighter);
    margin: 0;
    padding-right: var(--space-sm);
}

.close-banner {
    cursor: pointer;
    margin-left: var(--space-xs);
    opacity: 0.8;
    transition: var(--transition-fast);
}

.close-banner:hover {
    opacity: 1;
} */

/* Notification Popup Styles */
.notification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.notification-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--primary);
    color: var(--lighter);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-slow);
    z-index: 10000;
}


.notification-popup.active .popup-content {
    transform: translateY(0);
}

.popup-content p {
    color: var(--lighter);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.close-popup {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: none;
    border: none;
    color: var(--lighter);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: var(--space-xs);
}

.close-popup:hover {
    transform: rotate(90deg);
    color: var(--secondary);
}

/* Add to your animations section */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-content {
    animation: popIn 0.4s ease-out forwards;
}


/* Header */
/* .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--lighter);
  box-shadow: var(--shadow-sm);
  z-index: 999;
  transition: var(--transition);
}

.header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}.logo

.logo img {
  width: 50px;
  height: 50px;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.logo-text p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.main-nav a {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-sm);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
} */

/* Update the header styles in main.css */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--lighter);
    box-shadow: var(--shadow-sm);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.logo img {
    height: 70px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding: var(--space-sm) var(--space-xs);
    font-size: 0.95rem;
    color: var(--dark);
}

.nav-cta {
    margin-left: var(--space-md);
}


/* Add these to your CSS */
/* .logo-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.7rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.2;
} */

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 1rem);
}

.main-nav a:hover {
    color: var(--primary);
}

/* Ensure the header doesn't jump when scrolling */
html {
    scroll-padding-top: var(--header-height);
}

/* Make sure the header stays on top of other content */
.header {
    z-index: 1000;
}


/* .mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: var(--space-md);
} */
/* Mobile menu button with gold gradient */
.mobile-menu-btn {
    cursor: pointer;
    color: var(--dark);
    margin-left: var(--space-md);
    background: var(--cuc-gold-gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--cuc-darker);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(225, 180, 95, 0.3);
}

/* @media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height-scrolled);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height-scrolled));
        background-color: var(--lighter);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--space-xl);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
} */


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(43, 45, 66, 0.8), rgba(43, 45, 66, 0.6));
}

.hero-content {
    max-width: 800px;
    color: var(--lighter);
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    color: var(--lighter);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.scroll-down {
    position: absolute;
    bottom: var(--space-lg);
    left: 45%;
    transform: translateX(-50%);
    color: var(--lighter);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
}

.scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Quick Info Bar */
.quick-info {
    background-color: var(--lighter);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.info-card i {
    font-size: 2rem;
    color: var(--primary);
}

.info-card h4 {
    margin-bottom: var(--space-xs);
}

.info-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto var(--space-md);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.about-text {
    flex: 1;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.mv-card {
    background-color: var(--light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.mv-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.core-values {
    margin-top: var(--space-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.value-card {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-sm);
    background-color: var(--cuc-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--cuc-gold-medium);
}

.value-card h5 {
    margin-bottom: var(--space-xs);
}

.about-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--lighter);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Pastor Section */
.pastor {
    background-color: var(--light);
}

.pastor-profile {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.pastor-image {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.pastor-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.pastor-social {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: var(--space-xs);
}

.pastor-social a {
    width: 40px;
    height: 40px;
    background-color: var(--lighter);
    color: var(--primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pastor-social a:hover {
    background-color: var(--primary);
    color: var(--lighter);
    transform: translateY(-3px);
}

.pastor-bio {
    flex: 1;
}

.pastor-title {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.pastor-contact {
    margin-top: var(--space-md);
}

/* Stats Section */
.stats {
    background: linear-gradient(rgba(74, 107, 255, 0.9), rgba(74, 107, 255, 0.9)), url('../assets/images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--lighter);
    padding: var(--space-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.stat-card {
    padding: var(--space-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    font-family: var(--cuc-font-primary) !important;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Departments Section */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.department-card {
    background-color: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background-color: var(--cuc-primary);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 2rem;
    color: var(--cuc-gold-medium);
}

.department-card h3 {
    margin-bottom: var(--space-sm);
}

.department-card p {
    margin-bottom: var(--space-md);
}

/* Services Section */
.services-tabs {
    background-color: var(--lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tabs-content {
    padding: var(--space-lg);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.service-details {
    display: flex;
    gap: var(--space-xl);
}

.service-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-info {
    flex: 1;
}

.service-times h4 {
    margin-bottom: var(--space-sm);
}

.service-times ul {
    margin-bottom: var(--space-lg);
}

.service-times li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-features h4 {
    margin-bottom: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.service-features i {
    color: var(--primary);
}

/* Live Section */
.live-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.live-card {
    background-color: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.live-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.live-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.live-card h3 {
    margin-bottom: var(--space-sm);
}

.live-card p {
    margin-bottom: var(--space-md);
}

.live-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    color: var(--gray);
    font-size: 0.9rem;
}

.live-schedule i {
    color: var(--primary);
}

/* Events Section */
.events-slider {
    position: relative;
}

.event-card {
    display: flex;
    background-color: var(--lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}

.event-date {
    min-width: 100px;
    background-color: var(--primary);
    color: var(--lighter);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.date-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-details {
    padding: var(--space-md);
    flex: 1;
}

.event-meta {
    display: flex;
    gap: var(--space-lg);
    margin: var(--space-sm) 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.event-meta i {
    color: var(--primary);
    margin-right: var(--space-xs);
}

.fa-chevron-left, .fa-chevron-right{
    color: var(--cuc-accent-red);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

.testimonial-card {
    background-color: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-lg);
}

.testimonial-content i {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: rgba(74, 107, 255, 0.1);
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: var(--space-xs);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 45, 66, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--lighter);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.gallery-btn:hover {
    background-color: var(--lighter);
    color: var(--primary);
    transform: scale(1.1);
}


/* Prayer Request Styles */
/* .prayer-card {
    background-color: var(--light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.prayer-card h4 {
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.prayer-text {
    font-style: italic;
    margin-bottom: var(--space-xs);
}

#prayer-request-form {
    background-color: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

#prayer-request-form .form-group {
    margin-bottom: var(--space-md);
}

#prayer-public {
    margin-right: var(--space-xs);
} */

/* Prayer Request Section */
.prayer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prayer-form-container,
.prayer-wall-container {
    background-color: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.prayer-form .form-group {
    margin-bottom: var(--space-md);
}

.prayer-form label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.prayer-form .form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
}

.prayer-form textarea.form-control {
    min-height: 150px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.prayer-wall {
    margin-top: var(--space-md);
}

.prayer-card {
    background-color: var(--light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-xs);
}

.prayer-card h4 {
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.prayer-text {
    font-style: italic;
    margin-bottom: var(--space-xs);
}

.prayer-meta {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    gap: var(--space-sm);
}

.prayer-loading {
    text-align: center;
    padding: var(--space-lg);
    color: var(--gray);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .prayer-grid {
        grid-template-columns: 1fr;
    }

    .prayer-form-container,
    .prayer-wall-container {
        padding: var(--space-md);
    }
}

@media (max-width: 576px) {
    .prayer-form .form-group {
        margin-bottom: var(--space-sm);
    }

    .prayer-card {
        padding: var(--space-sm);
    }
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: var(--space-xl);
}

.contact-info {
    flex: 1;
}

.info-card {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.info-text h4 {
    margin-bottom: var(--space-xs);
}

.contact-social {
    margin-top: var(--space-xl);
}

.contact-social h4 {
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--cuc-primary);
    color: var(--cuc-gold-medium);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--lighter);
    transform: translateY(-3px);
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--lighter);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Map Section */
.map {
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(rgba(43, 45, 66, 0.9), rgba(43, 45, 66, 0.9)), url('../assets/images/fire-pattern.png');
    background-size: cover;
    background-position: center;
    color: var(--lighter);
    padding: var(--space-xl) 0;
    text-align: center;
}

.newsletter h3 {
    color: var(--lighter);
    margin-bottom: var(--space-sm);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.newsletter-form input {
    padding-right: 120px;
    height: 50px;
}

.newsletter-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Footer */
.footer {
    background-color: var(--darker);
    color: var(--lighter);
    padding: var(--space-xxl) 0 var(--space-md);
     position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/fire-pattern.png') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    width: 70px;
    margin-bottom: var(--space-md);
}


.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--cuc-primary);
    color: var(--cuc-gold-medium) !important;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    color: var(--lighter);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--lighter);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--cuc-gold-gradient);
}

.footer ul li {
    margin-bottom: var(--space-xs);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--cuc-gold-medium);
    padding-left: var(--space-xs);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--cuc-gold-medium);
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--lighter);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 99;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--lighter);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--cuc-accent-red);
    color: var(--lighter);
    border-radius: var(--radius-circle);
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-icon:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: var(--transition);
    opacity: 0;
}

.chat-container.active {
    transform: scale(1);
    opacity: 1;
}

.chat-header {
    background-color: var(--primary);
    color: var(--lighter);
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    color: var(--lighter);
}

.close-chat {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

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

.chat-body {
    padding: var(--space-md);
}

.chat-messages {
    height: 250px;
    overflow-y: auto;
    margin-bottom: var(--space-md);
}

.chat-message {
    margin-bottom: var(--space-sm);
    max-width: 80%;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background-color: var(--light);
    border-top-left-radius: 0;
    margin-right: auto;
}

.user-message {
    background-color: var(--primary);
    color: var(--lighter);
    /* background: var(--cuc-gold-gradient);
    color: var(--cuc-darker); */
    border-top-right-radius: 0;
    margin-left: auto;
}

.chat-input {
    display: flex;
    gap: var(--space-xs);
}

.chat-input input {
    flex: 1;
    padding: var(--space-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
}

.send-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--lighter);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.send-btn:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1200px) {
    .hero h2 {
        font-size: 3.5rem;
    }

    .service-details {
        flex-direction: column;
    }

    .service-image {
        height: 300px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .about-content,
    .pastor-profile,
    .contact-content {
        flex-direction: column;
    }

    .about-image,
    .pastor-image {
        margin-bottom: var(--space-xl);
    }

    .quick-info {
        margin-top: 0;
    }

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

/* .mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: var(--space-md);
} */

/*New Mobile Menu Styles */
@media (max-width: 992px) {

    .logo img {
        height: 50px;
    }

    .footer-logo {
        width: 70px;
    }


    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height-scrolled);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height-scrolled));
        background-color: var(--lighter);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--space-xl);
        transition: var(--transition);
        overflow-y: auto;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .header {
        height: var(--header-height-scrolled);
        background-color: var(--darker);
    }

    .scroll-down {
        left: 40%;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height-scrolled);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height-scrolled));
        background-color: var(--lighter);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--space-xl);
        transition: var(--transition);
        overflow-y: auto;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }

    .main-nav a {
        padding: var(--space-sm) 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid var(--light-gray);
    }

    .chat-container {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
        padding: var(--space-sm);
    }

    .date-day,
    .date-month {
        display: inline-block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}