.elementor-4648 .elementor-element.elementor-element-f292e64{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;}.elementor-4648 .elementor-element.elementor-element-f292e64 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-4648 .elementor-element.elementor-element-f292e64.elementor-section{padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-278c4e9 *//* --- Global Variables (Reused for consistency) --- */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --color-primary: #00aeb9; /* Often used for primary accents, gradients start */
    --color-secondary: #2575fc; /* Often used for secondary accents, gradients end */
    --text-dark: #343a40; /* Dark text color */
    --text-muted: #6c757d; /* Muted text color */
    --section-bg: #ffffff; /* White background for sections/cards */
    --border-radius-large: 16px; /* Larger border-radius for main containers */
    --border-radius-small: 8px; /* Smaller border-radius for internal elements */
    --accent-green: #05AEB9; /* Your specific highlight/accent color */
}

/* --- Body Base Styles --- */
body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the whole page */
}

/* --- History Section Wrapper --- */
.history-section-wrapper {
    max-width: 1200px; /* Overall content width */
    margin: 40px auto; /* Center the section with vertical spacing */
    padding: 30px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius-large);
    box-sizing: border-box; /* Include padding in element's total width/height */
}

/* --- Main Section Title --- */
.history-main-title {
    font-family: var(--font-secondary);
    font-size: 3em;
    color: var(--color-primary); /* Primary accent color */
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Style for "Life Changing" part of the title */
.history-main-title .highlight {
    color: var(--accent-green); /* Use your specific green highlight color */
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05); /* Very subtle text shadow for pop */
}

/* --- Intro Paragraph --- */
.history-intro-paragraph {
    font-size: 1.15em;
    color: var(--text-muted); /* Muted text color */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto; /* Centered with vertical spacing */
    line-height: 1.7;
}

/* --- Two-Column Layout for Image and Text --- */
.history-content-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Image takes less space (0.8), text takes more (1.2) */
    gap: 40px; /* Space between image and text columns */
    align-items: start; /* Align content to the top of each grid item */
}

/* --- Image Container --- */
.history-image-container {
    position: relative; /* For the border effect */
    overflow: hidden; /* Ensures content respects border-radius */
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(0, 0, 0, 0.05); /* Optional: Subtle border for visual separation */
    padding: 5px; /* Padding inside the border */
    background-color: #fcfcfc; /* A very light background behind the image */
}

.history-image-container img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Removes extra space below inline images */
    border-radius: var(--border-radius-small); /* Rounded corners for the image itself */
    object-fit: cover; /* Cover the container, potentially cropping */
}

/* --- Text Content Area --- */
.history-text-content {
    padding: 20px; /* Internal padding for text */
    background-color: #f4f7f8; /* Slightly different background for text block */
    border-radius: var(--border-radius-large);
}

.history-text-content p {
    font-size: 1em;
    color: var(--text-dark); /* Dark text color */
    margin-bottom: 20px;
}

.history-text-content p:last-child {
    margin-bottom: 0; /* No bottom margin on the last paragraph */
}

/* --- Link Styling (e.g., to Missions page) --- */
.history-text-content a {
    color: var(--color-primary); /* Primary accent color */
    text-decoration: none; /* No default underline */
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative; /* For dynamic underline effect */
}

/* Dynamic Underline Effect for Links */
.history-text-content a::after {
    content: '';
    position: absolute;
    width: 0; /* Starts at 0 width */
    height: 2px;
    display: block;
    margin-top: 2px;
    left: 0;
    background: var(--color-secondary); /* A different color for the underline hover */
    transition: width 0.3s ease; /* Animates width */
}

.history-text-content a:hover::after {
    width: 100%; /* Expands to full width on hover */
}

.history-text-content a:active::after {
    background: var(--color-primary); /* Change underline color when active/clicked */
}

/* --- Responsive Design Media Queries --- */

/* For screens up to 992px (e.g., typical tablet landscape or small desktops) */
@media (max-width: 992px) {
    .history-section-wrapper {
        margin: 30px auto;
        padding: 25px;
    }
    .history-main-title {
        font-size: 2.5em;
    }
    .history-intro-paragraph {
        font-size: 1em;
    }
    .history-content-layout {
        grid-template-columns: 1fr; /* Stack columns vertically */
        gap: 30px;
    }
    .history-image-container {
        max-width: 500px; /* Limit image width when stacked */
        margin: 0 auto; /* Center image when stacked */
    }
}

/* For screens up to 768px (e.g., smaller tablets or larger phones) */
@media (max-width: 768px) {
    .history-section-wrapper {
        margin: 20px 15px; /* More side margin on smaller screens */
        padding: 20px;
    }
    .history-main-title {
        font-size: 2em;
    }
    .history-text-content {
        padding: 15px; /* Reduce text content padding */
    }
    .history-text-content p {
        font-size: 0.95em;
    }
}

/* For screens up to 480px (e.g., most mobile phones in portrait) */
@media (max-width: 480px) {
    .history-section-wrapper {
        margin: 15px 10px;
        padding: 15px;
        border-radius: var(--border-radius-small); /* Slightly less rounded corners */
    }
    .history-main-title {
        font-size: 1.8em;
    }
    .history-intro-paragraph {
        font-size: 0.9em;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-caf375f *//* --- Global Variables --- */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Slab', serif;
    --color-primary: #00aeb9; /* Main accent color, lighter shade */
    --color-secondary: #2575fc; /* Secondary accent color, often for gradients */
    --text-dark: #343a40; /* Dark text color */
    --text-muted: #6c757d; /* Muted text color */
    --section-bg: #ffffff; /* White background for main sections */
    --border-radius-large: 16px; /* Larger border-radius for main containers */
    --border-radius-small: 8px; /* Smaller border-radius for internal elements */
    --accent-green: #05AEB9; /* Specific accent color for some titles/elements */
}

/* --- Body Base Styles --- */
body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the whole page */
}

/* --- General Section Wrapper for Pastors' Content --- */
.pastors-section-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius-large);
    box-sizing: border-box; /* Include padding in element's total width/height */
    overflow: hidden; /* Important for containing floats or negative margins */
}

/* --- Main Heading for Pastors' Section --- */
.pastors-section-wrapper h1 {
    font-family: var(--font-secondary);
    font-size: 3em;
    color: var(--color-primary);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.2;
    text-transform: uppercase; /* Makes the title stand out */
}

/* --- Content Layout for Text and Images (Grid) --- */
.pastors-content-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr; /* Images on left (0.8), text on right (1.5) */
    gap: 50px; /* Space between grid columns */
    align-items: start; /* Align content to the top */
    margin-bottom: 60px; /* Space before "Have Lunch" section */
}

/* --- Images Column - Modified for smaller, offset stacked images --- */
.pastors-images-column {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    gap: 0; /* Remove default gap between images to allow negative margins for overlap */
    align-items: center; /* Center images within their column */
    padding: 0; /* Removed padding around images container */
    border-radius: var(--border-radius-large); /* Apply border-radius to the column if desired */
    border: none; /* Removed border from the column container */
    position: relative; /* For z-index context of images */
    min-width: 250px; /* Adjust based on image size + offset to prevent squishing */
    max-width: 300px; /* Prevent it from getting too wide if space allows */
    margin: 0 auto; /* Center the image column when it's narrower than its grid cell */
}

.pastors-images-column img {
    width: 200px; /* Fixed width for square images */
    height: 200px; /* Fixed height for square images */
    object-fit: cover; /* Crop to fit the square dimensions */
    display: block; /* Removes extra space below inline images */
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(0,0,0,0.03); /* Very subtle internal border around images */
    transition: transform 0.3s ease, z-index 0.3s ease; /* Smooth hover transition */
    z-index: 1; /* Default z-index for all images */
}

/* Offset for the second image to create the stacked effect */
.pastors-images-column img:nth-child(2) {
    margin-top: 10px; /* Pushes the second image down */
    margin-left: 40px; /* Pushes it right for overlap */
    position: relative; /* Needed for z-index to work correctly relative to sibling */
    z-index: 2; /* Bring the second image slightly forward */
}

/* Optional Hover Effect for stacked images */
.pastors-images-column img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    z-index: 3; /* Bring the hovered image to the very front */
}

/* --- Text Column for Pastors' Story --- */
.pastors-text-column {
    padding: 20px;
    background-color: #f4f7f8; /* Different background for text block */
    border-radius: var(--border-radius-large);
    line-height: 1.7;
    font-size: 1.05em;
}

.pastors-text-column p {
    margin-bottom: 20px;
}

.pastors-text-column p:last-child {
    margin-bottom: 0; /* No bottom margin on the last paragraph */
}

/* --- Have Lunch With The Pastors Section --- */
.lunch-with-pastors-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #e6f6f7; /* Soft accent background */
    border-radius: var(--border-radius-large);
    border: 1px solid var(--color-primary); /* Border matching main accent color */
}

.lunch-with-pastors-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.2em;
    color: var(--accent-green); /* Use the specific green color */
    margin-top: 0;
    margin-bottom: 15px;
}

.lunch-with-pastors-section p {
    font-size: 1.1em;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto 30px auto; /* Centered with space before the button */
    line-height: 1.7;
}

/* --- Sign Up Button --- */
.sign-up-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); /* Gradient background */
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    font-size: 1.1em;
    font-family: var(--font-primary);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden; /* For shimmer effect */
    transition: transform 0.2s ease-out; /* Smooth lift transition */
}

/* Shimmer effect for button */
.sign-up-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15); /* Light overlay for shimmer */
    transform: rotate(45deg); /* Diagonal rotation */
    transition: transform 0.5s ease;
    opacity: 0; /* Hidden by default */
}
.sign-up-button:hover::after {
    transform: translate(25%, 25%) rotate(45deg); /* Moves and shows shimmer */
    opacity: 1;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.sign-up-button:hover,
.sign-up-button:focus {
    transform: translateY(-3px) scale(1.02); /* Slight lift and scale */
    outline: none; /* Remove default focus outline for aesthetics (consider accessibility) */
}
.sign-up-button:active {
    transform: translateY(-1px) scale(1.01); /* Slight press down effect */
}

/* --- Modal Styles --- */
.modal-overlay {
    display: none; /* Hidden by default, JavaScript controls visibility */
    position: fixed;
    z-index: 1000; /* High z-index to be on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scrolling if modal content is too large */
    background-color: rgba(0,0,0,0.7); /* Dark semi-transparent background */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px;
    box-sizing: border-box; /* Include padding in dimensions */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* For older browsers not fully supporting flex centering */
    padding: 0;
    border-radius: 10px;
    position: relative;
    width: 90%; /* Responsive width */
    max-width: 800px; /* Max width for modal content */
    height: 90%; /* Responsive height */
    max-height: 600px; /* Max height for modal content */
    display: flex;
    flex-direction: column; /* Stack header and body vertically */
    overflow: hidden; /* Hide anything that overflows, important for iframe scroll */
}

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); /* Gradient header */
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between; /* Title on left, close button on right */
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.4em;
    font-weight: 600;
}

.close-button {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1; /* Ensures 'x' is vertically centered */
}

.close-button:hover,
.close-button:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    flex-grow: 1; /* Allows iframe to take available space */
    overflow: hidden; /* Ensure iframe content scrolls if needed within its container */
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Removes extra space below iframe */
}

/* JavaScript toggled classes for modal visibility */
.modal-overlay.hidden {
    display: none;
}
.modal-overlay.visible {
    display: flex; /* Show by setting display to flex */
}

/* --- Responsive Adjustments --- */

/* For screens up to 992px (e.g., larger tablets or small desktops) */
@media (max-width: 992px) {
    .pastors-section-wrapper {
        margin: 30px auto;
        padding: 25px;
    }
    .pastors-section-wrapper h1 {
        font-size: 2.5em;
    }
    .pastors-content-layout {
        grid-template-columns: 1fr; /* Stack columns vertically */
        gap: 30px;
    }
    .pastors-images-column {
        padding: 0; /* Removed padding */
        max-width: 250px; /* Constrain stacked image column width */
    }
    .pastors-images-column img {
        width: 180px; /* Slightly smaller on medium screens */
        height: 180px;
    }
    /* Adjusted margin-top for the second image on medium screens */
    .pastors-images-column img:nth-child(2) {
        margin-top: 5px; /* Moved down */
        margin-left: 30px; /* Adjusted offset */
    }
    .pastors-text-column {
        padding: 15px;
        font-size: 1em;
    }
    .lunch-with-pastors-section h2 {
        font-size: 1.8em;
    }
    .lunch-with-pastors-section p {
        font-size: 1em;
    }
}

/* For screens up to 768px (e.g., smaller tablets or larger phones) */
@media (max-width: 768px) {
    .pastors-section-wrapper {
        margin: 20px 15px;
        padding: 20px;
    }
    .pastors-section-wrapper h1 {
        font-size: 2em;
    }
    .pastors-images-column {
        max-width: 200px;
    }
    .pastors-images-column img {
        width: 150px; /* Even smaller on tablets */
        height: 150px;
    }
    /* Adjusted margin-top for the second image on smaller tablets */
    .pastors-images-column img:nth-child(2) {
        margin-top: 10px; /* Moved down */
        margin-left: 25px; /* Adjusted offset */
    }
    .pastors-text-column {
        padding: 10px;
        font-size: 0.95em;
    }
    .lunch-with-pastors-section h2 {
        font-size: 1.6em;
    }
    .lunch-with-pastors-section p {
        font-size: 0.95em;
    }
    .sign-up-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .modal-content {
        width: 95%; /* Make modal wider on small screens */
    }
}

/* For screens up to 480px (e.g., most mobile phones in portrait) */
@media (max-width: 480px) {
    .pastors-section-wrapper {
        margin: 15px 10px;
        padding: 15px;
        border-radius: var(--border-radius-small);
    }
    .pastors-section-wrapper h1 {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .pastors-content-layout {
        gap: 20px;
    }
    .pastors-images-column {
        max-width: 150px; /* Smallest image column width */
    }
    .pastors-images-column img {
        width: 120px; /* Smallest on mobile */
        height: 120px;
    }
    /* Adjusted margin-top for the second image on mobile */
    .pastors-images-column img:nth-child(2) {
        margin-top: 15px; /* Moved down */
        margin-left: 20px; /* Adjusted offset */
    }
    .pastors-text-column {
        padding: 10px;
    }
    .lunch-with-pastors-section {
        padding: 25px 15px;
    }
    .lunch-with-pastors-section h2 {
        font-size: 1.4em;
    }
}/* End custom CSS */