@font-face {
    font-family: 'Ogg';
    src: url('../fonts/Ogg-Regular.ttf') format('truetype'),
        url('../fonts/Ogg Ogg Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette */
    --surface: #f7f9fb;
    --surface-dim: #d8dadc;
    --surface-bright: #f7f9fb;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f2f4f6;
    --surface-container: #eceef0;
    --surface-container-high: #e6e8ea;
    --surface-container-highest: #e0e3e5;
    --on-surface: #191c1e;
    --on-surface-variant: #404850;
    --inverse-surface: #2d3133;
    --inverse-on-surface: #eff1f3;
    --outline: #707881;
    --outline-variant: #bfc7d2;
    --surface-tint: #006398;
    --primary: #006297;
    --on-primary: #ffffff;
    --primary-container: #007cbd;
    --on-primary-container: #ffffff;
    --inverse-primary: #94ccff;
    --secondary: #006399;
    --on-secondary: #ffffff;
    --secondary-container: #44b0fd;
    --on-secondary-container: #004166;
    --tertiary: #485f7b;
    --on-tertiary: #ffffff;
    --tertiary-container: #607895;
    --on-tertiary-container: #ffffff;
    --error: #ba1a1a;
    --on-error: #ffffff;
    --error-container: #ffdad6;
    --on-error-container: #93000a;
    --primary-fixed: #cde5ff;
    --primary-fixed-dim: #94ccff;
    --on-primary-fixed: #001d32;
    --on-primary-fixed-variant: #004b74;
    --secondary-fixed: #cde5ff;
    --secondary-fixed-dim: #94ccff;
    --on-secondary-fixed: #001d32;
    --on-secondary-fixed-variant: #004b74;
    --tertiary-fixed: #d1e4ff;
    --tertiary-fixed-dim: #b0c9e8;
    --on-tertiary-fixed: #011d35;
    --on-tertiary-fixed-variant: #314863;
    --background: #f7f9fb;
    --on-background: #191c1e;
    --surface-variant: #e0e3e5;

    /* Semantic Mappings for existing styles */
    --primary-accent: var(--primary-container);
    --bg-light: var(--background);
    --text-dark: var(--on-surface);
    --text-light: var(--on-primary);

    /* Typography */
    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-ogg: 'Ogg', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ogg);
    font-weight: normal;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    height: 42px;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background-color: var(--primary-accent);
    opacity: 0.3;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-accent);
}

.nav-actions .btn-outline {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(0, 124, 189, 0.3);
    border-radius: 50px;
    color: var(--primary-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-actions .btn-outline:hover {
    background-color: var(--primary-accent);
    color: var(--text-light);
    border-color: var(--primary-accent);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: calc(100vh - 82px);
    /* Adjust based on navbar height */
    min-height: 700px;
    display: flex;
    padding: 5rem 4rem;
    background-image: url('../images/pexels-caleboquendo-34612562.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for the background image */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient to make text readable at bottom, and general darkening */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out forwards;
}

.hero-title {
    color: var(--text-light);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .serif-italic {
    font-family: var(--font-ogg);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--text-light);
    border: 1px solid var(--primary-accent);
}

.btn-primary:hover {
    background-color: #005F9E;
    border-color: #005F9E;
    transform: translateY(-2px);
}

.btn-primary .arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    z-index: 101;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
    background-color: var(--surface-container-high);
}

.mobile-menu-btn svg {
    transition: transform 0.3s ease;
}

.navbar.mobile-open .mobile-menu-btn svg {
    transform: rotate(90deg);
}

/* Mobile Menu Backdrop Overlay */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(6, 17, 31, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
}

.nav-backdrop.active,
body.menu-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-left {
        gap: 1.5rem;
    }

    .hero {
        padding: 4rem 2rem;
    }

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

@media (max-width: 768px) {

    .nav-divider,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--surface-container-lowest);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--outline-variant);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        z-index: 99;
        animation: fadeIn 0.25s ease-out;
    }

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

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--surface-container-low);
    }

    .navbar.mobile-open .nav-menu {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: 80vh;
        padding: 4rem 1.5rem;
    }

    .hero-container {
        justify-content: center;
        padding-top: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Values Section --- */
.values-section {
    padding: 6rem 4rem;
    background-color: var(--surface);
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.15;
}

/* --- What We Believe Slider Styling --- */
.values-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.slider-controls {
    display: flex;
    gap: 0.75rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-arrow:hover:not(:disabled) {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.beliefs-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.beliefs-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.value-card {
    flex: 0 0 33.333333%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 4rem;
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.value-number {
    font-size: 3.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.value-heading {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.value-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary);
}

/* Responsive Values Section */
@media (max-width: 1024px) {
    .value-card {
        flex: 0 0 50%;
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .value-card {
        flex: 0 0 100%;
        padding: 0 1.25rem;
    }

    .values-header {
        margin-bottom: 2.5rem;
    }

    .value-heading {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .value-number {
        font-size: 2.75rem;
    }

    .slider-dots-container {
        margin-top: 2rem;
    }
}

/* --- Quote Section --- */
.quote-section {
    padding: 8rem 4rem;
    background-color: #ECEEF0;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-divider {
    width: 60px;
    height: 1px;
    background-color: var(--primary);
}

.quote-divider.top {
    margin-bottom: 3.5rem;
}

.quote-divider.bottom {
    margin-top: 3.5rem;
}

.quote-text {
    font-family: var(--font-ogg);
    font-size: 2.25rem;
    font-style: italic;
    font-weight: 400;
    color: var(--on-surface);
    line-height: 1.6;
    margin: 0;
}

.quote-citation {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);

    letter-spacing: 0.15em;
    font-style: normal;
    margin-top: 2rem;
}

/* Responsive Quote Section */
@media (max-width: 768px) {
    .quote-section {
        padding: 5rem 2rem;
    }

    .quote-text {
        font-size: 1.75rem;
    }
}

/* --- Footer Section --- */
.footer {
    background-color: #06111F;
    /* Very dark navy to anchor the page */
    color: #FFFFFF;
    padding: 6rem 4rem 2rem 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    /* Uses a CSS filter to make the SVG white, as the background is very dark */
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-accent);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
    border-radius: 50px 0 0 50px;
    font-family: var(--font-sans);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-accent);
    color: #FFFFFF;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #005F9E;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 2rem 2rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- Visit Section --- */
.visit-section {
    padding: 6rem 4rem;
    background-color: var(--surface-container-low);
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);

    letter-spacing: 0.15em;
    font-style: normal;
    margin-top: 2rem;
}

/* Responsive Quote Section */
@media (max-width: 768px) {
    .quote-section {
        padding: 5rem 2rem;
    }

    .quote-text {
        font-size: 1.75rem;
    }
}

/* --- Footer Section --- */
.footer {
    background-color: #06111F;
    /* Very dark navy to anchor the page */
    color: #FFFFFF;
    padding: 6rem 4rem 2rem 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    /* Uses a CSS filter to make the SVG white, as the background is very dark */
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-accent);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-accent);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
    border-radius: 50px 0 0 50px;
    font-family: var(--font-sans);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-accent);
    color: #FFFFFF;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #005F9E;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 2rem 2rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- Visit Section --- */
.visit-section {
    padding: 6rem 4rem;
    background-color: #06111f;
    color: #ffffff;
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
}

.visit-section-title {
    font-family: var(--font-ogg);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 2.25rem;
    color: #ffffff;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.visit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
    padding: 2.5rem 2.25rem;
    background: linear-gradient(145deg, #0d1a2d 0%, #08111e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
    cursor: pointer;
    overflow: hidden;
}

.visit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary-container));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.visit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 124, 189, 0.45);
    background: linear-gradient(145deg, #12243d 0%, #0b1728 100%);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 124, 189, 0.15);
}

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

.visit-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.visit-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-container);
}

.visit-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 124, 189, 0.14);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.visit-card:hover .visit-card-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.visit-card-icon svg {
    width: 18px;
    height: 18px;
}

.visit-card-body {
    flex: 1;
}

.visit-heading {
    font-family: var(--font-ogg);
    font-size: 1.65rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.visit-location {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    line-height: 1.5;
}

.visit-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease, gap 0.3s ease;
}

.visit-card:hover .visit-card-footer {
    color: #ffffff;
    gap: 0.75rem;
}

.visit-card-footer .arrow {
    transition: transform 0.3s ease;
}

.visit-card:hover .visit-card-footer .arrow {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .visit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .visit-section {
        padding: 4rem 2rem;
    }

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

    .visit-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
}

/* --- Sermons App Styles --- */
.sermons-page {
    background-color: var(--surface);
    /* Space for the audio player */
    padding-bottom: 90px;
}

.sermons-app {
    display: flex;
    min-height: calc(100vh - 82px);
    max-width: 1600px;
    margin: 0 auto;
}

/* Sidebar */
.sermons-sidebar {
    width: 250px;
    padding: 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--surface);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--on-surface-variant);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background-color: var(--surface-container-high);
    color: var(--on-surface);
}

.sidebar-link.active {
    background-color: var(--primary-container);
    color: var(--on-primary-container);
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--error);
    border-radius: 50%;
    margin-left: auto;
}

/* Main Content */
.sermons-content {
    flex: 1;
    padding: 2rem 4rem;
    overflow-y: auto;
}

.search-bar {
    position: relative;
    max-width: 600px;
}

.search-bar svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 50px;
    border: 1px solid var(--outline-variant);
    background-color: var(--surface-container-lowest);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--on-surface);
    outline: none;
    transition: border-color 0.2s ease;
}

.search-bar input:focus {
    border-color: var(--primary);
}

/* Categories */
.categories-scroll {
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.categories-wrapper {
    display: flex;
    gap: 1rem;
}

.category-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--outline-variant);
    background-color: transparent;
    color: var(--on-surface-variant);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-pill:hover {
    background-color: var(--surface-container-high);
}

.category-pill.active {
    background-color: var(--on-surface);
    color: var(--surface);
    border-color: var(--on-surface);
}

/* Sermons Grid */
.sermons-section {
    margin-top: 3rem;
}

.sermons-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.sermons-section-header .section-heading {
    margin-bottom: 0;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.sermons-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--on-surface-variant);
}

.control-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--outline-variant);
    background-color: var(--surface-container-lowest);
    color: var(--on-surface);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%23404850' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.control-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 98, 151, 0.1);
}

.view-toggle {
    display: flex;
    background-color: var(--surface-container-low);
    border-radius: 8px;
    padding: 2px;
}

.view-btn {
    border: none;
    background: none;
    color: var(--on-surface-variant);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: var(--on-surface);
}

.view-btn.active {
    background-color: var(--surface-container-lowest);
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.sermon-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sermon-card:hover {
    transform: translateY(-4px);
}

.sermon-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--surface-container-highest);
}

.sermon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.sermon-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.sermon-play-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.sermon-card:hover .sermon-play-overlay {
    opacity: 1;
}

.sermon-details {
    margin-top: 1rem;
}

.sermon-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sermon-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--on-surface-variant);
}

/* List View Layout */
.sermons-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sermons-grid.list-view .sermon-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sermons-grid.list-view .sermon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sermons-grid.list-view .sermon-image {
    width: 180px;
    height: auto;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    border-radius: 8px;
}

.sermons-grid.list-view .sermon-details {
    margin-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sermons-grid.list-view .sermon-title {
    font-size: 1.15rem;
    margin-bottom: 0;
}

.sermons-grid.list-view .sermon-meta {
    justify-content: flex-start;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .sermons-grid.list-view .sermon-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .sermons-grid.list-view .sermon-image {
        width: 100%;
    }
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: var(--surface-container-lowest);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.audio-player.active {
    transform: translateY(0);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 300px;
}

.player-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--surface-container-highest);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-text {
    flex: 1;
    overflow: hidden;
}

.player-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--on-surface);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-text p {
    font-size: 0.8rem;
    color: var(--on-surface-variant);
    margin: 0;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.1s ease;
}

.control-btn:hover {
    color: var(--primary);
}

.control-btn:active {
    transform: scale(0.95);
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-container);
    color: var(--on-primary-container);
}

.play-btn:hover {
    background-color: var(--primary);
    color: white;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.time-current,
.time-total {
    font-size: 0.8rem;
    color: var(--on-surface-variant);
    font-variant-numeric: tabular-nums;
    min-width: 40px;
}

.progress-bar-container {
    flex: 1;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--surface-container-highest);
    border-radius: 3px;
    position: relative;
}

.progress-filled {
    height: 100%;
    background-color: var(--primary);
    position: relative;
}

.progress-thumb {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background-color 0.15s ease;
    cursor: grab;
    z-index: 5;
}

.progress-bar-container:hover .progress-thumb {
    transform: translateY(-50%) scale(1.3);
    background-color: var(--primary-hover, #004d77);
}

.progress-thumb:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.4);
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 150px;
    color: var(--on-surface-variant);
}

.volume-slider {
    flex: 1;
    height: 6px;
    background-color: var(--surface-container-highest);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.volume-filled {
    height: 100%;
    background-color: var(--primary);
}

/* Responsive Sermons Page */
@media (max-width: 1024px) {
    .sermons-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .sermons-app {
        flex-direction: column;
    }

    .sermons-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 1rem 2rem;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }

    .sidebar-link {
        white-space: nowrap;
    }

    .sermons-content {
        padding: 1.5rem 1rem;
    }

    .audio-player {
        padding: 0 1rem;
    }

    .player-progress {
        display: none;
        /* Hide progress bar on mobile to save space */
    }

    .player-volume {
        display: none;
        /* Hide volume on mobile */
    }

    .player-info {
        width: auto;
        flex: 1;
    }
}

/* --- Admin Login --- */
.admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--surface-container-low);
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background-color: var(--surface-container-lowest);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 48px;
    margin-bottom: 1.5rem;
}

.login-header h2 {
    font-size: 1.75rem;
    color: var(--on-surface);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

.login-form .form-group {
    margin-bottom: 1.25rem;
}

.login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--on-surface);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: var(--outline);
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--outline-variant);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--on-surface);
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 99, 152, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--on-surface-variant);
    font-weight: normal;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* --- Admin Dashboard --- */
.admin-dashboard {
    display: flex;
    height: 100vh;
    background-color: var(--surface-container-low);
    overflow: hidden;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--surface-container-lowest);
    border-right: 1px solid var(--outline-variant);
    display: flex;
    flex-direction: column;
}

.admin-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--outline-variant);
}

.admin-logo img {
    height: 32px;
}

.admin-logo span {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;

    font-size: 0.85rem;
}

.admin-nav {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    color: var(--on-surface-variant);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.admin-nav-link:hover {
    background-color: var(--surface-container);
    color: var(--on-surface);
}

.admin-nav-link.active {
    background-color: var(--primary-container);
    color: var(--on-primary-container);
}

.logout-link {
    margin-top: auto;
    color: var(--error);
}

.logout-link:hover {
    background-color: var(--error-container);
    color: var(--on-error-container);
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-header {
    background-color: var(--surface-container-lowest);
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--outline-variant);
}

.header-title h1 {
    font-size: 1.5rem;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
}

.header-title p {
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.header-profile span {
    font-weight: 500;
    color: var(--on-surface);
}

.admin-content {
    padding: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.admin-card {
    background-color: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.upload-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.upload-form .form-group {
    flex: 1;
}

.upload-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--on-surface);
}

.upload-form input,
.upload-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--outline-variant);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.upload-form input:focus,
.upload-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 99, 152, 0.1);
}

.file-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.file-upload-box label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--on-surface);
}

.upload-area {
    border: 2px dashed var(--outline-variant);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: var(--surface-container-low);
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-area:hover {
    background-color: var(--surface-container);
    border-color: var(--primary);
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.form-actions button {
    border: none;
    cursor: pointer;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-small {
    position: relative;
    display: flex;
    align-items: center;
}

.search-small svg {
    position: absolute;
    left: 0.75rem;
    color: var(--outline);
}

.search-small input {
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    border: 1px solid var(--outline-variant);
    border-radius: 50px;
    font-size: 0.85rem;
}

.search-small input:focus {
    outline: none;
    border-color: var(--primary);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1rem;
    font-size: 0.85rem;

    letter-spacing: 0.05em;
    color: var(--on-surface-variant);
    border-bottom: 2px solid var(--outline-variant);
}

.admin-table td {
    padding: 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--surface-container-high);
    vertical-align: middle;
}

.sermon-name-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.tiny-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.badge {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-container);
    color: var(--on-primary-container);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.action-btns {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--outline-variant);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--surface-container);
    color: var(--on-surface);
}

.icon-btn.delete:hover {
    background-color: var(--error-container);
    color: var(--on-error-container);
    border-color: var(--error-container);
}

@media (max-width: 1024px) {
    .upload-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .file-upload-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-dashboard {
        flex-direction: column;
        height: auto;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid var(--outline-variant);
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .admin-logo {
        padding: 0;
        border: none;
    }

    .admin-nav {
        flex-direction: row;
        padding: 0;
        margin-left: auto;
        gap: 0.25rem;
    }

    .admin-nav-link {
        padding: 0.5rem;
        font-size: 0;
    }

    .admin-header {
        padding: 1rem;
    }

    .admin-content {
        padding: 1rem;
    }
}

/* --- About Us Page --- */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/about_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 2rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-light);
    animation: fadeUp 1s ease-out forwards;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.about-hero-title .serif-italic {
    font-family: var(--font-ogg);
    font-style: italic;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.story-section {
    padding: 8rem 4rem;
    background-color: var(--background);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.story-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.story-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.story-title {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 500;
    color: var(--text-dark);
}

.story-title .serif-italic {
    font-family: var(--font-ogg);
    font-style: italic;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
}

.story-highlight {
    font-family: var(--font-ogg);
    font-style: italic;
    font-size: 1.45rem;
    line-height: 1.55;
    color: var(--primary);
    background-color: rgba(0, 98, 151, 0.03);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-right {
        margin-top: 0;
    }

    .story-highlight {
        font-size: 1.3rem;
        padding: 1.5rem;
    }
}

/* Mission & Vision cards */
.mission-vision-section {
    padding: 6rem 4rem;
    background-color: var(--surface-container-low);
}

.mission-vision-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background-color: var(--surface-container-lowest);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.mv-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 98, 151, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.mv-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.mv-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

/* Leadership section */
.leadership-section {
    padding: 8rem 4rem;
    background-color: var(--background);
}

.leadership-container {
    max-width: 1400px;
    margin: 0 auto;
}

.leadership-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.leadership-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);

    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.leadership-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.leadership-title .serif-italic {
    font-family: var(--font-ogg);
    font-style: italic;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.leader-card {
    background-color: var(--surface-container-lowest);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.leader-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.leader-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image-container img {
    transform: scale(1.05);
}

.leader-info {
    padding: 2rem;
}

.leader-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);

    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.leader-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

.leader-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

/* About Page CTA */
.about-cta {
    position: relative;
    padding: 8rem 4rem;
    background-color: #06111F;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.about-cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-cta-title .serif-italic {
    font-family: var(--font-ogg);
    font-style: italic;
}

.about-cta-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Responsive styles for About Us */
@media (max-width: 1024px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
    }

    .about-hero-title {
        font-size: 2.75rem;
    }

    .story-section {
        padding: 5rem 2rem;
    }

    .story-title {
        font-size: 2.25rem;
    }

    .mission-vision-section {
        padding: 4rem 2rem;
    }

    .mv-card {
        padding: 2.5rem;
    }

    .leadership-section {
        padding: 5rem 2rem;
    }

    .leadership-title {
        font-size: 2.25rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leader-image-container {
        height: 300px;
    }

    .about-cta {
        padding: 5rem 2rem;
    }

    .about-cta-title {
        font-size: 2.25rem;
    }

    .about-cta-buttons {
        flex-direction: column;
    }
}

/* Custom Typography Updates - Ogg Font */
.section-title,
.sermons-section-title,
.visit-section-title,
.story-title,
.leadership-title,
.about-cta-title,
.about-hero-title,
.sermons-hero-title,
.hero-title,
.sermon-title,
.sermon-detail-title,
.visit-page-title,
.expect-section-title,
.plan-title,
.story-tag,
.leadership-tag,
.sermons-tag,
.visit-tag,
.expect-tag,
.plan-tag {
    font-family: var(--font-ogg) !important;
}

/* --- Visit Page --- */
.visit-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    background-image: url('../images/pexels-caleboquendo-34612562.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.visit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(6, 17, 31, 0.95) 0%,
            rgba(6, 17, 31, 0.8) 50%,
            rgba(6, 17, 31, 0.4) 100%);
    z-index: 1;
}

.visit-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 4rem;
    color: var(--text-light);
}

.visit-hero-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.visit-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.visit-locations-section {
    padding: 6rem 4rem;
    background-color: var(--surface-container-low);
}

.visit-locations-container {
    max-width: 1400px;
    margin: 0 auto;
}

.visit-locations-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.visit-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);

    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.visit-page-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Tabs styles */
.locations-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--outline-variant);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.1rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Tab content container */
.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.location-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: stretch;
}

.location-info-card {
    background-color: var(--surface-container-lowest);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-name {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.location-pastor {
    font-size: 1rem;
    color: var(--on-surface-variant);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--on-surface);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.info-text {
    flex: 1;
}

.btn-plan-visit {
    margin-top: auto;
    align-self: flex-start;
}

.location-visual-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.map-embed-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--surface-dim);
    height: 100%;
    min-height: 340px;
}

.map-embed-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
}

/* What to Expect */
.what-to-expect-section {
    padding: 6rem 4rem;
    background-color: var(--surface-container-lowest);
}

.expect-container {
    max-width: 1400px;
    margin: 0 auto;
}

.expect-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);

    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.expect-section-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expect-card {
    position: relative;
    background-color: var(--surface-container-low);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.expect-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.expect-card:hover {
    transform: translateY(-8px);
    background-color: var(--surface-container-lowest);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 124, 189, 0.1);
}

.expect-card:hover::before {
    transform: scaleX(1);
}

.expect-number {
    font-family: var(--font-ogg);
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary);
    opacity: 0.15;
    display: block;
    margin-bottom: 1.5rem;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.expect-card:hover .expect-number {
    opacity: 0.8;
    transform: scale(1.05);
}

.expect-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expect-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
}

/* Plan a Visit Form Section */
.plan-visit-form-section {
    padding: 7rem 4rem;
    background-color: var(--surface);
}

.plan-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.plan-form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.plan-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);

    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.plan-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.plan-subtitle {
    font-size: 1.1rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.form-wrapper {
    background-color: var(--surface-container-lowest);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    min-height: 400px;
}

.plan-visit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--on-surface);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 1px solid var(--outline-variant);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--surface-container-low);
    color: var(--on-surface);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--surface-container-lowest);
    box-shadow: 0 0 0 3px rgba(0, 124, 189, 0.1);
}

.form-submit-btn {
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    width: 100%;
    margin-top: 1rem;
}

/* Success Card */
.form-success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon-check {
    width: 80px;
    height: 80px;
    background-color: #2e7d32;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.success-icon-check svg {
    width: 45px;
    height: 45px;
}

.success-heading {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--on-surface-variant);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.success-close-btn {
    padding: 0.75rem 2.5rem;
    border: 1px solid var(--outline);
    color: var(--on-surface);
    cursor: pointer;
    background: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-close-btn:hover {
    background-color: var(--surface-container-low);
}

/* Keyframes for smooth fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Responsive Visit Page */
@media (max-width: 1024px) {
    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .visit-hero {
        padding: 0 2rem;
        height: 50vh;
        min-height: 380px;
    }

    .visit-hero-title {
        font-size: 2.75rem;
    }

    .visit-locations-section,
    .what-to-expect-section,
    .plan-visit-form-section {
        padding: 5rem 2rem;
    }

    .visit-page-title,
    .expect-section-title,
    .plan-title {
        font-size: 2.25rem;
    }

    .locations-tabs {
        flex-direction: column;
        align-items: stretch;
        border-bottom: none;
        padding-bottom: 0;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 1rem;
        background-color: var(--surface-container-lowest);
        border: 1px solid var(--outline-variant);
        border-radius: 8px;
    }

    .tab-btn.active::after {
        display: none;
    }

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

    .location-info-card {
        padding: 2rem;
    }

    .expect-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Direct Map Links */
.map-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.map-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.map-link:hover .arrow {
    transform: translateX(4px);
}

/* Map Hover Overlay Styles */
.map-container-link {
    text-decoration: none;
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(6, 17, 31, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.map-container-link:hover .map-overlay {
    opacity: 1;
}

.overlay-text {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.map-container-link:hover .overlay-text {
    transform: translateY(0);
}

/* ==========================================================================
   Comprehensive Mobile Phone & Small Screen Responsive Enhancements (<600px, <480px, <360px)
   ========================================================================== */

@media (max-width: 600px) {

    /* General Container Padding */
    .values-section,
    .quote-section,
    .visit-section,
    .story-section,
    .mission-vision-section,
    .leadership-section,
    .about-cta,
    .visit-locations-section,
    .what-to-expect-section,
    .plan-visit-form-section {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Navbar Small Screen Adjustments */
    .navbar {
        padding: 0.85rem 1.25rem;
    }

    .logo-container {
        height: 36px;
    }

    /* Hero Typography Sizing */
    .hero-title,
    .about-hero-title,
    .visit-hero-title,
    .sermons-hero-title {
        font-size: 2.25rem !important;
        line-height: 1.15;
    }

    .hero-subtitle,
    .about-hero-subtitle,
    .visit-hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }

    .section-title,
    .story-title,
    .leadership-title,
    .visit-page-title,
    .visit-section-title,
    .expect-section-title,
    .plan-title,
    .about-cta-title {
        font-size: 1.85rem !important;
        line-height: 1.2;
    }

    /* Cards & Container Padding */
    .mv-card,
    .location-info-card,
    .form-wrapper,
    .expect-card,
    .login-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 12px;
    }

    /* Sermons Search & Filter Layout */
    .sermons-section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .sermons-controls {
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .control-group {
        flex: 1;
        min-width: 140px;
    }

    .control-select {
        width: 100%;
    }

    /* Sermons Grid Small Phones */
    .sermons-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Fixed Audio Player Mobile Layout */
    .audio-player {
        height: 80px;
        padding: 0 1rem;
    }

    .player-info {
        width: auto;
        flex: 1;
        min-width: 0;
        gap: 0.75rem;
    }

    .player-cover {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .player-text h4 {
        font-size: 0.85rem;
    }

    .player-text p {
        font-size: 0.75rem;
    }

    .play-btn {
        width: 40px;
        height: 40px;
    }

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

    /* Footer Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form input {
        border-radius: 50px !important;
        width: 100%;
    }

    .newsletter-form button {
        border-radius: 50px !important;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    /* Map Height */
    .map-embed-container iframe {
        height: 250px !important;
    }

    /* Table Mobile Touch Scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -0.5rem;
    }

    .admin-table {
        min-width: 580px;
    }
}

@media (max-width: 380px) {

    .hero-title,
    .about-hero-title,
    .visit-hero-title {
        font-size: 1.85rem !important;
    }

    .btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .tab-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
