:root {
    --primary: #6B21A8;
    --primary-light: #8B5CF6;
    --secondary: #FFD700;
    --secondary-dark: #DAA520;
    --gold-accent: #F4B41A;
    --dark: #111827;
    --light: #F3F4F6;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navbar Styles */
.navbar {
    position: fixed !important;
    width: 100%;
    top: 0;
    z-index: 1030;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
    transform: none !important;
}

.navbar-brand img {
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 2px;
    transition: var(--transition);
}

.navbar-brand:hover img {
    border-color: var(--gold-accent);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem !important;
    color: var(--light);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary);
}

.navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-nav .nav-link.active i {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 110vh;
    background: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.8)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    color: var(--secondary);
    background: linear-gradient(45deg, var(--secondary), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 30px;
}

.hero .lead {
    padding: 0 30px;
    margin-bottom: 2rem;
}

.hero-buttons {
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .hero {
        height: 120vh;
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -1px;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 25px;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        padding: 0 25px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 115vh;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        padding: 0 20px;
    }
    
    .hero .lead {
        padding: 0 20px;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero {
        height: 50vh;
    }
}

/* Button Styles */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 33, 168, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

/* Mission Section */
.mission {
    background-color: var(--light);
    padding: 6rem 0;
}

.mission h2 {
    font-size: 2.75rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.mission i {
    color: var(--gold-accent);
}

.pastor-name {
    color: var(--secondary);
    font-weight: 600;
    background: linear-gradient(45deg, var(--secondary), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Worship Section */
.worship {
    position: relative;
    padding: 8rem 0;
    background-image: url('images/bg1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.worship-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.9), rgba(17, 24, 39, 0.95));
}

/* Events Section */
.card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

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

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.events i.fa-3x {
    color: var(--gold-accent);
}

.gradient-overlay {
    background: linear-gradient(to top, rgba(107, 33, 168, 0.9) 0%, rgba(244, 180, 26, 0.5) 100%);
}

/* Campaign Section */
.campaign {
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    padding: 8rem 0;
}

/* Footer */
.footer {
    background-color: #4B0082;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
}

.footer-heading {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #FFD700;
}

.footer p {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer .social-links {
    margin-top: 1.5rem;
}

.footer .social-links a {
    color: #FFD700;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.footer .list-unstyled a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer .list-unstyled a:hover {
    color: #FFD700;
    padding-left: 5px;
}

.footer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #FFD700;
    box-shadow: none;
}

.footer .btn-primary {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #4B0082;
    font-weight: 600;
    padding: 0.75rem;
}

.footer .btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #4B0082;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        margin-bottom: 1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--gold-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.4);
}

/* Quick Links */
.list-unstyled .fas {
    color: var(--gold-accent);
}

.footer .btn-outline-light:hover {
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
    color: var(--dark);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .mission h2 {
        font-size: 2.25rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
    }
}

@media (max-width: 768px) {
    .btn {
        padding: 0.7rem 1.75rem;
        font-size: 0.9rem;
    }

    .mission h2 {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 180px;
    }

    .hero-buttons .btn {
        margin-bottom: 1rem;
        display: block;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 320px) {
    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1.25rem;
        margin-bottom: 0.75rem;
    }
}

/* Ensure hover effects work on touch devices */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .card:hover {
        transform: translateY(-10px);
    }
    
    .social-links a:hover {
        transform: translateY(-3px);
    }
}

/* Touch device hover alternatives */
@media (hover: none) {
    .btn:active {
        transform: translateY(-2px);
    }
    
    .card:active {
        transform: translateY(-5px);
    }
    
    .social-links a:active {
        transform: translateY(-3px);
    }
}

/* About Page Styles */
.about-hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(107, 33, 168, 0.4) 0%, transparent 100%),
        linear-gradient(-45deg, rgba(255, 215, 0, 0.2) 0%, transparent 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-hero-subtitle {
        font-size: 1.2rem;
    }

    .leader-info {
        transform: translateY(0);
        position: relative;
        background: var(--primary);
    }

    .pastor-image {
        max-width: 300px;
        margin: 0 auto 2rem;
        display: block;
    }
}

@media (max-width: 320px) {
    .about-hero {
        height: 50vh; /* Reduce height for very small devices */
    }
}

/* Hero Heights for All Pages Except Index */

/* Vision & Mission Cards */
.vision-mission {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f6f8fd 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.vision-card, .mission-card, .values-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.vision-card::before, .mission-card::before, .values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 33, 168, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vision-card:hover, .mission-card:hover, .values-card:hover {
    transform: translateY(-10px);
}

.vision-card:hover::before, .mission-card:hover::before, .values-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.card-icon i {
    color: var(--secondary);
    font-size: 2rem;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
}

.vision-card:hover .card-icon, .mission-card:hover .card-icon, .values-card:hover .card-icon {
    transform: rotate(0deg);
    background: var(--secondary);
}

.vision-card:hover .card-icon i, .mission-card:hover .card-icon i, .values-card:hover .card-icon i {
    transform: rotate(0deg) scale(1.2);
    color: var(--primary);
}

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

.values-list li {
    margin-bottom: 1rem;
}

.values-list li i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Pastor Section */
.pastor-section {
    padding: 6rem 0;
    background: var(--light);
    position: relative;
}

.pastor-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.pastor-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary);
    height: 100%;
}

.pastor-card h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pastor-card .lead {
    color: var(--secondary);
    font-weight: 500;
}

.pastor-card p {
    color: #4B5563;
    line-height: 1.8;
    font-size: 1.1rem;
}

.pastor-info .social-links {
    margin-top: 1.5rem;
}

.pastor-info .social-links a {
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.pastor-info .social-links a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Leadership Section */
.leadership-section {
    padding: 80px 0;
    background-color: var(--light);
}

.leader-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    max-width: 350px;
    margin: 0 auto;
}

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

.leader-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.leader-info {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
}

.leader-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.leader-info p {
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.leader-info p:first-of-type {
    color: var(--secondary);
    font-weight: 400;
}

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

.social-links a {
    color: var(--dark);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Design for Leadership Section */
@media (max-width: 1200px) {
    .leader-card {
        max-width: 350px;
    }
}

@media (max-width: 991px) {
    .leader-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .leader-card {
        max-width: 350px;
        margin: 0 auto;
        background: #fff;
    }
    
    .leader-info {
        background: #fff;
        position: relative;
    }
}

@media (max-width: 576px) {
    .leadership-section {
        padding: 60px 0;
    }
    
    .leader-card {
        max-width: 350px;
        margin: 0 auto;
        background: #fff;
    }
    
    .leader-info {
        background: #fff;
        position: relative;
    }
}

/* Ministries Page Styles */
.ministries-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ministries-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(107, 33, 168, 0.4), rgba(255, 215, 0, 0.2));
    z-index: 1;
}

.ministries-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.ministries-hero h1 {
    color: var(--gold-accent);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.ministries-hero p {
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
}

.ministry-section {
    padding: 6rem 0;
    background: var(--light);
}

.ministry-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 33, 168, 0.15);
}

.ministry-card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.ministry-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ministry-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.3);
}

.ministry-card-icon i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.ministry-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.ministry-card p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.ministry-card .btn {
    align-self: center;
}

.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.3);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Ministries Page Responsive Styles */
@media (max-width: 1200px) {
    .ministry-card-img {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .ministries-hero h1 {
        font-size: 3rem;
    }
}

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

    .ministries-hero h1 {
        font-size: 2.5rem;
    }

    .ministries-hero p {
        font-size: 1.1rem;
    }

    .ministry-section {
        padding: 4rem 0;
    }

    .ministry-card-img {
        height: 200px;
    }
}

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

    .ministries-hero p {
        font-size: 1rem;
    }

    .ministry-card-img {
        height: 180px;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Contact Page Styles */
.contact-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(107, 33, 168, 0.4), rgba(255, 215, 0, 0.2));
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.contact-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.contact-section {
    padding: 6rem 0;
    background: var(--light);
}

.get-in-touch {
    padding-right: 3rem;
}

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

.get-in-touch p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

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

.contact-info-content h5 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    margin: 0;
    color: #666;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

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

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

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

.contact-form .form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: none;
}

.map-container {
    margin-top: 6rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Contact Page Responsive Styles */
@media (max-width: 992px) {
    .get-in-touch {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 35vh;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .get-in-touch h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .map-container {
        margin-top: 4rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

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

    .contact-hero p {
        font-size: 1rem;
    }

    .get-in-touch h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

@media (min-width: 992px) and (max-width: 1400px) {
    .contact-hero {
        padding-top: 80px; /* Add padding to account for fixed header on laptops */
    }
}

/* Donation Page Styles */
.donate-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 100px; /* Add padding to prevent overlap */
    margin-top: 0; /* Reset margin-top */
}

.donate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.donate-hero-content {
    padding: 2rem;
}

.donate-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.donate-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Responsive styles for donate hero */
@media (max-width: 991px) {
    .donate-hero {
        height: 35vh;
    }
    
    .donate-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .donate-hero {
        height: 30vh;
    }
    
    .donate-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .donate-hero {
        height: 25vh;
        margin-top: 65px;
    }
    
    .donate-hero h1 {
        font-size: 1.75rem;
    }
}

/* Sermons Page Styles */
.sermons-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/church image.jpg') center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.sermons-hero-content {
    padding: 2rem;
}

.sermons-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sermons-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.sermon-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sermon-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.sermon-content {
    padding: 1.5rem;
}

.sermon-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.sermon-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.sermon-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Video Modal Styles */
.modal-content {
    background: transparent;
    border: none;
}

.modal-header {
    border: none;
    padding: 0.5rem;
    position: relative;
    z-index: 1;
}

.modal-body {
    padding: 0;
}

.btn-close {
    background-color: white;
    opacity: 1;
    padding: 0.5rem;
    margin: 0;
    border-radius: 50%;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .sermons-hero {
        height: 35vh;
    }
    
    .sermons-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sermons-hero {
        height: 30vh;
    }
    
    .sermons-hero h1 {
        font-size: 2rem;
    }
    
    .sermon-thumbnail img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .sermons-hero {
        height: 25vh;
        margin-top: 65px;
    }
    
    .sermons-hero h1 {
        font-size: 1.75rem;
    }
    
    .sermon-content {
        padding: 1rem;
    }
    
    .sermon-content h3 {
        font-size: 1.1rem;
    }
}

/* Dropdown Menu Styles */
.dropdown-menu-dark {
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-light);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--light);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    border-radius: 6px;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateX(5px);
}

/* Dropdown Hover Styles */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0;
}

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

/* Ministry Cards */
.ministry-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.ministry-card-img {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.ministry-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.ministry-card-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.ministry-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ministry-card-content h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ministry-card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.ministry-card .btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ministry-card-content {
        padding: 1.5rem;
    }

    .ministry-card-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .ministry-card {
        margin-bottom: 1rem;
    }
}

/* Immersive Scrolling */
.ministry-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ministry-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.ministries-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    margin-top: 76px;
}

/* Ministry Page Styles */
.ministry-page-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    position: relative;
    margin-top: 76px;
    padding: 6rem 0;
}

.ministry-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.ministry-page-hero .container {
    position: relative;
    z-index: 2;
}

.ministry-page-hero .container {
    position: relative;
    z-index: 2;
}

.ministry-page-hero h1 {
    color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Specific Ministry Hero Backgrounds */
.ministry-page-hero{
    background-image: url('images/hero.jpg');
}
.youth-hero {
    background-image: url('images/hero.jpg');
}

.elderly-hero {
    background-image: url('images/hero.jpg');
}

.outreach-hero {
    background-image: url('images/hero.jpg');
}

/* Event Card Styles */
.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.event-date {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 100px;
}

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

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

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

.event-details h3 {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.event-details p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Styles for Events */
@media (max-width: 768px) {
    .event-date {
        padding: 1rem;
        min-width: 80px;
    }

    .event-date .day {
        font-size: 1.5rem;
    }

    .event-details {
        padding: 1rem;
    }

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

/* Animation Enhancements */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

[data-aos][data-aos][data-aos-duration="400"],
body[data-aos-duration="400"] [data-aos] {
    transition-duration: 400ms;
}

[data-aos][data-aos][data-aos-delay="100"],
body[data-aos-delay="100"] [data-aos] {
    transition-delay: 0s;
}

[data-aos][data-aos][data-aos-delay="100"].aos-animate,
body[data-aos-delay="100"] [data-aos].aos-animate {
    transition-delay: 100ms;
}

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

/* Impact Stats */
.impact-stat {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.impact-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.impact-stat i {
    margin-bottom: 1.5rem;
}

.impact-stat .display-4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-stat .lead {
    color: #666;
    font-size: 1.1rem;
}

.impact-stat img {
    border-radius: 38px 0;
}

/* Button Styles Enhancement */
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 33, 168, 0.2);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .impact-stat {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .impact-stat .display-4 {
        font-size: 2.5rem;
    }

    .impact-stat .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Card Hover Effects */
.card {
    transition: var(--transition);
}

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

.card i {
    transition: var(--transition);
}

.card:hover i {
    transform: scale(1.1);
    color: var(--primary-light);
}

/* Section Spacing */
section {
    position: relative;
    overflow: hidden;
}

section.bg-light {
    background-color: #f8f9fa !important;
}

/* Image Enhancements */
.rounded-3 {
    border-radius: 1rem !important;
}

.shadow {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Icon Animations */
.fa-2x, .fa-3x {
    transition: transform 0.3s ease;
}

.fa-2x:hover, .fa-3x:hover {
    transform: scale(1.1);
}

/* Ministry About Section Images */
.ministry-about-img {
    height: 350px;
    object-fit: cover;
    width: 100%;
    border-radius: 38px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ministry-about-img {
        height: 250px;
    }
}

/* Mobile Money Modal Styles */
.mobile-money-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.mobile-money-modal .modal-header {
    background: var(--primary);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.mobile-money-modal .modal-body {
    padding: 2rem;
}

.mobile-money-provider {
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 1.5rem;
}

.mobile-money-provider:last-child {
    margin-bottom: 0;
}

.provider-header {
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.provider-logo {
    max-height: 40px;
    width: auto;
}

.mobile-money-details .detail-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.mobile-money-details .detail-label {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mobile-money-details .detail-value {
    font-size: 1.1rem;
    color: var(--dark);
}

.mobile-money-details .reference-alert {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.mobile-money-details .reference-alert .detail-value {
    font-size: 0.95rem;
    line-height: 1.8;
}

.mobile-money-modal .close-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transition: var(--transition);
}

.mobile-money-modal .close-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.2);
}

.mobile-money-modal .modal-footer {
    padding: 1.5rem;
    border-top: none;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
}

/* Bank Details Modal */
.bank-details-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.bank-details-modal .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
    border: none;
}

.bank-details-modal .modal-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.bank-details-modal .modal-body {
    padding: 2rem;
    background: #ffffff;
}

.bank-details-modal .detail-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(107, 33, 168, 0.1);
}

.bank-details-modal .detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.05);
}

.bank-details-modal .detail-label {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.bank-details-modal .detail-value {
    font-size: 1.1rem;
    margin-left: 2rem;
    color: var(--dark);
    font-weight: 500;
}

.bank-details-modal .reference-alert {
    background: rgba(244, 180, 26, 0.1);
    border: 1px solid rgba(244, 180, 26, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
}

.bank-details-modal .modal-footer {
    padding: 1.5rem;
    border-top: none;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
}

.bank-details-modal .close-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transition: var(--transition);
}

.bank-details-modal .close-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 33, 168, 0.2);
}

/* Modal Media Queries */
@media (max-width: 576px) {
    .bank-details-modal .modal-body {
        padding: 1.5rem;
    }

    .bank-details-modal .detail-item {
        padding: 1rem;
    }

    .bank-details-modal .detail-value {
        font-size: 1rem;
        margin-left: 1.5rem;
    }
}

@media (min-width: 768px) {
    .bank-details-modal .modal-dialog {
        max-width: 500px;
    }
}

@media (min-width: 992px) {
    .bank-details-modal .modal-dialog {
        max-width: 600px;
    }
}

/* Impact Section Styles */
.impact-section .img-fluid {
    border-radius: 38px 0;
}

.impact-section .img-fluid {
    border-radius: 38px 0;
}

/* Gallery Page Styles */
.gallery-hero {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero.jpg') center/cover;
    position: relative;
    margin-top: 76px;
}

.album-filter .btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.album-filter .btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 33, 168, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-info {
    text-align: center;
    color: white;
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-info p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-card:hover .gallery-info h3,
.gallery-card:hover .gallery-info p {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.lb-data .lb-number {
    font-family: 'Poppins', sans-serif;
}

/* Gallery Responsive Styles */
@media (max-width: 768px) {
    .gallery-card img {
        height: 250px;
    }
    
    .album-filter .btn {
        margin-bottom: 10px;
    }
}