body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f7fc; 
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: #0dcaf0 !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #00324c !important;
}
.text-primary {
    --bs-text-opacity: 1;
    color: #16566e !important;
}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #00324c !important;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s 
ease-in-out, background-color .15s 
ease-in-out, border-color .15s 
ease-in-out;
}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: #00324c !important;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s 
ease-in-out, background-color .15s 
ease-in-out, border-color .15s 
ease-in-out;
}



element.style {
}
.btn-primary {
    background-color: #00324c !important;
    color: #fff !important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00324c;
    --bs-btn-border-color: #00324c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #00324c;
    --bs-btn-disabled-border-color: #00324c;
}
.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: Outfit;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #e9ecef;
    --bs-btn-bg: #16566e;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: #00324c !important;
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s 
ease-in-out, background-color .15s 
ease-in-out, border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
}


.btn-outline-primary {
    --bs-btn-color: #ffffff !important;
    --bs-btn-border-color: #00324c !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00324c !important;
    --bs-btn-hover-border-color: #00324c;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00324c !important;
    --bs-btn-active-border-color: #00324c !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #00324c !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00324c !important;
    --bs-gradient: none;
}
/* Contact Section */
.contact-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.contact-info, .contact-form {
    flex: 1 1 45%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #00008b;
    color: #fff;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.button:hover {
    background-color:#16566E;
}

.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

a {
    color: #16566e;
    text-decoration: none;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #00324c;
    font-weight:600px;
    
}

/* Form group styles */
.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    color: #00324c;
}
.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
    color: #00324c;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="password"] {
    padding-right: 40px;
}

/* Eye icon position */
.eye-icon {
    position: absolute;
    right: 10px;
    top: 11px;
    cursor: pointer;
    font-size: 20px;
    color: #555;
}

.required {
    color: red;
}

/* Flex layout for the form rows */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.form-row .form-group {
    width: 48%;
}

/* Submit button styles */
.submit-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.submit-button:hover {
    background-color: #45a049;
}

/* Alert message styles */
.alert {
    margin-top: 15px;
    
}

/* Hero slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 550px;
    margin-bottom: 30px;
}

.hero-slider img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: none;
    position:top-center;
}

.hero-slider img.active {
    display: block;
}
.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
     color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}
.pastor-image {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    max-height: 200px; 
    display: block;
    margin: 0 auto;
}
.pastor-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.pastor-card:hover {
    transform: translateY(-5px);
}

.pastor-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.pastor-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.pastor-church {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.btn-vote {
    background-color: #00324c;
    color: #fff;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-vote:hover {
    background-color: #00008B;
    color: #fff;
}

/* Footer styles */
.main-footer {
    background-color: #00324c;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-column {
    flex: 1 1 22%;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-column p,
.footer-column ul {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #16566E;
}

.footer-column i {
    margin-right: 8px;
    color: #16566E;
}

.social-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.social-links a {
    margin-left: 5px;
    color: #333;
    text-decoration: none;
}

.social-links a:hover {
    color: #16566E;
}

.bottom-footer {
    background-color: #16566E;
    text-align: center;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 14px;
}

.btn-primary {
    background-color: #00324c !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: #16566E !important;
}

.btn-secondary {
    background-color: #16566E !important;
    color: #fff !important;
}

.btn-secondary:hover {
    background-color: #00324c !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (min-width: 600px) {
    .form-group {
        flex: 1 1 45%;
    }
}
@media (min-width: 992px) {
  .col-lg-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

