body {
    font-family: 'Poppins', sans-serif;
    padding-top: 0;
}

/* Custom Primary Color Override */
:root {
    --bs-primary: #4f59ed;
    --bs-primary-rgb: 79, 89, 237;
    --bs-link-color: #4f59ed;
    --bs-link-hover-color: #4149bf;
}

.text-primary {
    color: #4f59ed !important;
}

.bg-primary {
    background-color: #4f59ed !important;
}

.btn-primary {
    --bs-btn-bg: #4f59ed;
    --bs-btn-border-color: #4f59ed;
    --bs-btn-hover-bg: #4149bf;
    --bs-btn-hover-border-color: #4149bf;
    --bs-btn-active-bg: #4149bf;
    --bs-btn-active-border-color: #4149bf;
    background-color: #4f59ed;
    border-color: #4f59ed;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #4149bf !important;
    border-color: #4149bf !important;
}

.btn-outline-primary {
    --bs-btn-color: #4f59ed;
    --bs-btn-border-color: #4f59ed;
    --bs-btn-hover-bg: #4f59ed;
    --bs-btn-active-bg: #4f59ed;
    color: #4f59ed;
    border-color: #4f59ed;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active {
    background-color: #4f59ed !important;
    border-color: #4f59ed !important;
}

section {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/1600x900/?church,worship') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Section Headings */
.section-title {
    text-align: center; /* Mobile default */
    margin-bottom: 50px;
}

@media (min-width: 992px) {
    .section-title {
        text-align: left; /* Desktop */
    }
}

.section-title h2 {
    font-weight: 700;
    text-transform: uppercase;
    color: #4f59ed;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #4f59ed;
    bottom: 0;
    /* Mobile centered underline */
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    .section-title h2::after {
        left: 0;
        transform: none;
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.icon-box {
    font-size: 3rem;
    color: #4f59ed;
    margin-bottom: 20px;
}

/* Contact */
.contact-info i {
    font-size: 1.5rem;
    color: #4f59ed;
    margin-right: 15px;
}

/* PWA Install Prompt (Optional styling) */
#install-prompt {
    display: none;
}

/* Navbar Background Override */
.navbar {
    background-color: #4f59ed !important;
}

/* Custom Offcanvas Width for Mobile */
@media (max-width: 991.98px) {
    #offcanvasNavbar {
        --bs-offcanvas-width: 50%;
        background-color: #4f59ed !important;
    }
}
