/* 
   Church Unlimited PH - Main Stylesheet
   Theme: Contemporary Teal & Deep Blue Premium Theme
*/

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
    /* Color Palette */
    --primary-cyan: #00bcd4;
    --primary-teal: #00e5ff;
    --deep-blue: #0f3057;
    --dark-navy: #070e17;
    --card-dark: rgba(15, 32, 55, 0.4);
    --card-dark-hover: rgba(15, 32, 55, 0.65);
    --text-light: #f5f9fc;
    --text-muted: #9ab2c7;
    --white: #ffffff;
    --fb-blue: #1877f2;
    --fb-gradient: linear-gradient(135deg, #1877f2 0%, #0056b3 100%);
    --teal-gradient: linear-gradient(135deg, #00e5ff 0%, #00bcd4 50%, #0f3057 100%);
    
    /* Layout Variables */
    --navbar-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 229, 255, 0.25);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transition */
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--dark-navy);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* --- Typography Helper Classes --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-cyan) 50%, #1e90ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.margin-top-sm {
    margin-top: 12px;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-navy);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.4);
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: linear-gradient(90deg, #021a30 0%, #004e7c 50%, #021a30 100%);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.announcement-content p {
    color: var(--text-light);
    font-weight: 500;
}

.badge {
    background: var(--primary-teal);
    color: var(--dark-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    animation: pulseGlow 2s infinite alternate;
}

.announcement-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px dashed var(--primary-teal);
}

.announcement-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* --- Navigation Bar --- */
.navbar {
    background: rgba(7, 14, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- Buttons --- */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-large {
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: var(--border-radius-md);
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--fb-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
    background: linear-gradient(135deg, #1f82ff 0%, #0069d9 100%);
}

.btn-secondary {
    background: var(--teal-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.btn-white-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    color: var(--dark-navy);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.btn-white-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: #ffffff;
}

.mobile-only-btn {
    display: none;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-right: 8px;
}

.theme-toggle-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.theme-toggle-btn svg {
    display: block;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    background-image: linear-gradient(rgba(7, 14, 23, 0.75), rgba(7, 14, 23, 0.92)), url('assets/auditorium_service.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(15, 48, 87, 0) 70%);
    top: -10%;
    right: -10%;
    z-index: 1;
    pointer-events: none;
}

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

.hero-content {
    max-width: 720px;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 16px;
    background: rgba(0, 229, 255, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-accent);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, var(--dark-navy));
    z-index: 1;
}

/* --- Section Layouts --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 64px auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Core Pillars Section --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--card-dark);
    border: 1px solid var(--border-light);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-cyan));
    opacity: 0;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-8px);
    background: var(--card-dark-hover);
    border-color: var(--border-accent);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.08);
}

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

.pillar-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-wrapper {
    background: var(--primary-teal);
    color: var(--dark-navy);
    transform: scale(1.1);
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Sunday Experience Section --- */
.section-experience {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #031424 50%, var(--dark-navy) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.experience-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.experience-item {
    display: flex;
    gap: 20px;
}

.exp-bullet {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    border: 1.5px solid var(--primary-teal);
    color: var(--primary-teal);
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.experience-item h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--white);
}

.experience-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.experience-showcase {
    position: relative;
}

.gradient-border-box {
    background: linear-gradient(135deg, var(--primary-teal), var(--deep-blue));
    padding: 2px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
}

.showcase-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-top-left-radius: calc(var(--border-radius-lg) - 2px);
    border-top-right-radius: calc(var(--border-radius-lg) - 2px);
    border-bottom: 1px solid var(--border-light);
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.gradient-border-box:hover .showcase-img {
    transform: scale(1.04);
}

.showcase-content {
    background: #06111e;
    border-bottom-left-radius: calc(var(--border-radius-lg) - 2px);
    border-bottom-right-radius: calc(var(--border-radius-lg) - 2px);
    padding: 32px 32px 40px 32px;
}

.showcase-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.showcase-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.sunday-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.sunday-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.sunday-details-list li svg {
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Facebook Media Gateway Section --- */
.fb-cta-banner {
    background: linear-gradient(135deg, #1877f2 0%, #0c4da3 100%);
    border-radius: var(--border-radius-md);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 64px;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.fb-cta-info {
    max-width: 60%;
}

.fb-cta-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.fb-cta-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.media-card {
    background: var(--card-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.1);
}

.media-preview {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Gradients for Series Cards to look beautiful & branded */
.gradient-card-bg-1 {
    background: linear-gradient(135deg, #a83279 0%, #3d1a5a 100%);
}
.gradient-card-bg-2 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.gradient-card-bg-3 {
    background: linear-gradient(135deg, #1f4068 0%, #162447 100%);
}
.gradient-card-bg-4 {
    background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 14, 23, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.media-card:hover .play-overlay {
    background: rgba(7, 14, 23, 0.2);
}

.play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.media-card:hover .play-btn {
    transform: scale(1.15);
    background: var(--primary-teal);
    color: var(--dark-navy);
}

.media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(7, 14, 23, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.media-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.media-series {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.media-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
}

.media-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.media-link-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.media-card:hover .media-link-label {
    color: var(--white);
}

/* --- Location & Map Section --- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.location-info-card {
    background: var(--card-dark);
    border: 1px solid var(--border-light);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-desc {
    color: var(--text-muted);
    margin-bottom: 36px;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-block:last-of-type {
    margin-bottom: 0;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 229, 255, 0.08);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.info-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.map-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex-grow: 1;
    min-height: 350px;
}

.map-actions {
    background: rgba(15, 32, 55, 0.6);
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

/* --- FAQ Section --- */
.section-faq {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #031424 100%);
    border-top: 1px solid var(--border-light);
}

.faq-accordion-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-dark);
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Footer --- */
.footer {
    background: #03080e;
    padding: 80px 0 32px 0;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand-column .footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.footer-socials a:hover {
    background: var(--primary-teal);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.footer-links-column h4, .footer-info-column h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-column a:hover {
    color: var(--primary-teal);
    padding-left: 4px;
}

.footer-info-column p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 80px 0 80px; /* Balanced padding prevents text from overlapping floating widgets on the right */
    text-align: center;
    color: rgba(154, 178, 199, 0.5);
    font-size: 0.85rem;
}

/* --- Floating Messenger Chat Widget --- */
.messenger-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 198, 255, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.messenger-widget:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 198, 255, 0.6);
}

.widget-tooltip {
    position: absolute;
    right: 76px;
    background: var(--dark-navy);
    border: 1px solid var(--border-accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.messenger-widget:hover .widget-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-navy);
    border: 1px solid var(--border-light);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
    transform: scale(1.08);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

body.light-theme .back-to-top {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-background {
    stroke: rgba(255, 255, 255, 0.08);
}

body.light-theme .progress-background {
    stroke: rgba(15, 23, 42, 0.04);
}

.progress-bar {
    transition: stroke-dashoffset 0.1s linear;
}

.arrow-up {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Keyframe Animations --- */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 229, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    }
}

/* Scroll Fade In Anim base */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .pillars-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    .pillar-card {
        flex: 1 1 240px;
        max-width: 340px;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #070e17;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: var(--transition-smooth);
        padding: 40px;
        z-index: 999;
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .mobile-only-btn {
        display: inline-flex;
        margin-top: 20px;
    }
    
    .nav-cta {
        display: none; /* Hide on small mobile nav bar, available in mobile menu */
    }
    
    .announcement-bar {
        font-size: 0.75rem;
    }
    
    .hero-section {
        padding: 40px 0 80px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-tag {
        font-size: 0.72rem;
        padding: 4px 12px;
        letter-spacing: 0.12em;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .fb-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .fb-cta-info {
        max-width: 100%;
    }
    
    .fb-cta-button {
        width: 100%;
    }
    
    .fb-cta-button .btn {
        width: 100%;
    }
    
    .location-info-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 32px 64px 0 64px;
    }
    
    .messenger-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .widget-tooltip {
        display: none; /* Tooltip doesn't work well on mobile touch */
    }
    .back-to-top {
        bottom: 82px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Light Mode Theme Overrides (High Contrast Accessibility Polish)
   ========================================================================== */

body.light-theme {
    --primary-cyan: #005c6d;
    --primary-teal: #00798a;
    --deep-blue: #0b588f;
    --dark-navy: #f8fafc;
    --card-dark: #ffffff;
    --card-dark-hover: #f1f5f9;
    --text-light: #0f172a;
    --text-muted: #334155;
    --border-light: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(0, 121, 138, 0.25);
    /* Note: --white remains #ffffff to keep buttons, play icons, and footer text white */
}

body.light-theme .navbar {
    background: rgba(248, 250, 252, 0.9);
    border-bottom-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

body.light-theme .brand-logo {
    background: linear-gradient(135deg, #0f172a 30%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .nav-menu {
    background: #f8fafc;
}

body.light-theme .nav-link {
    color: var(--text-muted);
}

body.light-theme .nav-link:hover, body.light-theme .nav-link.active {
    color: var(--text-light);
}

body.light-theme .menu-toggle .bar {
    background-color: var(--text-light);
}

body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-light);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 121, 138, 0.08);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

body.light-theme .hero-section {
    background-image: linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.95)), url('assets/auditorium_service.jpg');
}

body.light-theme .btn-outline {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

body.light-theme .btn-outline:hover {
    background: rgba(0, 92, 109, 0.05);
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

body.light-theme .btn-white-gradient {
    color: #0b588f !important;
}

body.light-theme .section-title {
    color: var(--text-light);
}

body.light-theme .section-experience {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #f1f5f9 50%, var(--dark-navy) 100%);
    border-top-color: rgba(15, 23, 42, 0.06);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .experience-item h4 {
    color: var(--text-light);
}

body.light-theme .exp-bullet {
    background: rgba(0, 121, 138, 0.08);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

body.light-theme .showcase-content {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.light-theme .showcase-img-container {
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .media-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .media-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: var(--border-accent);
}

body.light-theme .media-card:hover .media-link-label {
    color: var(--primary-cyan);
}

body.light-theme .play-btn {
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

/* Explicitly bind high-contrast dark color to heading elements in cards */
body.light-theme .media-body h3 {
    color: var(--text-light);
}

body.light-theme .location-info-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .info-details h3 {
    color: var(--text-light);
}

body.light-theme .map-actions {
    background: #f1f5f9;
    border-top-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .section-faq {
    background: linear-gradient(180deg, var(--dark-navy) 0%, #f1f5f9 100%);
    border-top-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .faq-item {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .faq-question {
    color: var(--text-light);
}

body.light-theme .faq-answer p {
    color: var(--text-muted);
}

body.light-theme .info-icon {
    background: rgba(0, 121, 138, 0.08);
}

body.light-theme .pillar-card {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .pillar-card:hover {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 121, 138, 0.12);
    border-color: var(--border-accent);
}

body.light-theme .pillar-icon-wrapper {
    background: rgba(0, 121, 138, 0.08);
}

body.light-theme .widget-tooltip {
    background: #ffffff;
    color: var(--text-light);
    border-color: rgba(0, 121, 138, 0.2);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

body.light-theme .announcement-bar {
    background: linear-gradient(90deg, #e2f1fc 0%, #badafc 50%, #e2f1fc 100%);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .announcement-content p {
    color: var(--text-light);
}

body.light-theme .announcement-link {
    color: #0b588f;
    border-bottom-color: #0b588f;
}

body.light-theme .announcement-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

body.light-theme .footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

body.light-theme .footer-logo {
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-theme .footer-tagline,
body.light-theme .footer-links-column a,
body.light-theme .footer-info-column p {
    color: #9ab2c7;
}

body.light-theme .footer-socials a {
    color: #9ab2c7;
    background: rgba(255, 255, 255, 0.05);
}

body.light-theme .footer-socials a:hover {
    background: var(--primary-teal);
    color: #f8fafc;
}

body.light-theme .footer-links-column a:hover {
    color: var(--primary-teal);
}

body.light-theme .footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
}

body.light-theme .footer-links-column h4,
body.light-theme .footer-info-column h4 {
    color: #ffffff;
}
}
