/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap');

/* --- Global Variables & Styles --- */
:root {
    --primary-color: #E63946; /* Modern, vibrant red */
    --secondary-color: #2A2D34; /* Charcoal gray */
    --accent-color: #F1FAEE; /* Off-white */
    --text-color: #333333;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.logo-text .motto {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* --- Dynamic Greeting Banner --- */
.greeting-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.8rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* --- Homepage Hero Section --- */
.hero {
    background: linear-gradient(rgba(42, 45, 52, 0.8), rgba(42, 45, 52, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 90vh;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Shop Overview Section --- */
.shop-overview {
    background-color: var(--white);
}

.shop-overview h2 {
    color: var(--primary-color);
}

.gallery-btn {
    background-color: var(--secondary-color);
}

.gallery-btn:hover {
    background-color: var(--primary-color);
}

/* Modal for Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    animation: slideIn 0.5s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: var(--secondary-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1rem;
}

.modal-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--primary-color);
}

/* --- Services Showcase Section --- */
.services-showcase {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary-color);
}

/* --- Bible App Section --- */
.bible-app-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.bible-app-section h2 {
    color: var(--white);
}

.bible-app-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.bible-app-content img {
    width: 180px;
    height: 180px;
    border: 5px solid var(--primary-color);
    border-radius: 10px;
}

.bible-link-btn {
    background-color: var(--primary-color);
}

.bible-link-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* --- Page Headers --- */
.page-header {
    background: linear-gradient(rgba(230, 57, 70, 0.8), rgba(230, 57, 70, 0.8)), url('../images/services-hero.jpg') no-repeat center center/cover;
    height: 50vh;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
}

/* --- Services Page --- */
.page-content {
    background-color: var(--white);
}

.service-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.service-category h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-category ul {
    list-style-type: '✓ ';
    padding-left: 20px;
    color: var(--secondary-color);
}

.service-category ul li {
    padding-left: 10px;
    margin-bottom: 0.8rem;
}

.service-category a.nin-form-link {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.service-category a.nin-form-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* --- Forms --- */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#form-success-message {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 5px;
    font-family: var(--font-heading);
}

/* --- Contact Page --- */
.contact-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-info-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* --- Blog Page --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post img {
    height: 250px;
    object-fit: cover;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-content .post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Responsive Design --- */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .main-header .container {
        flex-direction: column;
    }

    .main-nav {
        margin-top: 1rem;
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-nav ul li {
        margin: 0 15px;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-header {
        height: 40vh;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .bible-app-content {
        flex-direction: column;
    }
}
/* --- Blog Post Specific Styles --- */

/* Main container for a single blog article */
.blog-post-article {
    max-width: 800px; /* Constrain width for better readability on large screens */
    margin: 0 auto; /* Center the article on the page */
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.blog-post-article img {
    margin-bottom: 2rem; /* Add space below the main image */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-post-article .post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.blog-post-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.blog-post-article h2 {
    font-size: 2rem;
    margin-top: 2.5rem; /* Add space above subheadings */
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.blog-post-article p {
    font-size: 1.1rem; /* Slightly larger paragraph text for readability */
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-post-article strong, .blog-post-article b {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Styling for ordered and unordered lists in the article */
.blog-post-article ol,
.blog-post-article ul {
    padding-left: 2rem; /* Indent the lists */
    margin-bottom: 1.5rem;
}

.blog-post-article li {
    margin-bottom: 0.8rem; /* Add space between list items */
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Special styling for the "Pro Tip" box */
.pro-tip-box {
    background-color: #fff3cd; /* A light yellow background */
    border-left: 5px solid #ffc107; /* A distinct left border */
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.pro-tip-box h3 {
    margin-top: 0;
    color: #856404; /* A darker yellow/brown for the title */
}

.pro-tip-box p {
    margin-bottom: 0;
}
/* --- Portfolio Page Specific Styles --- */

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    margin: 0.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Portfolio Gallery Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    background: var(--white);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 57, 70, 0.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
}

.view-project-btn {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.view-project-btn:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Our Process Section */
.our-process .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .btn {
    background-color: var(--primary-color);
}

.cta-section .btn:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

/* Portfolio Modal (Lightbox) */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.5s;
}

.modal-content-wrapper {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    background-color: var(--white);
    border-radius: 10px;
    animation: slideIn 0.5s;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    z-index: 1;
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-body img {
    flex: 1 1 400px; /* Flex basis for image */
    max-height: 60vh;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.modal-text {
    flex: 1 1 300px; /* Flex basis for text */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Adjustments for Modal */
@media(max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    .modal-body img {
        border-radius: 10px 10px 0 0;
        max-height: 40vh;
    }
    .modal-content-wrapper {
        width: 95%;
        margin: 10% auto;
    }
}
/* --- Meet CEO Section Styles --- */

.meet-ceo-section {
    background-color: var(--light-gray);
}

.ceo-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.ceo-image {
    flex-shrink: 0; /* Prevents the image from shrinking */
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circular area without distortion */
}

.ceo-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design for CEO Section */
@media(max-width: 768px) {
    .ceo-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .ceo-image {
        width: 200px;
        height: 200px;
    }
}

/* Helper classes for inline style migration */
.text-center-intro {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.see-more-section {
    margin-top: 3rem;
}

.btn-secondary {
    margin-bottom: 2rem;
    background-color: var(--secondary-color);
}

.form-warning {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
}

.form-info {
    background-color: #d1ecf1;
    border-left: 5px solid #17a2b8;
}

.portfolio-header {
    background: linear-gradient(rgba(42, 45, 52, 0.8), rgba(42, 45, 52, 0.8)), url('../images/portfolio-hero-bg.jpg') no-repeat center center/cover;
}

.light-gray-bg {
    background-color: var(--light-gray);
}
/* --- CEO Profile Experience & Education Styles --- */

.ceo-professional-exp,
.ceo-education {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.ceo-professional-exp {
    border-left: 4px solid var(--secondary-color); /* Charcoal gray for experience */
}

.ceo-education {
    border-left: 4px solid var(--primary-color); /* Red for education */
}

.ceo-professional-exp h2,
.ceo-education h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.ceo-professional-exp ul,
.ceo-education ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
}

.ceo-professional-exp ul li,
.ceo-education ul li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Add a subtle icon before each list item for a polished look */
.ceo-professional-exp ul li::before {
    content: '💼 '; /* Briefcase emoji for experience */
    margin-right: 8px;
}

.ceo-education ul li::before {
    content: '🎓 '; /* Graduation cap emoji for education */
    margin-right: 8px;
}

.ceo-professional-exp em,
.ceo-education em,
.ceo-education span {
    color: #555;
    font-size: 0.9rem;
}