/* ============================================
   ACK St. Thomas Aquinas Church Website
   Modern, Responsive Design
   ============================================ */

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

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

/* CSS Variables */
:root {
    --primary-color: #041E4A;
    --primary-dark: #0B2D5C;
    --primary-light: #1a3a5f;
    --secondary-color: #D4A53A;
    --secondary-light: #F2C86B;
    --accent-color: #9b59b6;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark: #212529;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Responsive Breakpoint System */
:root {
    --breakpoint-xs: 480px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1024px;
    --breakpoint-2xl: 1440px;
}

/* Container responsive padding */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
    }
}

/* Global responsive utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none !important;
    }
}

/* Improved section spacing for mobile */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

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

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

    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

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

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

    .section-description {
        font-size: 0.95rem;
    }
}

/* Responsive typography scale */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
}

/* Responsive images and media */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Ensure buttons are touch-friendly */
.btn, .nav-link, .dropdown-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Prevent horizontal overflow (scoped only - never apply to all elements) */
.container {
    overflow-x: hidden;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    font-family: var(--font-body);
    font-size: clamp(15px, 0.95vw + 0.5rem, 17px);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
     /* Default offset = navbar height (60px).
        When the announcement alert is present, base.html adds padding for navbar + alert height. */
     padding-top: 60px;
}



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

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

ul {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.me-2 { margin-right: 0.5rem; }
.ms-2 { margin-left: 0.5rem; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }

/* Bootstrap-like grid utilities */
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.align-items-center { align-items: center; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 10px; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; padding: 0 10px; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: 0.375rem; }

@media (max-width: 768px) {
    .col-md-6,
    .col-md-3,
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

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

/* Section Styles */
.section {
    padding: clamp(50px, 8vw, 100px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 55px);
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--secondary-color);
    margin-bottom: 14px;
    position: relative;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(212,165,58,0.1) 0%, rgba(212,165,58,0.05) 100%);
    border-radius: 30px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    margin-bottom: 18px;
    color: var(--primary-color);
    position: relative;
    line-height: 1.3;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    line-height: 1.7;
    font-weight: 300;
}

/* Enhanced section header animations */
.section-header {
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: pageFadeIn 0.4s ease-out;
}

/* Additional enhancements for About section */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0 auto;
    width: 80px;
}

/* Enhance the welcome bridge section */
.welcome-bridge {
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.03) 0%, rgba(212, 165, 58, 0.03) 100%);
    padding: 50px 0;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border: 1px solid rgba(212,165,58,0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.welcome-bridge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.welcome-bridge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.5;
}

.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.welcome-text {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto auto;
    opacity: 0.85;
}

.welcome-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    margin: 20px auto;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

/* About Cards Grid - New Professional Layout */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.about-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(4, 30, 74, 0.06);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(4, 30, 74, 0.15);
    border-color: rgba(212,165,58,0.2);
}

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

.about-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(4, 30, 74, 0.2);
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(4, 30, 74, 0.3);
}

.about-card:nth-child(2) .about-card-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 8px 20px rgba(212, 165, 58, 0.25);
}

.about-card:nth-child(3) .about-card-icon {
    background: linear-gradient(135deg, var(--accent-color), #6bb3c9);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.25);
}

.about-card:nth-child(4) .about-card-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.about-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Values Section - Core Values */
.values-section {
    margin-top: 60px;
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.03) 0%, rgba(212, 165, 58, 0.03) 100%);
    border-radius: 20px;
    position: relative;
}

.values-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.4s ease;
}

.value-item:hover {
    transform: translateY(-8px);
}

.value-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212,165,58,0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(212,165,58,0.2);
}

.value-item:hover .value-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212,165,58,0.3);
}

.value-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

/* Testimonial Section - Enhanced */
.testimonial-section {
    margin: 50px 0;
    padding: 40px 0;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(4, 30, 74, 0.25);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.3;
    border-radius: 20px;
}

.testimonial-text {
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 25px;
    color: var(--secondary-color);
    font-size: 2rem;
}

.author-name {
    display: block;
    margin-bottom: 5px;
}

.author-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive for Testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        font-size: 1.3rem;
    }
}

/* Enhanced Testimonials Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.testimonial-dot:hover {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Add to existing styles */
.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.05)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
}

.statistics-wrapper {
    position: relative;
    z-index: 1;
}

.statistics-wrapper > .d-flex {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}

.statistics-item {
    text-align: center;
    padding: 20px 20px;
    flex: 0 0 auto;
    max-width: 180px;
}

.statistics-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.service-time-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-time-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-time-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-time-preview-card:hover .service-time-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

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

.stat-count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .statistics-item {
        padding: 15px;
    }
    
    .stat-count {
        font-size: 2rem;
    }
}

/* Welcome Message Section */
.welcome-message-section {
    padding: 80px 0;
    background: var(--white);
}

.welcome-image-wrapper {
    position: relative;
    padding-right: 30px;
}

.welcome-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(212,165,58,0.3);
    max-width: 100px;
}

.badge-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.badge-text {
    font-size: 0.6rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.1;
}

.welcome-text-content {
    padding-left: 20px;
}

.welcome-text-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.welcome-text-content .section-title::after {
    left: 0;
    transform: none;
}

.welcome-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.welcome-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.welcome-features li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-color);
}

.welcome-features li i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.welcome-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .welcome-image-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .welcome-text-content {
        padding-left: 0;
    }
    
    .welcome-text-content .section-title {
        text-align: center;
    }
    
    .welcome-text-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Ministries Section */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(16px, 2vw, 25px);
}

.ministry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.ministry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.ministry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    transition: all 0.4s ease;
}

.ministry-card:hover .ministry-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.ministry-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 20px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ministry-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
}

.ministry-card:hover .ministry-image img {
    transform: scale(1.1);
}

.ministry-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.ministry-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ministry-link:hover {
    color: var(--primary-color);
}

.ministry-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.ministry-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .ministries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Service CTA Section */
.service-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.service-cta-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.service-cta-title {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.service-cta-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.service-cta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    max-width: 600px;
}

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

.btn-white:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .service-cta-wrapper {
        text-align: center;
    }
    
    .service-cta-title {
        font-size: 1.6rem;
    }
    
    .service-cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .text-lg-end {
        text-align: center !important;
    }
}

/* Events Preview Section */
.events-preview-section {
    padding: 80px 0;
    background: var(--white);
}

.events-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-preview-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.event-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.event-date-badge {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.event-preview-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-preview-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.event-preview-content p i {
    color: var(--secondary-color);
    width: 16px;
}

.event-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: var(--primary-color);
}

.event-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.event-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .events-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(4, 30, 74, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Home Gallery Preview */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.home-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 30, 74, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
    font-size: 1.5rem;
}

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

@media (max-width: 992px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

/* Pastor Section */
.pastor-section {
    padding: 80px 0;
}

.pastor-image-wrapper {
    position: relative;
    padding-right: 30px;
}

.pastor-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.pastor-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(212,165,58,0.3);
}

.pastor-content {
    padding-left: 20px;
}

.pastor-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.pastor-content .section-title::after {
    left: 0;
    transform: none;
}

.pastor-message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.pastor-signature {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(4, 30, 74, 0.1);
}

.pastor-signature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pastor-signature span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

@media (max-width: 992px) {
    .pastor-image-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .pastor-content {
        padding-left: 0;
    }
    
    .pastor-content .section-title {
        text-align: center;
    }
    
    .pastor-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Final CTA Section */
.cta-final-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.05)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
}

.cta-final-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-final-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

.cta-final-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-final-buttons .btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-final-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cta-final-title {
        font-size: 2rem;
    }
    
    .cta-final-text {
        font-size: 1rem;
    }
    
    .cta-final-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-final-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Additional About Section Styles */
.about-image-wrapper {
    position: relative;
    padding-right: 30px;
}

.about-main-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 0;
    background: var(--secondary-color);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212,165,58,0.3);
}

.about-experience-badge .experience-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    line-height: 1;
}

.about-experience-badge .experience-text {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.9;
}

.about-content {
    padding-left: 20px;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content .lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-features-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.about-features-list li i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .about-image-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-content {
        padding-left: 0;
    }
}

/* Newsletter Section */
.newsletter-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(4, 30, 74, 0.25);
}

.newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">†</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group button {
    white-space: nowrap;
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 15px;
}

.newsletter-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.1)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.3;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Newsletter & CTA */
@media (max-width: 768px) {
    .newsletter-wrapper {
        padding: 40px 20px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
    
    .newsletter-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

.welcome-bridge {
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.03) 0%, rgba(212, 165, 58, 0.03) 100%);
    padding: 50px 0;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border: 1px solid rgba(212,165,58,0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.welcome-bridge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0.8;
}

.welcome-bridge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.5;
}

.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.welcome-text {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto auto;
    opacity: 0.85;
}

.welcome-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    margin: 20px auto;
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

.welcome-buttons {
    margin-top: 30px;
}

.welcome-buttons .btn {
    margin: 0 10px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.welcome-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.2);
}

/* Enhanced About Cards Grid */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.about-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(4, 30, 74, 0.06);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(4, 30, 74, 0.15);
    border-color: rgba(212,165,58,0.2);
}

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

.about-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 28px;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(4, 30, 74, 0.2);
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(4, 30, 74, 0.3);
}

.about-card:nth-child(2) .about-card-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 8px 20px rgba(212, 165, 58, 0.25);
}

.about-card:nth-child(3) .about-card-icon {
    background: linear-gradient(135deg, var(--accent-color), #6bb3c9);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.25);
}

.about-card:nth-child(4) .about-card-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.about-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Enhanced Values Section */
.values-section {
    margin-top: 60px;
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.03) 0%, rgba(212, 165, 58, 0.03) 100%);
    border-radius: 20px;
    position: relative;
}

.values-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.4s ease;
}

.value-item:hover {
    transform: translateY(-8px);
}

.value-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212,165,58,0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(212,165,58,0.2);
}

.value-item:hover .value-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212,165,58,0.3);
}

.value-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.value-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

/* Enhanced Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0;
}

.department-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(4, 30, 74, 0.07);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
    position: relative;
    overflow: hidden;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(4, 30, 74, 0.15);
    border-color: rgba(212,165,58,0.2);
}

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

.department-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 6px 16px rgba(4, 30, 74, 0.18);
}

.department-card:hover .department-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 24px rgba(4, 30, 74, 0.28);
}

.department-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(4, 30, 74, 0.15);
}

.department-content h3 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.department-content p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.department-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.department-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* ===== Church Workers / Team Directory ===== */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    margin: 10px 0 50px;
}

.worker-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 30, 74, 0.08);
    border: 1px solid rgba(4, 30, 74, 0.06);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.4s ease;
}

.worker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(4, 30, 74, 0.16);
    border-color: rgba(212, 165, 58, 0.25);
}

.worker-photo {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.worker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.worker-card:hover .worker-photo img {
    transform: scale(1.06);
}

.worker-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.worker-photo-placeholder i {
    font-size: 64px;
    color: var(--white);
    opacity: 0.6;
}

.worker-body {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.worker-name {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.worker-role {
    display: inline-block;
    align-self: center;
    background: rgba(212, 165, 58, 0.12);
    color: var(--secondary-color);
    border: 1px solid rgba(212, 165, 58, 0.3);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.worker-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.worker-contact {
    border-top: 1px solid var(--off-white);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.worker-contact a,
.worker-contact span.worker-contact-item {
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.worker-contact a:hover {
    color: var(--secondary-color);
}

.worker-contact i {
    color: var(--secondary-color);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .workers-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
        gap: 20px;
    }
    .worker-photo {
        height: 220px;
    }
}

/* ===== Vicars Timeline ===== */
/* Vicars Grid */
.vicars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vicar-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 30, 74, 0.08);
    border: 1px solid rgba(4, 30, 74, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.vicar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(4, 30, 74, 0.14);
}

.vicar-card-current {
    border: 2px solid var(--secondary-color);
}

.vicar-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    position: relative;
}

.vicar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.vicar-photo-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vicar-photo-placeholder i {
    font-size: 56px;
    color: var(--white);
    opacity: 0.6;
}

.vicar-body {
    flex: 1;
    padding: 18px 20px;
}

.vicar-period {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.vicar-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.25;
}

.vicar-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.vicar-bio {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

.vicar-bio p {
    margin-bottom: 8px;
}

.vicar-bio p:last-child {
    margin-bottom: 0;
}

.vicar-handover {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--off-white);
}

.vicar-handover img {
    max-width: 150px;
    border-radius: 10px;
    margin-bottom: 6px;
}

.vicar-handover span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .vicar-photo,
    .vicar-photo img,
    .vicar-photo-placeholder {
        height: 160px;
    }

    .vicar-name {
        font-size: 1.2rem;
    }
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(4, 30, 74, 0.08);
    border: 1px solid rgba(4, 30, 74, 0.06);
    transition: all 0.4s ease;
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(4, 30, 74, 0.14);
}

.leader-card-current {
    border: 2px solid #D4A53A;
}

/* Rev Chris's photo is landscape, so show it whole (no cropping) while
   keeping the same frame size as the other cards */
.leader-card-current .leader-photo img {
    object-fit: contain;
}

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

.leader-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #eef2f7;
    border-bottom: 1px solid rgba(4, 30, 74, 0.06);
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.leader-photo-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-photo-placeholder i {
    font-size: 56px;
    color: var(--white);
    opacity: 0.6;
}

.leader-body {
    padding: 24px 20px;
}

.leader-role {
    display: inline-block;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.leader-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.leader-title {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .leader-photo,
    .leader-photo-placeholder {
        height: 180px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-buttons .btn {
        margin: 10px 0;
        display: block;
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }
.fade-in:nth-child(5) { animation-delay: 1.0s; }
.fade-in:nth-child(6) { animation-delay: 1.2s; }
.fade-in:nth-child(7) { animation-delay: 1.4s; }
.fade-in:nth-child(8) { animation-delay: 1.6s; }

@media (max-width: 768px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .values-section {
        padding: 40px 20px;
    }
    
    .testimonial-card {
        padding: 35px 25px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}

.highlight-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhance about image section */
.about-image-content {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: clamp(20px, 4vw, 40px);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(4, 30, 74, 0.03), transparent);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
    background: #f8f9fa;
}

.about-image:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    padding: 20px;
    color: white;
    backdrop-filter: blur(3px);
}

.image-content h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.image-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 400px;
}

/* Enhance dynamic content section */
.dynamic-content-section {
    margin: 40px 0;
    padding: 0 15px;
}

.dynamic-section-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.dynamic-section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.dynamic-content-text {
    background: var(--off-white);
    padding: 22px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--secondary-color);
    margin-bottom: 22px;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1rem;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dynamic-content-text:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    background: var(--white);
}

/* Enhance fallback content */
.fallback-content {
    display: grid;
    gap: 22px;
    margin-bottom: 35px;
}

.content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.content-card h3 i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Add subtle hover lift effect */
.content-card:hover {
    transform: translateY(-5px);
}

/* Enhance testimonial section */
.testimonial-section {
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.02) 0%, rgba(212, 165, 58, 0.02) 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212,165,58,0.15);
    margin: 35px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

.testimonial-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.4;
}

.testimonial-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
    position: relative;
    padding: 0 15px;
    font-weight: 500;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.8rem;
    color: var(--secondary-color);
    opacity: 0.6;
    position: absolute;
    font-family: serif;
}

.testimonial-text::before {
    top: -8px;
    left: 8px;
}

.testimonial-text::after {
    bottom: -8px;
    right: 8px;
}

.testimonial-author {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 10px;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

/* Enhance features section */
.features-section {
    margin: 40px 0;
    padding: 0 15px;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.5;
}

.features-section h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
}

.features-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 22px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Add subtle animation to feature icons on hover */
.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for enhanced sections */
@media (max-width: 768px) {
    .dynamic-section-title {
        font-size: 1.2rem;
    }
    
    .dynamic-content-text {
        padding: 18px;
    }
    
    .content-card {
        padding: 18px;
    }
    
    .content-card h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text-content,
    .about-image-content {
        width: 100%;
    }
    
    .about-text-content {
        order: 2;
    }
    
    .about-image-content {
        order: 1;
    }
    
    .highlight-item {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .welcome-bridge {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .welcome-title {
        font-size: 1.7rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    .welcome-divider {
        width: 50px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Additional responsive fixes */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        font-size: 13px;
        padding: 12px 24px;
    }
    
    .service-time-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-time-icon i {
        font-size: 1.25rem;
    }
    
    .service-time-label {
        font-size: 1rem;
    }
    
    .service-time-value {
        font-size: 0.9rem;
    }
    
    .welcome-title {
        font-size: 1.4rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
    }
    
    .welcome-divider {
        width: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .dynamic-section-title {
        font-size: 1.1rem;
    }
    
    .features-section h3 {
        font-size: 1.4rem;
    }
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--off-white);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-primary .section-title {
    color: var(--white);
}

.bg-primary .section-subtitle {
    color: var(--white);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(212,165,58,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
    border-color: var(--secondary-light);
    box-shadow: 0 15px 40px rgba(212, 165, 58, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

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

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(4, 30, 74, 0.3);
}

/* ============================================
   Navigation
   ============================================ */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
/* Large screens (1440px+) */
@media (min-width: 1440px) {
    .nav-container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .footer-grid {
        gap: 60px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* ============================================
    Navbar - Modern Design
    ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10005;
    margin: 0;
    background: #041E4A;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(212, 165, 58, 0.15);
}



/* Navbar scrolled state */
.navbar.scrolled {
    background: #041E4A;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(212, 165, 58, 0.25);
}





.nav-container {
    max-width: min(1600px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: clamp(8px, 1.5vw, 24px);
}

@media (min-width: 1920px) {
    .nav-container {
        max-width: 1700px;
    }
}

@media (min-width: 2560px) {
    .nav-container {
        max-width: 2000px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo-image:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(4, 30, 74, 0.3);
    padding: 4px;
}

.logo-badge-inner {
    font-family: var(--font-heading);
    font-size: 0.4rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    text-align: center;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 16px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    opacity: 1;
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(212, 165, 58, 0.25);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(212,165,58,0.2);
}

.nav-link.active::after {
    width: 60%;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.nav-link i {
    font-size: 8px;
    margin-left: 5px;
    opacity: 0.8;
}

.nav-link--live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link--live .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    animation: liveDotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
}

@keyframes liveDotPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
    50% { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    opacity: 0.8;
}

/* Dropdown icon styling */
.dropdown-icon {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 14px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

/* Contact CTA button */
.nav-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212,165,58,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 165, 58, 0.4);
}

.navbar.scrolled .nav-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 165, 58, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    max-width: 90vw;
    max-height: 400px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    border: 1px solid rgba(212, 165, 58, 0.12);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
    position: relative;
    border-bottom: 1px solid rgba(212, 165, 58, 0.06);
}

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

.dropdown-menu li.dropdown-divider {
    border-bottom: 1px solid rgba(212,165,58,0.15);
    margin: 4px 0;
    padding: 0;
    height: 1px;
    background: transparent;
}

.dropdown-menu li.dropdown-divider:before {
    display: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    font-size: 14px;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    line-height: 1.5;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    border-radius: 0 4px 4px 0;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(212, 165, 58, 0.12) 0%, rgba(212,165,58,0.05) 50%, transparent 100%);
    color: var(--primary-color);
    padding-left: 28px;
    transform: translateX(3px);
}

.dropdown-menu a:hover::before {
    height: 75%;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

.dropdown-menu a:hover .dropdown-icon {
    color: var(--secondary-color);
    transform: scale(1.15) translateX(2px);
}

/* Logo Fallback */
.logo-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
}

.logo-fallback .fas {
    font-size: 18px;
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .hamburger-line {
    background-color: var(--white);
}

.navbar.scrolled .logo-text {
    color: #ffffff;
}

@media (min-width: 993px) {
    .logo-text {
        display: none !important;
    }
}

/* Tablet navbar responsiveness */
@media (max-width: 1199px) {
    .nav-container {
        padding: 0 clamp(12px, 2vw, 20px);
    }

    .nav-menu {
        gap: 2px;
    }

    .nav-link {
        font-size: 13px;
        padding: 8px 9px;
        letter-spacing: 0.1px;
    }

    .nav-logo {
        font-size: 0.85rem;
    }

    .logo-text {
        max-width: 160px;
    }
}

/* Smaller tablet - slightly reduce */
@media (max-width: 1100px) {
    .nav-link {
        font-size: 12.5px;
        padding: 8px 7px;
    }
}

/* Mobile navbar */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 60px);
        height: calc(100dvh - 60px);
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
        gap: 0;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 10004;
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 18px 20px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.92);
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link:focus {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 0;
        display: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        margin: 0;
        min-width: 100%;
        max-width: 100%;
        max-height: 300px;
        overflow-y: auto;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.88);
        padding: 14px 20px 14px 32px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        padding-left: 36px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle::after {
        float: right;
        transition: transform 0.3s ease;
        margin-top: 4px;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .nav-cta {
        margin: 16px 20px;
        text-align: center;
        border-radius: 25px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo-image {
        height: 30px;
    }

    .logo-text {
        font-size: 0.8rem;
        max-width: 120px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ============================================
   Hero & Banner Responsiveness
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }

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

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

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding-top: 60px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-services {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 40px;
    }

    .service-time-card {
        width: 100%;
        max-width: 320px;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .scroll-down {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding-top: 50px;
    }

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

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

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .service-time-card {
        padding: 20px 16px;
    }

    .service-time-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .service-time-name {
        font-size: 1rem;
    }

    .service-time-range {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero {
        min-height: 55vh;
    }

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

    .hero-tagline {
        font-size: 0.95rem;
    }
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
      position: relative;
      min-height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--primary-color);
      overflow: hidden;
      padding-top: 40px;
    }

   .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
     opacity: 0.5;
   }

   .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(to bottom, rgba(4, 30, 74, 0.85) 0%, rgba(4, 30, 74, 0.7) 100%);
   }

   .hero-content {
     position: relative;
     z-index: 2;
     text-align: center;
     max-width: 900px;
     padding: 0 20px;
     animation: fadeInUp 1s ease;
     color: var(--white);
   }

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(212,165,58,0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-tagline {
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

/* Home Logo Button on Hero - Top Left */
.home-logo-button {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.home-logo-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
    padding: 0;
}

.home-logo-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.home-btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.home-btn-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.home-btn-icon .fas {
    font-size: 24px;
    color: var(--white);
}

@media (max-width: 768px) {
    .home-logo-button {
        top: 70px;
        left: 10px;
    }
    
    .home-logo-button a {
        width: 45px;
        height: 45px;
    }
    
    .home-btn-icon .fas {
        font-size: 18px;
    }
}

.hero-buttons .btn {
    padding: 16px 36px;
    font-size: 14px;
    min-width: 180px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-services {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-time-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.service-time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-time-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(212, 165, 58, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.service-time-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(212,165,58,0.3);
    transition: all 0.4s ease;
}

.service-time-card:hover .service-time-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(212, 165, 58, 0.4);
}

.service-time-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.service-time-range {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-weight: 400;
}

.col-md-6:nth-child(1) .service-time-card {
    animation: fadeInUp 0.8s ease 1.5s forwards;
}

.col-md-6:nth-child(2) .service-time-card {
    animation: fadeInUp 0.8s ease 1.7s forwards;
}

.col-md-6:nth-child(3) .service-time-card {
    animation: fadeInUp 0.8s ease 1.9s forwards;
}

.col-md-6:nth-child(4) .service-time-card {
    animation: fadeInUp 0.8s ease 2.1s forwards;
}

.service-time-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.service-time-preview-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    text-align: center;
}

.service-time-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.service-time-preview-card .service-time-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.service-time-preview-card .service-time-icon i {
    font-size: 1.5rem;
}

.service-time-preview-card h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-time-preview-card p {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
}

.service-time-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
    opacity: 0.9;
}

.service-time-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.8s forwards, bounce 2s infinite 2.6s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-down a {
    color: var(--white);
    font-size: 24px;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
    padding: clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

/* Family Images Layout */
.about-grid-family {
    gap: 40px;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-image-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.family-img-1 {
    transform: none;
}

.family-img-2 {
    transform: none;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212,165,58,0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 16px;
}

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

/* Mission Vision Values */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mvv-card {
     background-color: var(--white);
     border-radius: 16px;
     padding: 45px 35px;
     text-align: center;
     box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     border: 1px solid rgba(212,165,58,0.1);
     position: relative;
     overflow: hidden;
   }
   
   .mvv-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
     transform: scaleX(0);
     transform-origin: left;
     transition: transform 0.4s ease;
   }
   
   .mvv-card:hover::before {
     transform: scaleX(1);
   }

.mvv-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(4, 30, 74, 0.15);
    border-color: rgba(212,165,58,0.3);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    margin: 0 auto 30px;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.25);
    transition: all 0.4s ease;
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(4, 30, 74, 0.35);
}

.mvv-card:nth-child(2) .mvv-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 8px 25px rgba(212,165,58,0.3);
}

.mvv-card:nth-child(2):hover .mvv-icon {
    box-shadow: 0 12px 35px rgba(212, 165, 58, 0.4);
}

.mvv-card:nth-child(3) .mvv-icon {
    background: linear-gradient(135deg, var(--accent-color), #6bb3c9);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.3);
}

.mvv-card:nth-child(3):hover .mvv-icon {
    box-shadow: 0 12px 35px rgba(74, 144, 164, 0.4);
}

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.mvv-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive MVV */
@media (max-width: 992px) {
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mvv-card {
        padding: 35px 30px;
    }
}

/* Events Section Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.event-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 20px 15px;
}

.event-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-content {
    flex: 1;
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-meta .fas {
    color: var(--primary-color);
}

.event-location {
    margin-left: 15px;
}

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

/* Announcements Section Styles */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 25px;
}

.announcement-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.announcement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.announcement-icon i {
    color: var(--white);
    font-size: 20px;
}

.announcement-content {
    flex: 1;
}

.announcement-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.announcement-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.announcement-date {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-date i {
    color: var(--primary-color);
}

/* About Page Tabs */
.about-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* About Section - Completely Redesigned */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(4, 30, 74, 0.15);
}

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

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(4, 30, 74, 0.25);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(4, 30, 74, 0.35);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 10px 25px rgba(212,165,58,0.3);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), #6bb3c9);
    box-shadow: 0 10px 25px rgba(74, 144, 164, 0.3);
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Mission Banner */
.mission-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.05)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.5;
}

.mission-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.mission-banner h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* About Split Section */
.about-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.2);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-card:hover img {
    transform: scale(1.03);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.badge-year {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(212, 165, 58, 0.4);
}

.about-text-card {
    padding: 20px;
}

.about-text-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive for About Section */
@media (max-width: 992px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .mission-banner {
        padding: 35px 25px;
    }
    
    .mission-banner h3 {
        font-size: 1.6rem;
    }
    
    .mission-banner p {
        font-size: 1rem;
    }
    
    .about-text-card h3 {
        font-size: 1.5rem;
    }
    
    .about-cta-buttons {
        flex-direction: column;
    }
    
    .about-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(4, 30, 74, 0.15);
    background: #fff;
    padding: clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 25px;
    color: white;
}

.image-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.image-content p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.dynamic-content-section {
    margin: 40px 0;
}

.dynamic-section-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.dynamic-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.dynamic-content-text {
    background: var(--off-white);
    padding: 25px;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-color);
}

.fallback-content {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card h3 i {
    color: var(--secondary-color);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.testimonial-section {
    background: linear-gradient(135deg, rgba(4, 30, 74, 0.05) 0%, rgba(212,165,58,0.05) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(212,165,58,0.2);
}

.testimonial-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.testimonial-text::before {
    position: absolute;
    top: -10px;
    left: 10px;
}

.testimonial-text::after {
    position: absolute;
    bottom: -10px;
    right: 10px;
}

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

.features-section {
    margin: 40px 0;
}

.features-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.75rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text-content,
    .about-image-content {
        width: 100%;
    }
    
    .about-text-content {
        order: 2;
    }
    
    .about-image-content {
        order: 1;
    }
    
    .highlight-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dynamic-section-title {
        font-size: 1.25rem;
    }
    
    .dynamic-content-text {
        padding: 20px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-card h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.tab-btn {
    padding: 15px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

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

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

/* Responsive Tabs */
@media (max-width: 768px) {
    .about-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .about-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
}

/* History Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
}

.timeline-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Departments Section
   ============================================ */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
}

.department-card {
     background-color: var(--white);
     border-radius: 14px;
     overflow: hidden;
     padding: 18px;
     box-shadow: 0 8px 24px rgba(4, 30, 74, 0.07);
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     border: 1px solid rgba(4, 30, 74, 0.06);
   }
   
   .department-card:hover {
     box-shadow: 0 18px 40px rgba(4, 30, 74, 0.13);
     border-color: var(--secondary-color);
     transform: translateY(-6px);
   }
   
   .department-card:hover .department-icon {
     transform: scale(1.05);
   }

   .department-image {
      width: 120px;
      height: 120px;
      margin: 14px auto;
    }

   .department-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      border-radius: 50%;
      box-shadow: 0 6px 16px rgba(4, 30, 74, 0.15);
    }
   
   .department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s ease;
  }
  
  .department-card:hover::before {
    opacity: 1;
  }

.department-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    font-size: 32px;
    color: var(--white);
    transition: all 0.4s ease;
}

.department-card:nth-child(2) .department-icon { background: linear-gradient(135deg, #2d5a8a, #4a90a4); }
.department-card:nth-child(3) .department-icon { background: linear-gradient(135deg, #D4A53A, #F2C86B); }
.department-card:nth-child(4) .department-icon { background: linear-gradient(135deg, #4a90a4, #6bb3c9); }
.department-card:nth-child(5) .department-icon { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.department-card:nth-child(6) .department-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.department-card:nth-child(7) .department-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.department-card:nth-child(8) .department-icon { background: linear-gradient(135deg, #ef4444, #f87171); }

.department-content {
    padding: 18px;
}

.department-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.department-content p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
}

.department-link {
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.department-link:hover {
    gap: 10px;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 40px;
   }
   
   .service-card {
     background-color: var(--white);
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow);
     color: var(--text-color) !important;
     transition: var(--transition);
     position: relative;
     border: 1px solid var(--light-gray);
   }
   
   .service-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
     border-color: var(--secondary-color);
   }
   
   .bg-primary .service-card {
     color: var(--text-color) !important;
   }
   
   .bg-primary .service-card .service-body {
     color: var(--text-color) !important;
   }
   
   .bg-primary .service-card .service-body * {
     color: var(--text-color) !important;
   }
   
   .service-header {
     background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
     padding: 35px 30px;
     text-align: center;
     color: var(--white) !important;
     position: relative;
     overflow: hidden;
   }
   
   .service-header::after {
       content: '';
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       height: 30%;
       background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
   }
   
   .service-header * {
     color: var(--white) !important;
     position: relative;
     z-index: 1;
   }
   
   .service-header h3 {
     color: var(--white);
     font-size: 1.7rem;
     margin-bottom: 12px;
     font-weight: 600;
   }
   
   .service-time {
     font-size: 1.15rem;
     color: var(--secondary-color);
     font-weight: 600;
   }
   
   .service-body {
       padding: 30px;
   }
   
   .service-body {
     padding: 30px;
     color: var(--text-color);
   }
   
   .service-body p {
     color: var(--text-color);
     line-height: 1.6;
   }
   
   .service-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 4px;
     height: 100%;
     background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
     opacity: 0;
     transition: var(--transition);
   }
   
   .service-card:hover::before {
     opacity: 1;
   }
   
   .order-of-service {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-top: 20px;
   }
   
   .order-item {
     display: flex;
     align-items: flex-start;
   }
   
   .order-number {
     background: var(--secondary-color);
     color: var(--white);
     width: 24px;
     height: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     font-size: 0.8rem;
     margin-right: 12px;
     flex-shrink: 0;
   }
   
   .order-text {
     font-size: 0.95rem;
   }

/* ============================================
   Media Section
   ============================================ */
.media-toggle {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.toggle-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.toggle-btn.active,
.toggle-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
}

.media-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.media-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 24px;
}

.media-caption {
    color: var(--white);
    font-weight: 500;
}

.video-gallery,
.image-gallery {
    display: none;
}

.video-gallery.active,
.image-gallery.active {
    display: grid;
}

/* ============================================
   Enhanced Media Gallery
   ============================================ */
.media-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.5));
    border-radius: 16px;
    border: 1px solid rgba(4, 30, 74, 0.08);
}

.media-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.media-filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 14px;
}

.media-filter-btn.active,
.media-filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(4, 30, 74, 0.2);
}

.media-search {
    position: relative;
}

.media-search-input {
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    width: 200px;
    transition: var(--transition);
}

.media-search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 58, 0.2);
}

.media-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 14px;
}

.media-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
}

.media-stat-item {
    text-align: center;
}

.media-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.media-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Masonry Layout */
.media-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.media-masonry-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.media-masonry-item:hover {
    transform: translateY(-5px);
}

.media-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: var(--transition);
}

.media-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.media-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.media-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(4, 30, 74, 0.8), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-masonry-item:hover .media-overlay {
    opacity: 1;
}

.media-overlay-content {
    text-align: center;
    color: var(--white);
}

.media-overlay-content i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.media-overlay-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.media-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(212, 165, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.media-caption {
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--white);
}

/* Lightbox Styles */
.media-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

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

.media-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

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

.media-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-lightbox-nav:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.media-lightbox-prev {
    left: -60px;
}

.media-lightbox-next {
    right: -60px;
}

.media-lightbox-body {
    max-width: 80vw;
    max-height: 80vh;
}

.media-lightbox-img,
.media-lightbox-video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.media-lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .media-masonry {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
        gap: 15px;
    }
    
    .media-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .media-search-input {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .media-lightbox-nav {
        position: fixed;
        top: auto;
        bottom: 40px;
        transform: none;
    }
    
    .media-lightbox-prev {
        left: 20px;
    }
    
    .media-lightbox-next {
        right: 20px;
    }
}

@media (max-width: 576px) {
    .media-masonry {
        grid-template-columns: 1fr;
    }
    
    .media-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .media-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .media-lightbox {
        padding: 20px;
    }
}

/* Empty State */
.media-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(233, 236, 239, 0.3));
    border-radius: 16px;
    margin-top: 20px;
}

.media-empty-state i {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.media-empty-state h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.media-empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ============================================
   Photos Gallery Page
   ============================================ */
.photos-search-bar {
    margin-bottom: 20px;
}

.photos-search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.photos-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.photos-search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 165, 58, 0.2);
}

.photos-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

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

.photos-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
}

.photos-stat-item {
    text-align: center;
}

.photos-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.photos-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Photos Grid - Compact Layout */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.photos-grid-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photos-grid-item:hover {
    transform: translateY(-3px);
}

.photo-card {
    position: relative;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: var(--transition);
}

.photo-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-img-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio for compact display */
    overflow: hidden;
}

.photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photos-grid-item:hover .photo-img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 30, 74, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photos-grid-item:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay-content {
    color: var(--white);
    font-size: 1.5rem;
}

.photo-caption {
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Photo Lightbox */
.photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

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

.photo-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

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

.photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox-nav:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.photo-lightbox-prev {
    left: -55px;
}

.photo-lightbox-next {
    right: -55px;
}

.photo-lightbox-body {
    max-width: 80vw;
    max-height: 80vh;
}

.photo-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.photo-lightbox-caption {
    margin-top: 12px;
    text-align: center;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* Photos Responsive */
@media (max-width: 992px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
        gap: 12px;
    }
    
    .photo-lightbox-nav {
        position: fixed;
        top: auto;
        bottom: 30px;
        transform: none;
    }
    
    .photo-lightbox-prev {
        left: 20px;
    }
    
    .photo-lightbox-next {
        right: 20px;
    }
}

@media (max-width: 576px) {
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-caption {
        font-size: 0.75rem;
        padding: 8px;
    }
}

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

/* Optimize thumbnail sizes */
.media-img,
.photo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Photos Empty State */
.photos-empty-state {
    text-align: center;
    padding: 50px 20px;
    grid-column: 1 / -1;
}

.photos-empty-state i {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 15px;
}

.photos-empty-state h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.photos-empty-state p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Sermons Section
   ============================================ */
.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}

.sermon-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.sermon-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

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

.sermon-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.sermon-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.sermon-type {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.sermon-content {
    padding: 25px;
}

.sermon-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.sermon-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.sermon-title a:hover {
    color: var(--secondary-color);
}

.sermon-speaker {
    font-weight: 500;
    color: var(--text-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e3a5f !important;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

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

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

.form-submit {
    width: 100%;
}

/* Form Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-form h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 16px 18px;
        font-size: 16px;
    }

    .form-group textarea {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 24px;
        border-radius: var(--border-radius-sm);
    }

    .contact-form h3 {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 6px;
    }

    .form-group textarea {
        min-height: 120px;
    }
}

/* Button Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-height: 48px;
    }

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

    .hero-buttons .btn {
        padding: 16px 32px;
        font-size: 15px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        min-height: 44px;
        border-radius: 6px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   Error Pages
   ============================================ */
.error-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.error-container {
    max-width: 800px;
    text-align: center;
    color: var(--white);
}

.error-content {
    margin-bottom: 40px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions .btn {
    min-width: 160px;
}

.error-actions .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.error-actions .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.error-actions .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.error-actions .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.error-illustration {
    font-size: 100px;
    opacity: 0.3;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Fixed / Overlay UI Components
   ============================================ */

/* Skip to content link (accessibility) */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 16px;
    z-index: 10002;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* PWA loading screen */
.pwa-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #041E4A;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.pwa-loader__logo {
    width: 80px;
    height: 80px;
    max-width: 30vw;
    max-height: 30vw;
    object-fit: contain;
    animation: pulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(212, 165, 58, 0.5));
}

.pwa-loader__text {
    color: #D4A53A;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Scroll progress bar */
.scroll-progress-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 3px;
    width: 0%;
    max-width: 100%;
    background: linear-gradient(90deg, #D4A53A, #F2C86B);
    z-index: 1001;
    transition: width 0.1s ease;
    overflow: hidden;
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A53A, #F2C86B);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#backToTop i {
    font-size: 18px;
}

#backToTop:hover {
    transform: scale(1.08);
}

@media (max-width: 480px) {
    #backToTop {
        bottom: 70px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
}

/* Announcement alert ticker */
.announcement-alert {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 10001;
    background: #004d40;
    color: #fff;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.4;
    height: 31px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.announcement-alert__track {
    display: flex;
    gap: 40px;
    padding-left: 0;
    margin: 0;
    animation: slideLeft 20s linear infinite;
    width: max-content;
    max-width: none;
    flex-shrink: 0;
}

.announcement-alert__item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.announcement-alert__view {
    color: #ffd54f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
}

.announcement-alert:hover .announcement-alert__track {
    animation-play-state: paused;
}

@keyframes slideLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .announcement-alert {
        font-size: 0.78rem;
        padding: 0 8px;
    }
    .announcement-alert__track {
        gap: 20px;
        animation-duration: 18s;
    }
    .announcement-alert__view {
        font-size: 0.7rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 70px;
}

.footer-container {
    max-width: min(1400px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

@media (min-width: 1920px) {
    .footer-container {
        max-width: 1600px;
    }
}

@media (min-width: 2560px) {
    .footer-container {
        max-width: 1800px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer helper classes (replace inline styles) */
.social-link--whatsapp {
    background: #25D366;
}

.service-times-mobile {
    color: #fff;
}

.footer-service-times {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-service-times li:last-child {
    border-bottom: none;
}

.footer-give-section {
    margin-top: 20px;
}

/* Compact mobile quick links (hidden on desktop, shown on smaller screens) */
.mobile-links {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 1024px) {
    .mobile-links {
        display: block;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: clamp(16px, 3vw, 30px);
    right: clamp(16px, 3vw, 30px);
    width: clamp(44px, 10vw, 56px);
    height: clamp(44px, 10vw, 56px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F2C86B 100%);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.back-to-top i {
    font-size: 20px;
}

/* Footer Give Button */
.btn-give-footer {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F2C86B 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.btn-give-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 58, 0.4);
}

.btn-give-footer i {
    margin-right: 8px;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(24px, 3vw, 35px);
    }

    .footer {
        padding-top: 60px;
    }

    .footer-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 50px;
    }

    .footer-grid {
         grid-template-columns: minmax(0, 1fr);
         gap: clamp(20px, 3vw, 30px);
         text-align: center;
     }

     .footer-links {
         column-count: 2;
         column-gap: 20px;
         text-align: left;
     }

     .footer-links li {
         break-inside: avoid;
     }

     .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-service-times li {
        justify-content: center;
        gap: 12px;
    }

    .footer-service-times li span:first-child {
        text-align: left;
    }

    .footer-service-times li span:last-child {
        text-align: right;
    }

    .footer-contact li {
        justify-content: center;
    }

    .btn-give-footer {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .footer {
        padding-top: 40px;
    }

    .footer-grid {
        gap: 25px;
        padding-bottom: 30px;
    }

    .footer-title {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .footer-title::after {
        width: 32px;
        height: 2px;
    }

    .footer-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-social {
        gap: 10px;
        margin-top: 16px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link i {
        font-size: 16px;
    }

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

    .footer-links a {
        font-size: 14px;
    }

    .footer-service-times li {
        padding: 8px 0;
        font-size: 13px;
    }

    .footer-contact li {
        font-size: 13px;
        gap: 10px;
    }

    .btn-give-footer {
        padding: 12px 20px;
        font-size: 13px;
    }

    .footer-bottom {
        padding: 20px 0;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .footer-grid {
        gap: 22px;
    }

    .footer-title {
        font-size: 1rem;
    }

    .footer-text {
        font-size: 12px;
    }

    .footer-service-times li,
    .footer-links li {
        margin-bottom: 8px;
    }
}

/* ============================================
   Global Grid Responsiveness
   ============================================ */
@media (max-width: 1024px) {
    .about-cards-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .about-cards-grid,
    .values-grid,
    .ministries-grid,
    .programs-grid,
    .expect-grid,
    .features-grid,
    .announcements-grid,
    .departments-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .events-preview-grid {
        grid-template-columns: 1fr;
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-cards-grid,
    .values-grid,
    .ministries-grid {
        gap: 16px;
    }

    .programs-grid,
    .expect-grid,
    .features-grid {
        gap: 16px;
    }
}

.social-media-section {
    margin-top: 30px;
}

.social-media-section h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

a.social-link {
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #e74c3c !important;
    border-radius: 50%;
    color: #ffffff !important;
    transition: var(--transition);
    text-decoration: none !important;
}

a.social-link i,
a.social-link i::before {
    color: #ffffff !important;
    font-size: 18px !important;
}

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

/* Video Embed Styles */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-service-times li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-name {
    font-weight: 500;
}

.service-time {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Announcements Section Improvements */
.announcements-section {
    position: relative;
    overflow: hidden;
}

.announcements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
}

.announcement-card {
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

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

.btn-view-all {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 165, 58, 0.5);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .announcements-section {
        padding: 50px 0;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .announcement-card {
        padding: 25px !important;
    }
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: #e74c3c;
    margin: 0 3px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quick Links: title above, two columns of links below on tablet */
    .quick-links-section {
        text-align: center;
    }

    .quick-links-section .quick-links-title {
        margin: 0 0 12px;
    }

    .quick-links-section .quick-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quick-links-section .quick-links-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
    }

    .quick-links-left,
    .quick-links-right {
        text-align: left;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .quick-links-right {
        text-align: right;
    }
}

/* ---- Mobile: title centered, left links left, right links right on same row ---- */
@media (max-width: 768px) {
    .quick-links-section {
        text-align: center;
    }

    .quick-links-section .quick-links-title {
        text-align: center;
        margin: 0 0 12px;
    }

    .quick-links-section .quick-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quick-links-section .quick-links-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .quick-links-section .quick-links-left,
    .quick-links-section .quick-links-right {
        column-count: 1;
        flex: 0 0 auto;
    }

    .quick-links-section .quick-links-left {
        text-align: left;
    }

    .quick-links-section .quick-links-right {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        min-width: 100%;
        padding: 15px;
        gap: 10px;
    }
    
    .event-day {
        font-size: 18px;
    }
    
    .event-month {
        font-size: 14px;
        margin-top: 0;
    }
    
    .announcement-card {
        flex-direction: column;
    }
    
    .announcement-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-services {
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid-family {
        grid-template-columns: 1fr;
    }
    
    .about-image-row {
        grid-template-columns: 1fr;
    }
    
    .about-image-row img {
        height: 200px;
    }
    
    .family-img-1, .family-img-2 {
        transform: none;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .media-toggle {
        flex-wrap: wrap;
    }
    
    .sermons-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .btn {
        padding: 12px 24px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    /* Navbar mobile fixes */
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    /* Footer mobile fixes */
    .footer {
        padding-top: 50px;
    }
    
    /* Back to Top Button */
    .back-to-top {
        transform: translateY(20px);
    }
    
    .back-to-top:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Extra small screens (320px) */
@media (max-width: 380px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .logo-text {
        display: none;
    }
    
    .mobile-menu-btn {
        width: 30px;
        height: 30px;
    }
    
    .hamburger-line {
        height: 2px;
    }


    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-text {
        font-size: 12px;
    }
    
    .footer-service-times li,
    .footer-links li {
        margin-bottom: 8px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.testimonial-content {
    position: relative;
    padding-left: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -5px;
}

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

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .mvv-grid,
    .departments-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .about-images,
    .about-content {
        width: 100%;
    }
    
    .about-images {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

/* Accessibility Enhancements */
.nav-link:focus,
.btn:focus,
.dropdown-toggle:focus,
.social-link:focus,
.footer-links a:focus,
.footer-contact li:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 1000;
    border-radius: var(--border-radius-sm);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Welcome Bridge Section - Clean & Professional */
.welcome-bridge {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    margin: 30px 0;
    border-top: 1px solid rgba(212,165,58,0.2);
    border-bottom: 1px solid rgba(212,165,58,0.2);
    position: relative;
    overflow: hidden;
}

.welcome-bridge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0.9;
}

.welcome-bridge::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.7;
}

.welcome-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.welcome-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    display: inline-block;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.welcome-text {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    font-weight: 400;
}

.welcome-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    margin: 18px auto;
    border-radius: 1px;
    position: relative;
}

/* Subtle animation */
.welcome-bridge {
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-bridge {
        padding: 35px 0;
        margin: 25px 0;
    }
    
    .welcome-title {
        font-size: 1.6rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
    
    .welcome-divider {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .welcome-bridge {
        padding: 30px 0;
        margin: 20px 0;
    }
    
    .welcome-title {
        font-size: 1.4rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
    }
    
    .welcome-divider {
        width: 35px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
}

/* Final responsive tweaks for About section */
@media (max-width: 768px) {
    .about-highlights {
        gap: 20px;
        margin: 30px 0;
    }
    
    .highlight-item {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .about-content-wrapper {
        gap: 30px;
    }
    
    .dynamic-section-title {
        font-size: 1.15rem;
    }
    
    .features-section h3 {
        font-size: 1.3rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .welcome-bridge {
        padding: 30px 0;
        margin: 25px 0;
    }
    
    .welcome-title {
        font-size: 1.3rem;
    }
    
    .welcome-text {
        font-size: 0.9rem;
    }
    
    .welcome-divider {
        width: 50px;
    }
    
    .about-highlights {
        flex-direction: column;
        align-items: stretch;
    }
    
    .highlight-item {
        padding: 20px;
    }
    
    .highlight-icon {
        width: 50px;
    height: 60px;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    .highlight-content h4 {
        font-size: 1.1rem;
    }
    
    .highlight-content p {
        font-size: 0.95rem;
    }
    
    .dynamic-section-title {
        font-size: 1.1rem;
    }
    
    .dynamic-content-text {
        padding: 18px;
        font-size: 0.95rem;
    }
    
    .content-card {
        padding: 18px;
    }
    
    .content-card h3 {
        font-size: 1.1rem;
    }
    
    .content-card p {
        font-size: 0.9rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .features-section h3 {
        font-size: 1.2rem;
    }
    
    .feature-item {
        padding: 18px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
}

/* ============================================
   New Home Page Styles
   ============================================ */

/* Hero Section - New Design */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.5;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 100px;
}

.hero-text-content {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background-color: rgba(212,165,58,0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 58, 0.4);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 24px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    opacity: 1;
    transform: translateY(5px);
}

/* About Section - New Design */
.about-section {
    padding: 60px 0;
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.about-content {
    padding-left: 30px;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--white);
}

.feature-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Service Times Section - New Design */
.service-times-section {
    padding: 100px 0;
    background: var(--off-white);
}

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

.service-time-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.service-time-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.service-time-card .service-time-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(4, 30, 74, 0.2);
}

.service-time-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-time-card .service-time {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-time-card .service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Ministries Section - New Design */
.ministries-section {
    padding: 60px 0;
    background: var(--white);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ministry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.ministry-card .ministry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.2);
    transition: all 0.4s ease;
}

.ministry-card:hover .ministry-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(4, 30, 74, 0.3);
}

.ministry-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.ministry-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ministry-card .btn-outline {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
}

/* Events Section - New Design */
.events-section {
    padding: 60px 0;
    background: var(--off-white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
    display: flex;
    gap: 20px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.event-date-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    flex-shrink: 0;
    min-width: 80px;
}

.event-date-badge .event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-date-badge .event-month {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.event-content .event-time,
.event-content .event-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.event-content .event-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.event-content .event-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Testimonials Section - New Design */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 20px;
    color: var(--white);
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Pastor Section - New Design */
.pastor-section {
    padding: 100px 0;
    background: var(--off-white);
}

.pastor-image-wrapper {
    position: relative;
}

.pastor-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.pastor-content {
    padding-left: 30px;
}

.pastor-content .section-subtitle {
    text-align: left;
}

.pastor-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.pastor-content .section-title::after {
    left: 0;
    transform: none;
}

.pastor-message {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pastor-signature {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.pastor-signature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.pastor-signature span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section - New Design */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.5;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 58, 0.4);
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Styles for New Home Page */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .service-times-grid,
    .events-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ministries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-content-wrapper {
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-image-wrapper {
        margin-top: 50px;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .about-section,
    .service-times-section,
    .ministries-section,
    .events-section,
    .testimonials-section,
    .pastor-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .about-content,
    .pastor-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-content .section-subtitle,
    .about-content .section-title,
    .pastor-content .section-subtitle,
    .pastor-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title::after,
    .pastor-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-buttons {
        justify-content: center;
    }
    
    .service-times-grid,
    .events-grid,
    .testimonials-grid,
    .ministries-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date-badge {
        margin: 0 auto;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
}

/* ============================================
   New Professional Landing Page Styles
   ============================================ */

/* Hero Section - New Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(4, 30, 74, 0.85) 0%, rgba(4, 30, 74, 0.7) 100%);
    z-index: 1;
}

/* Giving Accounts Grid */
.giving-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(16px, 2vw, 30px);
    margin-top: 40px;
}

.giving-account-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giving-account-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.account-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.account-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.account-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.account-purpose {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.account-body {
    padding: 30px;
}

.account-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: background 0.3s ease;
}

.payment-method:hover {
    background: #f0f2f5;
}

.payment-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.payment-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    word-break: break-word;
}

.payment-account {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Responsive adjustments for giving accounts */
@media (max-width: 768px) {
    .giving-accounts-grid {
        grid-template-columns: 1fr;
    }
    
    .account-header {
        padding: 25px 20px;
    }
    
    .account-body {
        padding: 20px;
    }
    
    .payment-method {
        padding: 15px;
    }
}

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

.hero-video {
    position: absolute;
    top: 40%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-video.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background-color: rgba(212,165,58,0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 58, 0.4);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    opacity: 1;
    transform: translateY(5px);
    background: rgba(255, 255, 255, 0.2);
}

/* About Section - New Design */
.about-section {
    padding: 60px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.church-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.church-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(4, 30, 74, 0.2);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212,165,58,0.3);
    z-index: 10;
}

.badge-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.badge-text {
    font-size: 0.65rem;
    color: var(--white);
    opacity: 0.9;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-content .lead {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-features li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-color);
}

.about-features li i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.about-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Services Section - New Design */
.services-section {
    padding: 60px 0;
    background: var(--off-white);
}

.services-section.show-on-desktop {
    display: block !important;
}

@media (max-width: 768px) {
    .services-section.show-on-desktop {
        display: none;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-time {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ministries Section - New Design */
.ministries-section {
    padding: 100px 0;
    background: var(--white);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ministry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.ministry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(4, 30, 74, 0.2);
    transition: all 0.4s ease;
}

.ministry-card:hover .ministry-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(4, 30, 74, 0.3);
}

.ministry-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.ministry-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ministry-card .btn-outline {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 6px;
}

/* Events Section - New Design */
.events-section {
    padding: 100px 0;
    background: var(--off-white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
    display: flex;
    gap: 20px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
    border-color: var(--secondary-color);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    flex-shrink: 0;
    min-width: 80px;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.event-time,
.event-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.event-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Testimonials Section - New Design */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(4, 30, 74, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 30, 74, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 20px;
    color: var(--white);
}

.author-info h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

/* Testimonials Carousel Animation */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.carousel-dot:hover {
    background: var(--primary-light);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Pastor Section - New Design */
.pastor-section {
    padding: 100px 0;
    background: var(--off-white);
}

.pastor-image-wrapper {
    position: relative;
}

.pastor-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(4, 30, 74, 0.15);
}

.pastor-content {
    padding-left: 30px;
}

.pastor-content .section-subtitle {
    text-align: left;
}

.pastor-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.pastor-content .section-title::after {
    left: 0;
    transform: none;
}

.pastor-message {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pastor-signature {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.pastor-signature h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.pastor-signature span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section - New Design */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.03)" font-size="20">✝</text></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
    opacity: 0.5;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border: none;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light), #f0c94d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 58, 0.4);
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Styles for New Landing Page */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid,
    .events-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ministries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-section,
    .services-section,
    .ministries-section,
    .events-section,
    .testimonials-section,
    .pastor-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .services-section {
        display: none !important;
    }
    
    /* Force hide service sections on mobile */
    body.mobile .services-section,
    body.tablet .services-section {
        display: none !important;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-content h3,
    .about-content .lead,
    .about-features,
    .about-buttons {
        text-align: center;
    }
    
    .about-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .events-grid,
    .testimonials-grid,
    .ministries-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin: 0 auto;
    }
    
    .pastor-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .pastor-content .section-subtitle,
    .pastor-content .section-title {
        text-align: center;
    }
    
    .pastor-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .experience-badge {
        right: 10px;
        padding: 8px 12px;
        bottom: 15px;
    }

    .experience-badge .badge-number {
        font-size: 1rem;
    }

    .experience-badge .badge-text {
        font-size: 0.55rem;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(0) translateX(20px); }
    75% { transform: translateY(20px) translateX(10px); }
}

/* ============================================================
   ADDITIONAL COMPONENT CLASSES FOR INLINE STYLE REMOVAL
   ============================================================ */

/* Hero Background & Pattern */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-logo {
    display: block;
    margin: 0 auto;
    max-width: 60px;
    height: auto;
}

.about-section-compact {
    padding-top: 30px !important;
}

.section-subtitle--gold {
    color: #D4A53A;
}

.cta-btn-gold {
    background: #D4A53A;
    color: #0B2D5C;
}

.cta-btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
}

/* Share Options - Social Colors */
.share-option.whatsapp-share {
    background: #25D366;
}

.share-option.email-share {
    background: #EA4335;
}

.share-option.instagram-share {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-option.twitter-share {
    background: #1DA1F2;
}

.share-option.facebook-share {
    background: #1877F2;
}

.share-option.copy-link {
    background: #6c757d;
}

/* Videos Section */
.home-videos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.home-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.home-video-caption {
    padding: 20px;
}

.video-caption-title {
    color: #fff;
    margin-bottom: 8px;
}

.video-caption-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Pastor Section */
.pastor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.pastor-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.pastor-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.pastor-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
}

.pastor-signature {
    color: #e94560;
    font-weight: 600;
    margin-top: 20px;
}

/* Prayer Wall */
.prayer-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.prayer-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ministry Image */
.ministry-image-sm {
    height: 220px;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 10px;
}

.ministry-image-sm img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

/* Section Helpers */
.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Video Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.home-video-caption {
    padding: 20px;
}

.video-caption-title {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.video-caption-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.section-light {
    background: #f8f9fa;
}

/* Video Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.home-video-caption {
    padding: 20px;
}

.video-caption-title {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.video-caption-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================================
    CONSOLIDATED MOBILE-FIRST RESPONSIVE SYSTEM
   ------------------------------------------------------------
   - Mobile base (<=767px) fixes + desktop-first grids already
     collapse correctly via existing max-width rules, so this
     block ENHANCES upward with min-width tiers.
   - Placed at the end for source-order priority.
   - Breakpoints: 320 (base) / 480 / 768 / 1024 / 1440
   ============================================================ */

/* ---- Mobile base (320px+) : single column, fluid type ---- */
@media (max-width: 767px) {
    /* All major grids collapse to a single column on phones */
    .about-grid,
    .departments-grid,
    .services-grid,
    .mvv-grid,
    .testimonials-grid,
    .workers-grid,
    .features-grid,
    .events-grid,
    .ministries-grid,
    .home-videos-grid,
    .prayer-wall-grid,
    .pastor-grid {
        grid-template-columns: 1fr !important;
    }

    .pastor-grid {
        gap: 30px !important;
    }

    /* Footer: 1 column on mobile (was incorrectly 4 columns) */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Auto-fit/auto-fill grids can overflow tiny viewports */
    .features-grid,
    .events-grid,
    .workers-grid {
        grid-template-columns: 1fr;
    }

    /* Fluid, comfortable typography on small screens */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.25; }
    h2 { font-size: clamp(1.5rem, 6.5vw, 2.1rem); line-height: 1.3; }
    h3 { font-size: clamp(1.25rem, 5vw, 1.7rem); }
    h4 { font-size: clamp(1.05rem, 4vw, 1.4rem); }

    /* Constrain media so it never causes horizontal scroll */
    .about-image img {
        max-height: 320px;
    }

    .worker-photo {
        height: 220px;
    }

    /* Touch-friendly targets */
    .btn,
    .nav-link,
    .dropdown-menu a {
        min-height: 44px;
    }

    .container {
        overflow-x: hidden;
    }
}

/* ---- Large phones (480px+) ---- */
@media (min-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .worker-photo {
        height: 240px;
    }

    .about-image img {
        max-height: 360px;
    }
}

/* ---- Tablets portrait (768px+) ---- */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

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

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

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

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }

    .workers-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    }

    .worker-photo {
        height: 260px;
    }

    .about-image img {
        max-height: 400px;
    }

    .nav-container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .container {
        padding: 0 24px;
    }
}

/* ---- Tablets landscape / laptops (1024px+) ---- */
@media (min-width: 1024px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mvv-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-image img {
        max-height: 450px;
    }

    .nav-container {
        max-width: 1400px;
        padding: 0 40px;
    }

    .container {
        padding: 0 30px;
    }
}

/* ---- Desktops / 4K (1440px+) ---- */
@media (min-width: 1440px) {
    .nav-container {
        max-width: 1600px;
        padding: 0 60px;
    }

    .footer-grid {
        gap: 60px;
    }

    .container {
        max-width: 1320px;
    }
}

/* ============================================
   CRITICAL MOBILE OVERRIDES
   Place at end for source-order priority
   ============================================ */
@media (max-width: 480px) {
    /* Force all auto-fit grids to single column on phones */
    .events-grid,
    .announcements-grid,
    .features-grid,
    .workers-grid,
    .sermons-grid,
    .photos-grid,
    .media-masonry,
    .home-videos-grid,
    .prayer-wall-grid,
    .giving-accounts-grid,
    .services-grid,
    .ministries-grid,
    .testimonials-grid,
    .departments-grid,
    .about-features-grid,
    .mvv-grid,
    .stats-grid,
    .home-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    /* Prevent horizontal scroll from wide grids */
    .container,
    .hero-content,
    .hero-content-wrapper,
    .newsletter-wrapper,
    .cta-wrapper,
    .welcome-content,
    .mission-banner-content,
    .pastor-grid,
    .about-grid,
    .contact-grid {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Fluid typography for very small screens */
    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
    }

    h1 { font-size: clamp(1.6rem, 8vw, 2.2rem) !important; }
    h2 { font-size: clamp(1.4rem, 7vw, 1.9rem) !important; }
    h3 { font-size: clamp(1.2rem, 5.5vw, 1.6rem) !important; }
    h4 { font-size: clamp(1.05rem, 4.5vw, 1.3rem) !important; }

    /* Constrain media heights */
    .hero-image,
    .about-main-image,
    .pastor-image,
    .leader-photo,
    .worker-photo,
    .vicar-photo {
        max-height: 300px !important;
    }

    .leader-photo-placeholder,
    .vicar-photo-placeholder {
        height: 180px !important;
    }

    /* Ensure buttons don't overflow */
    .btn,
    .btn-primary,
    .btn-outline,
    .btn-secondary,
    .btn-lg,
    .btn-sm,
    .nav-cta,
    .btn-give-footer,
    .btn-view-all,
    .newsletter-btn,
    .share-btn {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
    }

    /* Prevent fixed widths from causing overflow */
    .event-date-badge,
    .service-time-preview-card,
    .experience-badge,
    .about-experience-badge {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center !important;
    }

    .footer-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-links {
        column-count: 1 !important;
        text-align: left !important;
    }

    .footer-service-times li {
        flex-direction: column !important;
        gap: 4px !important;
        text-align: center !important;
    }

    .footer-contact li {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }

    /* Navbar adjustments */
    .nav-container {
        padding: 0 12px !important;
    }

    .logo-text {
        max-width: 140px !important;
        font-size: 0.9rem !important;
    }

    /* Hero adjustments */
    .hero-content {
        padding: 0 16px !important;
    }

    .hero-service-times {
        gap: 6px !important;
    }

    .service-time-badge {
        padding: 8px 12px !important;
    }

    /* Share modal */
    .share-modal-content {
        width: 95% !important;
        margin: 15% auto !important;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Extra small screens (320px) */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 8px !important;
    }

    .logo-image {
        height: 28px !important;
    }

    .logo-text {
        display: none !important;
    }

    .hero-content {
        padding: 0 12px !important;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }

    .btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }

    .container {
        padding: 0 12px !important;
    }
}

img:not(.logo-image), video, iframe, table, svg, embed, object {
    max-width: 100% !important;
    height: auto !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    table-layout: fixed;
}

pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

/* ============================================================
   GLOBAL RESPONSIVE ENFORCEMENT
   Applied at end to override all other rules
   ============================================================ */

/* Ensure images, videos, iframes scale correctly */
img, video, iframe, embed, object, svg, picture {
    max-width: 100%;
    height: auto;
}

/* Prevent any element from causing horizontal scroll on tiny screens */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Page hero (used in non-home pages) */
.page-hero {
    padding: clamp(80px, 14vw, 140px) 0 clamp(50px, 8vw, 80px) !important;
}

/* Navbar (high specificity overrides) */
.navbar {
    height: 60px;
}

@media (min-width: 1024px) {
    .nav-menu {
        flex-wrap: nowrap;
        overflow: visible;
    }

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

/* Universal form control min-height for touch */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="password"],
select,
textarea {
    min-height: 44px;
    max-width: 100%;
}

textarea {
    min-height: 100px;
}

/* Ensure buttons never overflow */
.btn {
    max-width: 100%;
    word-wrap: break-word;
}

/* ---- Small mobile (320px–480px) ---- */
@media (max-width: 480px) {
    .page-hero {
        padding: 90px 0 50px;
    }

    .container {
        padding: 0 14px;
    }
}

/* ---- Large mobile / small tablet (481–767px) ---- */
@media (min-width: 481px) and (max-width: 767px) {
    .page-hero {
        padding: 110px 0 60px;
    }
}

/* ---- Tablet (768–1023px) ---- */
@media (min-width: 768px) and (max-width: 1023px) {
    .page-hero {
        padding: 120px 0 70px;
    }
}

/* ---- Desktop (1024–1439px) ---- */
@media (min-width: 1024px) and (max-width: 1439px) {
    .page-hero {
        padding: 130px 0 80px;
    }
}

/* ---- Large desktop (1440–1919px) ---- */
@media (min-width: 1440px) and (max-width: 1919px) {
    .page-hero {
        padding: 140px 0 80px;
    }
}

/* ---- Full HD / 2K (1920–2559px) ---- */
@media (min-width: 1920px) {
    .page-hero {
        padding: 160px 0 90px;
    }

    /* Cap content width on huge screens */
    .section .container,
    .footer .footer-container {
        max-width: min(1600px, 90vw);
    }
}

/* ---- 4K and ultrawide (2560px+) ---- */
@media (min-width: 2560px) {
    .page-hero {
        padding: 180px 0 100px;
    }

    /* Cap content width even more on massive screens */
    .section .container,
    .footer .footer-container {
        max-width: min(1800px, 85vw);
    }
}

/* ---- Ultrawide 21:9 (3440x1440) ---- */
@media (min-aspect-ratio: 21/9) and (min-width: 1920px) {
    .page-hero {
        padding: 140px 0 80px;
    }
}

/* Navbar logo size enforcement - must come after global img rules */
a.nav-logo img.logo-image {
    max-width: 120px !important;
    height: 45px !important;
    width: auto !important;
}
