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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    height: 70px;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

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


/*dropdown */

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-dropdown-toggle:hover {
    color: #2c5aa0;
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2c5aa0;
    transition: width 0.3s ease;
}

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

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

.dropdown-arrow.rotate {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
}

.nav-dropdown-menu.show {
    display: block;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
}

.nav-dropdown-item i {
    color: #2c5aa0;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 90%;
    }

    .nav-dropdown-toggle {
        justify-content: center;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-dropdown-toggle:hover {
        background: rgba(44, 90, 160, 0.1);
        color: #2c5aa0;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0 2rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown-menu.show {
        max-height: 500px;
    }

    .nav-dropdown-item {
        justify-content: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.1rem;
    }

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

/* DropDown End */


.giving-btn {
    background: #2c5aa0;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.giving-btn:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.giving-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    position: relative;
    background: none;
    border: none;
    outline: none;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 
Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 90, 160, 0.4), rgba(30, 63, 115, 0.5)), url('../image/IMG_20250711_163134_716.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 0 40px;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
}

.hero-text-content {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 3rem;
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    flex: 1;
    text-align: center;
}

.pastor-message {
    font-size: 1.1rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    flex: 1;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #2c5aa0;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

/* Pastor and Wife Overlay Container */
.pastor-overlay-container {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 35%;
    height: 70%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

.pastor-overlay-image {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    animation: fadeInRight 1.5s ease 0.8s both;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pastor-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: normal;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    transition: all 0.8s ease;
    border-radius: 20px;
}

/* Hover effect for the overlay */
.pastor-overlay-container:hover .pastor-overlay-img {
    filter: contrast(1.15) brightness(1.08) saturate(1.15);
    transform: scale(1.02);
}

/* Responsive Pastor Overlay Sizes */
@media (max-width: 1200px) {
    .pastor-overlay-container {
        width: 30%;
        height: 60%;
        top: 20%;
        right: 8%;
    }
}

@media (max-width: 992px) {
    .pastor-overlay-container {
        width: 28%;
        height: 55%;
        top: 22%;
        right: 10%;
    }
}

@media (max-width: 768px) {
    .pastor-overlay-container {
        display: none !important;
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Page Header for other pages */
.page-header {
    background: linear-gradient(rgba(44, 90, 160, 0.4), rgba(30, 63, 115, 0.5)), url('../image/IMG_20250711_163149_460.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0 4rem;
    padding-top: calc(70px + 4rem);
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 
Service Times */
.service-times {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8)), url('../image/IMG_20250711_163228_803.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service-times h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

/* Mission & Vision */
.mission-vision {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163234_551.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mv-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.mv-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.mv-card p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* Featured Section */
.featured {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163246_056.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.featured h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.featured-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/*
 Latest News Section */
.latest-news {
    padding: 5rem 0;
    background: white;
}

.latest-news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

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

.view-all-btn {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #1e3f73;
}

.news-scroll-container {
    position: relative;
    overflow: hidden;
}

.news-scroll-content {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.news-scroll-content::-webkit-scrollbar {
    height: 8px;
}

.news-scroll-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-scroll-content::-webkit-scrollbar-thumb {
    background: #2c5aa0;
    border-radius: 10px;
}

.news-item {
    min-width: 350px;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-item-image {
    height: 150px;
    background: #2c5aa0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    color: white;
    font-size: 2rem;
}

.news-item-content {
    padding: 1.5rem;
}

.news-item-category {
    background: #2c5aa0;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-item h3 {
    margin: 1rem 0 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.news-item-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: #1e3f73;
    transform: scale(1.1);
}

/* Location */
.location {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.8)), url('../image/IMG_20250711_163259_399.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.location-info {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.location-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.location-info i {
    color: #2c5aa0;
    margin-right: 0.5rem;
}

.map-container {
    height: 300px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(240, 240, 240, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    backdrop-filter: blur(10px);
}

/* Foot
er */
.footer {
    background: linear-gradient(rgba(30, 63, 115, 0.8), rgba(30, 63, 115, 0.85)), url('../image/IMG_20250711_163134_716.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 90, 160, 0.5);
    color: #ccc;
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Individual social media colors on hover */
.social-links a[title="Facebook"]:hover {
    background: #1877f2;
}

.social-links a[title="Twitter"]:hover {
    background: #1da1f2;
}

.social-links a[title="WhatsApp"]:hover {
    background: #25d366;
}

.social-links a[title="YouTube"]:hover {
    background: #ff0000;
}

.social-links a[title="Email"]:hover {
    background: #666;
}

/* Additional Page Styles */
.church-history {
    padding: 5rem 0;
    background: white;
}

.church-history h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.leadership {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163228_803.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.leadership h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.leadership-section {
    margin-bottom: 3rem;
}

.leadership-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 0.5rem;
}

.pastor-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.pastor-image {
    flex-shrink: 0;
}

.pastor-photo {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pastor-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pastor-info {
    flex: 1;
}

/* Responsive Pastor Card */
@media (max-width: 768px) {
    .pastor-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pastor-photo {
        width: 180px;
        height: 220px;
    }
}

.pastor-info h4 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.pastor-title {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
}

.pastor-tenure {
    font-style: italic;
    color: #888;
    margin-bottom: 1rem;
}

.beliefs {
    padding: 5rem 0;
    background: white;
}

.beliefs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.belief-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.belief-card i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.belief-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.belief-card p {
    color: #666;
    line-height: 1.6;
}

/* Contac
t Page Styles */
.contact-info {
    padding: 5rem 0;
    background: white;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-card i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.service-schedule {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163234_551.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service-schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.schedule-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.schedule-card .time {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.schedule-card p {
    color: #666;
    line-height: 1.6;
}

/* Ministries Page Styles */
.ministries-overview {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.ministries-overview h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.overview-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.ministries-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163246_056.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.ministry-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ministry-card:hover {
    transform: translateY(-10px);
}

.ministry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.ministry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.ministry-card>p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ministry-details {
    background: rgba(44, 90, 160, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: left;
}

.ministry-details p {
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
}

.ministry-details p:last-child {
    margin-bottom: 0;
}

.ministry-details strong {
    color: #2c5aa0;
    font-weight: 600;
}

.ministry-link {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.ministry-link:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Ministry Opportunities Section */
.ministry-opportunities {
    padding: 5rem 0;
    background: white;
}

.ministry-opportunities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.opportunity-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.opportunity-card i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.opportunity-card ul {
    list-style: none;
    text-align: left;
}

.opportunity-card ul li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.opportunity-card ul li:last-child {
    border-bottom: none;
}

.opportunity-card ul li::before {
    content: '•';
    color: #2c5aa0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Ministry Contact Section */
.ministry-contact {
    padding: 5rem 0;
    background: linear-gradient(rgba(44, 90, 160, 0.4), rgba(30, 63, 115, 0.5)), url('../image/IMG_20250711_163134_716.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.contact-card p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-buttons .btn-primary {
    background: #2c5aa0;
    color: white;
    border: 2px solid #2c5aa0;
}

.contact-buttons .btn-primary:hover {
    background: #1e3f73;
    border-color: #1e3f73;
    transform: translateY(-2px);
}

.contact-buttons .btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.contact-buttons .btn-secondary:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Giving Page Styles */
.why-give {
    padding: 5rem 0;
    background: white;
}

.why-give h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.reason-card {
    text-align: center;
    padding: 2rem;
}

.reason-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
}

.giving-options {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163259_399.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.giving-options h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.giving-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.giving-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.giving-card.primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
}

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

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

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

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

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        min-height: calc(100vh - 70px);
        max-height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        gap: 1rem;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 90%;
        text-align: center;
        font-size: 1.2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

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

    .nav-link:hover {
        background: rgba(44, 90, 160, 0.1);
        border-color: rgba(44, 90, 160, 0.3);
        transform: translateY(-2px);
    }

    .giving-btn {
        margin: 1rem 0;
        display: inline-block;
        width: auto;
        border: none;
        background: #2c5aa0 !important;
        color: white !important;
        border: 2px solid #2c5aa0 !important;
        border-radius: 25px;
        padding: 0.8rem 1.5rem;
    }

    .giving-btn:hover {
        background: #1e3f73 !important;
        border-color: #1e3f73 !important;
        transform: translateY(-2px) scale(1.05);
    }

    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger:focus {
        outline: 2px solid #2c5aa0;
        outline-offset: 2px;
    }

    .hamburger:hover {
        background: rgba(44, 90, 160, 0.1);
        border-radius: 4px;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: #2c5aa0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: #2c5aa0;
    }

    .nav-menu.active .nav-link {
        animation: slideInFromRight 0.3s ease-out forwards;
        opacity: 0;
    }

    .nav-menu.active .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-menu.active .nav-link:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-menu.active .nav-link:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav-menu.active .nav-link:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav-menu.active .nav-link:nth-child(7) {
        animation-delay: 0.4s;
    }

    .nav-menu.active .nav-link:nth-child(8) {
        animation-delay: 0.45s;
    }

    .nav-menu.active .nav-link:nth-child(9) {
        animation-delay: 0.5s;
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Navigation for smaller screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo h2 {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-menu {
        padding-top: 1rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .hamburger {
        padding: 8px;
    }

    .bar {
        width: 22px;
        height: 2px;
    }
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {

    .nav-link,
    .btn,
    .hamburger,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .service-card,
    .mv-card,
    .featured-card,
    .event-card,
    .ministry-card,
    .sermon-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 1rem;
        border-radius: 8px;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        height: calc(100vh - 60px);
        padding-top: 1rem;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* High DPI mobile screens */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .nav-logo img {
        image-rendering: -webkit-optimize-contrast;
    }

    .hamburger .bar {
        height: 3px;
    }
}

/* Responsive Design Continued */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .page-header {
        padding: 6rem 0 3rem;
        padding-top: calc(70px + 3rem);
    }

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

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

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

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

    .news-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .news-item {
        min-width: 300px;
    }

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

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

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

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

    .giving-methods {
        grid-template-columns: 1fr;
    }

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

    .contact-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Social Links Mobile Responsive */
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Ministry Cards Mobile Optimization */
    .ministry-card {
        padding: 2rem 1.5rem;
    }

    .ministry-details {
        padding: 1rem;
        margin: 1rem 0;
    }

    .opportunity-card {
        padding: 2rem 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }
}

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

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

    .pastor-message {
        font-size: 1rem;
    }

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

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

    .news-item {
        min-width: 280px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Additional Interactive Elements */
.interactive-element {
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Ev
ents Page Styles */
.upcoming-events {
    padding: 5rem 0;
    background: white;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.event-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.event-card.featured {
    border: 2px solid #2c5aa0;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
}

.event-date {
    background: #2c5aa0;
    color: white;
    padding: 1rem;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .year {
    font-size: 0.8rem;
    opacity: 0.9;
}

.event-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.event-time,
.event-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-time i,
.event-location i {
    color: #2c5aa0;
    margin-right: 0.5rem;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #2c5aa0;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.regular-services {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163228_803.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.regular-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.service-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.service-time {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

.event-gallery {
    padding: 5rem 0;
    background: white;
}

.event-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.gallery-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    font-size: 0.9rem;
    font-weight: 500;
}

.event-registration {
    padding: 3rem 0;
    background: #2c5aa0;
    color: white;
}

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

.registration-card h2 {
    margin-bottom: 1rem;
}

.registration-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.registration-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sermons Page Styles */
.featured-sermon {
    padding: 5rem 0;
    background: white;
}

.sermon-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sermon-series {
    background: #2c5aa0;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.sermon-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.sermon-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sermon-details span {
    color: #666;
    font-size: 0.9rem;
}

.sermon-details i {
    color: #2c5aa0;
    margin-right: 0.5rem;
}

.sermon-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.sermon-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sermon-player {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.player-placeholder {
    background: #2c5aa0;
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
}

.player-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.player-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.recent-sermons {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163246_056.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.recent-sermons h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.sermon-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 1rem;
}

.sermon-date {
    background: #2c5aa0;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    height: fit-content;
}

.sermon-date .month {
    font-size: 0.8rem;
    font-weight: 600;
}

.sermon-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.sermon-content {
    flex-grow: 1;
}

.sermon-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.preacher {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.scripture {
    color: #666;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.sermon-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sermon-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.duration {
    color: #666;
}

.series {
    background: #e3f2fd;
    color: #2c5aa0;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.sermon-buttons {
    display: flex;
    gap: 0.5rem;
}

.play-btn,
.download-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-btn {
    background: #2c5aa0;
    color: white;
}

.play-btn:hover {
    background: #1e3f73;
    transform: scale(1.1);
}

.download-btn {
    background: #f8f9fa;
    color: #666;
}

.download-btn:hover {
    background: #e9ecef;
    color: #333;
}

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

.sermon-series {
    padding: 5rem 0;
    background: white;
}

.sermon-series h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.series-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.series-card.current {
    border: 2px solid #2c5aa0;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
}

.series-image {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.series-image i {
    font-size: 2rem;
    color: white;
}

.series-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.series-status {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.series-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.series-link {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.series-link:hover {
    text-decoration: underline;
}

.live-streaming {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163234_551.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.streaming-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.streaming-info h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.streaming-info p {
    color: #666;
    margin-bottom: 2rem;
}

.service-times {
    margin-bottom: 2rem;
}

.service-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.service-time i {
    color: #2c5aa0;
}

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

.streaming-placeholder {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.streaming-placeholder i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.streaming-placeholder p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.streaming-placeholder span {
    color: #666;
}

.sermon-resources {
    padding: 5rem 0;
    background: white;
}

.sermon-resources h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.resource-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.resource-card i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form-section {
    padding: 5rem 0;
    background: white;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

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

.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.map-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163259_399.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.map-container-large {
    margin-bottom: 3rem;
}

.map-placeholder-large {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-placeholder-large i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.map-placeholder-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.directions {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.directions h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.directions p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.transport-options {
    display: grid;
    gap: 1rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 8px;
}

.transport-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    min-width: 30px;
}

.emergency-contact {
    padding: 3rem 0;
    background: #2c5aa0;
    color: white;
}

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

.emergency-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.emergency-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.emergency-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.emergency-number {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin: 1rem 0;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.emergency-number:hover {
    background: white;
    color: #2c5aa0;
}

.emergency-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Milestones Timeline */
.milestones {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163228_803.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.milestones h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.milestone-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.milestone-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #2c5aa0;
    transform: translateX(-50%);
}

.milestone-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.milestone-item:nth-child(odd) {
    flex-direction: row;
}

.milestone-item:nth-child(even) {
    flex-direction: row-reverse;
}

.milestone-date {
    background: #2c5aa0;
    color: white;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.milestone-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.milestone-content h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.milestone-content p {
    color: #666;
    line-height: 1.6;
}

/* Interactive Map Styles */
.interactive-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.map-overlay h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .sermon-hero {
        grid-template-columns: 1fr;
    }

    .streaming-card {
        grid-template-columns: 1fr;
    }

    .milestone-timeline::before {
        left: 30px;
    }

    .milestone-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .milestone-item:nth-child(even) {
        flex-direction: row !important;
    }

    .milestone-date {
        position: absolute;
        left: 0;
        min-width: 60px;
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .milestone-content {
        margin: 0;
    }

    .sermon-details {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/*
 Enhanced Giving Types Section */
.giving-types {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163234_551.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.giving-types h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.type-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.type-card h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    position: relative;
}

.type-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
    border-radius: 2px;
}

.type-card>p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.scripture {
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
    position: relative;
    margin-top: 1.5rem;
}

.scripture i {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.scripture p {
    font-style: italic;
    color: #333;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Enhanced Ministry Opportunities Section */
.ministry-opportunities {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163246_056.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ministry-opportunities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.opportunity-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.opportunity-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.opportunity-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(44, 90, 160, 0.2);
}

.opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
}

.opportunity-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #2c5aa0;
    border-radius: 1px;
}

.opportunity-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.opportunity-card li {
    padding: 0.8rem 0;
    color: #555;
    border-bottom: 1px solid rgba(44, 90, 160, 0.1);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.opportunity-card li:hover {
    background: rgba(44, 90, 160, 0.05);
    padding-left: 2.5rem;
    color: #2c5aa0;
}

.opportunity-card li:last-child {
    border-bottom: none;
}

.opportunity-card li::before {
    content: '▶';
    color: #2c5aa0;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.8rem;
    transition: all 0.3s ease;
}

.opportunity-card li:hover::before {
    transform: translateX(5px);
}

/* Enhanced Leadership Section */
.leadership {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163228_803.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.leadership h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.leadership-section {
    margin-bottom: 4rem;
}

.leadership-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.leadership-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
    border-radius: 2px;
}

.pastor-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.pastor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.pastor-info h4 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.pastor-title {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pastor-tenure {
    font-style: italic;
    color: #888;
    margin-bottom: 1.5rem;
    background: rgba(44, 90, 160, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.pastor-info p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.pastoral-timeline {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-item h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-item p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.deacons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.deacon-group {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.deacon-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
}

.deacon-group h4 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(44, 90, 160, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.deacon-group ul {
    list-style: none;
    padding: 0;
}

.deacon-group li {
    padding: 0.8rem 0;
    color: #555;
    border-bottom: 1px solid rgba(44, 90, 160, 0.1);
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.deacon-group li:hover {
    background: rgba(44, 90, 160, 0.05);
    padding-left: 2.5rem;
    color: #2c5aa0;
}

.deacon-group li:last-child {
    border-bottom: none;
}

.deacon-group li::before {
    content: '👤';
    position: absolute;
    left: 0;
    top: 0.8rem;
    transition: all 0.3s ease;
}

.deacon-group li:hover::before {
    transform: scale(1.2);
}

/* Add interactive hover effects for all enhanced sections */
.type-card,
.opportunity-card,
.pastor-card,
.deacon-group {
    cursor: pointer;
}

.type-card:hover .scripture {
    background: linear-gradient(135deg, #e3f2fd, #f0f8f0);
    transform: scale(1.02);
}

.opportunity-card:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
}

/* Responsive adjustments for enhanced sections */
@media (max-width: 768px) {
    .types-grid {
        grid-template-columns: 1fr;
    }

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

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

    .type-card,
    .opportunity-card,
    .pastor-card,
    .deacon-group {
        padding: 2rem 1.5rem;
    }

    .type-card h3,
    .opportunity-card h3 {
        font-size: 1.5rem;
    }

    .leadership-section h3 {
        font-size: 1.8rem;
    }

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

/* Enhanced
 Your Impact Section */
.giving-impact {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163259_399.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.giving-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.1) 0%, rgba(30, 63, 115, 0.1) 100%);
    animation: gradientShift 8s ease-in-out infinite;
}

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

.giving-impact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.giving-impact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.impact-intro {
    text-align: center;
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 4rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.impact-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

.impact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.impact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.impact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.impact-item:nth-child(4) {
    animation-delay: 0.4s;
}

.impact-item:nth-child(5) {
    animation-delay: 0.5s;
}

.impact-item:nth-child(6) {
    animation-delay: 0.6s;
}

.impact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73, #2c5aa0);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.impact-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.2);
}

.impact-item:hover::before {
    animation-duration: 1s;
}

.impact-item i {
    font-size: 3.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(30, 63, 115, 0.1));
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(44, 90, 160, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.impact-item:hover i {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: #2c5aa0;
}

.impact-item:hover i::before {
    left: 100%;
}

.impact-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
    transition: color 0.3s ease;
}

.impact-item:hover h3 {
    color: #2c5aa0;
}

.impact-item h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2c5aa0;
    transition: width 0.4s ease;
}

.impact-item:hover h3::after {
    width: 60px;
}

.impact-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.impact-item:hover p {
    color: #555;
}

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

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

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

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

    100% {
        background-position: 200% 0;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background: linear-gradient(45deg, rgba(44, 90, 160, 0.1) 0%, rgba(30, 63, 115, 0.1) 100%);
    }

    50% {
        background: linear-gradient(45deg, rgba(30, 63, 115, 0.1) 0%, rgba(44, 90, 160, 0.1) 100%);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced Homepage Animations */
.hero-content h1 {
    animation: fadeInDown 1.2s ease-out, pulse 3s ease-in-out 2s infinite;
}

.hero-content h2 {
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    animation: slideInLeft 1s ease-out 0.6s both;
}

.pastor-message {
    animation: slideInRight 1s ease-out 0.9s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-buttons .btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Service Cards */
.service-card {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:hover {
    animation: bounce 0.6s ease;
}

.service-card i {
    transition: all 0.4s ease;
}

.service-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #1e3f73;
}

/* Enhanced Mission & Vision Cards */
.mv-card {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.mv-card:nth-child(1) {
    animation-delay: 0.3s;
}

.mv-card:nth-child(2) {
    animation-delay: 0.5s;
}

.mv-card i {
    animation: float 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

.mv-card:hover i {
    animation: pulse 0.6s ease;
    color: #1e3f73;
}

/* Enhanced Featured Cards */
.featured-card {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.featured-card:nth-child(1) {
    animation-delay: 0.4s;
}

.featured-card:nth-child(2) {
    animation-delay: 0.6s;
}

/* Enhanced News Items */
.news-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-item-image {
    transition: all 0.4s ease;
}

.news-item:hover .news-item-image {
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
}

/* Enhanced Location Section */
.location-info {
    animation: slideInLeft 1s ease-out;
}

.map-container {
    animation: slideInRight 1s ease-out;
}

/* Page Load Animations */
.page-header h1 {
    animation: fadeInDown 1s ease-out;
}

.page-header p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Section Headers Animation */
section h2 {
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

/* Stagger animations for grids */
.events-grid .event-card,
.sermons-grid .sermon-card,
.ministries-grid .ministry-card,
.beliefs-grid .belief-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

.events-grid .event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.events-grid .event-card:nth-child(2) {
    animation-delay: 0.2s;
}

.events-grid .event-card:nth-child(3) {
    animation-delay: 0.3s;
}

.events-grid .event-card:nth-child(4) {
    animation-delay: 0.4s;
}

.events-grid .event-card:nth-child(5) {
    animation-delay: 0.5s;
}

.events-grid .event-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Interactive Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn::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.6s ease;
}

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

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Enhanced Footer Animation */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease-out forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.4s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.6s;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner for dynamic content */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(44, 90, 160, 0.3);
    border-radius: 50%;
    border-top-color: #2c5aa0;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive animations */
@media (max-width: 768px) {
    .impact-item {
        animation-delay: 0.1s;
    }

    .hero-content h1 {
        animation: fadeInDown 1s ease-out;
    }

    .service-card,
    .mv-card,
    .featured-card {
        animation-delay: 0.2s;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Homepage Animations */
.hero-content {
    animation: heroEntrance 1.5s ease-out;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Service Cards Enhanced Animation */
.service-card {
    animation: cardSlideIn 0.8s ease-out both;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotateY(-15deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

/* Mission Vision Cards Animation */
.mv-card {
    animation: bounceInUp 1s ease-out both;
    position: relative;
}

.mv-card:nth-child(1) {
    animation-delay: 0.2s;
}

.mv-card:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Featured Cards Animation */
.featured-card {
    animation: flipInY 1s ease-out both;
    transform-style: preserve-3d;
}

.featured-card:nth-child(1) {
    animation-delay: 0.3s;
}

.featured-card:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes flipInY {
    0% {
        opacity: 0;
        transform: rotateY(-90deg) scale(0.8);
    }

    50% {
        opacity: 0.5;
        transform: rotateY(-45deg) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: rotateY(0) scale(1);
    }
}

/* News Items Scroll Animation */
.news-item {
    animation: slideInFromRight 0.8s ease-out both;
    position: relative;
    overflow: hidden;
}

.news-item:nth-child(1) {
    animation-delay: 0.1s;
}

.news-item:nth-child(2) {
    animation-delay: 0.2s;
}

.news-item:nth-child(3) {
    animation-delay: 0.3s;
}

.news-item:nth-child(4) {
    animation-delay: 0.4s;
}

.news-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Location Section Animation */
.location-info {
    animation: slideInLeft 1s ease-out both;
}

.map-container {
    animation: slideInRight 1s ease-out 0.3s both;
}

/* Enhanced Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::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.5s ease;
}

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

.btn:active {
    transform: scale(0.98);
}

/* Floating Animation for Icons */
.service-card i,
.mv-card i,
.impact-item i {
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(1) i {
    animation-delay: 0s;
}

.service-card:nth-child(2) i {
    animation-delay: 1s;
}

.mv-card:nth-child(1) i {
    animation-delay: 0.5s;
}

.mv-card:nth-child(2) i {
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation for Important Elements */
.giving-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(44, 90, 160, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0);
    }
}

/* Text Animation Effects */
.hero h1 {
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }

    to {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(44, 90, 160, 0.3);
    }
}

/* Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Effects for All Cards */
.service-card:hover,
.mv-card:hover,
.featured-card:hover,
.news-item:hover,
.impact-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

/* Staggered Animation for Grid Items */
.service-grid .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-grid .service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.mv-grid .mv-card:nth-child(1) {
    animation-delay: 0.2s;
}

.mv-grid .mv-card:nth-child(2) {
    animation-delay: 0.4s;
}

.featured-grid .featured-card:nth-child(1) {
    animation-delay: 0.3s;
}

.featured-grid .featured-card:nth-child(2) {
    animation-delay: 0.5s;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Interactive Map Animation */
.interactive-map {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.interactive-map:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    transition: all 0.3s ease;
}

.interactive-map:hover .map-overlay {
    background: rgba(44, 90, 160, 0.1);
    backdrop-filter: blur(2px);
}

/* Enhanced Footer Animation */
.footer-section {
    animation: fadeInUp 0.8s ease-out both;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        animation-duration: 1s;
    }

    .service-card,
    .mv-card,
    .featured-card {
        animation-duration: 0.6s;
    }

    .float {
        animation-duration: 2s;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page Transition Effects */
.page-transition {
    animation: pageSlideIn 0.8s ease-out;
}

@keyframes pageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Giving Page Animations */
.giving-card {
    animation: cardFlipIn 1s ease-out both;
    transform-style: preserve-3d;
}

.giving-card:nth-child(1) {
    animation-delay: 0.1s;
}

.giving-card:nth-child(2) {
    animation-delay: 0.3s;
}

.giving-card:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes cardFlipIn {
    0% {
        opacity: 0;
        transform: rotateX(-90deg) scale(0.8);
    }

    50% {
        opacity: 0.5;
        transform: rotateX(-45deg) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: rotateX(0) scale(1);
    }
}

.giving-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.2);
}

/* Type Cards Animation */
.type-card {
    animation: zoomIn 0.8s ease-out both;
    cursor: pointer;
}

.type-card:nth-child(1) {
    animation-delay: 0.2s;
}

.type-card:nth-child(2) {
    animation-delay: 0.4s;
}

.type-card:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.type-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Scripture Quote Animation */
.scripture {
    position: relative;
    transition: all 0.3s ease;
}

.scripture:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
}

.scripture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(44, 90, 160, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scripture:hover::before {
    opacity: 1;
}

/* Impact St
ats Preview */
.impact-stats-preview {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.impact-item:hover .impact-stats-preview {
    opacity: 1;
    transform: translateY(0);
}

.stat-preview {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Giving Cards with Interactive Elements */
.giving-card .giving-icon {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.giving-card:hover .giving-icon {
    transform: scale(1.1) rotate(10deg);
}

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

.giving-card:hover .giving-icon::before {
    left: 100%;
}

/* Enhanced Type Cards with Scripture Animation */
.type-card .scripture {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.type-card:hover .scripture {
    transform: scale(1);
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
}

/* Interactive Bank Details */
.bank-details {
    transition: all 0.3s ease;
    position: relative;
}

.giving-card:hover .bank-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.bank-details p {
    transition: all 0.3s ease;
}

.giving-card:hover .bank-details p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Transparency Features Animation */
.transparency-features {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature i {
    font-size: 1.5rem;
    color: #2c5aa0;
}

/* Enhanced Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    position: relative;
    overflow: hidden;
}

.contact-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.contact-buttons .btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .impact-stats-preview {
        margin-top: 0.5rem;
    }

    .stat-preview {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .transparency-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .contact-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Ban
k Account Details Image Styling */
.bank-details-image {
    position: relative;
    margin: 1.5rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bank-details-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
}

.account-details-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.bank-details-image:hover .account-details-img {
    filter: brightness(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 90, 160, 0.9));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.bank-details-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.image-overlay i {
    margin-right: 0.5rem;
}

/* Enhanced Primary Giving Card */
.giving-card.primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.giving-card.primary:hover::before {
    left: 100%;
}

.giving-card.primary .giving-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.giving-card.primary:hover .giving-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.giving-card.primary h3 {
    color: white;
}

.giving-card.primary .method-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Modal for Full Image View */
.account-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.account-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.account-image-modal.active .modal-image-container {
    transform: scale(1);
}

.modal-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.modal-close-btn:hover {
    background: #1e3f73;
    transform: scale(1.1);
}

/* Responsive Design for Account Image */
@media (max-width: 768px) {
    .bank-details-image {
        margin: 1rem 0;
    }

    .image-overlay {
        position: static;
        transform: none;
        background: rgba(44, 90, 160, 0.1);
        color: #2c5aa0;
        border-radius: 10px;
        margin-top: 0.5rem;
    }

    .modal-image-container {
        max-width: 95%;
        max-height: 80%;
        padding: 0.5rem;
    }

    .modal-close-btn {
        top: -10px;
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Print Styles for Account Details */
@media print {
    .bank-details-image {
        box-shadow: none;
        border: 2px solid #2c5aa0;
    }

    .image-overlay {
        display: none;
    }

    .account-details-img {
        filter: none !important;
    }
}

/* Mo
dal Image Info Styling */
.modal-image-info {
    text-align: center;
    padding: 1.5rem 0 0;
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

.modal-image-info h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.modal-image-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-actions .btn-primary {
    background: #2c5aa0;
    color: white;
}

.modal-actions .btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.modal-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-actions .btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Enhanced Account Image Accessibility */
.bank-details-image:focus {
    outline: 3px solid #2c5aa0;
    outline-offset: 2px;
}

.bank-details-image:focus .image-overlay {
    transform: translateY(0);
}

/* Loading State for Account Image */
.account-details-img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

.account-details-img[src] {
    background: none;
}

.account-details-img:not([src]) {
    animation: imageLoading 1.5s infinite;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-details-img:not([src])::after {
    content: 'Loading account details...';
    color: #666;
    font-size: 1rem;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* Success Animation for Copy Action */
.copy-success {
    animation: copySuccess 0.6s ease;
}

@keyframes copySuccess {
    0% {
        background: #2c5aa0;
    }

    50% {
        background: #4caf50;
        transform: scale(1.05);
    }

    100% {
        background: #2c5aa0;
        transform: scale(1);
    }
}

/* Mobile Optimizations for Account Modal */
@media (max-width: 480px) {
    .modal-image-container {
        max-width: 98%;
        margin: 1rem;
    }

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

    .modal-actions .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .modal-image-info {
        padding: 1rem 0 0;
    }

    .modal-image-info h4 {
        font-size: 1.1rem;
    }

    .modal-image-info p {
        font-size: 0.9rem;
    }
}

/* 
Additional Mobile Menu Fixes */
@media (max-width: 768px) {
    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }

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

    .giving-btn {
        margin: 1rem 0;
        display: inline-block;
        width: auto;
        border: none;
    }

    /* Ensure hamburger is clickable */
    .hamburger {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        position: relative;
        z-index: 1002;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }

    .hamburger:focus {
        outline: 2px solid #2c5aa0;
        outline-offset: 2px;
    }

    .hamburger:hover {
        background: rgba(44, 90, 160, 0.1);
        border-radius: 4px;
    }

    /* Ensure nav menu has proper z-index */
    .nav-menu {
        z-index: 1001;
    }

    /* Fix for iOS Safari */
    .nav-menu.active {
        -webkit-overflow-scrolling: touch;
    }
}

/* 
Individual Post Page Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 70px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #1e3f73;
}

.breadcrumb-nav span {
    color: #666;
}

.post-article {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-featured-image {
    margin-bottom: 3rem;
    text-align: center;
}

.post-featured-image .featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.post-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    color: #2c5aa0;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.post-body h2 {
    font-size: 1.8rem;
}

.post-body h3 {
    font-size: 1.5rem;
}

.post-body h4 {
    font-size: 1.3rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Author Bio */
.author-bio {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    font-size: 3rem;
    color: #2c5aa0;
    flex-shrink: 0;
}

.author-details h4 {
    color: #2c5aa0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.author-details h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.author-details p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Share Buttons */
.share-buttons {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.share-buttons h4 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

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

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

.share-btn.email {
    background: #666;
    color: white;
}

.share-btn.youtube {
    background: #ff0000;
    color: white;
}

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

/* Related Posts */
.related-posts {
    background: #f8f9fa;
    padding: 4rem 0;
}

.related-posts h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
}

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

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

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

.related-image {
    height: 200px;
    overflow: hidden;
}

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

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

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.related-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.related-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.related-content .read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.related-content .read-more:hover {
    color: #1e3f73;
    gap: 0.8rem;
}

.related-content .read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.related-content .read-more:hover::after {
    transform: translateX(3px);
}

/* Back to News */
.back-to-news {
    padding: 2rem 0;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

/* Mobile Responsiveness for Post Page */
@media (max-width: 768px) {
    .post-article {
        padding: 2rem 0;
    }

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

    .post-meta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .post-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .post-body {
        font-size: 1rem;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .share-links {
        justify-content: center;
    }

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

    .breadcrumb-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .post-header h1 {
        font-size: 1.6rem;
    }

    .post-content {
        margin: 0 0.5rem;
        padding: 1rem;
    }

    .share-links {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}

/* Eve
nts Page Background Images */
.upcoming-events {
    padding: 5rem 0;
    background: white;
}

.event-gallery {
    padding: 5rem 0;
    background: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.8)), url('../image/IMG_20250711_163234_551.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.event-gallery h2 {
    color: #2c5aa0;
}

.event-gallery .gallery-intro {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    margin: 0 auto 3rem;
}

.event-registration {
    padding: 3rem 0;
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(30, 63, 115, 0.85)), url('../image/IMG_20250711_163259_399.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.registration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.registration-card h2 {
    color: white;
}

.registration-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile responsiveness for events backgrounds */
@media (max-width: 768px) {

    .event-gallery,
    .event-registration {
        background-attachment: scroll;
    }
}

/*
* Mobile Navigation Styles - MISSING FUNCTIONALITY FIX */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .hamburger:focus {
        outline: 2px solid #2c5aa0;
        outline-offset: 2px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

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

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 90%;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .nav-link:hover {
        background: rgba(44, 90, 160, 0.1);
        border-color: rgba(44, 90, 160, 0.3);
        transform: translateY(-2px);
    }

    .giving-btn {
        background: #2c5aa0 !important;
        color: white !important;
        border: 2px solid #2c5aa0 !important;
        margin-top: 1rem;
    }

    .giving-btn:hover {
        background: #1e3f73 !important;
        border-color: #1e3f73 !important;
        transform: translateY(-2px) scale(1.05);
    }

    /* Hamburger animation when active */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: #2c5aa0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: #2c5aa0;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Enhanced mobile navigation animations */
    .nav-menu.active .nav-link {
        animation: slideInFromRight 0.3s ease-out forwards;
        opacity: 0;
    }

    .nav-menu.active .nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active .nav-link:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-menu.active .nav-link:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-menu.active .nav-link:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-menu.active .nav-link:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav-menu.active .nav-link:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav-menu.active .nav-link:nth-child(7) {
        animation-delay: 0.4s;
    }

    .nav-menu.active .nav-link:nth-child(8) {
        animation-delay: 0.45s;
    }

    .nav-menu.active .nav-link:nth-child(9) {
        animation-delay: 0.5s;
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Navigation for smaller screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo h2 {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 35px;
    }

    .nav-menu {
        padding-top: 1rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .hamburger {
        padding: 8px;
    }

    .bar {
        width: 22px;
        height: 2px;
    }
}

/* Fix for admin panel mobile navigation */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .admin-sidebar.mobile-open {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #2c5aa0;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-toggle:focus {
        outline: 2px solid #2c5aa0;
        outline-offset: 2px;
    }

    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {

    .nav-link,
    .btn,
    .hamburger,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve button accessibility on mobile */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Better spacing for mobile cards */
    .service-card,
    .mv-card,
    .featured-card,
    .event-card,
    .ministry-card,
    .sermon-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    /* Mobile-friendly form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: 8px;
    }

    /* Pastor Images Mobile Styles */
    .pastor-left,
    .pastor-right {
        position: static;
        transform: none;
        display: none;
        /* Hide on mobile for cleaner look */
    }

    /* Hero section mobile adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .pastor-message {
        font-size: 1rem;
    }

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

    .btn {
        width: 200px;
        text-align: center;
    }

    /* Mobile horizontal text layout */
    .hero-text-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-subtitle,
    .pastor-message {
        text-align: center;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .pastor-left {
        left: 0.2rem;
    }

    .pastor-right {
        right: 0.2rem;
    }

    .pastor-oval-img {
        width: 280px;
        height: 350px;
    }

    .pastor-label {
        max-width: 280px;
        padding: 1.5rem;
    }

    .pastor-label h3 {
        font-size: 1.5rem;
    }

    .pastor-label p {
        font-size: 1.2rem;
    }

    .hero-content {
        max-width: 350px;
        padding: 0 50px;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        height: calc(100vh - 60px);
        padding-top: 1rem;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* High DPI mobile screens */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .nav-logo img {
        image-rendering: -webkit-optimize-contrast;
    }

    .hamburger .bar {
        height: 3px;
    }
}

/*
 Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* 
Pastor Images Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Show pastor images on mobile but smaller and repositioned */
    .pastor-left,
    .pastor-right {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        margin: 1rem 0;
        width: 100%;
    }

    .pastor-oval-img {
        width: 160px !important;
        height: 200px !important;
        border: 8px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    }

    .pastor-label {
        max-width: 160px !important;
        padding: 1.2rem !important;
        margin-top: 0.8rem !important;
    }

    .pastor-label h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.6rem !important;
    }

    .pastor-label p {
        font-size: 0.9rem !important;
    }

    /* Adjust hero content for mobile with pastor images */
    .hero-content {
        margin-top: 2rem;
    }

    /* Create a mobile layout with pastor images at top */
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
    }

    .pastor-images-mobile {
        display: flex;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Alternative: Show pastor images as small corner badges on mobile */
@media (max-width: 480px) {

    .pastor-left,
    .pastor-right {
        position: absolute;
        display: block;
        transform: none;
    }

    .pastor-left {
        top: 100px;
        left: 10px;
    }

    .pastor-right {
        top: 100px;
        right: 10px;
    }

    .pastor-oval-img {
        width: 80px !important;
        height: 100px !important;
        border: 4px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
    }

    .pastor-label {
        display: none;
        /* Hide labels on very small screens */
    }
}

/*
 Pastor Images Mobile Container - Hidden on Desktop */
.pastor-images-mobile {
    display: none;
}

/* Mobile Pastor Images Styles */
@media (max-width: 768px) {

    /* Hide desktop pastor overlay */
    .pastor-overlay-container {
        display: none !important;
    }

    /* Show mobile pastor overlay */
    .pastor-overlay-mobile {
        display: block !important;
        position: relative;
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 2rem;
        order: 2;
        text-align: center;
    }

    .pastor-mobile-image {
        position: relative;
        width: 200px;
        height: 250px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    .pastor-mobile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        mix-blend-mode: overlay;
        filter: contrast(1.1) brightness(1.05) saturate(1.1);
        transition: all 0.5s ease;
    }

    /* Mobile Hover Effect */
    .pastor-mobile-image:hover .pastor-mobile-img {
        mix-blend-mode: multiply;
        transform: scale(1.05);
    }

    /* Adjust hero layout for mobile */
    .hero {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
    }

    .hero-content {
        margin-top: 1rem;
        z-index: 5;
    }
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
    .pastor-mobile-image {
        width: 160px;
        height: 200px;
        border-radius: 15px;
    }
}

/* Desktop Pastor Images Display Control */
.pastor-overlay-mobile {
    display: none;
    /* Hidden on desktop */
}

.pastor-desktop {
    display: block;
    /* Shown on desktop */
}

/* Large Desktop Screens - Enhanced Overlay */
@media (min-width: 1400px) {
    .pastor-overlay-container {
        width: 65%;
    }

    .pastor-overlay-image {
        height: 130%;
    }
}

/* Medium Desktop Screens */
@media (max-width: 1200px) and (min-width: 769px) {
    .pastor-overlay-container {
        width: 55%;
    }

    .pastor-overlay-image {
        height: 110%;
    }
}

/* Update Mobile Media Query to Hide Desktop Pastor Images */
@media (max-width: 768px) {
    .pastor-desktop {
        display: none !important;
        /* Hide desktop pastor overlay on mobile */
    }

    .pastor-overlay-mobile {
        display: block !important;
        /* Show mobile pastor container */
    }
}

/* Mobile 
Hero Layout Adjustments */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 100px;
    }

    .hero-content {
        order: 1;
        /* Text content comes first */
        margin-bottom: 1rem;
        z-index: 4;
    }

    .pastor-images-mobile {
        order: 2;
        /* Pastor images come after text */
        margin-top: 2rem;
    }
}
/* ==
=== MAP SECTION STYLES ===== */

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

.map-container-large {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.interactive-map {
    position: relative;
    height: 450px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.interactive-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.interactive-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    max-width: 300px;
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.map-overlay:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.map-overlay h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-overlay h4::before {
    content: '📍';
    font-size: 1.1rem;
}

.map-overlay p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Directions Section */
.directions {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.directions h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.directions > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.transport-item:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.1);
}

.transport-item i {
    font-size: 2rem;
    color: #2c5aa0;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.transport-item:hover i {
    transform: scale(1.1);
    color: #1e3f73;
}

.transport-item span {
    color: #555;
    font-weight: 500;
    line-height: 1.5;
}

/* Interactive Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 15;
}

.map-control-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 90, 160, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c5aa0;
    font-size: 1.1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-control-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: scale(1.05);
}

.map-control-btn.active {
    background: #2c5aa0;
    color: white;
}

/* Map Loading State */
.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
    border-radius: 15px;
}

.map-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #666;
    font-weight: 500;
}

/* Map Error State */
.map-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
    border-radius: 15px;
    text-align: center;
    padding: 2rem;
}

.map-error.show {
    display: flex;
}

.map-error i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.map-error h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.map-error p {
    color: #666;
    margin-bottom: 1.5rem;
}

.retry-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

/* Responsive Design for Map Section */
@media (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .interactive-map {
        height: 350px;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
    }
    
    .directions {
        padding: 2rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transport-item {
        padding: 1.2rem;
    }
    
    .transport-item i {
        font-size: 1.5rem;
    }
    
    .map-controls {
        top: 15px;
        right: 15px;
    }
    
    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding: 2rem 0;
    }
    
    .interactive-map {
        height: 300px;
    }
    
    .map-overlay {
        padding: 1.2rem;
    }
    
    .directions {
        padding: 1.5rem 1rem;
    }
    
    .directions h3 {
        font-size: 1.5rem;
    }
    
    .transport-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .transport-item i {
        font-size: 2.5rem;
    }
}

/* Map Animation Effects */
.map-container-large {
    animation: fadeInUp 0.8s ease-out;
}

.directions {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.transport-item {
    animation: slideInFromBottom 0.6s ease-out both;
}

.transport-item:nth-child(1) {
    animation-delay: 0.1s;
}

.transport-item:nth-child(2) {
    animation-delay: 0.2s;
}

.transport-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Map Interactivity */
.map-info-popup {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 20;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-info-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.map-info-popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.map-info-popup h5 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-info-popup p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Print Styles for Map */
@media print {
    .map-section {
        page-break-inside: avoid;
    }
    
    .interactive-map {
        height: 300px;
        border: 2px solid #2c5aa0;
    }
    
    .map-controls {
        display: none;
    }
    
    .directions {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}/* ===
== HOMEPAGE LOCATION SECTION STYLES ===== */

/* Location Section */
.location {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.location-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.location-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.location-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.location-info p i {
    color: #2c5aa0;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

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

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.map-container .interactive-map {
    height: 100%;
    width: 100%;
    position: relative;
}

.map-container .interactive-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.map-container .map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-container .map-overlay:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.map-container .map-overlay h4 {
    color: #2c5aa0;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-container .map-overlay p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Location Section */
@media (max-width: 768px) {
    .location {
        padding: 3rem 0;
    }
    
    .location h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-info {
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
    }
    
    .location-info p {
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
        order: 1;
    }
    
    .map-container .map-overlay {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .location-info {
        padding: 1.5rem 1rem;
    }
    
    .location-info h3 {
        font-size: 1.3rem;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Animation for Location Section */
.location-info {
    animation: fadeInLeft 0.8s ease-out;
}

.map-container {
    animation: fadeInRight 0.8s ease-out;
}

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

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

/* Mobile Animation Adjustments */
@media (max-width: 768px) {
    .location-info,
    .map-container {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .map-container {
        animation-delay: 0.2s;
    }
}/* ===== MAP
 DEBUGGING AND FIXES ===== */

/* Ensure map containers have proper dimensions */
.map-container,
.map-container-large,
.interactive-map {
    min-height: 300px !important;
    position: relative !important;
    overflow: hidden !important;
}

.map-container iframe,
.map-container-large iframe,
.interactive-map iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 300px !important;
    border: none !important;
    background: #f0f0f0 !important;
}

/* Debug styles removed - CSP issue was identified and fixed */

/* Map loading handled by JavaScript *//* 
===== MOBILE-OPTIMIZED MAP STYLES ===== */

/* Homepage Location Section */
.location {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.location h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.location-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.location-info h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.location-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.location-info p i {
    color: #2c5aa0;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.map-container .interactive-map {
    height: 100%;
    width: 100%;
    position: relative;
}

.map-container iframe,
.interactive-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-overlay:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.map-overlay h4 {
    color: #2c5aa0;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Contact Page Map Section */
.map-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 3rem;
    font-weight: 700;
}

.map-container-large {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container-large .interactive-map {
    position: relative;
    height: 450px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-container-large .interactive-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 15;
}

.map-control-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 90, 160, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c5aa0;
    font-size: 1.1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-control-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: scale(1.05);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
    /* Homepage Location Section */
    .location {
        padding: 2rem 0;
    }
    
    .location h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-info {
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .location-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .location-info p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .map-container {
        height: 400px; /* Increased from 300px */
        order: 1;
        margin-bottom: 1rem;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 1rem;
        max-width: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.95);
    }
    
    /* Contact Page Map Section */
    .map-section {
        padding: 2rem 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .map-container-large .interactive-map {
        height: 450px; /* Increased from 350px */
    }
    
    .map-controls {
        top: 15px;
        right: 15px;
        flex-direction: row;
        gap: 0.3rem;
    }
    
    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        padding: 0.6rem;
    }
    
    /* Directions Section */
    .directions {
        padding: 2rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    .directions h3 {
        font-size: 1.5rem;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transport-item {
        padding: 1.2rem;
        flex-direction: row;
        text-align: left;
    }
    
    .transport-item i {
        font-size: 1.5rem;
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    /* Homepage Location Section */
    .location {
        padding: 1.5rem 0;
    }
    
    .location h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .location-content {
        gap: 1.5rem;
    }
    
    .location-info {
        padding: 1.5rem 1rem;
    }
    
    .location-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .location-info p {
        font-size: 0.95rem;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .location-info p i {
        font-size: 1rem;
        width: 18px;
    }
    
    .map-container {
        height: 350px; /* Increased from 250px */
        border-radius: 10px;
    }
    
    .map-overlay {
        padding: 0.8rem;
        border-radius: 8px;
    }
    
    .map-overlay h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .map-overlay p {
        font-size: 0.8rem;
    }
    
    /* Contact Page Map Section */
    .map-section {
        padding: 1.5rem 0;
    }
    
    .map-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container-large .interactive-map {
        height: 400px; /* Increased from 280px */
        border-radius: 10px;
    }
    
    .map-controls {
        top: 10px;
        right: 10px;
        gap: 0.2rem;
    }
    
    .map-control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        padding: 0.5rem;
        border-radius: 6px;
    }
    
    /* Directions Section */
    .directions {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .directions h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .directions > p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .transport-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .transport-item i {
        font-size: 2rem;
    }
    
    .transport-item span {
        font-size: 0.9rem;
    }
}

/* Touch-Friendly Improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    .map-control-btn {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .map-overlay {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .transport-item {
        min-height: 60px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent zoom on double-tap */
    .map-container,
    .interactive-map {
        touch-action: pan-x pan-y;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 0 15px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .map-container {
        height: 250px;
    }
    
    .map-container-large .interactive-map {
        height: 300px;
    }
    
    .location-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 1.5rem;
    }
    
    .location-info {
        order: 1;
    }
    
    .map-container {
        order: 2;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .map-overlay {
        backdrop-filter: blur(8px);
    }
    
    .map-control-btn {
        backdrop-filter: blur(8px);
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    .map-overlay {
        background: rgba(30, 30, 30, 0.95);
        color: #e0e0e0;
    }
    
    .map-overlay h4 {
        color: #4a90e2;
    }
    
    .map-control-btn {
        background: rgba(30, 30, 30, 0.9);
        color: #4a90e2;
        border-color: rgba(74, 144, 226, 0.3);
    }
}

/* Animation Improvements for Mobile */
@media (max-width: 768px) {
    .map-container:hover,
    .interactive-map:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
    
    .map-overlay:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
    
    /* Reduce motion for better performance */
    .map-container,
    .interactive-map,
    .map-overlay,
    .map-control-btn {
        transition: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .map-container,
    .interactive-map,
    .map-overlay,
    .map-control-btn,
    .transport-item {
        transition: none !important;
        animation: none !important;
    }
}/
* ===== MOBILE GET DIRECTIONS BUTTON ===== */

/* Mobile directions button - hidden on desktop */
.mobile-directions-btn {
    display: none;
    width: 100%;
    background: linear-gradient(135deg, #2c5aa0, #1e3f73);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 50px;
}

.mobile-directions-btn:hover {
    background: linear-gradient(135deg, #1e3f73, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.mobile-directions-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.3);
}

.mobile-directions-btn i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Show mobile directions button on mobile devices */
@media (max-width: 768px) {
    .mobile-directions-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide regular map controls on mobile for cleaner look */
    .map-controls {
        display: none;
    }
}

/* Mobile map action buttons container */
.mobile-map-actions {
    display: none;
    margin-top: 1rem;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .mobile-map-actions {
        display: flex;
        flex-direction: column;
    }
}

.mobile-map-btn {
    background: white;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-map-btn:hover,
.mobile-map-btn:active {
    background: #2c5aa0;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.mobile-map-btn.primary {
    background: #2c5aa0;
    color: white;
}

.mobile-map-btn.primary:hover,
.mobile-map-btn.primary:active {
    background: #1e3f73;
}

/* Enhanced mobile map overlay */
@media (max-width: 768px) {
    .map-overlay {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(44, 90, 160, 0.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        padding: 1rem;
        margin-bottom: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .map-overlay:active {
        transform: scale(0.98);
        background: rgba(44, 90, 160, 0.1);
    }
    
    .map-overlay h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: #2c5aa0;
    }
    
    .map-overlay p {
        font-size: 0.9rem;
        color: #555;
        margin: 0;
    }
    
    /* Add tap indicator */
    .map-overlay::after {
        content: "👆 Tap to open in Google Maps";
        display: block;
        font-size: 0.8rem;
        color: #2c5aa0;
        margin-top: 0.5rem;
        font-weight: 600;
    }
}

/* Improved mobile iframe handling */
@media (max-width: 768px) {
    .map-container iframe,
    .interactive-map iframe {
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        background: #f0f0f0;
        min-height: 350px;
    }
    
    /* Loading state for mobile */
    .map-container::before,
    .interactive-map::before {
        content: "📍 Loading map...";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.9);
        padding: 1rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        color: #2c5aa0;
        z-index: 5;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .map-container.loaded::before,
    .interactive-map.loaded::before {
        display: none;
    }
}

/* Mobile fullscreen improvements */
@media (max-width: 768px) {
    .interactive-map.fullscreen {
        border-radius: 0 !important;
    }
    
    .interactive-map.fullscreen .map-overlay {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        margin: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .interactive-map.fullscreen .mobile-map-actions {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 20;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .map-container {
        height: 300px;
    }
    
    .map-container-large .interactive-map {
        height: 350px;
    }
    
    .location-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 1.5rem;
    }
    
    .location-info {
        order: 1;
    }
    
    .map-container {
        order: 2;
    }
}