/* Modern CSS for St Andrew Catholic Church Homepage */

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

html {
    scroll-behavior: smooth;
}

*::selection {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Professional Animation Base */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

/* Smooth transitions for all interactive elements */
button, a, .card, .btn, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity, box-shadow;
}

/* Prevent animation flicker */
.hero-slide, .slider-btn, .dot, .info-card, .btn-hero {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #D4AF37;
    --accent-color: #2C5F2D;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

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


.navbar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10000 !important;
    transition: all 0.3s ease;
    box-shadow: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.1) rotate(10deg);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(29 28 28 / 70%);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.slider-controls .slider-btn {
    pointer-events: all;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    opacity: 0.8;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
    opacity: 1;
}

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

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-logo-badge {
    margin-bottom: 30px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: #f4d03f;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.12);
    padding: 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover .info-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.info-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero.primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

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

.btn-hero.accent {
    background: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-hero.primary:hover {
    background: #f4d03f;
    border-color: #f4d03f;
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-hero.accent:hover {
    background: #f4d03f;
    border-color: #f4d03f;
}

/* About & Worship Section */
.about-worship {
    padding: 100px 0 0 0;
    background: var(--light-bg);
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

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

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.story-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission, .vision {
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mission h4, .vision h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.story-image {
    position: relative;
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.leadership-section {
    margin-bottom: 80px;
}

.leadership-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.leader-card {
    background: white;
    padding: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.leader-image {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.leader-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
   padding-top: 10px;
}

.leader-title {
    color: var(--text-light);
    font-style: italic;
    padding-bottom: 10px;
}

.mass-schedule-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.schedule-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--light-bg);
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.schedule-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.schedule-header i {
    font-size: 2rem;
    opacity: 0.9;
}

.schedule-header h4 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.schedule-content {
    padding: 25px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.schedule-item:hover .schedule-label,
.schedule-item:hover .schedule-time {
    color: var(--text-dark);
}

.schedule-item.special {
    background: var(--secondary-color);
    border-left: 4px solid var(--accent-color);
}

.schedule-item.special .schedule-label,
.schedule-item.special .schedule-time {
    color: var(--text-dark);
    font-weight: 600;
}

.schedule-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.schedule-time {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.sunday-card .schedule-header {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.weekday-card .schedule-header {
    /* background: linear-gradient(135deg, #2C5F2D, #3A7D3C); */
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

/* Homilies Section */
/* Homilies Section - Catholic Church Style */
.homilies-section {
    padding: 80px 0;
    
}

.homilies-header {
    text-align: center;
    margin-bottom: 50px;
}

.homilies-section h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.homilies-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-style: italic;
}

.homilies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.homily-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.homily-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.homily-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.homily-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.homily-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.homily-badge {
    padding: 6px 16px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homily-badge.new {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

.homily-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.homily-liturgical {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.liturgical-season,
.liturgical-week {
    padding: 4px 12px;
    background: var(--light-bg);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.liturgical-season {
    background: linear-gradient(135deg, var(--primary-color), #6b3410);
    color: white;
}

.homily-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

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

.homily-date,
.homily-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.homily-date i,
.homily-author i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.scripture-reference {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--light-bg);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: fit-content;
}

.scripture-reference i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.homily-excerpt {
    font-size: 0.96rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.homily-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-homily {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-homily:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.25);
}

.btn-homily i {
    transition: transform 0.3s ease;
}

.btn-homily:hover i {
    transform: translateX(3px);
}

.homilies-view-all {
    text-align: center;
    margin-top: 20px;
}

.homilies-btn {
    padding: 15px 35px;
    font-size: 1.05rem;
}
    font-size: 1.05rem;
}

.sacraments-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.sacrament-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.sacrament-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.sacrament-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.sacrament-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Ministries Section */
.ministries-section {
    margin-bottom: 80px;
}

.ministries-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    margin-top: 60px;
}

.ministries-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.ministry-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.ministry-card:hover {
    transform: translateY(-8px);
    border-left-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ministry-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.ministry-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.ministry-card p {
    color: var(--text-light);
}

/* Location Section */
.location-section {
    margin-bottom: 80px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.address-block {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.address {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    /* background: var(--accent-color);
    transform: translateY(-3px); */
    background: #fff;
   border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.location-image {
    position: relative;
}

.location-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Giving Section Styles */
.giving-section {
    margin-top: 40px;
}

.giving-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.giving-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.giving-text {
    padding-right: 20px;
}

.giving-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.giving-text h3{
    margin-bottom: 15px !important;
}

.giving-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.method-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #6b3410);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.method-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.method-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.method-card > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.bank-info {
    margin-top: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.bank-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.bank-info p:last-child {
    margin-bottom: 0;
}

.bank-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.giving-image {
    position: relative;
    display: flex;
    align-items: center;
}

.giving-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.giving-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: var(--border-radius);
    pointer-events: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Footer Styles */
.footer-section {
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}



.footer-logo i {
    /* font-size: 2rem;
    color: var(--secondary-color); */
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.mass-times p,
.contact-info p {
    margin-bottom: 8px;
    color: #ccc;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
    width: 15px;
}

/* Ultra-Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotateY(-15deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotateY(15deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes flipText {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    25% { transform: rotateX(90deg) rotateY(0deg); }
    50% { transform: rotateX(90deg) rotateY(180deg); }
    75% { transform: rotateX(0deg) rotateY(180deg); }
    100% { transform: rotateX(0deg) rotateY(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes morphing {
    0%, 100% { border-radius: 20px; transform: rotate(0deg); }
    25% { border-radius: 50px; transform: rotate(5deg); }
    50% { border-radius: 30px; transform: rotate(-3deg); }
    75% { border-radius: 40px; transform: rotate(2deg); }
}

/* Section Titles - No Disappearing Animations */
.section-title {
    position: relative;
    color: var(--primary-color);
}

.hero-logo {
    animation: float 3s ease-in-out infinite;
}

/* Professional Button Animations */
.btn-hero {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

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

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

.btn-hero:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Events Section */
.events-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.events-header {
    text-align: center;
    margin-bottom: 50px;
}

.events-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
}

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

.event-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.event-card.featured {
    /* grid-column: span 2;
    flex-direction: row; */
    grid-column: span 2;
    flex-direction: column;
}

@media (max-width: 768px) {
    .event-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }
}

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

.event-card.featured .event-image {
    flex: 1;
}

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

.event-card.featured .event-img {
    height: 100%;
    min-height: 400px;
}

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

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.event-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card.featured .event-content {
    flex: 0.8;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.date-box {
    background: linear-gradient(135deg, var(--primary-color), #6b3410);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.9;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.event-time i {
    color: var(--secondary-color);
}

.event-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.event-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.event-location i {
    color: var(--secondary-color);
}

.btn-event {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-event:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.events-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), #6b3410);
    border-radius: var(--border-radius);
    color: white;
}

.events-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.events-cta .btn {
    background: white;
    color: var(--primary-color);
}

.events-cta .btn:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* Gallery Section */
.gallery-section {
  
    background: var(--light-bg);
}

.gallery-title {
    margin-bottom: 20px;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-style: italic;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #ffffff;
    will-change: transform, box-shadow;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-actions {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.gallery-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
    border-radius: 15px;
    will-change: transform, filter;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

/* Professional Card Animations */
.leader-card, .schedule-card, .sacrament-card, .ministry-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.leader-card::before, .schedule-card::before, .sacrament-card::before, .ministry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transition: left 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.leader-card:hover::before, .schedule-card:hover::before, .sacrament-card:hover::before, .ministry-card:hover::before {
    left: 100%;
}

/* Professional Story Content Animation */
.story-img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
    border-radius: 20px;
    will-change: transform, filter;
}

.story-image:hover .story-img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Sections - No Disappearing Animations */

/* Form Styling - No Disappearing Animations */
.form-group input, .form-group textarea, .form-group select {
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
}

.btn-submit {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

/* Navbar - No Disappearing Animations */
.navbar {
    backdrop-filter: blur(20px);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-logo-img {
    transition: all 0.3s ease;
}

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

/* Footer - No Disappearing Animations */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
}

.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Info Cards - No Disappearing Animations */
.info-card {
    transition: all 0.3s ease;
}

.info-icon {
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

/* Mission Vision Cards - No Disappearing Animations */
.mission, .vision {
    transition: all 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
}

/* Location and Giving Sections - No Disappearing Animations */
.method-card {
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

/* Merch Section */
.merch-section {
    padding: 100px 0 20px 0;
    background: var(--white);
}

.merch-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-style: italic;
}

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

.merch-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.merch-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.merch-image {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.merch-item:hover .merch-image {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.merch-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.merch-item p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.merch-actions {
    text-align: center;
    margin-top: 40px;
}

.merch-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    /* padding: 60px 0; */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-title {
    margin-bottom: 40px;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.support-title {
    margin-bottom: 15px;
    text-align: center;
}

.support-section .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    padding: 60px 0;
    background: var(--white);
}

/* Professional hover effects for all cards */
.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.contact-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-give-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-section h3, .giving-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.giving-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.giving-card {
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.giving-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.giving-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.giving-card:hover i {
    color: var(--secondary-color);
}

.giving-card h4 {
    margin-bottom: 10px;
}

.contact-form-section {
    /* background: var(--light-bg); */
    padding: 60px;
    border-radius: var(--border-radius);
}

.contact-form-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Page Headers */
.gallery-header, .merch-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Categories */
.gallery-categories, .merch-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

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

/* Full Gallery */
.full-gallery {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 30px 20px 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Full Merch */
.full-merch {
    padding: 80px 0;
    background: var(--white);
}

.full-merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.merch-description {
    color: var(--text-light);
    font-size: 0.9rem;
    /* margin-bottom: 5px; */
}

.merch-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.merch-options {
    margin-bottom: 20px;
}

.merch-options select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.merch-options select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Order Info */
.order-info {
    background: var(--light-bg);
    padding: 60px;
    border-radius: var(--border-radius);
    text-align: center;
}

.order-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.order-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-for-orders {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-for-orders h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-for-orders p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-for-orders i {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.footer-links h4,
.footer-social h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.footer-container .content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-info {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .contact-section .location-content,
    .support-section .giving-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .giving-content {
        grid-template-columns: 2fr;
        gap: 10px;
    }

    .giving-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-container .content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .ministries-grid {
        grid-template-columns: 1fr;
    }

    .giving-methods {
        gap: 20px;
    }

    .method-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-info {
        display: none;
    }

    /* Homilies responsive */
    .homilies-grid {
        grid-template-columns: 1fr;
    }

    .homily-card {
        flex-direction: column;
        text-align: center;
    }

    .homily-icon {
        margin: 0 auto;
    }

    .homily-date {
        justify-content: center;
    }

    .homily-actions {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .gallery-img {
        height: 200px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .gallery-categories, .merch-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .order-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .order-info {
        padding: 40px 20px;
    }
    
    .full-merch-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-header, .merch-header {
        padding: 100px 0 40px;
    }
}

@media (max-width: 320px) {
    .page-title {
        font-size: 2rem;
    }
    
    .full-gallery-grid, .full-merch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .contact-form-section {
        padding: 40px 20px;
    }
}

.cover-image{
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    width: 100%; height: 100%; 
    object-fit: cover;
}

.merch-image-wrapper{
    margin-bottom: 10px !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.merch-img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.merch-image-wrapper:hover .merch-img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.merch-image-wrapper::after {
    content: 'View Details';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.merch-image-wrapper:hover::after {
    opacity: 1;
}

.ministry-text {
    margin-bottom: 8px; 
    color:#d1b033 !important; 
    font-size:14px;
}

/* About Page Styles */
.page-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 28, 28, 0.75);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.page-header-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header-subtitle {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.95;
}

/* Page Header Responsive Styles */
@media (max-width: 992px) {
    .page-header {
        height: 250px;
    }

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

    .page-header-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }

    .page-header-title {
        font-size: 2rem;
    }

    .page-header-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 160px;
    }

    .page-header-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .page-header-subtitle {
        font-size: 0.9rem;
    }
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.95;
}

.about-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block-wrapped {
    margin-bottom: 80px;
}

.content-block-wrapped h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.content-image-float {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.content-image-float img {
    width: 100%;
    height: auto;
    display: block;
}

.content-text-wrapped p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.content-text-wrapped ul {
    margin: 20px 0;
    padding-left: 40px;
}

.content-text-wrapped ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.content-text h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mission-vision-section {
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.mission-card, .vision-card {
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
    border-left: 5px solid #8B4513;
}

.mission-icon, .vision-icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.mission-card h3, .vision-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.values-section {
    margin-bottom: 80px;
}

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

.value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
}

.value-icon {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 15px;
}

.value-card h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.patron-saint-section {
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.patron-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.patron-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.patron-img {
    width: 100%;
    height: auto;
}

.patron-text h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
}

.patron-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.feast-day {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
    border-left: 4px solid #8B4513;
    border-radius: 8px;
    margin-top: 30px;
}

.feast-day i {
    color: #8B4513;
    font-size: 1.3rem;
}

.statistics-section {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #8B4513 0%, #a0522d 100%);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-section {
    background: linear-gradient(135deg, #8B4513 0%, #a0522d 100%);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

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

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: white;
    color: #8B4513;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }

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

    .content-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-image-float {
        float: none;
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .patron-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* =============================================
   Homily Detail Page Styles
   ============================================= */

.homily-detail-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homily-header-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homily-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(139, 69, 19, 0.75), rgba(79, 39, 9, 0.9));
    z-index: 1;
}

.homily-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.homily-liturgical-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.liturgical-season-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.liturgical-week-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.homily-detail-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.homily-meta-info {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 1.1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    font-size: 1rem;
}

/* Homily Content Section */
.homily-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.homily-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.homily-article {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.homily-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.homily-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #495057;
    font-style: italic;
    font-weight: 500;
}

.homily-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
}

.homily-body p {
    margin-bottom: 20px;
}

.homily-body h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #8B4513;
}

.homily-body h3 {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #6b3410;
}

.homily-body blockquote {
    border-left: 4px solid #8B4513;
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: #6c757d;
    background: #f8f9fa;
    padding: 20px 20px 20px 25px;
    border-radius: 4px;
}

.homily-body ul, .homily-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.homily-body li {
    margin-bottom: 10px;
}

/* Homily Footer Section */
.homily-footer-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.homily-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.homily-tags i {
    color: #8B4513;
}

.homily-tags span {
    font-weight: 600;
    color: #495057;
}

.tag {
    background: #f8f9fa;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.tag:hover {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.homily-share h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #6c757d;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar Styles */
.homily-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #8B4513;
}

.recent-homilies {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-homily-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.recent-homily-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.recent-homily-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-homily-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-homily-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #333;
}

.recent-date {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Scripture Widget */
.scripture-widget {
    text-align: center;
}

.scripture-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B4513, #6b3410);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.scripture-icon i {
    font-size: 2rem;
    color: white;
}

.scripture-reference {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Mass Schedule Widget */
.mass-schedule-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.schedule-item-widget i {
    font-size: 1.5rem;
    color: #8B4513;
}

.schedule-item-widget strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.schedule-item-widget p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Related Homilies Section */
.related-homilies-section {
    margin-top: 60px;
}

.related-homilies-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

/* Responsive Design for Homily Detail */
@media (max-width: 992px) {
    .homily-detail-header {
        height: 300px;
    }

    .homily-detail-title {
        font-size: 2.2rem;
    }

    .homily-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .homily-article {
        padding: 30px 25px;
    }

    .homily-meta-info {
        flex-wrap: wrap;
        gap: 15px;
    }

    .homily-content-section {
        padding: 50px 0;
    }

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

@media (max-width: 768px) {
    .homily-detail-header {
        height: 250px;
    }

    .homily-detail-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .homily-liturgical-info {
        flex-wrap: wrap;
        gap: 10px;
    }

    .liturgical-season-badge,
    .liturgical-week-badge {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .homily-meta-info {
        flex-direction: column;
        gap: 10px;
        font-size: 1rem;
    }

    .homily-article {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .homily-body {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .homily-body h2 {
        font-size: 1.6rem;
        margin-top: 30px;
    }

    .homily-body h3 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .homily-lead {
        font-size: 1.1rem;
    }

    .sidebar-widget {
        margin-bottom: 25px;
    }

    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .homily-detail-header {
        height: 200px;
    }

    .homily-header-content {
        padding: 0 15px;
    }

    .homily-detail-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .homily-liturgical-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .liturgical-season-badge,
    .liturgical-week-badge {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .homily-meta-info {
        font-size: 0.9rem;
    }

    .meta-item i {
        font-size: 0.85rem;
    }

    .homily-article {
        padding: 20px 15px;
    }

    .homily-intro {
        padding-bottom: 20px;
        margin-bottom: 25px;
    }

    .homily-lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .homily-body {
        font-size: 1rem;
        line-height: 1.6;
    }

    .homily-body p {
        margin-bottom: 15px;
    }

    .homily-body h2 {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .homily-body h3 {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .homily-body blockquote {
        padding-left: 15px;
        margin: 20px 0;
    }

    .sidebar-widget {
        padding: 20px 15px;
    }

    .widget-title {
        font-size: 1.2rem;
    }

    .recent-homily-item {
        padding: 12px;
    }

    .recent-homily-image {
        width: 70px;
        height: 70px;
    }

    .recent-homily-info h4 {
        font-size: 0.9rem;
    }

    .recent-date {
        font-size: 0.8rem;
    }

    .scripture-icon {
        width: 60px;
        height: 60px;
    }

    .scripture-icon i {
        font-size: 1.6rem;
    }

    .scripture-reference {
        font-size: 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .homily-detail-header {
        height: 180px;
    }

    .homily-detail-title {
        font-size: 1.3rem;
    }

    .homily-meta-info {
        font-size: 0.85rem;
    }

    .homily-article {
        padding: 15px 12px;
    }

    .homily-body {
        font-size: 0.95rem;
    }
}

/* =============================================
   Homilies Archive Page Styles
   ============================================= */

.homilies-archive-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.no-homilies {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-homilies i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-homilies p {
    font-size: 1.2rem;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-wrapper nav {
    display: flex;
    gap: 8px;
}

.pagination-wrapper a,
.pagination-wrapper span {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-wrapper a:hover {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.pagination-wrapper .active span {
    background: #8B4513;
    color: white;
    border-color: #8B4513;
}

.pagination-wrapper .disabled span {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

/* =============================================
   Merch Store Page Styles
   ============================================= */

.merch-store-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.no-merch {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-merch i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-merch p {
    font-size: 1.2rem;
}

.merch-details {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #495057;
}

.detail-badge i {
    font-size: 0.75rem;
}

/* Merch Modal Styles */
.merch-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

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

.merch-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.merch-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
}

.merch-modal-close:hover,
.merch-modal-close:focus {
    color: #000;
}

.merch-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.merch-modal-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.merch-modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.merch-modal-title {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.merch-modal-price {
    font-size: 1.8rem;
    color: #8B4513;
    font-weight: 700;
}

.merch-modal-specs h4,
.merch-modal-description h4,
.merch-modal-features h4,
.merch-modal-contact h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.merch-modal-specs ul,
.merch-modal-features ul {
    list-style: none;
    padding: 0;
}

.merch-modal-specs ul li,
.merch-modal-features ul li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.merch-modal-specs ul li i,
.merch-modal-features ul li i {
    color: #8B4513;
    width: 20px;
}

.merch-modal-description p {
    color: #555;
    line-height: 1.8;
}

.merch-modal-contact {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: auto;
}

.merch-modal-contact p {
    color: #666;
    margin: 10px 0;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.contact-buttons .btn {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .merch-modal-body {
        grid-template-columns: 1fr;
    }

    .merch-modal-image img {
        height: 300px;
    }

    .merch-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .contact-buttons {
        flex-direction: column;
    }
}

/* ========================================
   MERCH DETAIL PAGE STYLES
   ======================================== */

/* Page Header */
.merch-detail-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.merch-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/texture-pattern.png') repeat;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: white;
    font-weight: 500;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #10b981;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Product Detail Section */
.merch-detail-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Product Image */
.product-image-section {
    position: relative;
}

.main-product-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Product Info */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.product-price {
    padding: 15px 0;
    border-top: 2px solid var(--bg-light);
    border-bottom: 2px solid var(--bg-light);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product Specs */
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.95rem;
}

.spec-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Product Description & Features */
.product-description h3,
.product-features h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-description p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.features-list i {
    color: var(--success);
    font-size: 1.1rem;
}

/* Order Buttons */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-order.whatsapp {
    background: #25D366;
    color: white;
}

.btn-order.whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-order.phone {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-order.phone:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-order i {
    font-size: 1.2rem;
}

/* Product Note */
.product-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    margin-top: 10px;
}

.product-note i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 2px;
}

.product-note p {
    margin: 0;
    color: #1e40af;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Related Products Section */
.related-products-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e5e7eb;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.related-product-image .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

.related-product-info {
    padding: 20px;
}

.related-product-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.related-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }

    .main-product-image {
        height: 400px;
    }

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

    .product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .merch-detail-header {
        height: 300px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .main-product-image {
        height: 350px;
    }

    .merch-detail-section {
        padding: 50px 0;
    }

    .product-detail-wrapper {
        padding: 20px;
        gap: 30px;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .merch-detail-header {
        height: 250px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   APPOINTMENT BOOKING SECTION STYLES
   ======================================== */

.appointment-booking-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.appointment-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* Appointment Info Sidebar */
.appointment-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.appointment-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.appointment-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.appointment-services {
    list-style: none;
    margin: 20px 0;
}

.appointment-services li {
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.appointment-services li:last-child {
    border-bottom: none;
}

.appointment-services li i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 20px;
}

.office-hours-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b3410 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.office-hours-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.office-hours-info h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.office-hours-info p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
}

.contact-info-box {
    margin-top: 25px;
}

.contact-info-box h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-info-box h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.contact-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

.contact-link i {
    color: var(--secondary-color);
    margin-right: 8px;
    width: 18px;
}

/* Appointment Form Container */
.appointment-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.appointment-form-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.appointment-form-container > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.alert i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Styles */
.appointment-form .form-group {
    margin-bottom: 25px;
}

.appointment-form label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.appointment-form label .required {
    color: #dc3545;
    margin-left: 3px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.appointment-form textarea {
    resize: vertical;
    min-height: 100px;
}

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

.appointment-form .btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6b3410 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.appointment-form .btn-submit i {
    margin-right: 10px;
}

.appointment-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

.appointment-form .btn-submit:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .appointment-info {
        position: static;
    }

    .appointment-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .appointment-booking-section {
        padding: 40px 0;
    }

    .appointment-form-container {
        padding: 30px 20px;
    }

    .appointment-form-container h2 {
        font-size: 1.6rem;
    }

    .appointment-info {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .appointment-wrapper {
        padding: 0 15px;
    }

    .appointment-form-container {
        padding: 25px 15px;
    }

    .appointment-form-container h2 {
        font-size: 1.4rem;
    }

    .appointment-form .btn-submit {
        width: 100%;
        padding: 14px 30px;
    }
}
