/* Base Variables */
:root {
    --primary-color: #00BFA5;
    --secondary-color: #024751;
    --accent-color: #f0f5f4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --transition-base: all 0.3s ease;
    --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 15px rgba(0, 0, 0, 0.1);
}


.text-xl,
.text-lg,
.text-sm,
text-4xl {
    color: white;
}

/* Hero background overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* PCC Members styling */
#sparklerImage {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#sparklerName,
#sparklerPosition,
#sparklerBio {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Modern buttons */
.nav-btn {
    background: #00BFA5;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover {
    background: white;
    color: #00BFA5;
    border: 2px solid #00BFA5;
    transform: translateY(-2px);
}

/* Responsive button placement */
.team-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

@media(min-width:768px) {
    .team-controls {
        justify-content: flex-start;
    }
}



@keyframes slide-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    20% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.animate-slide-up {
    animation: slide-up 2s ease-in-out forwards;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.youtube-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77%;
    height: 100%;
    /* for 16:9 video fill */
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* disable clicks */
}


/* Start hidden */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

/* When visible */
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}



.slide {
    opacity: 0;
    animation: fade 28s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 4s;
}

.slide:nth-child(3) {
    animation-delay: 8s;
}

.slide:nth-child(4) {
    animation-delay: 12s;
}

.slide:nth-child(5) {
    animation-delay: 16s;
}

.slide:nth-child(6) {
    animation-delay: 20s;
}

.slide:nth-child(7) {
    animation-delay: 24s;
}

@keyframes fade {

    0%,
    8%,
    100% {
        opacity: 0;
    }

    12%,
    20% {
        opacity: 1;
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

.animate-scroll {
    animation: scrollUp 40s linear infinite;
    /* faster start, less waiting */
}


.follow-us a {
    border-radius: 5px;
    color: #fff;
    display: block;
    font-size: 15px;
    height: 46px;
    overflow: hidden;
    padding: 12px 13px;
    width: 50%;
    background-color: black;
}



.content_wrap.reverse {
    flex-direction: row-reverse;
}

.thumb-overlay.position-relative {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}






.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #157256;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
    background-color: #125d48;
    transform: translateY(-2px);
}


.container1 {
    max-width: 1140px;
    margin: 50px auto;
    padding: 0 15px;
}

.title_category {
    font-size: 20px;
    font-weight: 600;
    color: #157256;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.content_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.content_img {
    flex: 1 1 300px;
    max-width: 400px;
}

.content_img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content_info {
    flex: 1 1 400px;
    max-width: 600px;
}

.title_section {
    font-size: 28px;
    font-weight: 700;
    color: #0b2e4e;
    margin-bottom: 10px;
}

.title_category+.title_section {
    margin-top: 0;
}

.content_info .title_category {
    font-size: 16px;
    font-weight: 600;
    color: #1a7f5d;
    margin-bottom: 20px;
}

.typical_text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .content_wrap {
        flex-direction: column;
        align-items: center;
    }

    .content_img,
    .content_info {
        max-width: 100%;
    }

    .title_section {
        text-align: center;
    }

    .content_info .title_category {
        text-align: center;
    }
}







.sparkler-slider {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 50px auto;
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
    flex: 1;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
}

.image-wrapper {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h2 {
    margin: 0;
    font-size: 2rem;
    border-bottom: 1px solid #F0F5F4;
    padding-bottom: 10px;
}

.profile-info p {
    font-size: 1rem;
    margin-top: 15px;
    line-height: 1.5;
}

.nav-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.nav-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: white;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.nav-dots button.active {
    opacity: 1;
}







.active-slide {
    opacity: 1;
    transform: scale(1);
}

.inactive-slide {
    opacity: 0.5;
    transform: scale(0.9);
}

.transition-slide {
    transition: all 0.5s ease-in-out;
}



.slide {
    position: absolute;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.9) translateX(-50px);
    z-index: 0;
}

.slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 2;
}

.slide.behind {
    opacity: 0.5;
    transform: scale(0.85) translateX(-30px);
    z-index: 1;
}


/* ===========================
   General Section
=========================== */
.choir {
    background: #f9fafc;
    padding: 50px 15px;
    text-align: center;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 10px auto 0;
    background: #00bfa5;
    border-radius: 2px;
}

/* ===========================
   Lyrics
=========================== */
.choir-lyrics {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.choir-lyrics p {
    margin-bottom: 20px;
}

.choir-lyrics .refrain {
    background: #e6f9f6;
    padding: 12px 18px;
    border-left: 4px solid #00bfa5;
    border-radius: 6px;
    font-style: italic;
    font-weight: bold;
    color: #2c3e50;
}

/* ===========================
   Gallery Wrapper
=========================== */
.choir-gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

/* Gallery Slides */
.choir-gallery {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
}

.choir-gallery figure {
    min-width: 250px;

    margin: 0;
    text-align: center;
}

/* Gallery Images */
.choir-gallery figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    background: #f9f9f9;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.choir-gallery figure img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* ===========================
   Slider Arrows
=========================== */
.choir-gallery-wrapper .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 62, 80, 0.7);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

.choir-gallery-wrapper .arrow.left {
    left: 5px;
}

.choir-gallery-wrapper .arrow.right {
    right: 5px;
}

/* ===========================
   Responsive Design
=========================== */
@media (max-width: 768px) {
    .choir-gallery figure {
        min-width: 80%;
    }

    .choir-gallery-wrapper .arrow {
        font-size: 1.8rem;
        padding: 5px 8px;
    }
}

@media (max-width: 480px) {
    .choir .section-title {
        font-size: 1.5rem;
    }

    .choir-lyrics p {
        font-size: 1rem;
    }
}





/* Choir Card */
.choir-card {
    min-width: 350px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.choir-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.choir-info {
    padding: 15px;
    background: #f9f9f9;
}

.choir-info h4 {
    font-size: 1.1rem;
    margin: 5px 0;
    color: #2c3e50;
}

.choir-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Hover Effects */
.choir-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.choir-card:hover img {
    transform: scale(1.05);
}

/* On mobile: one card takes full width */
@media (max-width: 768px) {
    .choir-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #00BFA5;
    --secondary-color: #024751;
    --accent-color: #f0f5f4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

/* Hero section styles */
.hero-overlay {
    background: linear-gradient(135deg,
            rgba(2, 71, 81, 0.8) 0%,
            rgba(0, 191, 165, 0.6) 100%);
    z-index: 10;
}

/* Animation improvements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
    /* Add slight delay */
}

.fade-in:nth-child(2) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: float 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px) scale(1.01);
    }
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Enhanced Button Hover */
.btn-hover {
    transition: var(--transition-base);
}

.btn-hover:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 191, 165, 0.2);
}

/* Improved Card Hover */
.card-hover {
    transition: var(--transition-base);
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Dots Navigation */
.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    margin: 0 4px;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Improved Slide Transitions */
.slide {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-active {
    opacity: 1;
    transform: scale(1);
}

.slide-inactive {
    opacity: 0;
    transform: scale(1.05);
}

/* Enhanced Hymn Verse Animation */
.hymn-verse {
    transition: all 0.5s ease-in-out;
    padding: 0.5rem 0;
}

#hymnContainer {
    max-height: 250px;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.hymn-verse.opacity-100 {
    transform: scale(1.05);
}

.hymn-verse.opacity-70 {
    transform: scale(0.95);
}

/* Improved Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation:
        typing 3s steps(40) 1s both,
        blink 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .dot {
        width: 6px;
        height: 6px;
    }

    .floating {
        animation: float 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
}

@media (prefers-reduced-motion: reduce) {

    .floating,
    .fade-in,
    .slide,
    .hymn-verse {
        animation: none;
        transition: none;
    }
}






* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid #e8e8e8;
}

.section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.church-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.church-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: normal;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text {
    padding: 20px 0;
}

.priest-name {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 400;
}

.priest-title {
    font-size: 1.1rem;
    color: #8b4513;
    margin-bottom: 25px;
    font-style: italic;
}

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 400;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.greeting {
    font-weight: 500;
    color: #8b4513;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #8b4513;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.read-more-btn:hover {
    background-color: #6d3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.decorative-line {
    width: 60px;
    height: 3px;
    background-color: #8b4513;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid.reverse {
        grid-template-columns: 1fr;
    }

    .content-grid.reverse .content-image {
        order: 1;
    }

    .content-grid.reverse .content-text {
        order: 2;
    }

    .church-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .priest-name {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .message-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .church-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 0;
    }
}