/**
 * Integrity Worship Centre - Main Stylesheet
 * Modern, spiritual design with warm colors
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Colors - Spiritual and warm */
    --primary-color: #2c3e95;
    --primary-dark: #1e2a6b;
    --primary-light: #4a5fb8;
    --secondary-color: #d4af37;
    --secondary-dark: #b8962e;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;

    /* Accent Colors */
    --accent-blue: #4a90e2;
    --accent-green: #43a047;
    --accent-red: #e53935;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==================== Live Service Banner ==================== */
.live-banner {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    padding: 8px 0;
    text-align: center;
    z-index: 1001;
    position: relative;
}

.live-banner-link {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.live-banner-link:hover {
    color: white;
    opacity: 0.9;
}

.live-pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.live-badge {
    background: white;
    color: #c0392b;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.live-text {
    font-weight: 500;
}

.next-service-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 6px 0;
    text-align: center;
    font-size: 0.85rem;
    z-index: 1001;
    position: relative;
}

.next-service-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.next-service-text i {
    color: var(--secondary-color);
}

/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background: transparent;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

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

/* ==================== Buttons ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(44, 62, 149, 0.35);
    transition: all 0.3s var(--spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(44, 62, 149, 0.45);
    color: var(--white);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 149, 0.3);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* btn-give styling moved to navigation section */

/* ==================== Top Bar ==================== */
.top-bar {
    background: rgba(30, 42, 107, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    margin-right: 20px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-bar i {
    margin-right: 5px;
}

.top-bar-right a {
    margin-right: 10px;
    font-size: 16px;
}

/* ==================== Navigation ==================== */
.main-nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:not(.btn-give):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.4s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.nav-menu a:not(.btn-give):hover:after,
.nav-menu a.active:after {
    width: 100%;
}

/* Give button - Glass gold effect */
.btn-give {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s var(--spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
}

.btn-give:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ==================== Hero Section ==================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(44, 62, 149, 0.9) 0%, rgba(30, 42, 107, 0.9) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 5;
    color: white;
}

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

@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 Slider ==================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #ffffff 50%, var(--secondary-color) 100%);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Hide fallback image when video is present */
.hero-video ~ .hero-slide-image {
    display: none;
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 3;
}

.hero-slide .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 4;
}

/* Slider Controls (Prev/Next Arrows) */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--secondary-color);
}

.slider-control.prev {
    left: 25px;
}

.slider-control.next {
    right: 25px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .slider-control.prev {
        left: 15px;
    }

    .slider-control.next {
        right: 15px;
    }

    .slider-dots {
        bottom: 25px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

/* ==================== Sections ==================== */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* ==================== Welcome Section ==================== */
.welcome-section {
    position: relative;
    background: transparent;
    padding: 100px 0;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.25);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item > * {
    position: relative;
    z-index: 1;
}

.stat-item i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ==================== Service Times ==================== */
.service-times {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 62, 149, 0.92) 0%, rgba(30, 42, 107, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    padding: 100px 0;
}

.service-times .section-header h2,
.service-times .section-header p {
    color: var(--white);
}

.service-times .divider {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* Service Times Card Grid */
.service-times-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-time-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
    position: relative;
}

.service-time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(212, 175, 55, 0.3), rgba(255, 255, 255, 0.3));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s ease infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-time-card:hover::before {
    opacity: 1;
}

.service-time-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Card Image */
.service-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.service-time-card:hover .service-card-image img {
    transform: scale(1.08);
}

/* Icon fallback when no image */
.service-card-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 149, 0.6) 0%, rgba(212, 175, 55, 0.4) 100%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transition: all 0.4s ease;
}

.service-time-card:hover .service-card-icon {
    font-size: 4.5rem;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

/* Card Content */
.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card-schedule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.service-day {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-time {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.service-card-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 992px) {
    .service-times-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 576px) {
    .service-times-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card-content h3 {
        font-size: 1.25rem;
    }
}

/* ==================== Sermon Cards ==================== */
.featured-sermons {
    background: transparent;
    padding: 100px 0;
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sermon-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.5s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
    position: relative;
}

.sermon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(212, 175, 55, 0.3), rgba(255, 255, 255, 0.3));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradientShift 4s ease infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sermon-card:hover::before {
    opacity: 1;
}

.sermon-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(31, 38, 135, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Sermon Card Image */
.sermon-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.sermon-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.sermon-card:hover .sermon-card-image img {
    transform: scale(1.08);
}

/* Icon fallback when no thumbnail */
.sermon-card-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 149, 0.8) 0%, rgba(212, 175, 55, 0.5) 100%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    transition: all 0.4s ease;
}

.sermon-card:hover .sermon-card-icon {
    font-size: 4.5rem;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

/* Sermon Card Content */
.sermon-card-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sermon-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.sermon-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.sermon-preacher {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.sermon-preacher i,
.sermon-date i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.sermon-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.sermon-scripture {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sermon-scripture i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Responsive: 2 columns on tablet */
@media (max-width: 992px) {
    .sermons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 576px) {
    .sermons-grid {
        grid-template-columns: 1fr;
    }

    .sermon-card-content {
        padding: 20px;
    }
}

/* ==================== Event Cards ==================== */
.upcoming-events {
    background: transparent;
    padding: 100px 0;
}

.events-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.5s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.event-card:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 50px rgba(31, 38, 135, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.event-date {
    background: linear-gradient(135deg, rgba(44, 62, 149, 0.9) 0%, rgba(30, 42, 107, 0.95) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.event-date::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.event-card:hover .event-date::after {
    left: 100%;
}

.date-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.date-month {
    font-size: 1.2rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-details {
    padding: 30px;
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.event-details h3 {
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
}

/* ==================== CTA Section ==================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85) 0%, rgba(184, 150, 46, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.cta-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.cta-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 60px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ==================== Blog Grid ==================== */
.recent-posts {
    background: transparent;
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.5s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(31, 38, 135, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(44, 62, 149, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* ==================== Footer ==================== */
.site-footer {
    position: relative;
    background: rgba(30, 42, 107, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--light-gray);
    padding: 80px 0 30px;
}

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

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-col {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.footer-col:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s var(--spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 15px 20px;
        gap: 0;
        box-shadow: 0 15px 50px rgba(31, 38, 135, 0.2);
        transition: left 0.4s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
        overflow-y: auto;
    }

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

    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 12px 15px;
        display: block;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu .btn-give {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-top: 10px;
        display: inline-block;
        width: auto;
        border-bottom: none;
    }

    .top-bar-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        text-align: center;
        justify-content: center;
        padding: 5px 0;
    }

    .top-bar-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .top-bar-left a {
        margin-right: 0;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .top-bar-right {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }

    .top-bar-right a {
        font-size: 14px;
    }

    .sermons-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

/* ==================== PAGE HEADERS WITH PHOTO BACKGROUNDS ==================== */
.page-header {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(30, 58, 95, 0.65) 100%);
    z-index: 1;
}

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

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.page-header p {
    opacity: 0.9;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Gold accent line under header title */
.page-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-dark));
    margin: 15px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* ==================== ANIMATED STAT COUNTERS ==================== */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.2rem;
    }
}

/* ==================== WAVE SECTION DIVIDERS ==================== */
.section-wave {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.section-wave-top {
    margin-bottom: -1px;
}

.section-wave-bottom {
    margin-top: -1px;
}

@media (max-width: 768px) {
    .section-wave svg {
        height: 35px;
    }
}

/* ==================== FEATURED BLOG LAYOUT ==================== */
.blog-grid-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card-hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.15);
    transition: all 0.4s ease;
}

.blog-card-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.25);
}

.blog-card-hero .blog-image {
    height: 100%;
    min-height: 320px;
}

.blog-card-hero .blog-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-hero .blog-content h3 {
    font-size: 1.6rem;
}

.blog-card-hero .featured-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .blog-grid-featured {
        grid-template-columns: 1fr;
    }

    .blog-card-hero {
        grid-template-columns: 1fr;
    }

    .blog-card-hero .blog-image {
        min-height: 200px;
    }

    .blog-card-hero .blog-content {
        padding: 25px;
    }
}

/* ==================== GALLERY MOSAIC ==================== */
.life-gallery {
    padding: 80px 0;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    grid-auto-rows: 220px;
}

.gallery-tile {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-tile-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-tile-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.gallery-tile:hover .gallery-tile-inner {
    transform: scale(1.05);
}

.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-tile:hover .gallery-play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 15px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-tile:hover .gallery-caption {
    opacity: 1;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-video-wrapper {
    width: 80vw;
    max-width: 960px;
    aspect-ratio: 16/9;
}

.lightbox-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-tile-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* ==================== FEATURED SERMON VIDEO ==================== */
.featured-sermon-video {
    padding: 80px 0 40px;
}

.sermon-feature-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.sermon-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.sermon-video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sermon-feature-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.15);
}

.sermon-feature-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sermon-feature-info .sermon-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.sermon-feature-info .sermon-scripture {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 768px) {
    .sermon-feature-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sermon-feature-info {
        padding: 25px;
    }
}

/* ==================== Testimonials Carousel ==================== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2332 0%, #0d1b2a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section .section-header h2 {
    color: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-track {
    position: relative;
    min-height: 280px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    padding: 20px;
    transition: visibility 0s 0.4s;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: visibility 0s;
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.4;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-photo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 3px solid var(--secondary-color);
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-info strong {
    display: block;
    font-size: 1.1rem;
    color: white;
}

.testimonial-author-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.testimonial-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #1a2332;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .testimonials-track {
        min-height: 320px;
    }
}

/* ==================== Plan Your Visit Widget ==================== */
.plan-visit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.plan-visit-widget {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.visit-header {
    text-align: center;
    margin-bottom: 35px;
}

.visit-header h2 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.visit-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.visit-step {
    display: none;
}

.visit-step.active {
    display: block;
    animation: visitFadeIn 0.3s ease;
}

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

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.visit-step h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.visit-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.visit-service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--off-white);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.visit-service-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.visit-service-item strong {
    display: block;
    color: var(--primary-dark);
}

.visit-service-item span {
    font-size: 0.9rem;
    color: var(--gray);
}

.expect-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.expect-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px;
    background: var(--off-white);
    border-radius: 10px;
}

.expect-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

.expect-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.expect-item p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.visit-step-nav {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.visit-form input,
.visit-form select,
.visit-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 12px;
    transition: border-color 0.3s;
}

.visit-form input:focus,
.visit-form select:focus,
.visit-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.visit-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.visit-form-success {
    padding: 12px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 10px;
    font-weight: 500;
}

.visit-form-error {
    padding: 12px 16px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    font-weight: 500;
}

.visit-step-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s;
}

.step-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Floating Plan Visit Button */
.floating-visit-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.floating-visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6);
    color: white;
}

.floating-visit-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .plan-visit-widget {
        padding: 30px 20px;
    }

    .expect-items {
        grid-template-columns: 1fr;
    }

    .visit-form-row {
        grid-template-columns: 1fr;
    }

    .floating-visit-btn span {
        display: none;
    }

    .floating-visit-btn {
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
}
