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

:root {
    --primary-color: #ee2028;
    --primary-light: #ff4d54;
    --primary-dark: #c41c23;
    --secondary-color: #DAA520;
    --secondary-light: #FFD700;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --border-color: #e0e6ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
}

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

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color) 30%, var(--secondary-color) 70%, transparent);
    opacity: 0.4;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.9;
}

.nav-logo {
    width: 75px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(139, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 8px 20px rgba(139, 0, 0, 0.35));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo .subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--primary-color) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.4);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg,
            rgba(139, 0, 0, 0.88) 0%,
            rgba(178, 34, 34, 0.85) 25%,
            rgba(220, 20, 60, 0.82) 50%,
            rgba(139, 0, 0, 0.88) 75%,
            rgba(26, 26, 26, 0.92) 100%
        ),
        linear-gradient(45deg,
            rgba(255, 215, 0, 0.15) 0%,
            transparent 60%
        ),
        url('images/church-building.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 2rem 8rem;
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 215, 0, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(220, 20, 60, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(255, 140, 0, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 12s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom right,
            rgba(139, 0, 0, 0.15) 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.3) 100%
        );
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at center, rgba(255, 215, 0, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(220, 20, 60, 0.12) 0%, transparent 55%);
    animation: heroSwirl 35s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroSwirl {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-10%, -10%) rotate(360deg);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content::before {
    content: '✦';
    position: absolute;
    top: -2rem;
    left: 10%;
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: floatSparkle 8s ease-in-out infinite;
}

.hero-content::after {
    content: '✦';
    position: absolute;
    bottom: -2rem;
    right: 10%;
    font-size: 2.5rem;
    color: rgba(255, 215, 0, 0.35);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: floatSparkle 8s ease-in-out infinite 4s;
}

@keyframes floatSparkle {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.1);
        opacity: 0.7;
    }
}

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

.hero-main {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    background: linear-gradient(135deg,
        rgba(139, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(178, 34, 34, 0.18) 70%,
        rgba(255, 215, 0, 0.12) 100%
    );
    border-radius: 35px;
    backdrop-filter: blur(15px);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 100px rgba(255, 215, 0, 0.25),
        0 0 150px rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: mainPulse 8s ease-in-out infinite;
}

@keyframes mainPulse {
    0%, 100% {
        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 100px rgba(255, 215, 0, 0.25),
            0 0 150px rgba(220, 20, 60, 0.15);
    }
    50% {
        box-shadow:
            0 30px 100px rgba(0, 0, 0, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 120px rgba(255, 215, 0, 0.35),
            0 0 170px rgba(220, 20, 60, 0.2);
    }
}

.hero-text {
    flex: 1;
    animation: fadeInLeft 1s ease-out 0.3s backwards;
}

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

.hero-text h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 40px rgba(255, 215, 0, 0.6),
        0 5px 20px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(255, 215, 0, 0.3);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    background: linear-gradient(135deg,
        #ffffff 0%,
        #ffd700 20%,
        #ffffff 40%,
        #ffe4b5 60%,
        #ffffff 80%,
        #ffd700 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow:
        0 0 25px rgba(255, 215, 0, 0.8),
        0 3px 10px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 215, 0, 0.4);
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow:
            0 0 25px rgba(255, 215, 0, 0.8),
            0 3px 10px rgba(0, 0, 0, 0.8),
            0 0 50px rgba(255, 215, 0, 0.4);
    }
    50% {
        text-shadow:
            0 0 35px rgba(255, 215, 0, 1),
            0 3px 10px rgba(0, 0, 0, 0.8),
            0 0 70px rgba(255, 215, 0, 0.6);
    }
}

.hero-location {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 1px;
}

.hero-text .tagline {
    font-size: 2.4rem;
    font-style: normal;
    margin: 3rem 0 3.5rem;
    color: #ffd700;
    font-weight: 700;
    text-shadow:
        0 0 35px rgba(255, 215, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.9),
        0 0 70px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(255, 140, 0, 0.4);
    letter-spacing: 1px;
    display: block;
    font-family: 'Noto Sans Malayalam', 'Playfair Display', serif;
    position: relative;
    padding: 0 3rem;
    animation: taglineGlow 5s ease-in-out infinite;
    line-height: 1.6;
}

@keyframes taglineGlow {
    0%, 100% {
        opacity: 0.95;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.hero-text .tagline::before,
.hero-text .tagline::after {
    content: '✦';
    position: absolute;
    color: #ffd700;
    font-size: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: sparkleRotate 3s ease-in-out infinite;
}

.hero-text .tagline::before {
    left: 0;
}

.hero-text .tagline::after {
    right: 0;
    animation-delay: 1.5s;
}

@keyframes sparkleRotate {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(180deg);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-saint {
    flex: 0 0 auto;
    animation: fadeInRight 1s ease-out 0.6s backwards;
}

.saint-image-wrapper {
    position: relative;
    text-align: center;
}

.saint-image-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(238, 32, 40, 0.2) 50%,
        transparent 80%);
    filter: blur(50px);
    z-index: -1;
    animation: saintAura 5s ease-in-out infinite;
}

@keyframes saintAura {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

.saint-image {
    max-width: 360px;
    height: auto;
    border-radius: 28px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(255, 215, 0, 0.5),
        0 0 100px rgba(238, 32, 40, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    border: 10px solid transparent;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(135deg,
            rgba(255, 215, 0, 0.8) 0%,
            rgba(238, 32, 40, 0.6) 50%,
            rgba(255, 215, 0, 0.8) 100%
        ) border-box;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: saintFloat 6s ease-in-out infinite;
}

@keyframes saintFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.saint-image:hover {
    transform: translateY(-20px) scale(1.04);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.95),
        0 0 70px rgba(255, 215, 0, 0.7),
        0 0 120px rgba(238, 32, 40, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    animation: none;
}

.saint-label {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(139, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.6);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.saint-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffd700;
    font-weight: 800;
    text-shadow:
        0 0 30px rgba(255, 215, 0, 1),
        0 3px 8px rgba(0, 0, 0, 1),
        0 0 50px rgba(255, 215, 0, 0.5);
}

.saint-name {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #ffffff !important;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 16px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    background:
        linear-gradient(135deg,
            var(--secondary-color) 0%,
            var(--secondary-light) 50%,
            var(--secondary-color) 100%
        );
    background-size: 200% 100%;
    color: var(--dark-bg);
    padding: 1.2rem 3.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow:
        0 10px 30px rgba(218, 165, 32, 0.5),
        0 0 20px rgba(218, 165, 32, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.95rem;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-position: 100% 0;
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(218, 165, 32, 0.6),
        0 0 30px rgba(218, 165, 32, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 3px solid var(--white);
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.3);
}

/* Quick Info Section */
.quick-info {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

/* Announcements Banner */
.announcements-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg,
        rgba(238, 32, 40, 0.03) 0%,
        rgba(255, 215, 0, 0.05) 50%,
        rgba(238, 32, 40, 0.03) 100%
    );
    border-top: 3px solid var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.announcement-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.announcement-icon {
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.announcement-header h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
}

.announcement-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.announcement-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.announcement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.announcement-item:hover::before {
    transform: scaleY(1);
}

.announcement-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.announcement-item.featured {
    background: linear-gradient(135deg,
        rgba(255, 215, 0, 0.08) 0%,
        var(--white) 100%
    );
    border: 2px solid var(--secondary-color);
}

.announcement-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(238, 32, 40, 0.3);
}

.announcement-item h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.announcement-date {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-date::before {
    content: '📅';
    font-size: 1.1rem;
}

.announcement-item p:last-child {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

.announcement-footer {
    text-align: center;
    margin-top: 2rem;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.announcement-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

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

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.info-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Church Image Section */
.church-image-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.church-image-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

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

.church-image-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.church-main-image {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 8px solid var(--white);
}

.church-main-image:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.image-caption {
    margin-top: 2rem;
    color: var(--text-light);
    font-style: italic;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

/* About Preview Section */
.about-preview {
    padding: 6rem 0;
    background: var(--white);
}

.content-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.text-content {
    flex: 1;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.text-content p {
    margin-bottom: 1.3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    gap: 8px;
}

.learn-more:hover {
    gap: 12px;
    color: var(--primary-light);
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

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

.patron-saint-container {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.patron-saint-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.patron-saint-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
    border: 6px solid var(--white);
}

.patron-saint-image:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

.saint-name {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.saint-subtitle {
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
}

/* Traditions Section */
.traditions {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.traditions h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.section-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 4rem;
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

.traditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tradition-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tradition-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.4s ease;
}

.tradition-card:hover::before {
    transform: translate(20%, -20%) scale(1.5);
}

.tradition-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-left-width: 8px;
}

.tradition-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.tradition-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.15) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Leadership Section */
.leadership-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.leadership-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
}

.leader-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.leader-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.leader-image-container {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    position: relative;
}

.leader-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.leader-card:hover .leader-image-container::after {
    opacity: 1;
}

.leader-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.leader-card:hover .leader-image {
    transform: scale(1.08);
}

.leader-info {
    padding: 2.5rem;
    text-align: center;
    background: var(--white);
}

.leader-info h3 {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.leader-info h4 {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin-bottom: 0.6rem;
    font-weight: 800;
}

.leader-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}

.leader-description {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.leadership-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-radius: 16px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.leadership-note:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.leadership-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.8;
}

.leadership-note a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.leadership-note a:hover {
    color: var(--primary-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(218, 165, 32, 0.2), transparent);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
}

.content-box {
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.9;
}

.content-box h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
}

.content-box h3 {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin: 2.5rem 0 1.2rem;
    font-weight: 700;
}

.content-box h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-box p {
    margin-bottom: 1.3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.content-box ul {
    margin: 1.5rem 0 1.5rem 2.5rem;
    color: var(--text-light);
}

.content-box ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.content-box .note {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 1.8rem;
    border-left: 5px solid var(--secondary-color);
    margin: 2.5rem 0;
    font-style: italic;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 2.5rem;
    margin: 2.5rem 0;
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.service-card strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Prayer Hours */
.prayer-hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.hour-card {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.hour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hour-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Sacraments Grid */
.sacraments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.sacrament-card {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.sacrament-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.sacrament-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Belief Sections */
.belief-section {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 16px;
    border-left: 6px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.belief-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 700;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 4rem;
    margin: 3rem 0;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-item {
    margin: 2.5rem 0;
    padding: 1.8rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-light);
}

.map-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.map-container h3 {
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.map-embed {
    margin: 1.5rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

/* Events Page */
.event-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 2rem;
    align-items: start;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.event-card.featured {
    border-left: 6px solid var(--secondary-color);
    background: linear-gradient(135deg, var(--light-bg), var(--white));
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.event-date .month {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.5rem 0;
    font-family: 'Playfair Display', serif;
}

.event-date .year {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    color: var(--primary-color);
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.event-time {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.event-schedule {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.event-schedule h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.event-schedule ul {
    list-style: none;
    padding: 0;
}

.event-schedule ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.event-schedule ul li:last-child {
    border-bottom: none;
}

.event-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(218, 165, 32, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 6px;
    font-style: italic;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Activity Cards */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.activity-card {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.activity-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.15) rotateZ(-5deg);
}

.activity-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.activity-card em {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(139, 0, 0, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.info-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-box p {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.info-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.info-box a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.faq-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-light);
    transform: translateX(5px);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Base Responsive Improvements */
img {
    max-width: 100%;
    height: auto;
}

.cta-button,
button,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-main {
        gap: 3rem;
        padding: 2.5rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

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

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

/* Tablet Portrait & Mobile */
@media (max-width: 768px) {
    /* Touch target improvements */
    .nav-menu a,
    .cta-button,
    .announcement-link,
    .learn-more {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .container {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        min-height: 44px;
        min-width: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

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

    .nav-menu a {
        padding: 1.2rem;
        display: block;
        font-size: 1.1rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: auto;
        background-attachment: scroll;
    }

    .hero-main {
        flex-direction: column;
        gap: 2.5rem;
        padding: 1.5rem;
        border-radius: 25px;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
        background-size: 200% 100%;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-location {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-text .tagline {
        font-size: 1.6rem;
        padding: 0 1rem;
        line-height: 1.5;
        margin: 2rem 0 2.5rem;
    }

    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1.5rem;
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .saint-image {
        max-width: 280px;
    }

    .saint-label {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .saint-title {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .saint-name {
        font-size: 1.4rem;
    }

    .content-flex {
        flex-direction: column;
        gap: 3rem;
    }

    .info-grid,
    .traditions-grid,
    .prayer-hours,
    .sacraments-grid,
    .faq-grid,
    .leaders-grid,
    .events-grid,
    .activities-grid,
    .announcement-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-card,
    .tradition-card,
    .activity-card,
    .faq-item,
    .announcement-item {
        padding: 2rem;
    }

    .announcement-header {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .announcement-header h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .announcement-icon {
        font-size: 2.5rem;
    }

    .announcement-link {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }

    section {
        padding: 3rem 0 !important;
    }

    .quick-info,
    .announcements-banner,
    .church-image-section,
    .about-preview,
    .traditions,
    .leadership-section {
        padding: 3rem 0;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }

    .event-date {
        margin: 0 auto 1.5rem;
        min-width: 90px;
        padding: 1.2rem;
    }

    .event-details h3 {
        font-size: 1.6rem;
    }

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

    .contact-item {
        padding: 1.5rem;
    }

    .map-embed iframe {
        height: 300px;
    }

    .patron-saint-image {
        max-width: 100%;
    }

    .patron-saint-container {
        padding: 2rem;
    }

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

    .leader-card {
        margin-bottom: 1rem;
    }

    .leader-info {
        padding: 2rem;
    }

    .church-main-image {
        max-height: 400px;
        border-radius: 16px;
        border: 4px solid var(--white);
    }

    .page-header {
        padding: 3rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

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

    .content-box {
        padding: 0 1rem;
    }

    .content-box h2 {
        font-size: 1.9rem;
    }

    .content-box h3 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 2rem;
        margin: 2rem 0;
    }

    .nav-logo {
        width: 55px;
    }

    .logo {
        gap: 0.9rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo .subtitle {
        font-size: 0.75rem;
    }

    .cta-section h2,
    .traditions h2,
    .church-image-section h2,
    .leadership-section h2,
    .faq-section h2 {
        font-size: 2.2rem;
    }

    .text-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .nav-logo {
        width: 45px;
    }

    .logo {
        gap: 0.7rem;
    }

    .logo h1 {
        font-size: 1rem;
        letter-spacing: -0.3px;
    }

    .logo .subtitle {
        font-size: 0.65rem;
    }

    .hero {
        padding: 2rem 0.8rem;
        min-height: auto;
    }

    .hero-main {
        padding: 1.2rem;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
    }

    .hero-location {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .hero-text .tagline {
        font-size: 1.4rem;
        padding: 0 0.5rem;
        line-height: 1.4;
        margin: 1.5rem 0 2rem;
    }

    .hero-text .tagline::before,
    .hero-text .tagline::after {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 0.8rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }

    .saint-image {
        max-width: 220px;
    }

    .saint-label {
        padding: 1.2rem;
        margin-top: 1.2rem;
    }

    .saint-title {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

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

    .container {
        padding: 0 16px;
    }

    .info-card,
    .tradition-card,
    .leader-card,
    .faq-item,
    .announcement-item {
        padding: 1.5rem;
    }

    .info-card h3,
    .tradition-card h3 {
        font-size: 1.4rem;
    }

    .church-image-section h2,
    .traditions h2,
    .leadership-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .announcement-header h2 {
        font-size: 1.6rem;
    }

    .announcement-item h3 {
        font-size: 1.4rem;
    }

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

    .content-box h2 {
        font-size: 1.7rem;
    }

    .content-box ul {
        margin-left: 1.5rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-details h3 {
        font-size: 1.5rem;
    }

    .leader-info h4 {
        font-size: 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }
}

/* Smooth scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .info-card,
    .tradition-card,
    .leader-card,
    .faq-item {
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .info-card:nth-child(1) { animation-delay: 0.1s; }
    .info-card:nth-child(2) { animation-delay: 0.2s; }
    .info-card:nth-child(3) { animation-delay: 0.3s; }

    .tradition-card:nth-child(1) { animation-delay: 0.1s; }
    .tradition-card:nth-child(2) { animation-delay: 0.2s; }
    .tradition-card:nth-child(3) { animation-delay: 0.3s; }
}
