/*!
 * Bootstrap v4.2.1 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
:root {
  --blue: #00275b;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #00275b;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

}


figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

/* Add these styles at the end of your CSS file */

/* ============================================
   MAKE DARK TEXT BOLD AND INDENTED
   WHITE TEXT REMAINS UNCHANGED
   ============================================ */

/* Make body text bolder - only for dark backgrounds */
body p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle):not(.slider-text p):not(.ftco-intro p):not(.testimony-wrap p):not(.subsermon p):not(.ftco-footer p),
body .ministry-card-description,
body .blog-entry .blog-excerpt,
body .contact-info-item p,
body .testimonial-content p,
body .event-details p,
body .goal-content p,
body .mission-vision-card p,
body .impact-card p,
body .donation-description,
body .method-details p,
body .stewardship-text,
body .faq-accordion .accordion-body p,
body .testimonial-card p,
body .help-card p,
body .sermon-wrap .text p,
body .services p,
body .about-page-content .desc p {
  font-weight: 500 !important;
  color: #2c3e50 !important;
}

/* Make headings bold - only for dark text */
body h1:not(.text-white):not(.hero-title),
body h2:not(.text-white):not(.hero-title),
body h3:not(.text-white),
body h4:not(.text-white),
body h5:not(.text-white),
body h6:not(.text-white),
body .ministry-card-title a,
body .post-title,
body .sidebar-box h3,
body .contact-info-card h3,
body .contact-form-wrapper h3,
body .donation-header h3,
body .impact-card h4,
body .stewardship-card h3 {
  font-weight: 700 !important;
}

/* Make links bold - only for dark links */
body a:not(.navbar a):not(.mobile-menu a):not(.text-white):not(.btn):not(.social-link):not(.tag-pill) {
  font-weight: 500 !important;
}

/* ============================================
   BLOCK INDENTATION (FULL PARAGRAPH) - ONLY FOR ABOUT PAGE
   Like Microsoft Word document style
   ============================================ */

/* Shared selector list as a custom property workaround — define once */
.about-page-content .desc p,
.about-page-content .heading-section p,
.row.d-flex .desc p,
.row.d-flex .heading-section p,
.col-md-6.px-5.py-5 p,
.col-md-6.order-last .desc p {
  margin-left: 1.5em !important;
  margin-right: 1.5em !important;   /* ← added: right indent for true block style */
  margin-bottom: 1rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;      /* ← added: ensure no padding conflicts */
  text-indent: 0 !important;

  /* Text styling */
  font-weight: 500 !important;
  color: #2c3e50 !important;
}

/* Remove any indentation from headings */
.about-page-content h2,
.row.d-flex h2,
.col-md-6 h2 {
  margin-left: 0 !important;
  margin-right: 0 !important;       /* ← added for consistency */
  text-indent: 0 !important;
}

/* Responsive — tablet */
@media (max-width: 768px) {
  .about-page-content .desc p,
  .about-page-content .heading-section p,
  .row.d-flex .desc p,
  .row.d-flex .heading-section p,
  .col-md-6.px-5.py-5 p,
  .col-md-6.order-last .desc p {
    margin-left: 1.5em !important;
    margin-right: 1.5em !important;
  }
}

/* Responsive — mobile */
@media (max-width: 576px) {
  .about-page-content .desc p,
  .about-page-content .heading-section p,
  .row.d-flex .desc p,
  .row.d-flex .heading-section p,
  .col-md-6.px-5.py-5 p,
  .col-md-6.order-last .desc p {
    margin-left: 1em !important;
    margin-right: 1em !important;
  }
}

/* ============================================
   LEADERSHIP SECTION - MAKE TEXT BOLD ONLY
   Preserves all original colors and styling
   ============================================ */

/* Make the Leadership heading bold like other headings */
.testimony-section .heading-section h2 {
  font-weight: 700 !important;
}

/* Make pastor names bold like other headings */
.testimony-wrap .name {
  font-weight: 700 !important;
  font-family: "Raleway", Arial, sans-serif !important;
  color: #00275b !important;
}

/* Make pastor positions semi-bold like other text */
.testimony-wrap .position {
  font-weight: 600 !important;
  font-family: "Poppins", Arial, sans-serif !important;
  color: #666 !important;
}

/* Ensure the cards maintain their original styling */
.testimony-wrap {
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  padding: 1rem !important;
}

.testimony-wrap:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Keep the user image styling */
.testimony-wrap .user-img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  margin: 0 auto !important;
  border: 4px solid #fff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimony-wrap .user-img {
    width: 100px !important;
    height: 100px !important;
  }
  
  .testimony-wrap .name {
    font-size: 1rem !important;
  }
  
  .testimony-wrap .position {
    font-size: 0.85rem !important;
  }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
  /* Reduce indentation on mobile */
  body p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle),
  body .ministry-card-description,
  body .blog-entry .blog-excerpt,
  body .contact-info-item p {
    text-indent: 1.2em !important;
    font-size: 15px !important;
  }
  
  body li:not(.mobile-nav-list li):not(.desktop-nav-list li):not(.text-white) {
    text-indent: 1em !important;
  }
}

@media (max-width: 576px) {
  body p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle),
  body .ministry-card-description,
  body .blog-entry .blog-excerpt {
    text-indent: 1em !important;
    font-size: 14px !important;
  }
  
  body li:not(.mobile-nav-list li):not(.desktop-nav-list li):not(.text-white) {
    text-indent: 0.8em !important;
  }
}

/* ============================================
   PROTECT ALL WHITE TEXT - NO CHANGES
   ============================================ */

/* These elements keep their original styling - NO changes */
.text-white,
.navbar,
.navbar *,
.mobile-menu,
.mobile-menu *,
.hero-title,
.hero-subtitle,
.stat-item span,
.give-hero-subtitle,
.slider-text h1,
.slider-text .subheading,
.slider-text p,
.ftco-intro p,
.ftco-intro h2 a,
.ftco-intro .event-details p,
.ftco-intro .time,
.ministry-hero .stat-item span,
.ministry-category-badge,
.give-hero .stat-item span,
.testimony-wrap p,
.testimony-wrap .name,
.testimony-wrap .position,
/* .subsermon p,
.subsermon a,
.subsermon .heading, */
.ftco-footer p,
.ftco-footer a,
.ftco-footer .ftco-footer-widget h2,
.cta-card,
.cta-card *,
.social-link,
.btn-cta,
.btn-donate,
.contact-submit-button,
.tag-pill,
.tag-pill-large {
  font-weight: inherit !important;
  text-indent: 0 !important;
  color: inherit !important;
}

/* Ensure hero text stays white */
.hero-title,
.hero-subtitle {
  color: white !important;
  text-indent: 0 !important;
}

/* Ensure navbar text stays white */
.navbar,
.navbar * {
  color: rgba(255, 255, 255, 0.9) !important;
  text-indent: 0 !important;
}

/* Ensure footer text stays white */
.ftco-footer,
.ftco-footer * {
  color: rgba(255, 255, 255, 0.8) !important;
  text-indent: 0 !important;
}

/* Ensure button text stays white when on dark backgrounds */
.btn-primary,
.btn-donate,
.contact-submit-button,
.social-link {
  color: white !important;
  text-indent: 0 !important;
}

/* Dark text color for cards on light backgrounds */
.ministry-card-description,
.blog-entry .blog-excerpt,
.contact-info-item p,
.testimonial-content p,
.event-details p,
.goal-content p,
.mission-vision-card p {
  color: #4a5568 !important;
}

/* No indentation for special elements */
.hero-content p,
.slider-text p,
.ftco-intro .container p,
.navbar .container p,
.footer .container p,
.cta-card p,
.social-link,
.contact-icon,
.method-icon,
.quick-link {
  text-indent: 0 !important;
}

/* ============================================
   PROTECT ONLY WHITE TEXT ON DARK BACKGROUNDS
   DO NOT FORCE COLORS ON OTHER ELEMENTS
   ============================================ */

/* Only protect elements that are SUPPOSED to be white */
.navbar,
.navbar *,
.mobile-menu,
.mobile-menu *,
.hero-title,
.hero-subtitle,
.stat-item span,
.give-hero-subtitle,
.slider-text h1,
.slider-text .subheading,
.slider-text p,
.ftco-intro p,
.ftco-intro h2 a,
.ftco-intro .event-details p,
.ftco-intro .time,
.ministry-hero .stat-item span,
.ministry-category-badge,
.give-hero .stat-item span,
.subsermon,
.subsermon *,
.ftco-footer,
.ftco-footer *,
.cta-card,
.cta-card *,
.social-link,
.btn-cta,
.btn-donate,
.contact-submit-button,
.tag-pill,
.tag-pill-large {
  /* Keep their original white colors - don't force changes */
  text-indent: 0 !important;
}

/* DO NOT force color: inherit on testimony-wrap */
/* Remove that rule entirely */




/* Make text bolder - only for non-white text */
p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle):not(.slider-text p):not(.ftco-intro p):not(.subsermon p):not(.ftco-footer p):not(.testimony-wrap p):not(.testimony-wrap .name):not(.testimony-wrap .position),
.ministry-card-description,
.blog-entry .blog-excerpt,
.contact-info-item p:not(.text-white),
.testimonial-content p:not(.text-white),
.event-details p:not(.text-white),
.goal-content p:not(.text-white),
.mission-vision-card p:not(.text-white),
.impact-card p:not(.text-white),
.donation-description,
.method-details p:not(.text-white),
.stewardship-text,
.faq-accordion .accordion-body p:not(.text-white),
.testimonial-card p:not(.text-white),
.help-card p:not(.text-white),
.sermon-wrap .text p:not(.text-white),
.services p:not(.text-white),
.about-page-content .desc p:not(.text-white),
.post-content p:not(.text-white) {
  font-weight: 500 !important;
}

/* ============================================
   SERMON SECTION - PRESERVE WHITE TEXT ON BLUE BACKGROUND
   ============================================ */

/* Ensure subsermon section has white text as originally designed */
.subsermon,
.subsermon *,
.subsermon .heading,
.subsermon p,
.subsermon a,
.subsermon h2,
.subsermon .sermon-wrap .text h2 a,
.subsermon .sermon-wrap .meta span,
.subsermon .sermon-wrap .meta span a,
.subsermon .sermon-wrap .meta p,
.subsermon .sermon-wrap .meta p span,
.subsermon .sermon-wrap .meta p span a,
.subsermon .btn,
.subsermon .btn-custom,
.subsermon .btn-custom a {
  color: white !important;
}

/* Keep links white in sermon section */
.subsermon a {
  color: white !important;
}

.subsermon a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: underline !important;
}

/* Headings bolder - only for non-white headings */
h1:not(.text-white):not(.hero-title),
h2:not(.text-white):not(.hero-title),
h3:not(.text-white),
h4:not(.text-white),
h5:not(.text-white),
h6:not(.text-white),
.ministry-card-title a,
.post-title,
.sidebar-box h3,
.contact-info-card h3,
.contact-form-wrapper h3,
.donation-header h3,
.impact-card h4,
.stewardship-card h3 {
  font-weight: 700 !important;
}

/* Links bolder - only for non-white links */
a:not(.navbar a):not(.mobile-menu a):not(.text-white):not(.btn):not(.social-link):not(.tag-pill) {
  font-weight: 500 !important;
}

/* ============================================
   BLOCKQUOTES - No indent, just border
   ============================================ */

blockquote:not(.text-white),
.post-content blockquote:not(.text-white) {
  text-indent: 0 !important;
  padding-left: 1.5rem !important;
  margin-left: 0 !important;
  border-left: 4px solid #00275b !important;
}

/* ============================================
   HEADINGS - No indentation
   ============================================ */

h1:not(.text-white):not(.hero-title),
h2:not(.text-white):not(.hero-title),
h3:not(.text-white),
h4:not(.text-white),
h5:not(.text-white),
h6:not(.text-white),
.hero-title,
.hero-subtitle {
  text-indent: 0 !important;
}

/* ============================================
   MOBILE RESPONSIVE - Reduced indentation
   ============================================ */

@media (max-width: 768px) {
  p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle):not(.testimony-wrap p):not(.testimony-wrap .name):not(.testimony-wrap .position),
  .ministry-card-description,
  .blog-entry .blog-excerpt,
  .contact-info-item p:not(.text-white) {
    text-indent: 1.2em !important;
    font-size: 15px !important;
  }
  
  li:not(.mobile-nav-list li):not(.desktop-nav-list li):not(.text-white):not(.testimony-wrap .name):not(.testimony-wrap .position) {
    text-indent: 1em !important;
  }
}

@media (max-width: 576px) {
  p:not(.text-white):not(.hero-title):not(.hero-subtitle):not(.stat-item span):not(.give-hero-subtitle):not(.testimony-wrap p):not(.testimony-wrap .name):not(.testimony-wrap .position),
  .ministry-card-description,
  .blog-entry .blog-excerpt {
    text-indent: 1em !important;
    font-size: 14px !important;
  }
  
  li:not(.mobile-nav-list li):not(.desktop-nav-list li):not(.text-white):not(.testimony-wrap .name):not(.testimony-wrap .position) {
    text-indent: 0.8em !important;
  }
}

/* ============================================
   DARK TEXT COLOR FOR LIGHT BACKGROUNDS
   ============================================ */

/* Ensure dark text on light backgrounds */
.ministry-card-description,
.blog-entry .blog-excerpt,
.contact-info-item p,
.testimonial-content p,
.event-details p,
.goal-content p,
.mission-vision-card p,
.testimony-wrap .text p,
.testimony-wrap .name,
.testimony-wrap .position {
  color: #333 !important;
}

/* No indentation for special elements */
.hero-content p,
.slider-text p,
.ftco-intro .container p,
.navbar .container p,
.footer .container p,
.cta-card p,
.social-link,
.contact-icon,
.method-icon,
.quick-link {
  text-indent: 0 !important;
}


body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus {
  outline: 0 !important;
}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}


ul {
  margin-top: 0;
  margin-bottom: 1rem;
}


ul ul {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

a {
  color: #00275b;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}


code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

output {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1,
.h1 {
  font-size: 2.5rem;
}

h2,
.h2 {
  font-size: 2rem;
}

h3,
.h3 {
  font-size: 1.75rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

small,
.small {
  font-size: 80%;
  font-weight: 400;
}

mark,
.mark {
  padding: 0.2em;
  background-color: #fcf8e3;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.figure {
  display: inline-block;
}

code {
  font-size: 87.5%;
  color: #e83e8c;
  word-break: break-word;
}

a>code {
  color: inherit;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

/* Heading Styles (Specific to ministries page) */
/* Ministries specific styles - Card Layout */
.ministry-card-container {
  margin-bottom: 30px;
}

.ministry-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ministry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ministry-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.ministry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ministry-card:hover .ministry-card-img img {
  transform: scale(1.05);
}

.ministry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 39, 91, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ministry-card:hover .ministry-overlay {
  opacity: 1;
}

.ministry-overlay span {
  color: white;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 20px;
  border: 2px solid white;
  border-radius: 4px;
}

.ministry-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ministry-category {
  color: #00275b;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.ministry-card-title {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.ministry-card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ministry-card-title a:hover {
  color: #00275b;
}

.ministry-card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 15px;
}

.ministry-card-footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.ministry-read-more {
  color: #00275b;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.ministry-read-more:hover {
  color: #001a3d;
  text-decoration: none;
  transform: translateX(5px);
}

.ministry-read-more::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.ministry-read-more:hover::after {
  transform: translateX(5px);
}

/* Pagination Styles */
#pagination-controls {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

#pagination-controls li {
  margin: 0 5px;
}

#pagination-controls li a,
#pagination-controls li span {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 4px;
  background: #fff;
  color: #00275b;
  text-decoration: none;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

#pagination-controls li.active span,
#pagination-controls li a:hover {
  background: #00275b;
  color: white;
  border-color: #00275b;
}

/* Responsive */
@media (max-width: 992px) {
  .ministry-card-img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .ministry-card-img {
    height: 180px;
  }

  .ministry-card-body {
    padding: 20px;
  }

  .ministry-card-title {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .ministry-card {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ministry Detail Page Styles */
.ministry-hero {
  min-height: 400px;
  position: relative;
}

.ministry-hero .parallax-img {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.ministry-category-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid;
  margin-bottom: 20px;
  font-weight: 500;
}

.ministry-hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-item i {
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 14px;
  opacity: 0.9;
}

/* Content Cards */
.ministry-content-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.ministry-content-card .card-body {
  padding: 40px;
}

/* Mission & Vision Cards */
.mission-vision-card {
  padding: 25px;
  border-radius: 8px;
  height: 100%;
}

.mission-vision-card.mission {
  background-color: rgba(0, 123, 255, 0.1);
  border-left: 4px solid #007bff;
}

.mission-vision-card.vision {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
}

.mission-vision-card .icon {
  font-size: 30px;
  margin-bottom: 15px;
  color: inherit;
}

/* Goals */
.goal-card {
  display: flex;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  height: 100%;
  transition: transform 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.goal-card.completed {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
}

.goal-icon {
  margin-right: 15px;
  font-size: 24px;
  color: #00275b;
}

.goal-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 10px;
}

.goal-status.completed {
  background: #d4edda;
  color: #155724;
}

.goal-status.in-progress {
  background: #fff3cd;
  color: #856404;
}

/* Events */
.events-list {
  border-left: 3px solid #00275b;
  padding-left: 20px;
}

.event-item {
  position: relative;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  position: absolute;
  left: -50px;
  top: 15px;
  text-align: center;
  background: white;
  padding: 5px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 40px;
}

.event-date .day {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #00275b;
}

.event-date .month {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.event-details {
  margin-left: 20px;
}

/* Testimonials */
.testimonial-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #00275b;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* Ministry Details */
/* Ministry Detail Page Styles */
/* Remove conflicting Bootstrap overrides */

/* Hero Section */
.ministry-hero {
  min-height: 400px;
}

.ministry-hero .parallax-img {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.ministry-category-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid;
  margin-bottom: 20px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.ministry-hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-item i {
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 14px;
  opacity: 0.9;
}

/* Content Cards */
.ministry-content-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.ministry-content-card .card-body {
  padding: 2rem;
}

/* Sidebar Cards */
.ministry-sidebar-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: white;
}

.ministry-sidebar-card .card-body {
  padding: 1.5rem;
}

.sidebar-section-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 39, 91, 0.1);
}

.sidebar-section-header h4 {
  color: #00275b;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}

/* Contact Information */
.contact-info-section {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background-color: rgba(0, 39, 91, 0.02);
  border-radius: 6px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 39, 91, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #00275b;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

.contact-value-link {
  color: #00275b;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.contact-value-link:hover {
  color: #001a3d;
  text-decoration: underline;
}

/* Social Media Section */
.social-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-section-title {
  color: #00275b;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.social-link i {
  font-size: 1.1rem;
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.social-link-text {
  flex: 1;
}

.social-link.facebook {
  background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #fd1d1d);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, #00275b 0%, #004085 50%, #0056b3 100%);
  color: white;
  text-align: center;
}

.cta-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.cta-title {
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-cta {
  background: white;
  color: #00275b;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-cta:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #001a3d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta i {
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.btn-cta:hover i {
  transform: translateX(5px);
}

/* Related Ministries */
.related-ministries {
  width: 100%;
}

.related-ministry-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
}

.related-ministry-item:last-child {
  border-bottom: none;
}

.related-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 1rem;
  flex-shrink: 0;
}

.related-details {
  flex: 1;
  min-width: 0;
}

.related-details h6 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.related-details h6 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-details h6 a:hover {
  color: #00275b;
  text-decoration: none;
}

.related-tagline {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
  word-break: break-word;
}

/* Mission & Vision Cards */
.mission-vision-card {
  padding: 1.5rem;
  border-radius: 8px;
  height: 100%;
}

.mission-vision-card.mission {
  background-color: rgba(0, 123, 255, 0.1);
  border-left: 4px solid #007bff;
}

.mission-vision-card.vision {
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
}

.mission-vision-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: inherit;
}

/* Goals */
.goal-card {
  display: flex;
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 8px;
  height: 100%;
  transition: transform 0.3s ease;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.goal-card.completed {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
}

.goal-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
  color: #00275b;
  flex-shrink: 0;
}

.goal-content {
  flex: 1;
}

.goal-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.goal-status.completed {
  background: #d4edda;
  color: #155724;
}

.goal-status.in-progress {
  background: #fff3cd;
  color: #856404;
}

/* Events */
.events-list {
  border-left: 3px solid #00275b;
  padding-left: 1.5rem;
}

.event-item {
  position: relative;
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  position: absolute;
  left: -2.5rem;
  top: 1.25rem;
  text-align: center;
  background: white;
  padding: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 45px;
}

.event-date .day {
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  color: #00275b;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #666;
  line-height: 1;
}

.event-details {
  margin-left: 0;
}

/* Testimonials */
.testimonial-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #00275b;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

/* Contact Form */
.ministry-contact-form {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ministry-contact-form .card-body {
  padding: 2.5rem;
}

/* Category Cards */
.category-card {
  display: block;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  height: 100%;
  background: white;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
}

.category-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

/* Responsive Styles */
@media (max-width: 991px) {

  .ministry-content-card .card-body,
  .ministry-sidebar-card .card-body {
    padding: 1.5rem;
  }

  .cta-icon {
    font-size: 2.5rem;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .ministry-hero-stats {
    gap: 20px;
  }

  .event-date {
    position: static;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    vertical-align: middle;
  }

  .event-details {
    display: inline-block;
    vertical-align: middle;
    max-width: calc(100% - 70px);
  }

  .events-list {
    border-left: none;
    padding-left: 0;
  }

  .social-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-link {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }

  .related-image {
    width: 50px;
    height: 50px;
  }

  .contact-item:hover {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 576px) {

  .ministry-content-card .card-body,
  .ministry-sidebar-card .card-body,
  .ministry-contact-form .card-body {
    padding: 1.25rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }

  .related-ministry-item {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 0;
  }

  .related-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .mission-vision-card {
    margin-bottom: 1rem;
  }

  .goal-card {
    flex-direction: column;
    text-align: center;
  }

  .goal-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters>.col,
.no-gutters>[class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.col-3,
.col-9,
.col,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-12,
.col-md,
.col-lg-4,
.col-lg-6,
.col-lg-8 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.col-3 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-9 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.order-last {
  -webkit-box-ordinal-group: 14;
  -ms-flex-order: 13;
  order: 13;
}

@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-md-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-7 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
  }

  .col-md-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }

  .col-md-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-md-10 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
  }

  .col-md-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-md-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }

  .col-lg-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }

  .order-lg-last {
    -webkit-box-ordinal-group: 14;
    -ms-flex-order: 13;
    order: 13;
  }
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table tbody+tbody {
  border-top: 2px solid #dee2e6;
}

.table .table {
  background-color: #fff;
}

.form-control {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
  .form-control {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

select.form-control:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}

select.form-control[size],
select.form-control[multiple] {
  height: auto;
}

textarea.form-control {
  height: auto;
}

.form-group {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
  .btn {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.btn:hover {
  color: #212529;
  text-decoration: none;
}

.btn:focus,
.btn.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled,
.btn:disabled {
  opacity: 0.65;
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background-color: #00275b;
  border-color: #00275b;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-primary:focus,
.btn-primary.focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #00275b;
  border-color: #00275b;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fade {
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

@media screen and (prefers-reduced-motion: reduce) {
  .fade {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
  -o-transition: height 0.35s ease;
  transition: height 0.35s ease;
}

@media screen and (prefers-reduced-motion: reduce) {
  .collapsing {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.dropup,
.dropright,
.dropdown,
.dropleft {
  position: relative;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropup .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.125rem;
}

.dropup .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}

.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-menu {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}

.dropright .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}

.dropright .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropright .dropdown-toggle::after {
  vertical-align: 0;
}

.dropleft .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.125rem;
}

.dropleft .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}

.dropleft .dropdown-toggle::after {
  display: none;
}

.dropleft .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}

.dropleft .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropleft .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-menu[x-placement^="top"],
.dropdown-menu[x-placement^="right"],
.dropdown-menu[x-placement^="bottom"],
.dropdown-menu[x-placement^="left"] {
  right: auto;
  bottom: auto;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:first-child {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.dropdown-item:last-child {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #00275b;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

/* ============================================
SINGLE CSS FILE - NO CONFLICTS, EVERYTHING FIXED
 ============================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 80px;
  font-family: 'Poppins', sans-serif;
}

/* Main Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.navbar-scrolled {
  background: linear-gradient(135deg, #0c0c1a 0%, #0d1930 50%, #0a2452 100%);
  height: 70px;
  backdrop-filter: blur(10px);
}

.navbar .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ============================================
       BRAND - COMPLETELY FIXED & FULLY VISIBLE
       ============================================ */
.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  line-height: 1.2;
  background: linear-gradient(45deg, #fff, #e6e6e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 2rem;
  max-width: none !important;
  overflow: visible !important;
  display: inline-block;
}

.navbar-brand span {
  font-weight: 300;
  opacity: 0.8;
  display: inline;
  white-space: nowrap;
}

/* ============================================
       DESKTOP NAVIGATION (1024px+)
       ============================================ */
@media (min-width: 1024px) {

  .navbar-toggler,
  .mobile-menu,
  .mobile-menu-close {
    display: none !important;
  }

  .desktop-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin-left: 2rem;
  }

  /* Desktop Navigation List - CENTERED */
  .desktop-nav-list {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0 2rem 0 0;
  }

  .desktop-nav-list li {
    list-style: none;
    position: relative;
  }

  .desktop-nav-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
  }

  .desktop-nav-list a:hover,
  .desktop-nav-list a.active {
    color: white;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
  }

  /* Desktop Dropdown */
  .desktop-dropdown {
    position: relative;
  }

  .desktop-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .desktop-dropdown .dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    margin-left: 5px;
    transition: transform 0.3s ease;
  }

  .desktop-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .desktop-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(20, 25, 45, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.8rem 0;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
  }

  .desktop-dropdown:hover .desktop-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
  }

  .desktop-dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.7rem 1.5rem;
    border-left: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    text-align: left;
  }

  .desktop-dropdown-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #fe9c00;
    padding-left: 1.8rem;
  }

  .desktop-dropdown-menu .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
  }

  /* Desktop Social Icons - RIGHT AFTER NAV ITEMS */
  .desktop-social {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    flex-shrink: 0;
    margin: 0 1rem;
  }

  .desktop-social li {
    list-style: none;
  }

  .desktop-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .desktop-social a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.1);
  }

  body {
    padding-top: 80px;
  }
}

/* ============================================
       MOBILE NAVIGATION (below 1024px)
       ============================================ */
@media (max-width: 1023px) {
  .navbar {
    height: 70px;
  }

  .navbar .container {
    padding: 0 20px;
  }

  /* Brand - FIXED for mobile */
  .navbar-brand {
    font-size: 1.5rem;
    white-space: normal;
    line-height: 1.2;
    max-width: 70%;
    padding-right: 0.5rem;
    word-break: break-word;
  }

  .navbar-brand span {
    white-space: normal;
    display: inline;
  }

  /* Hide desktop navigation */
  .desktop-nav {
    display: none !important;
  }

  /* Mobile Toggler */
  .navbar-toggler {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    cursor: pointer;
    height: 42px;
    flex-shrink: 0;
    border: none;
  }

  .navbar-toggler-text {
    font-size: 0.9rem;
    font-weight: 600;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* ===== FIXED: TRUE FULL SCREEN MENU - NO SCROLLBAR ===== */
  .mobile-menu {
    position: fixed;
    top: 0;
    /* Start from VERY TOP */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 12, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 80px 2rem 2rem;
    /* Top padding accounts for navbar */
    display: none;
    flex-direction: column;
    overflow: hidden;
    /* NO SCROLLBAR - content determines height */
    height: 100vh;
    /* Force full viewport height */
    width: 100vw;
    /* Force full viewport width */
  }

  .mobile-menu.active {
    display: flex;
  }

  /* Mobile Close Button - BIG & VISIBLE */
  .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    padding-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1) rotate(90deg);
  }

  /* Mobile Navigation List */
  .mobile-nav-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    flex: 0 1 auto;
    /* Don't force scroll */
    width: 100%;
  }


  .mobile-nav-list li {
    list-style: none;
    margin-bottom: 0.5rem;
  }

  .mobile-nav-list a {
    display: block;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
  }

  .mobile-nav-list a:hover,
  .mobile-nav-list a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #fe9c00;
    transform: translateX(5px);
  }

  /* Mobile Dropdown */
  .mobile-dropdown {
    margin-bottom: 0.5rem;
  }

  .mobile-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding-right: 1.5rem;
    cursor: pointer;
  }

  .mobile-dropdown-header a {
    flex: 1;
    border-left: 4px solid transparent;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    background: transparent;
    pointer-events: none;
  }

  .dropdown-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .mobile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .mobile-dropdown-menu {
    display: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.2rem;
  }

  .mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
  }

  .mobile-dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 2px;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
  }

  .mobile-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #fe9c00;
  }

  .mobile-dropdown-menu .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.8rem 0;
  }

  /* Mobile Social Icons */
  .mobile-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 2rem 0 0;
    margin-top: auto;
    /* PUSH TO BOTTOM if there's space */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .mobile-social li {
    list-style: none;
  }

  .mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-3px);
  }

  body {
    padding-top: 70px;
  }
}

/* ============================================
       MOBILE LANDSCAPE
       ============================================ */
@media (max-width: 1023px) and (orientation: landscape) {
  .navbar {
    height: 60px;
  }

  .navbar .container {
    height: 60px;
  }

  .navbar-brand {
    font-size: 1.3rem;
    max-width: 60%;
  }

  .mobile-menu {
    top: 0;
    /* Start from VERY TOP */
    padding: 70px 2rem 1.5rem;
    /* Adjusted padding */
  }

  .mobile-nav-list {
    margin-bottom: 1rem;
  }

  .mobile-nav-list a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .mobile-dropdown-header a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .mobile-social {
    padding: 1rem 0;
  }

  .mobile-social a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  body {
    padding-top: 60px;
  }
}

/* ============================================
       VERY SMALL MOBILE (below 400px)
       ============================================ */
@media (max-width: 400px) {
  .navbar-brand {
    font-size: 1.2rem;
    max-width: 60%;
  }

  .navbar-toggler-text {
    display: none;
  }

  .navbar-toggler {
    padding: 0.5rem;
  }

  .mobile-menu {
    padding: 80px 1rem 1rem;
  }

  .mobile-nav-list a {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}



/* Alert styles */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }

  to {
    background-position: 0 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }

  to {
    background-position: 0 0;
  }
}

.progress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.media-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.list-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.list-group-item:hover,
.list-group-item:focus {
  z-index: 1;
  text-decoration: none;
}

.list-group-item.disabled,
.list-group-item:disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #00275b;
  border-color: #00275b;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.close:hover {
  color: #000;
  text-decoration: none;
}

.close:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.close:not(:disabled):not(.disabled):hover,
.close:not(:disabled):not(.disabled):focus {
  opacity: .75;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

a.close.disabled {
  pointer-events: none;
}

.toast {
  max-width: 350px;
  overflow: hidden;
  font-size: 0.875rem;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  -webkit-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
}

.toast:not(:last-child) {
  margin-bottom: 0.75rem;
}

.toast.showing {
  opacity: 1;
}

.toast.show {
  display: block;
  opacity: 1;
}

.toast.hide {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  -ms-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

@media screen and (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  opacity: 0;
}

.tooltip.show {
  opacity: 0.9;
}

.tooltip .arrow {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.4rem;
}

.tooltip .arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.tooltip-inner {
  max-width: 200px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 0.25rem;
}

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 276px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover .arrow {
  position: absolute;
  display: block;
  width: 1rem;
  height: 0.5rem;
  margin: 0 0.3rem;
}

.popover .arrow::before,
.popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: inherit;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}

.carousel {
  position: relative;
}

.carousel.pointer-event {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.6s ease-in-out;
  transition: -webkit-transform 0.6s ease-in-out;
  -o-transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
  .carousel-item {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  -webkit-transition: opacity 0.6s ease;
  -o-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}

@media screen and (prefers-reduced-motion: reduce) {
  .carousel-indicators li {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.carousel-indicators .active {
  opacity: 1;
}

@-webkit-keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-grow {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  50% {
    opacity: 1;
  }
}

.bg-secondary {
  background-color: #6c757d !important;
}

a.bg-secondary:hover,
a.bg-secondary:focus,
button.bg-secondary:hover,
button.bg-secondary:focus {
  background-color: #545b62 !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

a.bg-light:hover,
a.bg-light:focus,
button.bg-light:hover,
button.bg-light:focus {
  background-color: #dae0e5 !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

a.bg-dark:hover,
a.bg-dark:focus,
button.bg-dark:hover,
button.bg-dark:focus {
  background-color: #1d2124 !important;
}

.bg-white {
  background-color: #fff !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

@media (min-width: 768px) {
  .d-md-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
}

.flex-column {
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

.justify-content-start {
  -webkit-box-pack: start !important;
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}

.justify-content-end {
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.justify-content-center {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.align-items-start {
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

.align-items-end {
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: flex-end !important;
}

.align-items-center {
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.align-items-stretch {
  -webkit-box-align: stretch !important;
  -ms-flex-align: stretch !important;
  align-items: stretch !important;
}

.align-self-stretch {
  -ms-flex-item-align: stretch !important;
  align-self: stretch !important;
}

.float-right {
  float: right !important;
}

@media (min-width: 768px) {
  .float-md-left {
    float: left !important;
  }
}

.position-static {
  position: static !important;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.fixed-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
  }
}

.w-100 {
  width: 100% !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mr-4 {
  margin-right: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}

.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}


.py-2 {
  padding-top: 0.5rem !important;
}


.py-2 {
  padding-bottom: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}


.px-3 {
  padding-right: 1rem !important;
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}


.px-4 {
  padding-right: 1.5rem !important;
}


.py-4 {
  padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-5,
.py-5 {
  padding-top: 3rem !important;
}


.px-5 {
  padding-right: 3rem !important;
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}


.px-5 {
  padding-left: 3rem !important;
}

.ml-auto {
  margin-left: auto !important;
}

@media (min-width: 768px) {
  .mr-md-2 {
    margin-right: 0.5rem !important;
  }

  .ml-md-5 {
    margin-left: 3rem !important;
  }

  .pl-md-5 {
    padding-left: 3rem !important;
  }
}

@media (min-width: 992px) {
  .ml-lg-2 {
    margin-left: 0.5rem !important;
  }

  .pr-lg-5 {
    padding-right: 3rem !important;
  }

  .pl-lg-5 {
    padding-left: 3rem !important;
  }
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

@media (min-width: 992px) {
  .text-lg-left {
    text-align: left !important;
  }

  .text-lg-right {
    text-align: right !important;
  }
}

.font-weight-bold {
  font-weight: 700 !important;
}

.visible {
  visibility: visible !important;
}

@media print {

  *,
  *::before,
  *::after {
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }

  a:not(.btn) {
    text-decoration: underline;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  @page {
    size: a3;
  }

  body {
    min-width: 992px !important;
  }

  .container {
    min-width: 992px !important;
  }

  .navbar {
    display: none;
  }

  .table {
    border-collapse: collapse !important;
  }

  .table td,
  .table th {
    background-color: #fff !important;
  }
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: #999999;
}

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #00275b;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #00275b;
  outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  font-family: "Raleway", Arial, sans-serif;
}

.ftco-navbar-light {
  background: transparent !important;
  position: absolute;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .ftco-navbar-light {
    background: #000000 !important;
    position: relative;
    top: 0;
  }
}

.ftco-navbar-light .ftco-social {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 100%;
}

@media (max-width: 767.98px) {
  .ftco-navbar-light .ftco-social {
    opacity: 0;
  }
}

.ftco-navbar-light .ftco-social li {
  display: inline-block;
}

.ftco-navbar-light .ftco-social li a {
  height: 40px;
  width: 40px;
  display: block;
  float: left;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: relative;
}

.ftco-navbar-light .ftco-social li a span {
  position: absolute;
  font-size: 20px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
}

.ftco-navbar-light .ftco-social li a:hover {
  color: #fff;
}

.ftco-navbar-light .navbar-brand {
  color: #fff;
}

@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-brand {
    color: #fff;
  }
}

@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-nav {
    padding-bottom: 10px;
  }
}

.ftco-navbar-light .navbar-nav>.nav-item>.nav-link {
  font-size: 15px;
  padding-top: .9rem;
  padding-bottom: .9rem;
  padding-left: 20px;
  padding-right: 20px;
  color: #fff;
  font-weight: 400;
  opacity: 1 !important;
}

.ftco-navbar-light .navbar-nav>.nav-item>.nav-link:hover {
  color: #00275b;
}

@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-nav>.nav-item>.nav-link {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}

.ftco-navbar-light .navbar-nav>.nav-item .dropdown-menu {
  border: none;
  background: rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
  -moz-box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
  box-shadow: 0px 10px 34px -20px rgba(0, 0, 0, 0.41);
}

.ftco-navbar-light .navbar-nav>.nav-item.active>a {
  color: #00275b;
}

.ftco-navbar-light .navbar-toggler {
  border: none;
  color: rgba(255, 255, 255, 0.8) !important;
  cursor: pointer;
  padding-right: 0;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .1em;
}

.ftco-navbar-light .navbar-toggler:hover,
.ftco-navbar-light .navbar-toggler:focus {
  text-decoration: none;
  color: #00275b;
  outline: none !important;
}

.ftco-navbar-light.scrolled {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  margin-top: -130px;
  background: #fff !important;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
  .ftco-navbar-light.scrolled .nav-item>.nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }
}

.ftco-navbar-light.scrolled .nav-item.active>a {
  color: #00275b !important;
}

@media (max-width: 991.98px) {
  .ftco-navbar-light.scrolled .navbar-nav {
    background: none;
    border-radius: 0px;
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }
}

.ftco-navbar-light.scrolled .navbar-toggler {
  border: none;
  color: rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(0, 0, 0, 0.5) !important;
  cursor: pointer;
  padding-right: 0;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .1em;
}

.ftco-navbar-light.scrolled .nav-link {
  padding-top: 0.9rem !important;
  padding-bottom: 0.9rem !important;
  color: #000000 !important;
}

.ftco-navbar-light.scrolled .nav-link.active {
  color: #00275b !important;
}

.ftco-navbar-light.scrolled.awake {
  margin-top: 0px;
  -webkit-transition: .3s all ease-out;
  -o-transition: .3s all ease-out;
  transition: .3s all ease-out;
}

.ftco-navbar-light.scrolled.sleep {
  -webkit-transition: .3s all ease-out;
  -o-transition: .3s all ease-out;
  transition: .3s all ease-out;
}

.ftco-navbar-light.scrolled .navbar-brand {
  color: #000000;
}

.ftco-navbar-light.scrolled .navbar-brand:after {
  background: #000000;
}

.ftco-navbar-light.scrolled .navbar-brand:before {
  background: #000000;
}

.ftco-navbar-light.scrolled .ftco-social li a {
  background: #00275b;
}

.navbar-brand {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
  font-family: "Raleway", Arial, sans-serif;
  position: relative;
}

.navbar-brand:after {
  position: absolute;
  top: 0;
  right: -10px;
  content: '';
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.7);
}

.navbar-brand:before {
  position: absolute;
  top: 24px;
  right: -25px;
  content: '';
  width: 100px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.navbar-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 4.2px;
}

/* Add this to your CSS file */
.home-page-content .hero-wrap {
  height: 80vh !important;
  min-height: 500px;
  max-height: 800px;
}

.home-page-content .slider-text.js-fullheight {
  height: auto !important;
}

/* Or if you want to be more specific */
.home-page-content .hero-wrap.js-fullheight {
  height: 80vh !important;
}

/* Ensure the mouse icon is positioned correctly */
.home-page-content .mouse {
  bottom: 2em !important;
}



/* ============================================
   PERFECT HERO BANNER - TALLER HEIGHTS
   ============================================ */

/* Hero Banner */
.hero-section {
  position: relative;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Content container */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* ============================================
   INCREASED HEIGHTS - BIGGER & BOLDER
   ============================================ */

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
  .hero-image-container {
    max-height: 1000px;
    /* Increased from 800px */
  }
}

/* Desktop (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .hero-image-container {
    max-height: 900px;
    /* Increased from 700px */
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-image-container {
    max-height: 800px;
    /* Increased from 600px */
  }
}

/* Mobile Portrait (max-width: 767px) */
@media (max-width: 767px) {
  .hero-image-container {
    max-height: 700px;
    /* Increased from 500px */
  }
}

/* Mobile Landscape */
@media (max-width: 1023px) and (orientation: landscape) {
  .hero-image-container {
    max-height: 600px;
    /* Increased from 400px */
  }
}

/* Very Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-image-container {
    max-height: 550px;
    /* Increased from 350px */
  }
}

/* Extra Small Devices (max-width: 375px) */
@media (max-width: 375px) {
  .hero-image-container {
    max-height: 500px;
  }
}

/* ============================================
   OPTIONAL: TEXT OVERLAY STYLES
   ============================================ */

.hero-title {
  color: white;
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: white;
  font-size: 1.8rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

.mouse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6em;
  z-index: 99;
}

.mouse-icon {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  position: relative;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.mouse-wheel {
  height: 30px;
  margin: 2px auto 0;
  display: block;
  width: 30px;
  background: transparent;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  -webkit-animation: 1.6s ease infinite wheel-up-down;
  -moz-animation: 1.6s ease infinite wheel-up-down;
  animation: 1.6s ease infinite wheel-up-down;
  color: #fff;
  font-size: 20px;
}

@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

.slider-text h1 {
  font-size: 60px;
  color: #fff;
  line-height: 2;
  font-weight: 500;
  position: relative;
}

@media (max-width: 991.98px) {
  .slider-text h1 {
    font-size: 40px;
  }
}

.slider-text h1 span {
  display: block;
}

.slider-text .subheading {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.slider-text p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
  color: #00275b;
  font-family: "Raleway", Arial, sans-serif;
}

.slider-text p strong {
  font-weight: 700;
}

.slider-text p strong a {
  color: #000000;
}

.slider-text .btn-primary,
.slider-text .btn-white {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.slider-text .breadcrumbs {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  z-index: 99;
  font-family: "Crimson Text", serif;

}

.slider-text .breadcrumbs span {
  color: rgba(255, 255, 255, 0.5);
}

.slider-text .breadcrumbs span i {
  color: rgba(255, 255, 255, 0.3);
}

.slider-text .breadcrumbs span a {
  color: rgba(255, 255, 255, 0.7);
}

.slider-text .breadcrumbs span a:hover,
.slider-text .breadcrumbs span a:focus {
  color: #00275b;
}

.slider-text .breadcrumbs span a:hover i,
.slider-text .breadcrumbs span a:focus i {
  color: #00275b;
}

.slider-text .bread {
  font-weight: 700 !important;
}

.ftco-intro {
  width: 100%;
  height: auto;
  /* Or use a specific height like 300px */
  min-height: 200px;
  /* Optional: Set minimum height */
  position: inherit;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}

.ftco-intro .overlay {
  position: absolute;
  width: 50%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  opacity: .8;
  background: #00275b;
}

.ftco-intro h2.subheading {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ftco-intro h2 a {
  color: #fff;
}

.ftco-intro {
  width: 100%;
  min-height: 200px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  /* Prevent overflow issues */
}

.ftco-intro .overlay {
  position: absolute;
  width: 100%;
  /* Changed from 50% to 100% */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  opacity: .8;
  background: #00275b;
  z-index: 1;
  /* Ensure it stays behind content */
}

.ftco-intro .container {
  position: relative;
  z-index: 2;
  /* Content above overlay */
}

.ftco-intro .row {
  position: relative;
  z-index: 2;
  /* Content above overlay */
}

.ftco-intro h2.subheading {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  /* Ensure it's visible on dark background */
  margin-bottom: 15px;
}

.ftco-intro h2 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ftco-intro h2 a:hover {
  color: #f8f9fa;
  text-decoration: underline;
}

/* Event details styling */
.ftco-intro .event-details p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
  font-size: 1rem;
}

.ftco-intro .event-details i {
  color: #fff;
  width: 20px;
  text-align: center;
}

/* Timer styling */
.ftco-intro #timer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.ftco-intro .time {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  min-width: 60px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .ftco-intro {
    padding: 40px 0;
    min-height: auto;
  }

  .ftco-intro .row {
    flex-direction: column;
    text-align: center;
  }

  .ftco-intro .col-md-6 {
    width: 100%;
    margin-bottom: 30px;
  }

  .ftco-intro .col-md-6:last-child {
    margin-bottom: 0;
  }

  .ftco-intro h2.subheading {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .ftco-intro h2 a {
    font-size: 1.5rem;
  }

  .ftco-intro .time {
    font-size: 1.5rem;
    min-width: 50px;
    padding: 8px;
  }

  .ftco-intro #timer {
    gap: 10px;
  }

  .ftco-intro .pl-md-5 {
    padding-left: 0 !important;
    /* Remove left padding on mobile */
  }

  /* Ensure no overlapping text */
  .ftco-intro .event-details {
    margin-top: 15px;
    padding: 0 15px;
  }

  .ftco-intro .text-center h3,
  .ftco-intro .text-center p {
    color: #fff !important;
    /* Force white text on mobile */
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .ftco-intro {
    padding: 30px 0;
  }

  .ftco-intro h2.subheading {
    font-size: 16px;
  }

  .ftco-intro h2 a {
    font-size: 1.3rem;
  }

  .ftco-intro .time {
    font-size: 1.2rem;
    min-width: 45px;
    padding: 6px;
  }

  .ftco-intro #timer {
    gap: 8px;
  }

  .ftco-intro .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Ensure content stays within bounds */
.ftco-intro .container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Prevent text overflow */
.ftco-intro h2,
.ftco-intro p,
.ftco-intro .event-details {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

#timer {
  width: 100%;
}

#timer .time {
  width: 25%;
  font-size: 38px;
  font-weight: 200;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

#timer .time:first-child {
  border-left: transparent;
}

#timer .time span {
  font-size: 16px;
  display: block;
  color: #fff;
}

.owl-carousel {
  position: relative;
}

.owl-carousel .owl-item {
  opacity: .4;
}

.owl-carousel .owl-item.active {
  opacity: 1;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-top: -10px;
  color: #00275b !important;
  -moz-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  -ms-transition: all 0.7s ease;
  transition: all 0.7s ease;
  opacity: 0;
}

.owl-carousel .owl-nav .owl-prev span:before,
.owl-carousel .owl-nav .owl-next span:before {
  font-size: 30px;
}

.owl-carousel .owl-nav .owl-prev {
  left: 0;
}

.owl-carousel .owl-nav .owl-next {
  right: 0;
}

.owl-carousel .owl-dots {
  text-align: center;
}

.owl-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
  background: #e6e6e6;
  position: relative;
}

.owl-carousel .owl-dots .owl-dot:after {
  position: absolute;
  top: -2px;
  left: -2px;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  content: '';
  border: 1px solid #e6e6e6;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.owl-carousel .owl-dots .owl-dot.active {
  background: #b3b3b3;
}

.owl-carousel:hover .owl-nav .owl-prev,
.owl-carousel:hover .owl-nav .owl-next {
  opacity: 1;
}

.owl-carousel:hover .owl-nav .owl-prev {
  left: -25px;
}

.owl-carousel:hover .owl-nav .owl-next {
  right: -25px;
}

.bg-light {
  background: #f8f9fa !important;
}

.bg-secondary {
  background: #171717 !important;
}

.btn {
  cursor: pointer;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn:hover,
.btn:active,
.btn:focus {
  outline: none;
}

.btn.btn-primary {
  background: #fe9c00 !important;
  border: 1px solid #fe9c00 !important;
  color: #fff !important;
}

.btn.btn-primary:hover {
  border: 1px solid #fe9c00;
  background: transparent;
  color: #fe9c00;
}

.btn.btn-black {
  background: #000000 !important;
  border: 1px solid #000000 !important;
  color: #fff !important;
}

.btn.btn-black:hover {
  border: 1px solid #00275b;
  background: transparent;
  color: #00275b;
}

.btn.btn-white {
  background: #fff !important;
  border: 1px solid #fff !important;
  color: #000000 !important;
}

.btn.btn-white:hover {
  border: 1px solid #000000 !important;
  background: #000000 !important;
  color: #fff !important;
}

.daily-verse {
  overflow: hidden;
  z-index: 0;
}

.daily-verse h3 {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 300;
  font-size: 30px;
}

.daily-verse h4 {
  font-family: "Poppins", Arial, sans-serif;
  color: #00275b;
}

.daily-verse span {
  position: absolute;
  top: -30px;
  left: 0;
  line-height: 1;
  font-size: 300px;
  z-index: -1;
  color: rgba(0, 0, 0, 0.05);
}

.ministry-list {
  padding: 0;
  margin: 0;
}

.ministry-list li {
  list-style: none;
  margin-bottom: 15px;
}

.ministry-list li a {
  color: #000000;
  font-weight: 300;
}

.ministry-list li.active a {
  color: #000000;
  font-weight: 400;
}

.services {
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.services .icon {
  line-height: 1.3;
  position: relative;
  z-index: 0;
  width: 120px;
  height: 120px;
  background: #00275b;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.services .icon span {
  font-size: 50px;
  color: #fff;
}

.services h3 {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
}

@media (max-width: 991.98px) {
  .services .media-body {
    padding-left: 2em;
  }
}

/* Core values grid layout - won't affect other pages */
.core-values-grid .row.justify-content-center {
  /* This row contains the heading - DON'T make it grid */
  display: block !important;
  /* Override any grid display */
}

/* Only apply grid to the second row with the actual content */
.core-values-grid .row:not(.justify-content-center) {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.core-values-grid .col-lg-6 {
  width: 100%;
  grid-column: span 4;
  display: contents;
  /* This makes children become direct grid items */
}

.core-values-grid .services {
  margin-bottom: 0;
  display: flex;
  flex-direction: column !important;
  /* Force column layout */
  height: 100%;
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Icon first (above), text second */
.core-values-grid .services .icon {
  order: 1 !important;
  /* Force icon to be first (above text) */
  margin: 0 auto 20px !important;
  width: 100px !important;
  height: 100px !important;
}

.core-values-grid .services .media-body {
  order: 2 !important;
  /* Force text to be second (below icon) */
  padding: 0 !important;
  width: 100%;
}

/* Override the order-lg-last class */
.core-values-grid .services .icon.order-lg-last {
  order: 1 !important;
}

.core-values-grid .services:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.core-values-grid .services h3.heading {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 600;
}

.core-values-grid .services p {
  font-size: 15px;
  line-height: 1.6;
}

/* Heading centering fix */
.core-values-grid .heading-section.text-center {
  width: 100%;
}

.core-values-grid .heading-section h2.mb-2 {
  text-align: center !important;
  display: block;
  width: 100%;
}

/* Remove Bootstrap text alignment classes */
.core-values-grid .text-lg-right,
.core-values-grid .text-lg-left {
  text-align: center !important;
}

/* Remove Bootstrap padding classes */
.core-values-grid .pr-lg-5,
.core-values-grid .pl-lg-5 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .core-values-grid .row:not(.justify-content-center) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .core-values-grid .row:not(.justify-content-center) {
    grid-template-columns: 1fr;
  }

  .core-values-grid .services {
    padding: 25px 15px;
  }
}



.sermon-wrap .img {
  width: 100%;
}

@media (max-width: 767.98px) {
  .sermon-wrap .img {
    height: 300px;
  }
}

@media (max-width: 991.98px) {
  .sermon-wrap .btn-customize a {
    display: block;
    margin-bottom: 5px;
  }
}

.sermon-wrap .text h2 a {
  color: #000000;
}

.sermon-wrap .meta span {
  display: block;
  font-family: "Crimson Text", serif;

  font-size: 18px;
  margin-bottom: 15px;
}

.sermon-wrap .meta span .ptr {
  color: #000000;
}

.sermon-wrap.sermon-wrap-2 .img {
  display: block;
  height: 250px;
  margin-bottom: 0;
}

.sermon-wrap.sermon-wrap-2 h2 {
  font-size: 22px;
  font-weight: 500;
}

.sermon-wrap.sermon-wrap-2 .meta span {
  display: inline-block;
  margin-bottom: 0;
}

.sermon-wrap.sermon-wrap-2 .btn-custom {
  border: 1px solid #00275b;
  display: block;
}

.subsermon {
  display: block;
  background: #00275b;
  width: 100%;
  color: #fff;
}

.subsermon .heading {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
}

.subsermon .sermon-wrap .img {
  height: 200px;
  width: 100%;
  display: block;
}

.subsermon .sermon-wrap .text h2 {
  font-size: 24px;
}

.subsermon .sermon-wrap .text h2 a {
  color: #fff;
}

.subsermon .sermon-wrap .meta p {
  display: block;
}

.subsermon .sermon-wrap .meta p span a {
  color: rgba(255, 255, 255, 0.7);
}

.subsermon .sermon-wrap .btn-custom {
  color: #fff;
  bordeR: 1px solid #fff;
  display: block;
}

.subsermon .sermon-wrap.sermon-wrap-2 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.subsermon .sermon-wrap.sermon-wrap-2 span {
  color: #fff;
}

.subsermon .sermon-wrap.sermon-wrap-2 h3 {
  font-size: 24px;
  color: #fff;
}

.subsermon .sermon-wrap.sermon-wrap-2 .desc {
  width: calc(100% - 20px);
}

.subsermon .sermon-wrap.sermon-wrap-2 .icon {
  width: 20px;
  margin-top: 4px;
}

/* Custom Modal Styling */
#videoModal .modal-dialog {
  max-width: 90%;
  width: auto;
  margin: 1.75rem auto;
}

#videoModal .modal-content {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

/* YouTube Player Aspect Ratio */
.youtube-player-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.youtube-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fullscreen Modal Option */
.modal-fullscreen .modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  max-width: none;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #videoModal .modal-dialog {
    max-width: 95%;
    min-width: unset;
    margin: 10px auto;
  }

  .modal-header h5 {
    font-size: 1.1rem;
  }

  .modal-footer .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Animation for modal */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal.fade .modal-dialog {
  animation: modalFadeIn 0.3s ease-out;
}


.form-control {
  height: 52px !important;
  background: #fff !important;
  color: #000000 !important;
  font-size: 18px;
  border-radius: 5px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-control:active {
  border-color: #000000;
}

textarea.form-control {
  height: inherit !important;
}

.ftco-animate {
  opacity: 0;
  visibility: hidden;
}

.ftco-section {
  padding: 7em 0;
  position: relative;
}

@media (max-width: 767.98px) {
  .ftco-section {
    padding: 6em 0;
  }
}

.ftco-bg-dark {
  background: #3c312e;
}

.ftco-no-pt {
  padding-top: 0 !important;
}

.ftco-no-pb {
  padding-bottom: 0 !important;
}

.gallery {
  display: block;
  height: 300px;
  position: relative;
}

.gallery .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  z-index: 0;
  opacity: 0;
  position: relative;
  background: #00275b;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.gallery .icon span {
  color: #fff;
}

.gallery:hover .icon,
.gallery:focus .icon {
  opacity: 1;
}

.ftco-footer {
  font-size: 16px;
  background: #171717;
  padding: 7em 0 4em 0;
}

.ftco-footer .ftco-footer-widget h2 {
  font-weight: normal;
  color: #fff;
  margin-bottom: 40px;
}

.ftco-footer .ftco-footer-widget ul li a {
  color: #fe9c00;
}

.ftco-footer .ftco-footer-widget ul li a span {
  color: #fe9c00;
}

.ftco-footer .ftco-footer-widget .btn-primary {
  background: #fff !important;
  border: 2px solid #fff !important;
}

.ftco-footer .ftco-footer-widget .btn-primary:hover {
  background: #fff;
  border: 2px solid #fff !important;
}

.ftco-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.ftco-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.ftco-footer a:hover {
  color: #fff;
}

.ftco-footer .ftco-heading-2 {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  position: relative;
}

.ftco-footer .opening-hours h4 {
  color: #fff;
  color: rgba(255, 255, 255, 0.3);
  font-size: 22px;

  font-family: "Crimson Text", serif;
}

.ftco-footer .opening-hours p span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
}

.ftco-footer-social li {
  list-style: none;
  margin: 0 10px 0 0;
  display: inline-block;
}

.ftco-footer-social li a {
  height: 50px;
  width: 50px;
  display: block;
  float: left;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  position: relative;
}

.ftco-footer-social li a span {
  position: absolute;
  font-size: 26px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.ftco-footer-social li a:hover {
  color: #fff;
}

#map {
  width: 100%;
}

@media (max-width: 991.98px) {
  #map {
    height: 300px;
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(199, 177, 152, 0.4);
    -webkit-box-shadow: 0 0 0 0 rgba(199, 177, 152, 0.4);
    box-shadow: 0 0 0 0 rgba(199, 177, 152, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 30px rgba(199, 177, 152, 0);
    -webkit-box-shadow: 0 0 0 30px rgba(199, 177, 152, 0);
    box-shadow: 0 0 0 30px rgba(199, 177, 152, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(199, 177, 152, 0);
    -webkit-box-shadow: 0 0 0 0 rgba(199, 177, 152, 0);
    box-shadow: 0 0 0 0 rgba(199, 177, 152, 0);
  }
}

.heading-section .subheading {
  font-size: 20px;
  display: block;
  margin-bottom: 5px;
  font-family: "Crimson Text", serif;

}

.heading-section h2 {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.heading-section h2:after {
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  content: '';
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
}

.heading-section h2 span {
  background: #fff;
}

@media (max-width: 767.98px) {
  .heading-section h2 {
    font-size: 28px;
  }
}

.heading-section.heading-section-light h2 span {
  background: #f8f9fa;
}

.heading-section.heading-section-no-line h2:after {
  display: none;
}

.heading-section.heading-section-white .subheading {
  color: rgba(255, 255, 255, 0.8);
}

.heading-section.heading-section-white h2 {
  font-size: 40px;
  color: #fff;
}

.heading-section.heading-section-white p {
  color: rgba(255, 255, 255, 0.9);
}

.img,
.blog-img,
.user-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.testimony-wrap {
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.testimony-wrap .user-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  margin-top: -75px;
  background-position: top center;
}

.testimony-wrap .user-img .quote {
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.testimony-wrap .user-img .quote i {
  color: #00275b;
}

.testimony-wrap .name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0;
  color: #000000b3;
  font-family: "Raleway", Arial, sans-serif;
  text-transform: uppercase;
}

.testimony-wrap .position {
  font-size: 18px;
  color: #000000b3;
  font-family: "Crimson Text", serif;

}

.testimony-section {
  position: relative;
}

.testimony-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '';
  opacity: .4;
  /* background: #00000039; */
}

.testimony-section .owl-carousel {
  margin: 0;
}

.testimony-section .owl-carousel .owl-stage-outer {
  padding-top: 3.5em;
  padding-bottom: 2em;
  position: relative;
}

.testimony-section .owl-nav {
  position: absolute;
  top: 100%;
  width: 100%;
}

.position {
  display: block;
  max-width: 250px;
  margin: 0 auto;
  line-height: 1.4;
  word-wrap: break-word;
  hyphens: auto;
}

.testimony-section .owl-nav .owl-prev,
.testimony-section .owl-nav .owl-next {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-top: -10px;
  outline: none !important;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
}

.testimony-section .owl-nav .owl-prev span:before,
.testimony-section .owl-nav .owl-next span:before {
  font-size: 30px;
  color: rgba(0, 0, 0, 0.5);
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.testimony-section .owl-nav .owl-prev:hover span:before,
.testimony-section .owl-nav .owl-prev:focus span:before,
.testimony-section .owl-nav .owl-next:hover span:before,
.testimony-section .owl-nav .owl-next:focus span:before {
  color: #fff;
}

.testimony-section .owl-nav .owl-prev {
  left: 50%;
  margin-left: -80px;
}

.testimony-section .owl-nav .owl-next {
  right: 50%;
  margin-right: -80px;
}

.testimony-section:hover .owl-nav .owl-prev,
.testimony-section:hover .owl-nav .owl-next {
  opacity: 1;
}

.testimony-section:hover .owl-nav .owl-prev {
  left: 50%;
  margin-left: -80px;
}

.testimony-section:hover .owl-nav .owl-next {
  right: 50%;
  margin-right: -80px;
}

.testimony-section .owl-dots {
  text-align: center;
}

.testimony-section .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  margin: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
}

.testimony-section .owl-dots .owl-dot.active,
.testimony-section .owl-dots .owl-dot:focus {
  outline: none;
  background: #00275b;
}

.testimony-section .owl-item {
  opacity: .2 !important;
  margin-top: 20px;
}

.testimony-section .owl-item.center {
  padding-bottom: 30px;
  margin-top: 0;
  opacity: 1 !important;
}

.testimony-section .owl-item.center p {
  font-size: 18px;
}

.image-popup {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
  opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
  opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

#section-counter {
  position: relative;
  z-index: 0;
  width: 100%;
  display: block;
}

#section-counter:after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: '';
  z-index: -1;
  opacity: 0;
  background: #000000;
}

@media (max-width: 1199.98px) {
  .ftco-counter {
    background-position: center center !important;
  }
}

.ftco-counter .img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 767.98px) {
  .ftco-counter .img {
    height: 400px;
    background-position: top center !important;
  }
}

.ftco-counter .desc h3 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
}

.ftco-counter .desc h3 a {
  color: #fff;
  border: 1px solid #fff;
}

.ftco-counter .text strong.number {
  font-weight: 600;
  font-size: 28px;
  color: #000000;
  font-family: "Raleway", Arial, sans-serif;
}

.ftco-counter .text span {
  display: block;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
}

.ftco-counter .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

.ftco-counter .icon span {
  color: #000000;
  font-size: 48px;
}

@media (max-width: 767.98px) {
  .ftco-counter .counter-wrap {
    margin-bottom: 20px;
  }
}

/* About page specific styles */
.about-page-content .row.d-flex {
  display: flex;
  align-items: stretch;
  min-height: 600px;
  /* Adjust as needed */
}

.about-page-content .col-md-6 {
  display: flex;
  flex-direction: column;
}

.about-page-content .col-md-6.px-5.py-5 {
  justify-content: center;
  padding: 3rem !important;
}

.about-page-content .img {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
  background: #f8f9fa;
  /* Optional background */
  margin-bottom: 20px;
  border-radius: 5px;
}

.about-page-content .img:last-child {
  margin-bottom: 0;
}

/* Bold headings */
.about-page-content .img .desc h2,
.about-page-content .heading-section h2 {
  font-weight: 700 !important;
  color: #333;
}

/* Ensure proper vertical alignment */
.about-page-content .heading-section {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-page-content .desc {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .about-page-content .row.d-flex {
    flex-direction: column;
  }

  .about-page-content .col-md-6 {
    width: 100%;
  }

  .about-page-content .col-md-6.order-last {
    order: 2;
    margin-top: 2rem;
  }
}

.event-wrap {
  margin-bottom: 30px;
}

@media (max-width: 767.98px) {
  .event-wrap {
    margin-bottom: 60px;
  }
}

.event-wrap .img {
  width: 40%;
  display: block;
}

@media (max-width: 767.98px) {
  .event-wrap .img {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }
}

.event-wrap .text {
  width: 60%;
}

@media (max-width: 767.98px) {
  .event-wrap .text {
    width: 100%;
  }
}

.event-wrap .text h2 a {
  color: #000000;
}

.event-wrap .text .meta p {
  font-size: 18px;
  font-family: "Crimson Text", serif;

}

.event-wrap .text .meta p span {
  display: block;
}

.block-20 {
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: block;
  width: 100%;
  height: 270px;
}

/* Equal height rows */
.row-equal-height {
  display: flex;
  flex-wrap: wrap;
}

.row-equal-height>[class*='col-'] {
  display: flex;
  flex-direction: column;
}

/* Blog entry adjustments for equal height */
.blog-entry {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
}

.blog-entry:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* 1. IMAGE */
.blog-entry .block-20 {
  height: 220px;
  /* Slightly reduced height */
  width: 100%;
  background-size: cover;
  background-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.blog-entry:hover .block-20 {
  transform: scale(1.05);
}

/* 2. TITLE */
.blog-entry .heading {
  font-size: 1.25rem;
  /* 20px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #00275b;
  /* Church blue color */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-entry .heading a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-entry .heading a:hover {
  color: #fe9c00;
  /* Church gold/orange accent */
}

/* 3. DATE, TAGS, READING DURATION */
.blog-entry .post-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.blog-entry .post-meta>div {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.blog-entry .post-meta i {
  color: #fe9c00;
  /* Gold accent for icons */
  font-size: 0.9rem;
}

.blog-entry .post-date {
  background: #f8f9fa;
  padding: 4px 10px;
  border-radius: 4px;
  border-left: 3px solid #00275b;
}

.blog-entry .reading-time {
  background: #f8f9fa;
  padding: 4px 10px;
  border-radius: 4px;
  border-left: 3px solid #28a745;
}

/* Tags styling */
.post-tags {
  margin-bottom: 1rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 39, 91, 0.2);
  white-space: nowrap;
}

.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 39, 91, 0.3);
  color: #fff;
  background: linear-gradient(135deg, #0056b3 0%, #00275b 100%);
  text-decoration: none;
}

/* Alternative color scheme for multiple tags */
.tag-pill:nth-child(1) {
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
}

.tag-pill:nth-child(2) {
  background: linear-gradient(135deg, #fe9c00 0%, #ffb347 100%);
}

.tag-pill:nth-child(3) {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.tag-pill:nth-child(4) {
  background: linear-gradient(135deg, #dc3545 0%, #e35d6a 100%);
}

/* "+ More" tag indicator */
.tag-more {
  background: #6c757d !important;
  font-style: italic;
  font-weight: 500;
  opacity: 0.8;
}

.tag-more:hover {
  background: #5a6268 !important;
  opacity: 1;
}

/* Gap between tags */
.gap-2 {
  gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .tag-pill {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
  }

  .post-tags {
    gap: 0.35rem;
  }
}

/* 4. DESCRIPTION */
.blog-entry .blog-excerpt {
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
  font-size: 0.95rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 4.8em;
  /* Approx 3 lines */
}

/* Read More Link */
.blog-entry .read-more {
  font-size: 0.9rem;
  font-weight: 500;
  color: #00275b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.blog-entry .read-more:hover {
  color: #fe9c00;
  transform: translateX(5px);
}

.blog-entry .read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.blog-entry .read-more:hover i {
  transform: translateX(3px);
}

/* Text container */
.blog-entry .desc {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.blog-entry .flex-grow-1 {
  flex: 1;
  min-height: 0;
}

/* Remove the date sidebar completely */
.blog-entry .topper {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .blog-entry .block-20 {
    height: 200px;
  }

  .blog-entry .heading {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .blog-entry .block-20 {
    height: 180px;
  }

  .row-equal-height {
    display: block;
  }

  .row-equal-height>[class*='col-'] {
    margin-bottom: 30px;
  }

  .blog-entry .post-meta {
    gap: 8px;
    font-size: 0.8rem;
  }

  .blog-entry .post-meta>div {
    margin-bottom: 5px;
  }
}

/* For very small screens */
@media (max-width: 575.98px) {
  .blog-entry .block-20 {
    height: 160px;
  }

  .blog-entry .desc {
    padding: 1.25rem;
  }

  .blog-entry .heading {
    font-size: 1rem;
  }

  .blog-entry .blog-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
}

/* blog details */

.blog-post-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* Post Header */
.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #00275b;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }
}

/* Meta Info Container - Better Spacing */
.post-meta-container .gap-4 {
  gap: 1.5rem !important;
}

.post-meta-container .bg-light {
  background-color: #f8f9fa !important;
  border: 1px solid #e9ecef;
  padding: 1rem 1.5rem !important;
}

.post-meta-container .post-author,
.post-meta-container .post-date,
.post-meta-container .reading-time {
  padding: 0.5rem 0;
}

.post-meta-container i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Tag Pills (matching blog list) */
.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 39, 91, 0.2);
  white-space: nowrap;
}

.tag-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 39, 91, 0.3);
  color: #fff;
  background: linear-gradient(135deg, #0056b3 0%, #00275b 100%);
}

/* Larger tags for footer */
.tag-pill-large {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 3px 8px rgba(0, 39, 91, 0.2);
}

.tag-pill-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 39, 91, 0.3);
  color: #fff;
  border-color: #fe9c00;
}

/* Color variations for multiple tags */
.tag-pill:nth-child(odd),
.tag-pill-large:nth-child(odd) {
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
}

.tag-pill:nth-child(even),
.tag-pill-large:nth-child(even) {
  background: linear-gradient(135deg, #fe9c00 0%, #ffb347 100%);
}

.tag-pill:nth-child(3n),
.tag-pill-large:nth-child(3n) {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Share buttons styling */
.btn-facebook {
  background: #3b5998;
  color: white;
  border: none;
}

.btn-twitter {
  background: #1da1f2;
  color: white;
  border: none;
}

.btn-facebook:hover,
.btn-twitter:hover {
  opacity: 0.9;
  color: white;
}

/* Toast styling */
.toast-message {
  animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-meta-container .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .post-meta-container .gap-4 {
    gap: 1rem !important;
    flex-direction: column;
    width: 100%;
  }

  .post-meta-container .post-share {
    width: 100%;
    margin-top: 1rem;
  }

  .post-meta-container .post-share button {
    width: 100%;
    justify-content: center;
  }

  .share-section .d-flex {
    justify-content: center;
  }
}

/* Author Box */
.author-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
}


/* Pagination Styles */
.block-27 ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-27 ul li {
  margin: 0 5px;
}

.block-27 ul li a,
.block-27 ul li span {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.block-27 ul li a:hover {
  background: #f8f9fa;
  border-color: #00275b;
  color: #00275b;
}

.block-27 ul li.active span {
  background: #00275b;
  color: white;
  border-color: #00275b;
}

.block-27 ul li.disabled a {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

.block-27 ul li.disabled a:hover {
  background: transparent;
  border-color: #ddd;
  color: #ccc;
}

.contact-section .contact-info p a {
  color: #1a1a1a;
}

.contact-section .contact-form {
  width: 100%;
}

#successToast .toast {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: slideInRight 0.3s ease-out;
}

#successToast .toast-body {
  font-size: 1rem;
  padding: 1rem;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.hide {
  animation: slideOutRight 0.3s ease-in forwards;
}

.block-9 .form-control {
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-size: 15px;
}

.block-21 .blog-img {
  display: block;
  height: 80px;
  width: 80px;
}

.block-21 .text {
  width: calc(100% - 100px);
}

.block-21 .text .heading {
  font-size: 18px;
  font-weight: 300;
}

.block-21 .text .heading a {
  color: #000000;
}

.block-21 .text .heading a:hover,
.block-21 .text .heading a:active,
.block-21 .text .heading a:focus {
  color: #00275b;
}

.block-21 .text .meta>div {
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
}

.block-21 .text .meta>div a {
  color: gray;
}

/* Fix for CKEditor content */
/* ============================================
   BLOG CONTENT STYLING - Fix for lists
   ============================================ */

/* Fix ordered lists in blog posts */
.post-content ol {
  /* list-style-type: decimal !important; */
  padding-left: 2.5rem !important;
  margin-bottom: 1.5rem;
  counter-reset: item;
  text-decoration: none;
}

.post-content ol li {
  display: list-item !important;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

/* Fix unordered lists too */
.post-content ul {
  list-style-type: disc !important;
  padding-left: 2.5rem !important;
  margin-bottom: 1.5rem;
}

.post-content ul li {
  display: list-item !important;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

/* Nested lists */
.post-content ol ol,
.post-content ul ul,
.post-content ol ul,
.post-content ul ol {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-content ol ol {
  list-style-type: lower-alpha !important;
}

.post-content ol ol ol {
  list-style-type: lower-roman !important;
}

/* ============================================
   RELATED POSTS IMAGE FIX
   ============================================ */

/* Container for related posts */
.related-posts .row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.related-posts .col-md-4 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Card styling */
.related-posts .card {
  overflow: hidden;
  /* Prevents content from overflowing */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-posts .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Image container fix */
.related-posts .card-img-top {
  width: 100%;
  height: 200px;
  /* Fixed height for consistency */
  object-fit: cover;
  /* This is KEY - crops and maintains aspect ratio */
  object-position: center;
  background-color: #f8f9fa;
  /* Fallback color while loading */
}

/* Card body */
.related-posts .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.related-posts .card-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex-grow: 1;
  /* Pushes date to bottom */
}

.related-posts .card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-posts .card-title a:hover {
  color: #007bff;
}

.related-posts .card-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .related-posts .col-md-4 {
    margin-bottom: 1rem;
  }

  .related-posts .card-img-top {
    height: 180px;
  }

  .post-content ol,
  .post-content ul {
    padding-left: 2rem !important;
  }
}

@media (max-width: 576px) {
  .related-posts .card-img-top {
    height: 160px;
  }

  .related-posts .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .related-posts .col-md-4 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ============================================
   ADDITIONAL BLOG CONTENT STYLING
   ============================================ */

/* Fix other common CKEditor/Bootstrap conflicts */
.post-content {
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content h2 {
  font-size: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1.5rem;
  margin: 1.5rem 0;

  color: #555;
}

.post-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.post-content table th,
.post-content table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.post-content table th {
  background-color: #f8f9fa;
  font-weight: 600;
}


/* Blog*/

.tagcloud a {
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 7px;
  margin-right: 4px;
  border-radius: 4px;
  color: #000000;
  border: 1px solid #ccc;
  font-size: 11px;
}

.tagcloud a:hover {
  border: 1px solid #000;
}

.comment-form-wrap {
  clear: both;
}

.comment-list {
  padding: 0;
  margin: 0;
}

.comment-list .children {
  padding: 50px 0 0 40px;
  margin: 0;
  float: left;
  width: 100%;
}

.comment-list li {
  padding: 0;
  margin: 0 0 30px 0;
  float: left;
  width: 100%;
  clear: both;
  list-style: none;
}

.comment-list li .vcard {
  width: 80px;
  float: left;
}

.comment-list li .vcard img {
  width: 50px;
  border-radius: 50%;
}

.comment-list li .comment-body {
  float: right;
  width: calc(100% - 80px);
}

.comment-list li .comment-body h3 {
  font-size: 20px;
}

.comment-list li .comment-body .meta {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .1em;
  color: #ccc;
}

.comment-list li .comment-body .reply {
  padding: 5px 10px;
  background: #e6e6e6;
  color: #000000;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 400;
  border-radius: 4px;
}

.comment-list li .comment-body .reply:hover {
  color: #fff;
  background: black;
}

.search-form {
  background: #f2f2f2;
  padding: 10px;
}

.search-form .form-group {
  position: relative;
}

.search-form .form-group input {
  padding-right: 50px;
  font-size: 14px;
}

.search-form .icon {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.subscribe-form .form-group {
  position: relative;
  margin-bottom: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
}

.subscribe-form .form-group input {
  background: white !important;
  border: 1px solid transparent;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 16px;
  border-radius: 5px 0px 0px 5px;
}

.subscribe-form .form-group input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: rgba(0, 0, 0, 0.7) !important;
}

.subscribe-form .form-group input::-moz-placeholder {
  /* Firefox 19+ */
  color: rgba(0, 0, 0, 0.7) !important;
}

.subscribe-form .form-group input:-ms-input-placeholder {
  /* IE 10+ */
  color: rgba(0, 0, 0, 0.7) !important;
}

.subscribe-form .form-group input:-moz-placeholder {
  /* Firefox 18- */
  color: rgba(0, 0, 0, 0.7) !important;
}

.subscribe-form .form-group .submit {
  color: #fff !important;
  background: #fe9c00 !important;
  border-radius: 0px 5px 5px 0px;
  font-size: 16px;
}

.subscribe-form .form-group .submit:hover {
  cursor: pointer;
}

.subscribe-form .icon {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-box {
  margin-bottom: 30px;
  padding: 25px;
  font-size: 15px;
  width: 100%;
  float: left;
  background: #fff;
}

.sidebar-box *:last-child {
  margin-bottom: 0;
}

.sidebar-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
}

.categories li {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dee2e6;
  list-style: none;
}

.categories li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.categories li a {
  display: block;
  color: #1a1a1a;
}

.categories li a span {
  position: absolute;
  right: 0;
  top: 0;
  color: #ccc;
}

.categories li a:hover,
.categories li a:focus {
  outline: none;
  color: #00275b;
}

.categories li.active a {
  color: #00275b;
}

.categories li.active a span {
  color: #00275b;
}

#ftco-loader {
  position: fixed;
  width: 96px;
  height: 96px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
  -o-transition: opacity .2s ease-out, visibility 0s linear .2s;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
  z-index: 1000;
}

#ftco-loader.fullscreen {
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  background-color: #fff;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#ftco-loader.show {
  -webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
  -o-transition: opacity .4s ease-out, visibility 0s linear 0s;
  transition: opacity .4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

#ftco-loader .circular {
  -webkit-animation: loader-rotate 2s linear infinite;
  animation: loader-rotate 2s linear infinite;
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  display: block;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

#ftco-loader .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: loader-dash 1.5s ease-in-out infinite;
  animation: loader-dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px;
  }
}

/* Give page */
/* GIVE PAGE SPECIFIC STYLES - Add to prevent conflicts */
/* Add !important to override any conflicting styles */

/* Hero Section */
.give-hero {
  min-height: 500px !important;
}

.give-hero-icon {
  font-size: 4rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  animation: give-pulse 2s infinite !important;
}

@keyframes give-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.give-hero-subtitle {
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  font-style: italic !important;
}

.give-hero-stats {
  display: flex !important;
  justify-content: center !important;
  gap: 40px !important;
  margin-top: 40px !important;
  flex-wrap: wrap !important;
}

.give-hero-stats .stat-item {
  text-align: center !important;
  color: white !important;
  min-width: 120px !important;
}

.give-hero-stats .stat-item i {
  font-size: 2rem !important;
  display: block !important;
  margin-bottom: 10px !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.give-hero-stats .stat-item span {
  font-size: 0.9rem !important;
  opacity: 0.9 !important;
  display: block !important;
}

/* Impact Cards */
.impact-card {
  padding: 2rem 1.5rem !important;
  border-radius: 12px !important;
  background: white !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
  height: 100% !important;
  transition: transform 0.3s ease !important;
}

.impact-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}

.impact-icon {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(135deg, #00275b, #004085) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem !important;
  color: white !important;
  font-size: 1.8rem !important;
}

.impact-card h4 {
  color: #00275b !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}

.impact-card p {
  color: #666 !important;
  line-height: 1.6 !important;
}

/* Donation Cards */
.donation-card {
  border: none !important;
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  height: 100% !important;
  transition: transform 0.3s ease !important;
}

.donation-card:hover {
  transform: translateY(-5px) !important;
}

.donation-card .card-body {
  padding: 2rem !important;
}

.donation-header {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 2px solid rgba(0, 39, 91, 0.1) !important;
}

.donation-icon {
  width: 60px !important;
  height: 60px !important;
  background: rgba(0, 39, 91, 0.1) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 1.5rem !important;
  color: #00275b !important;
  font-size: 1.8rem !important;
}

.donation-header h3 {
  color: #00275b !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

.donation-description {
  color: #666 !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

/* Amount Buttons */
.donation-amounts {
  margin-bottom: 1.5rem !important;
}

.donation-amounts h5 {
  color: #00275b !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}

.amount-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.amount-btn {
  flex: 1 !important;
  min-width: 70px !important;
  padding: 0.75rem !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: white !important;
  color: #333 !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.amount-btn:hover {
  border-color: #00275b !important;
  color: #00275b !important;
  transform: translateY(-2px) !important;
}

.amount-btn.active {
  background: #00275b !important;
  border-color: #00275b !important;
  color: white !important;
}

/* Donation Form */
.donation-form .form-group {
  margin-bottom: 1.25rem !important;
}

.donation-form label {
  font-weight: 500 !important;
  color: #00275b !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

.donation-form .form-control {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: border-color 0.3s ease !important;
}

.donation-form .form-control:focus {
  border-color: #00275b !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 39, 91, 0.25) !important;
}

.btn-donate {
  background: linear-gradient(135deg, #00275b, #004085) !important;
  border: none !important;
  padding: 1rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-radius: 8px !important;
  margin-top: 1rem !important;
  transition: all 0.3s ease !important;
}

.btn-donate:hover {
  background: linear-gradient(135deg, #001a3d, #00275b) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 39, 91, 0.3) !important;
}

.btn-donate i {
  margin-right: 0.5rem !important;
}

/* Other Methods */
.other-methods {
  margin-top: 2rem !important;
}

.method-item {
  display: flex !important;
  align-items: flex-start !important;
  padding: 1.25rem 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.method-item:last-child {
  border-bottom: none !important;
}

.method-icon {
  width: 50px !important;
  height: 50px !important;
  background: rgba(0, 39, 91, 0.08) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 1.25rem !important;
  color: #00275b !important;
  font-size: 1.4rem !important;
  flex-shrink: 0 !important;
}

.method-details {
  flex: 1 !important;
}

.method-details h5 {
  color: #00275b !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600 !important;
}

.method-details p {
  color: #666 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.5 !important;
}

.service-times {
  font-size: 0.9rem !important;
  margin-top: 0.5rem !important;
}

/* Stewardship Card */
.stewardship-card {
  background: linear-gradient(135deg, rgba(0, 39, 91, 0.05), rgba(0, 39, 91, 0.1)) !important;
  border-radius: 15px !important;
  padding: 3rem !important;
  border: 2px solid rgba(0, 39, 91, 0.1) !important;
}

.stewardship-icon {
  width: 80px !important;
  height: 80px !important;
  background: #00275b !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.5rem !important;
  color: white !important;
  font-size: 2.5rem !important;
}

.stewardship-card h3 {
  color: #00275b !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}

.stewardship-text {
  color: #666 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  max-width: 700px !important;
  margin: 0 auto 2rem !important;
}

/* FAQ Accordion */
.faq-accordion {
  border: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.faq-accordion .accordion-item {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.faq-accordion .accordion-item:last-child {
  border-bottom: none !important;
}

.faq-accordion .accordion-button {
  background: white !important;
  color: #00275b !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(0, 39, 91, 0.05) !important;
  color: #00275b !important;
}

.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem !important;
  background: rgba(0, 39, 91, 0.02) !important;
  color: #666 !important;
  line-height: 1.6 !important;
}

/* Testimonial Cards */
.testimonial-card {
  background: white !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
  height: 100% !important;
  transition: transform 0.3s ease !important;
}

.testimonial-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.testimonial-content {
  margin-bottom: 1.5rem !important;
  position: relative !important;
}

.testimonial-content p {
  color: #666 !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  margin: 0 !important;
  padding-left: 1.5rem !important;
}

.testimonial-author {
  display: flex !important;
  align-items: center !important;
}

.author-avatar {
  width: 50px !important;
  height: 50px !important;
  background: rgba(0, 39, 91, 0.1) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 1rem !important;
  color: #00275b !important;
  font-size: 1.2rem !important;
}

.author-info h5 {
  color: #00275b !important;
  margin: 0 0 0.25rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.author-info span {
  color: #888 !important;
  font-size: 0.85rem !important;
}

/* Contact Card */
.contact-card {
  background: white !important;
  border-radius: 15px !important;
  padding: 3rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  text-align: center !important;
}

.contact-card h3 {
  color: #00275b !important;
  margin-bottom: 1rem !important;
  font-weight: 600 !important;
}

.contact-card p {
  color: #666 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

.contact-info {
  text-align: left !important;
  max-width: 300px !important;
  margin: 0 auto 2rem !important;
}

.contact-info p {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
  font-size: 1rem !important;
}

.contact-info i {
  color: #00275b !important;
  width: 20px !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .give-hero-stats {
    gap: 30px !important;
  }

  .donation-header {
    flex-direction: column !important;
    text-align: center !important;
  }

  .donation-icon {
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
  }

  .amount-buttons {
    justify-content: center !important;
  }

  .amount-btn {
    min-width: 60px !important;
  }
}

@media (max-width: 768px) {
  .give-hero {
    min-height: 400px !important;
  }

  .give-hero-icon {
    font-size: 3rem !important;
  }

  .give-hero-subtitle {
    font-size: 1.1rem !important;
  }

  .give-hero-stats {
    gap: 20px !important;
  }

  .impact-card,
  .testimonial-card {
    margin-bottom: 1.5rem !important;
  }

  .method-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .method-icon {
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
    align-self: center !important;
  }

  .stewardship-card {
    padding: 2rem 1.5rem !important;
  }

  .contact-card {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .give-hero-stats .stat-item {
    min-width: 100px !important;
  }

  .donation-card .card-body {
    padding: 1.5rem !important;
  }

  .amount-btn {
    min-width: 50px !important;
    padding: 0.5rem !important;
    font-size: 0.9rem !important;
  }

  .stewardship-card {
    padding: 1.5rem !important;
  }

  .contact-card {
    padding: 1.5rem !important;
  }
}

/* 404 Page Styles */
.error-illustration {
  position: relative;
  margin: 0 auto;
  max-width: 300px;
}

.error-icon {
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

.error-number {
  font-size: 8rem;
  font-weight: bold;
  color: #00275b;
  line-height: 1;
  opacity: 0.7;
  position: relative;
}

.error-number::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, transparent, #00275b, transparent);
  bottom: -10px;
  left: 0;
}

.help-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.help-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.help-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00275b, #004085);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1.8rem;
}

.help-card h5 {
  color: #00275b;
  margin: 15px 0 10px;
  font-weight: 600;
}

.help-card p {
  color: #666;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.quick-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.quick-link:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-link i {
  color: #00275b;
  font-size: 1.2rem;
  width: 25px;
}

.quick-link a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  flex: 1;
}

.quick-link a:hover {
  color: #00275b;
}

.search-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-box .form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
}

.search-box .form-control:focus {
  border-color: #00275b;
  box-shadow: 0 0 0 0.2rem rgba(0, 39, 91, 0.25);
}

.search-box .btn {
  padding: 12px 25px;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .error-number {
    font-size: 6rem;
  }

  .error-illustration {
    max-width: 250px;
  }

  .help-card {
    margin-bottom: 20px;
  }

  .quick-link {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .error-number {
    font-size: 4rem;
  }

  .help-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .search-box {
    padding: 20px;
  }
}

/* Contact us page */
/* ============================================
   CONTACT PAGE EXCLUSIVE STYLES
   Using VERY SPECIFIC class names that won't affect other pages
   ============================================ */

/* 1. CONTACT PAGE HEADER - Unique classes */
.contact-page-specific .contact-header h1 {
  color: #00275b;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.contact-page-specific .contact-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #00275b);
  border-radius: 2px;
}

.contact-page-specific .contact-header .lead {
  color: #6c757d;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 2. CONTACT INFO SECTION - Unique classes */
.contact-page-specific .contact-info-wrapper {
  height: 100%;
}

.contact-page-specific .contact-info-card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

.contact-page-specific .contact-info-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px rgba(0, 39, 91, 0.15) !important;
}

.contact-page-specific .contact-info-card .card-body {
  padding: 2rem !important;
}

.contact-page-specific .contact-info-card h3 {
  color: #00275b;
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 86, 179, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact-page-specific .contact-info-card h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #0056b3, #00275b);
  border-radius: 1px;
}

/* Contact Info Items - Unique classes */
.contact-page-specific .contact-info-item {
  padding: 1rem !important;
  border-radius: 10px !important;
  margin-bottom: 1rem !important;
  background: #f8f9fa !important;
  transition: all 0.3s ease !important;
}

.contact-page-specific .contact-info-item:hover {
  background: white !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  transform: translateX(5px) !important;
}

.contact-page-specific .contact-info-item .fa-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0056b3, #00275b);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
}

/* 3. CONTACT FORM - Unique classes */
.contact-page-specific .contact-form-wrapper {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

.contact-page-specific .contact-form-wrapper .card-body {
  padding: 2rem !important;
}

.contact-page-specific .contact-form-wrapper h3 {
  color: #00275b;
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 86, 179, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

/* Form fields - VERY SPECIFIC */
.contact-page-specific .contact-form-wrapper .contact-form-label {
  color: #00275b;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-page-specific .contact-form-wrapper .contact-form-input {
  border: 2px solid #e9ecef !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #f8f9fa !important;
}

.contact-page-specific .contact-form-wrapper .contact-form-input:focus {
  border-color: #0056b3 !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.15) !important;
  background: white !important;
  transform: translateY(-2px) !important;
}

.contact-page-specific .contact-form-wrapper textarea.contact-form-input {
  min-height: 150px;
  resize: vertical;
}

/* Submit button - VERY SPECIFIC */
.contact-page-specific .contact-submit-button {
  background: linear-gradient(135deg, #0056b3, #00275b) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  color: white !important;
}

.contact-page-specific .contact-submit-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3) !important;
  color: white !important;
}

/* 4. SOCIAL MEDIA SECTION - Unique classes */
.contact-page-specific .contact-social-wrapper {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-page-specific .contact-social-wrapper h5 {
  color: #00275b;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-page-specific .contact-social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-page-specific .contact-social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-page-specific .contact-social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Specific social media colors - DIFFERENT from your other social media CSS */
.contact-page-specific .contact-social-icon.fb-icon {
  background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.contact-page-specific .contact-social-icon.ig-icon {
  background: linear-gradient(135deg, #e4405f, #fd1d1d);
}

.contact-page-specific .contact-social-icon.yt-icon {
  background: linear-gradient(135deg, #c4302b, #ff0000);
}

.contact-page-specific .contact-social-icon.wa-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

/* 5. MAP SECTION - Unique classes */
.contact-page-specific .contact-map-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-page-specific .contact-map-wrapper .ratio {
  border-radius: 15px;
}

/* 6. SUCCESS PAGE STYLES - Unique classes */
.contact-success-specific .success-card-wrapper {
  animation: contactFadeInUp 0.8s ease-out;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes contactFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-success-specific .success-icon-wrapper {
  animation: contactPulse 2s infinite;
  border-radius: 50%;
  position: relative;
}

@keyframes contactPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(40, 167, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.contact-success-specific .success-title {
  color: #00275b;
  font-weight: 700;
  margin: 1.5rem 0;
}

/* Feature cards on success page */
.contact-success-specific .feature-card-wrapper {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background: #f8f9fa;
}

.contact-success-specific .feature-card-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 39, 91, 0.15);
  background: white;
}

.contact-success-specific .feature-card-wrapper .feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0056b3, #00275b);
  border-radius: 50%;
  color: white;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.contact-success-specific .feature-card-wrapper h5 {
  color: #00275b;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Action buttons on success page */
.contact-success-specific .success-primary-btn {
  background: linear-gradient(135deg, #0056b3, #00275b) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2.5rem !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
  color: white !important;
}

.contact-success-specific .success-primary-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3) !important;
  color: white !important;
}

.contact-success-specific .success-outline-btn {
  border: 2px solid #0056b3 !important;
  color: #0056b3 !important;
  border-radius: 12px !important;
  padding: 1rem 2.5rem !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
}

.contact-success-specific .success-outline-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00275b) !important;
  border-color: #0056b3 !important;
  color: white !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.2) !important;
}

/* 7. RESPONSIVE STYLES */
@media (max-width: 992px) {

  .contact-page-specific .contact-info-card .card-body,
  .contact-page-specific .contact-form-wrapper .card-body {
    padding: 1.5rem !important;
  }

  .contact-success-specific .feature-card-wrapper .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-page-specific .contact-header h1 {
    font-size: 2rem;
  }

  .contact-page-specific .contact-header .lead {
    font-size: 1.1rem;
  }

  .contact-success-specific .success-primary-btn,
  .contact-success-specific .success-outline-btn {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .contact-page-specific .contact-header h1 {
    font-size: 1.75rem;
  }

  .contact-page-specific .contact-info-item .fa-icon-wrapper {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .contact-page-specific .contact-social-icons {
    gap: 0.75rem;
  }

  .contact-page-specific .contact-social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}