
:root, [data-bs-theme=light] {
  /* Updated primary color */
  --bs-blue: #2b4053;
  --bs-primary: #2b4053;
  --bs-primary-rgb: 43, 64, 83;
  --bs-primary-text-emphasis: #1d2b37; /* A darker shade for text emphasis */
  --bs-primary-bg-subtle: #e2e2d6; /* A lighter subtle background shade */
  --bs-primary-border-subtle: #c5c5b0; /* Border color based on the new primary */

  --bs-light-blue: #7dbec2;
  --bs-light-rgb: 125, 190, 194;
  --bs-light-blue-text-emphasis: #53878a;
  --bs-light-blue-bg-subtle: #c6eaec;
  --bs-light-blue-border-subtle: #c6eaec;

  --bs-secondary: #7dbec2;
  --bs-secondary-rgb: 125, 190, 194;
  --bs-secondary-text-emphasis: #53878a;
  --bs-secondary-bg-subtle: #c6eaec;
  --bs-secondary-border-subtle: #c6eaec;

/*  --bs-secondary: #2b4053;
  --bs-secondary-rgb: 125,190,194;
  --bs-secondary-text-emphasis: #397485; !* A darker shade for text emphasis *!
  --bs-secondary-bg-subtle: #e2e2d6; !* A lighter subtle background shade *!
  --bs-secondary-border-subtle: #c5c5b0; !* Border color based on the new primary *!*/


  --bs-j2c: #971818;
  --bs-j2c-rgb: 151, 24, 24;
  --bs-j2c-text-emphasis: #7b1212; /* A darker shade for text emphasis */
  --bs-j2c-bg-subtle: #ba7e88; /* A lighter subtle background shade */
  --bs-j2c-border-subtle: #964f5b;

  /* Link colors adjusted */
  --bs-link-color: #2b4053;
  --bs-link-color-rgb: 29, 43, 55;
  --bs-link-hover-color: #1d2b37; /* A slightly darker hover color */
  --bs-link-hover-color-rgb: 83, 135, 138;
  --bs-focus-ring-color: rgba(29, 43, 55, .25); /* Adjusted based on new primary */

  /* Pagination colors adjusted */
  --bs-pagination-hover-bg: #dadac5; /* A lighter hover background */
  --bs-pagination-hover-border-color: #b3b39e; /* A complementary hover border */
  --bs-pagination-active-bg: #2b4053; /* Same as new primary */
  --bs-pagination-active-border-color: #2b4053; /* Same as new primary */

  --bs-nude: #f4eae3;
  --bs-dark-rgb: 29, 43, 55;
}


[data-bs-theme=dark] {
    --bs-primary: #84bdee;
    --bs-primary-rgb: 132, 189, 238;
    --bs-btn-hover-color: #84bdee;

}
:root {
  --swiper-theme-color: #2b4053
}
.text-primary {color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;}
.text-secondary {color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2b4053;
  --bs-btn-border-color: #2b4053;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1d2b37; /* A darker shade derived from #2b4053 for hover */
  --bs-btn-hover-border-color: #1d2b37;
  --bs-btn-focus-shadow-rgb: 29, 43, 55; /* Derived from new primary color */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1d2b37; /* Active background matching hover */
  --bs-btn-active-border-color: #1d2b37;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); /* Keeping a subtle inset shadow */
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #2b4053;
  --bs-btn-disabled-border-color: #2b4053;
}

.btn-outline-primary {
  --bs-btn-color: #2b4053;
  --bs-btn-border-color: #2b4053;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2b4053;
  --bs-btn-hover-border-color: #2b4053;
  --bs-btn-focus-shadow-rgb: 29, 43, 55; /* Matching focus shadow RGB to the primary color */
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1d2b37; /* Slightly darker active background */
  --bs-btn-active-border-color: #1d2b37;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); /* Subtle inset shadow */
  --bs-btn-disabled-color: #2b4053;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #2b4053;
  --bs-gradient: none;
}

.btn-secondary {
    --bs-btn-color: #fff!important;
    --bs-btn-bg: var(--bs-light-blue)!important;
    --bs-btn-border-color: var(--bs-light-blue)!important;
    --bs-btn-hover-color: #fff!important;
    --bs-btn-hover-bg: var(--bs-light-blue)!important; /* A darker shade derived from #2b4053 for hover */
    --bs-btn-hover-border-color: var(--bs-light-blue)!important;
    --bs-btn-focus-shadow-rgb: var(--bs-light-rgb)!important; /* Derived from new primary color */
    --bs-btn-active-color: #fff!important;
    --bs-btn-active-bg: var(--bs-light-blue-text-emphasis)!important; /* Active background matching hover */
    --bs-btn-active-border-color: var(--bs-light-blue-text-emphasis)!important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important; /* Keeping a subtle inset shadow */
    --bs-btn-disabled-color: #fff!important;
    --bs-btn-disabled-bg: var(--bs-light-blue-bg-subtle)!important;
    --bs-btn-disabled-border-color: var(--bs-light-blue-bg-subtle)!important;
}

.btn-outline-secondary {
    --bs-btn-color: var(--bs-light-blue);
    --bs-btn-border-color: var(--bs-light-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-light-blue);
    --bs-btn-hover-border-color: var(--bs-light-blue-bg-subtle);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb); /* Matching focus shadow RGB to the primary color */
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary-text-emphasis); /* Slightly darker active background */
    --bs-btn-active-border-color: var(--bs-secondary-text-emphasis);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); /* Subtle inset shadow */
    --bs-btn-disabled-color: #2b4053;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #2b4053;
    --bs-gradient: none;


}
.btn-outline-secondary:hover {
    --bs-btn-border-color: var(--bs-light-blue-text-emphasis);
}

.btn-cta {
    --bs-btn-color: var(--bs-secondary-text-emphasis)!important;
    --bs-btn-bg: var(--bs-light-blue-bg-subtle)!important;
}

.bg-primary-dark {
    --bs-bg-color: #1d2b37;
    background-color:var(--bs-bg-color)!important;
}

.pagination {
  --bs-pagination-active-bg: #2b4053;
  --bs-pagination-active-border-color: #2b4053;
}

.form-select:focus {border-color: #dadac5;}
.form-check-input:checked {background-color: #2b4053;border-color: #2b4053;}
.form-check-input:focus {box-shadow: 0 0 0 0.25rem rgba(104,104,82, 0.25);}
.link-primary:focus, .link-primary:hover {color:#1d2b37!important;text-decoration-color:#1d2b37!important;}
.swiper-pagination-bullet {
  border: 2px solid var(--bs-btn-border-color, #2b4053);
}
.swiper-pagination-bullet-active {
  border-color: #2b4053;
}
.swiper-pagination-numbers-active {
  background: #2b4053;
}
.swiper-button-prev:hover {
  background-color: #2b4053;
}
.swiper-button-next:hover {
  background-color: #2b4053;
}


.form-control:focus {
  border-color: var(--bs-light-blue);
}

.bg-primary-gradient {
  background: linear-gradient(180deg, #3a4e60, #2b4053 47.92%, #1d2b37); /* Adjusted gradient based on new primary */
}

.bg-maroon {--bs-bg-opacity: 1;background-color:var(--bs-j2c)!important;}


