/* Body & Footer Styling (Dedicated) */

/* Restore Default Font Size */
body {
    margin: 0;

    font-size: 20px; !important;
    line-height: 1.6;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
:lang(en) {
    font-family: 'Arial','Times New Roman','sans-serif';
}
:lang(ko) {
    font-family: 'YDIYMjO150', 'Arial', 'sans-serif';
}
/* Restore Two-Column Layout Except for Home and Contact Pages */
.content-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 30px 20px;
}
.background-div {
    width: 100%;
    height: 400px; /* Keeps the image visible */
    background-image: url('https://www.stjohngrace.org/images/church.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.content-left {
    width: 75%; /* Adjust width as needed */
}

.content-right {
    width: 25%; /* Adjust width as needed */
    margin-left: 3%;
    display: block;
}

/* Ensure Home and Contact Pages Remain Single Column */
body.page-home .content-container,
body.page-contact .content-container {
    display: block;
}

body.page-home .content-left,
body.page-contact .content-left {
    width: 100%;
}

body.page-home .content-right,
body.page-contact .content-right {
    display: none;
}

li {
    margin-left: 20px;
}
.checkmark-list {
    margin-left: -15px;
    list-style-type: disc; /* Ensures default bullet style */
}

.checkmark-list li::marker {
    color: white; /* Makes only the bullet white */
}

a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits text color from parent element */
}

/* Remove Underline from Email & Phone Links */
a[href^="mailto:"], a[href^="tel:"] {
    text-decoration: none !important; /* Removes underline */
    color: inherit; /* Keeps text color consistent */
}

/* Optional: Make Phone & Email Text Bold */
.phone-number, .email-address {
    font-weight: bold;
}
.hero {
    width: 100%;
    margin: 0 0 -40px 0;
    padding: 0;
}
input[type="email"],
input[type="password"], #name, #phone {
    border: 1px solid black !important; /* Ensures a black border */
    background-color: white; /* Optional: Set background to white */
    color: black; /* Set text color */
    padding: 10px; /* Ensure consistent spacing */
    height: 40px; /* Match height with other inputs */
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Prevent padding from increasing size */
    border-radius: 5px; /* Optional: Make corners round */
}
input[type="button"], input[type="submit"] {
    background-color: #007bff; /* Blue color */
    color: white;
    border: none;
    padding: 12px 14px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}
/* Fixing Sections That Were Too Close Together */
section {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 30px 20px;
}
.application-container-title {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
}
.application-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px;
}
/* Reduce Space for First Section */
section:first-of-type {
    margin-top: 20px; /* Reduced from 40px to 20px (50% Reduction) */
}

/* Ensure Extra Margin for Bold Subtitles */
h3, h4 {
    margin-top: 30px;
}
select {
    width: 100%;
    padding: 8px;
    border: 2px solid #000; /* Matches other input fields */
    border-radius: 5px;
    font-size: 20px;
    background-color: white;
    color: black;
    height: 42px; /* Ensures it matches input height */
    box-sizing: border-box; /* Prevents padding from increasing size */
}

/* Fix Phone Number Format */
.phone-number {
    font-size: 18px;
    font-weight: bold;
}

/* Make Input Fields Thicker */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #000; /* Makes Border Thicker */
    border-radius: 5px;
    font-size: 16px;
}

/* Table Styling */
table {
    max-width: 1200px;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ccc; /* Fixes Table Borders */
}

th, td {
    border: 1px solid #ccc; /* Fixes Cell Borders */
    padding: 12px;
    text-align: left;
}

th {
    background: #2C3E50;
    color: white;
}

/* Footer Styling */
.footer {
    background: #000000; /* Black Background */
    color: white; /* White Text */
    width: 100%;
    padding: 40px 0; /* Adds Margin on Top and Bottom */
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
}

/* Footer Container */
.footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}
/* Make children (columns) flexible */
.column {
    flex: 1;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .main-container, section {
        width: 95%;
    }
    .container {
        flex-direction: column;
    }
    .content-left {
        width: 95%;
    }
    .content-right {
        display: none;
    }
    .footer .footer-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .content-left {
        width: 90%;
    }

    .content-right {
        display: none;
    }
    .column {
        width: 100%; /* Ensure full width */
    }
    .main-container {
        width: 90%;
        padding: 15px;
    }
    .footer {
        padding: 30px 0; /* Adjusted Padding for Smaller Screens */
    }
    section {
        width: 90%;
        padding: 15px;
    }
}
