/* Main Stylesheet - style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Typography */
body {
    text-align: left;
    background-image: url('../images/sand.jpg'); /* Replace with your actual image path */
    background-size: cover; /* Ensure the image covers the entire background */
    background-attachment: fixed; /* Keep the background fixed while scrolling */
    background-position: center; /* Center the background image */
    font-family: 'Times New Roman', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Times New Roman', sans-serif;
    color: #0000FF; /* Set headings to blue */
    text-align: left;
    text-decoration: none; /* Remove underline from headings */
}

/* Specific Rule for h2 Links */
h2 a {
    text-decoration: none; /* Remove underline from links inside h2 */
    color: inherit; /* Ensure the link inherits the color of the h2 */
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px; /* Reduced from 30px */
    text-align: center; /* Keep main headings centered */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2.5rem;
    margin: 20px 0;
}

h3 {
    font-size: 1.8rem;
    margin: 15px 0;
}

/* Links */
a {
    text-decoration: underline;
    color: #0000FF; /* Set link color to blue */
    transition: color 0.3s ease;
}

a:hover {
    color: #2438a8; /* Slightly darker blue on hover */
}

/* Layout */
#central {
    margin: 20px auto;
    position: relative;
    width: 95%; /* Changed from fixed 1400px */
    max-width: 1400px; /* Added max-width */
    text-align: left;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 40px); /* Account for margin */
}


/* Content Layout */
#content {
    background: rgba(255, 255, 255, 0.97);
    padding: 20px; /* Reduced padding */
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%; /* Changed from max-width */
    position: relative;
    z-index: 3;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Common Text Styles */
p {
    font-size: 20px; /* Increased from 18px */
    line-height: 1.6;
    margin-bottom: 15px; /* Reduced from 20px */
    color: #000; /* Changed from #333 to black */
}

/* Utility Classes */
.text-center {
    text-align: left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    background-image: url('../images/topimg.jpg');
    background-size: cover;
    background-position: center;
    height: 226px;
    width: 100%;
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Keeps alignment at bottom */
    padding-bottom: 5px; /* Reduced padding to move title lower */
}

#header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.3) 80%,
        rgba(0,0,0,0.7) 100%
    );
}

#header h2 {
    position: relative;
    color: #fff;
    padding: 15px 40px; /* Reduced top padding */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0; /* Removed bottom margin */
    font-size: 2.5rem;
    z-index: 2;
    width: 100%;
    text-align: center;
}

/* Header Link */
#header a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Ensure the link inherits the text color */
}

/* Navigation */
#navlist {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    background: transparent;
}

#navlist li {
    list-style: none;
    flex: 1;
    max-width: 280px;
    display: flex;
}

#navlist a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 15px 30px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    background: url('../images/Button2.png') no-repeat;
    background-size: 100% 100%;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}

#navlist a:hover,
#navlist a.active {
    background: url('../images/hoverbutton.png') no-repeat;
    background-size: 100% 100%;
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    z-index: 1;
}

/* Footer */
.footer {
    background-image: url('../images/footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 10px 10px; /* Only round bottom corners */
    padding: 40px;
    position: relative;
    z-index: 2;
    margin-top: -50px; /* Create overlap with separator */
    text-align: center;
}

/* Footer Content */
.footer p {
    margin: 10px 0;
    position: relative;
    z-index: 2;
    color: #000;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
}

.footer .contact-info {
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.footer .contact-info a {
    color: #0000FF; /* Set footer link color to blue */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer .contact-info a:hover {
    color: #2438a8; /* Slightly darker blue on hover */
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    position: relative;
    z-index: 3;
}

.footer .donate-button-container {
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.footer .scripture-quote {
    margin: 30px 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.footer .scripture-quote p {
    font-weight: bold;
    color: #000;
    font-style: italic;
    font-size: 16px;
    color: #555;
}

/* Footer Separator Image */
#footer-separator {
    background-image: url('../images/footer.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    width: 100%;
    height: 120px;
    position: relative;
    z-index: 1;
    margin-top: -40px; /* Pull separator up */
    margin-bottom: -80px; /* Pull footer up */
}

/* Donate Button */
.donate-button-container {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
}

.donate-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% auto;
    border-radius: 30px;
    text-decoration: none;
    transition: all 2s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: shine 2s linear infinite;
}

@keyframes shine {
    from {
        background-position: 200% center;
    }
    to {
        background-position: -200% center;
    }
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    animation-duration: 1s;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Reduced gap between icons */
    margin: 30px 0;
    position: relative;
    z-index: 3;
}

.social-icon {
    border-radius: 50%; /* Make icons circular */
    background: white; /* Add white background */
    padding: 5px; /* Add padding for the white circle */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-links a:hover .social-icon {
    transform: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Make all social icons same size */
.social-icon.youtube,
.social-icon.x,
.social-icon.facebook {
    width: 40px; /* Consistent size for all icons */
    height: 40px;
    object-fit: contain; /* Maintain aspect ratio */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Resource Links */
.resource-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    justify-content: flex-start;
    flex-direction: row;
}

.resource-link:hover {
    transform: none;
}

.resource-link img {
    width: 24px;
    height: 24px;
}

/* Sermon Items */
.sermon-list {
    margin: 30px 0;
}

.sermon-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sermon-title {
    color: #334fdc;
    font-size: 1.2em;
    margin-bottom: 12px;
}

/* Return Button */
.return-button {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 0 20px 0;  /* Adjusted margin */
    background-color: #334fdc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: fit-content;
}

.return-button:hover {
    background-color: #2438a8;
    transform: translateX(-3px);
}

/* Contact Section */
.contact-info {
    margin: 15px 0;
    text-align: center;
}

/* Scripture Quote */
.scripture-quote {
    margin: 20px 0;
    text-align: center;
    font-style: italic;
}

/* Container Layout */
.container1 {
    width: 100%;
    max-width: 1000px; /* Increased from 800px for better content width */
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.container1 .text {
    flex: 2;
    max-width: 800px;
}

/* Content Sections */
.intro-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(51, 79, 220, 0.1);
}

.intro-section .content-text {
    font-family: 'Calibri', sans-serif; /* Changed font to Calibri */
    font-size: 18px;
    font-weight: normal; /* Keep text normal weight */
    text-align: left;
    line-height: 1.6;
    color: #000; /* Keep text color black */
    text-align: center; /* Center align intro text */
    padding: 0 20px;
    margin-bottom: 20px;
}

/* Info Links Section */
.info-links {
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

/* Info Items */
.info-item {
    padding: 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(51, 79, 220, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-item p {
    font-size: 18px;
    line-height: 1.7;
    color: #000;
    text-align: left; /* Changed from right to left */
    padding: 0;
    margin: 10px 0 0 0;
}

/* Icon Links */
.icon-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-direction: row; /* Changed from row-reverse */
}

.icon-link img {
    width: 28px; /* Slightly larger icons */
    height: 28px;
}

.icon-link b {
    font-size: 22px;
    color: #334fdc;
    font-family: 'Dancing Script', cursive;
}

/* Additional Info */
.additional-info {
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(51, 79, 220, 0.1);
}

.additional-info .content-text {
    text-align: center;
    padding: 0;
    font-size: 18px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1440px) {
    #central {
        margin: 10px auto;
    }
}

@media (max-width: 1200px) {
    .container1 {
        padding: 15px;
    }
}

@media (max-width: 992px) {
    #content {
        padding: 15px;
    }

    .container1 {
        padding: 20px;
        margin: 10px;
    }

    .container1 {
        flex-direction: column;
        align-items: center;
    }

    .container1 .text {
        flex: 1;
        max-width: 800px;
        width: 100%;
        position: relative; /* Remove sticky on mobile */
    }

    .info-item {
        padding: 20px;
    }

    .intro-section,
    .info-links,
    .info-item,
    .additional-info {
        padding: 20px;
    }
    
    .icon-link b {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #navlist {
        flex-direction: column;
        padding: 10px 0;
    }
    
    #navlist li {
        width: 100%;
        max-width: none;
    }
    
    #navlist a {
        margin: 2px 0;
        font-size: 16px; /* Slightly smaller on mobile */
    }
    
    #header h2 {
        font-size: 1.5em;
        padding: 15px 20px;
    }
    
    #content {
        padding: 10px;
    }
    
    h1 {
        font-size: 2.5rem;
    }

    .container1 {
        flex-direction: column;
    }
    
    .container1 .text {
        flex: 1;
        width: 100%;
    }

    .info-item {
        padding: 15px;
    }

    #central {
        margin: 5px auto;
    }

    .intro-section .content-text {
        font-size: 18px;
        padding: 0 10px;
    }
    
    .info-item p {
        font-size: 16px;
    }
    
    .icon-link b {
        font-size: 18px;
    }
}

/* Get Involved Page Styles */
.column {
    float: left;
    width: 33.33%;
    padding: 20px;
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

.column-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.column img {
    max-width: 100px;
    height: auto;
    margin: 0 auto 15px;
}

.column-divider {
    width: 80%;
    margin: 15px auto;
    border-top: 1px solid #ddd;
}

.column h2 {
    font-size: 1.8rem;
    margin: 15px 0;
    color: #334fdc;
    text-align: center;
}

.column p {
    font-size: 18px;
    line-height: 1.6;
    margin: 15px 0;
    color: #000;
    text-align: justify;
    padding: 0 10px;
}

.column p a {
    color: #334fdc;
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .column {
        width: 100%;
    }
    
    .column-content {
        margin-bottom: 20px;
    }
}

/* Ministry Resources Page Styles */
.searchable-table-container {
    max-width: auto;
    margin: auto;
}

.searchable-table {
    width: 1000px;
    border-collapse: collapse;
    margin-top: 20px;
}

.searchable-table, th, td {
    border: 1px solid brown;
}

th, td {
    padding: 10px 50px;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

th {
    background-color: darkblue;
}

.search-box {
    width: 500px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.search-box:focus {
    outline: none;
    border-color: #007BFF;
}

.resource-links {
    margin: 40px 0;  /* Increased margin */
}

.resource-link {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    padding: 10px;
    justify-content: flex-start;
    flex-direction: row;
}

.resource-link img {
    width: 24px;
    height: 24px;
}

/* Letter Styles */
.letters-container {
    margin: 30px 0;
    padding: 0 20px;
}

.letter-item {
    padding: 15px 0;
    margin-bottom: 15px;
    cursor: pointer; /* Keep cursor pointer */
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.letter-item:last-child {
    border-bottom: none;
}

.letter-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.letter-header h3 {
    margin: 0;
    color: #334fdc;
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

/* Just remove transform but keep the color consistent */
.letter-item:hover .letter-header h3 {
    color: #334fdc;
}

/* PDF Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* About Page Specific Styles */
.about-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.about-images a img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.about-images a img:hover {
    transform: scale(1.1);
}

/* Center align specific elements */
.center-align {
    text-align: center;
}

/* Info Links */
.info-links {
    margin: 20px 0; /* Reduced from 30px */
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.info-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    text-align: left;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    flex-direction: row;
}

.icon-link img {
    width: 24px;
    height: 24px;
}

/* Info Items */
.info-item p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    text-align: right; /* Change to right alignment */
    padding-right: 0;
    padding-left: 40px; /* Add left padding to push content right */
    color: #000;
    margin: 0;
}

/* Links remain blue for visibility */
.info-item a, 
.content-text a {
    color: #334fdc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.info-item a:hover,
.content-text a:hover {
    color: #2438a8;
}

.info-item p {
    margin: 0;
    padding-left: 40px;
    text-align: right;  /* Ensure right alignment */
}

.info-item a {
    color: #334fdc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #2438a8;
}

/* About Page Content Styles */
.about-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

.about-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    text-align: center;
    color: #334fdc;
}

.about-content h2 {
    color: #334fdc;
    margin-top: 30px;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
}

/* Mission Page Specific Styles */
.mission-motto {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mission-points {
    padding: 20px;
}

.mission-points p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.mission-points strong {
    color: #334fdc;
}

/* Doctrine Section */
.doctrine-section {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
}

.doctrine-section h2 {
    color: #334fdc;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

.doctrine-section p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 16px;
}

.history-section {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.history-section p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Results Page Styles */
.results-section {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
}

.commission-points {
    margin: 30px 0;
    padding: 20px;
}

.commission-points p {
    margin-bottom: 20px;
    text-align: justify;
}

.commission-points strong {
    color: #334fdc;
}

.result-category {
    margin: 30px 0;
}

.result-category h2 {
    color: #334fdc;
    font-size: 1.5rem;
    margin: 20px 0 15px 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

.result-category ul li {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 16px;
}

/* Founder Page Styles */
.founder-section {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.founder-text {
    flex: 2;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.founder-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.founder-image {
    flex: 1;
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .founder-section {
        flex-direction: column;
    }
    
    .founder-image {
        order: -1;
        margin-bottom: 30px;
    }
}

/* Donor Page Link Styles */
.content a {
    color: #334fdc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #2438a8;
}

/* Keep donate button styling separate */
.content .donate-button {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    border-radius: 30px;
    transition: all 2s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin: 20px 0;
}

/* Donor Page Styles */
.donor-content {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.donor-content h2 {
    color: #334fdc;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

.donor-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.donor-content a {
    color: #334fdc;
    text-decoration: underline;
}

.donor-content a:hover {
    color: #2438a8;
}

/* Contact Page Styles */
.contact-section {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 1.6;
}

.contact-methods {
    margin: 40px 0;
}

.contact-item {
    margin-bottom: 30px;
    text-align: left;
}

.contact-item h3 {
    color: #334fdc;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
}

.contact-item p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-note {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-note p {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: justify;
}

.contact-note a {
    color: #334fdc;
    text-decoration: underline;
}

.contact-note a:hover {
    color: #2438a8;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    color: #000;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: #334fdc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2438a8;
}

/* Update Table Cells */
.sermon-table th,
.sermon-table td {
    text-align: left;
}

/* Keep Center Aligned Elements */
.text-center,
h1,
.footer,
.social-links,
.donate-button-container {
    text-align: center;
}

/* New Index Content Frame Styles */
#fullContent h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #334fdc;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.video-float {
    float: right;
    margin: 0 0 20px 20px;
    width: 420px;
    height: 236px;
    border: none;
}

/* Optional: make it responsive on smaller screens */
@media (max-width: 768px) {
    .video-float {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

/* Content Container */
.container1 {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Intro Section */
.intro-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Info Links Section */
.info-links {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Individual Info Items */
.info-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Icon Link Style */
.icon-link {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
    margin-bottom: 15px;
}

/* Text Content */
.content-text {
    font-family: 'Calibri', sans-serif; /* Changed font to Calibri */
    font-size: 18px;
    font-weight: normal; /* Keep text normal weight */
    text-align: left;
    line-height: 1.6;
    color: #000; /* Keep text color black */
}

/* Additional Info Section */
.additional-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Links */
.info-item a, 
.content-text a {
    color: #334fdc;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    #content {
        padding: 20px;
    }

    .container1 {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    #fullContent h1 {
        font-size: 2.5rem;
    }

    .info-item {
        padding: 15px;
    }
}

/* Content Frame Layout */
.content-frame {
    display: flex;
    justify-content: space-between; /* Space between text and video */
    align-items: flex-start; /* Align items at the top */
    gap: 20px; /* Add spacing between sections */
    margin-top: 20px;
}

/* Text Section */
.text-section {
    flex: 1; /* Take up equal space */
    max-width: 60%; /* Limit the width of the text section */
    text-align: justify; /* Justify the text */
    font-family: 'Times New Roman', Times, serif; /* Use Times New Roman font */
    font-size: 20px; /* Set font size to 20px */
}

/* Video Section */
.video-section {
    flex: 1; /* Take up equal space */
    max-width: 40%; /* Limit the width of the video section */
    text-align: center; /* Center the video */
}

.video-section iframe {
    width: 100%; /* Make the video responsive */
    height: 300px; /* Set a fixed height for the video */
}

/* Info Links */
.info-links {
    margin-top: 20px;
}

.info-item {
    margin-bottom: 20px;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.icon-link img {
    width: 24px;
    height: 24px;
}

.content-text {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    text-align: justify; /* Ensure text is justified */
}

