/*
Theme Name: Convey Law
Author: Convey365
Author URI: https://www.convey365.com
Description: Custom theme for Convey Group websites.
Version: 1.2
*/


body,
p {
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--brand-primary-color, #333);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.05rem;
  }

  h5 {
    font-size: 0.95rem;
  }

  h6 {
    font-size: 0.9rem;
  }

  body,
  p {
    font-size: 0.9rem;
  }
}


body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
}

.text-black {
  color: #404040 !important;
}

.text-black p {
  color: #404040 !important;
}

.text-white {
  color: #fff !important;
}

.text-white p {
  color: #fff !important;
}

@media (min-width: 600px) {
  .container {
    min-width: 90% !important;
  }
}

a {
  font-weight: bold;
  color: var(--brand-secondary-color, #333);
}

a:hover {
  font-weight: normal;
  text-decoration: none;
}

.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary h4,
.bg-secondary h5,
.bg-secondary h6 {
  color: unset;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
  color: unset;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: unset;
}

section {
  scroll-margin-top: 140px;
}

/* -------------------------------------------------
   Top Bar
-------------------------------------------------- */
.top-bar a {
  text-decoration: none;
}

.top-bar {
  background-color: var(--brand-secondary-color, #333);
  color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Topbar Social Icons and Text Links */
.top-bar .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 0.5rem;

  text-decoration: none;
  color: inherit;
  /* Let color come from background class */
}

/* When the link has text (phone, email), align text properly */
.top-bar .social-icon i {
  margin-right: 0.5rem;
}

/* Force phone and email text links to keep icon + text */
.top-bar .social-icon.text-dark {
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

/* Hover Effect */
.top-bar .social-icon:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* -------------------------------------------------
   Sticky Header
-------------------------------------------------- */
.site-header.is-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------
   Header Structure
-------------------------------------------------- */
.site-header {
  width: 100%;
  position: relative;
  z-index: 999;
}

.site-header-inner {
  background: var(--header-background, #fff);
}

/* -------------------------------------------------
   Logo and Social Area (inside header)
-------------------------------------------------- */
.site-logo img {
  height: 60px;
  width: auto;
}



.socialmedia a,
.searchicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  text-decoration: none;
}

.socialmedia a i,
.searchicon i {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}


/* Hover effect */
.socialmedia a:hover,
.searchicon:hover {
  opacity: 0.8;
  transform: scale(1.05);
}


.social-icon-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-primary-color, #333);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-icon-primary:hover {
  opacity: 0.85;
}

.site-header .socialmedia a {
  background: var(--brand-secondary-color, #333);
  color: #fff;
}

.site-header .socialmedia a:hover {
  background: var(--brand-primary-color, #333);
  color: #fff;
}

.socialmedia .facebook {
  background: #3b5998;
  color: #fff;
}

.socialmedia .twitter {
  background: #00acee;
  color: #fff;
}

.socialmedia .whatsapp {
  background: #075e54;
  color: #fff;
}

.socialmedia .linkedin {
  background: #0e76a8;
  color: #fff;
}

.socialmedia .website {
  background: #404856;
  color: #fff;
}

.socialmedia .youtube {
  background: #ff0000;
  color: #fff;
}


/* -------------------------------------------------
   Mobile Header
-------------------------------------------------- */
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center/contain no-repeat;
}

#mobileMenu .navbar-nav>li {
  border-bottom: 1px solid #e4e4e4;
  padding: 0.75rem 0;
}

#mobileMenu .sub-menu li {
  border: none;
  padding: 0.5rem 0;
}

#mobileMenu .sub-menu a {
  font-size: 0.95rem;
}

#mobileMenu ul.sub-menu {
  display: none;
  padding-left: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  list-style: none;
}


#mobileMenu ul.sub-menu.open {
  display: block;
}

#mobileMenu .submenu-toggle {
  background: none;
  border: none;
  color: var(--brand-primary-color, #173a65);
  font-size: 0.9rem;
  padding-left: 0.5rem;
}

#mobileMenu .menu-item-has-children {
  position: relative;
}

#mobileMenu .menu-item-has-children>a {
  display: inline-block;
  width: auto;
  font-weight: 600;
}

#mobileMenu .submenu-toggle {
  background: none;
  border: none;
  padding-left: 0.5rem;
  font-size: 1rem;
  color: var(--brand-primary-color, #173a65);
  vertical-align: middle;
}

#mobileMenu .menu-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#mobileMenu {
  padding-bottom: 10px;
}


/* Burger icon state */
.navbar-toggler i.fa-times {
  font-size: 1.5rem;
}

.navbar-toggler i.fa-bars {
  font-size: 1.5rem;
}

/* Chevron rotation */
.submenu-toggle i {
  transition: transform 0.3s ease;
}

.submenu-toggle i.rotate-up {
  transform: rotate(180deg);
}




/* -------------------------------------------------
   Background Colour Classes
-------------------------------------------------- */

/* Site Brand Colours */
.social-icon-primary {
  background-color: var(--brand-primary-color, #333);
  color: #ffffff;
}

.social-icon-secondary {
  background-color: var(--brand-secondary-color, #555);
  color: #ffffff;
}

.social-icon-white {
  background-color: #ffffff;
  color: var(--brand-primary-color, #333);
}

.social-icon-black {
  background-color: #000000;
  color: #ffffff;
}

/* Social Specific Colours */
.social-icon-facebook {
  background-color: #1877F2;
  color: #ffffff;
}

.social-icon-linkedin {
  background-color: #0A66C2;
  color: #ffffff;
}

.social-icon-youtube {
  background-color: #FF0000;
  color: #ffffff;
}

.social-icon-instagram {
  background-color: #E1306C;
  color: #ffffff;
}

.social-icon-primary {
  background-color: var(--brand-primary-color, #333);
  color: #ffffff;
}

.socialmedia a,
.searchicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
  text-decoration: none;
}

.site-header .telephone {
  color: var(--telephone-color, #000000);
  /* This is handled dynamically */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.site-header .telephone:hover {
  opacity: 0.8;
}




/* -------------------------------------------------
   Main Menu
-------------------------------------------------- */
.main-menu-wrapper {
  background: var(--nav-background, #173a65);
}

.site-header nav.main-menu,
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  position: relative;
  background: var(--nav-background, #173a65);
  text-align: center;
}

.site-header nav.main-menu li,
.main-menu>li {
  display: inline-block;
  position: relative;
}

.site-header nav.main-menu li a,
.main-menu>li>a {
  color: var(--nav-link-colour, #ffffff);
  transition: all 0.2s ease-in-out;
  padding: 15px 30px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.site-header nav.main-menu li:hover>a,
.main-menu>li:hover>a {
  color: var(--nav-link-hover-colour, #ffffff);
  background: var(--nav-hover-background-colour, transparent);
}



/* -------------------------------------------------
   Dropdown / Sub-Menu
-------------------------------------------------- */
.site-header nav.main-menu li ul.sub-menu,

.site-header nav.main-menu li ul.sub-menu,
.main-menu .sub-menu {
  display: none;
  position: absolute;
  background: var(--nav-dropdown-background-colour, #000000);
  border-left: var(--nav-dropdown-border-width, 3px) solid var(--nav-dropdown-border-colour, #0C3865);
  box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.08);
  z-index: 9;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav.main-menu li:hover>ul.sub-menu,
.main-menu li:hover>.sub-menu {
  display: block;
}

.site-header nav.main-menu li ul.sub-menu li a,
.main-menu .sub-menu li a {
  color: var(--nav-dropdown-link-colour, #173a65);
  font-size: 0.9rem;
  min-width: 200px;
  padding: 15px 20px;
  text-align: left;
  text-transform: capitalize;
  text-decoration: none;
  transition: background 0.2s ease;
  border-left: 3px solid var(--nav-dropdown-link-colour, #173a65);
}

.site-header nav.main-menu li ul.sub-menu,
.site-header nav.main-menu li ul.sub-menu,
.main-menu .sub-menu {
  margin-left: -3px;
}

.site-header nav.main-menu li ul.sub-menu li a:hover,
.main-menu .sub-menu li a:hover {
  background: var(--nav-dropdown-hover-background-colour, rgba(0, 0, 0, 0.05));
}

.main-menu .sub-menu li {
  width: 100%;
}

.main-menu .sub-menu li a {
  display: block;
  width: 100%;
}

.main-menu .sub-menu li:hover {
  background: var(--nav-dropdown-hover-background-colour);
}

.main-menu .sub-menu li {
  width: 100%;
}

.main-menu .sub-menu li a {
  display: block;
  width: 100%;
}



/* -------------------------------------------------
   Mobile Basics
-------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-header-inner {
    padding: 10px 0;
  }

  .main-menu-wrapper {
    display: none;
    /* Hide desktop nav on mobile initially */
  }

  .mobile-header {
    background: var(--nav-background, #173a65);
    padding: 15px;
  }

  .mobile-header .telephone {
    color: #fff;
  }
}

/* -------------------------------------------------
   Layouts
-------------------------------------------------- */

.section-wrapper.full-width-bg {
  width: 100%;
}

.container-full {
  width: 100%;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.section-wrapper.full-width-bg-content {
  width: 100%;
}

.section-wrapper.full-width-bg-content>.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .section-wrapper.full-width-bg-content>.container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}


.bg-secondary {
  background-color: var(--brand-secondary-color, #555) !important;
}

.bg-primary {
  background-color: var(--brand-primary-color, #555) !important;
}

.bg-light {
  background: #f1f1f5 !important;
}

.full-width-normal-right {
  padding-right: 5% !important;
  padding-left: 20px !important;
}

.full-width-normal-left {
  padding-left: 5% !important;
  padding-right: 20px !important;
}

.pt-0 .row>* {
  padding-left: 0px;
  padding-right: 0px
}

/* -------------------------------------------------
   Standard Button Styles
-------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
}


.btn-outline-primary {
  background-color: transparent;
  color: var(--brand-secondary-color, #036654);
  border: 2px solid var(--brand-secondary-color, #036654);
  transition: all 0.2s ease-in-out;
}

/* Hover */
.btn-outline-primary:hover {
  background-color: var(--brand-secondary-color, #036654);
  color: #ffffff;
  border-color: var(--brand-secondary-color, #036654);
}

/* Focus */
.btn-outline-primary:focus {
  background-color: var(--brand-secondary-color, #036654);
  color: #ffffff;
  border-color: var(--brand-secondary-color, #036654);
  box-shadow: 0 0 0 0.25rem rgba(3, 102, 84, 0.5);
  /* Use RGB of secondary color */
  outline: none;
}

/* Active */
.btn-outline-primary:active,
.btn-outline-primary.active {
  background-color: var(--brand-secondary-color, #036654);
  color: #ffffff;
  border-color: var(--brand-secondary-color, #036654);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* Disabled */
.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  background-color: transparent;
  color: var(--brand-secondary-color, #036654);
  border-color: var(--brand-secondary-color, #036654);
  opacity: 0.65;
  pointer-events: none;
}



/* -------------------------------------------------
   Primary Button
-------------------------------------------------- */
.btn-primary {
  background-color: var(--btn-primary-bg, #0C3865);
  color: var(--btn-primary-text, #ffffff);
  border: 2px solid var(--btn-primary-border, #0C3865);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover-bg, #ffffff);
  color: var(--btn-primary-hover-text, #0C3865);
  border-color: var(--btn-primary-hover-border, #0C3865);
}

/* -------------------------------------------------
     Secondary Button
  -------------------------------------------------- */
.btn-secondary {
  background-color: var(--btn-secondary-bg, #173a65);
  color: var(--btn-secondary-text, #ffffff);
  border: 2px solid var(--btn-secondary-border, #173a65);
}

.btn-secondary:hover {
  background-color: var(--btn-secondary-hover-bg, #ffffff);
  color: var(--btn-secondary-hover-text, #173a65);
  border-color: var(--btn-secondary-hover-border, #173a65);
}

/* -------------------------------------------------
     Button Style Three
  -------------------------------------------------- */
.btn-style-three {
  background-color: var(--btn-style-three-bg, #ff6600);
  color: var(--btn-style-three-text, #ffffff);
  border: 2px solid var(--btn-style-three-border, #ff6600);
}

.btn-style-three:hover {
  background-color: var(--btn-style-three-hover-bg, #ffffff);
  color: var(--btn-style-three-hover-text, #ff6600);
  border-color: var(--btn-style-three-hover-border, #ff6600);
}

/* -------------------------------------------------
     Button Style Four
  -------------------------------------------------- */
.btn-style-four {
  background-color: var(--btn-style-four-bg, #6c757d);
  color: var(--btn-style-four-text, #ffffff);
  border: 2px solid var(--btn-style-four-border, #6c757d);
}

.btn-style-four:hover {
  background-color: var(--btn-style-four-hover-bg, #ffffff);
  color: var(--btn-style-four-hover-text, #6c757d);
  border-color: var(--btn-style-four-hover-border, #6c757d);
}

/* -------------------------------------------------
     Button Style Five
  -------------------------------------------------- */
.btn-style-five {
  background-color: var(--btn-style-five-bg, #17a2b8);
  color: var(--btn-style-five-text, #ffffff);
  border: 2px solid var(--btn-style-five-border, #17a2b8);
}

.btn-style-five:hover {
  background-color: var(--btn-style-five-hover-bg, #ffffff);
  color: var(--btn-style-five-hover-text, #17a2b8);
  border-color: var(--btn-style-five-hover-border, #17a2b8);
}

/* -------------------------------------------------
     Footer
  -------------------------------------------------- */
.site-footer .footer-main {
  padding-top: 50px;
  padding-bottom: 50px;
  background: var(--brand-primary-color, #333);
}

.footer-contact div {
  padding-top: 5px;
}

.site-footer .footer-main {
  color: #fff
}

.site-footer .text-white {
  font-weight: 700;
  text-decoration: none
}

.site-footer .bg-gray {
  background: #f1f1f5;
  padding-top: 15px;
  padding-bottom: 15px
}

.site-footer .footer-main {
  padding-top: 30px;
  padding-bottom: 15px;
  background: var(--brand-primary-color, #333);
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-flow: wrap
}

.site-footer .footer-links {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-footer .footer-links-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-flow: wrap;
}

.site-footer .footer-links-menu li a {
  color: #000;
  font-weight: 700;
  margin-right: 15px;
  margin-bottom: 20px;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

@media (min-width: 1250px) {
  .site-footer .footer-links-menu li a {
    margin-right: 30px;
  }
}

.site-footer .footer-links-menu li a:hover:after {
  bottom: -2px;
}

.site-footer .footer-links-menu li a:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  border-bottom: 2px solid #000;
  transition: bottom 0.3s ease-in-out, color 0.2s ease-in-out;
}

.site-footer .footer-main {
  margin-top: 40px;
  background: var(--brand-primary-color, #333);
  color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  font-weight: normal;
}

@media (min-width: 992px) {
  .site-footer .footer-main {
    margin-top: 80px;
  }
}

.site-footer .footer-main .footer-links-menu {
  font-size: 0.9em;
}

.site-footer .footer-main .footer-links-menu li a {
  font-weight: normal;
  color: #fff;
}

.site-footer .footer-main .footer-links-menu li a:after {
  border-bottom: 0;
}

.footer-logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row-reverse;
}

.footer-logo {
  width: 100px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo object,
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}


.site-footer .footer-signoff {
  color: #fff;
  font-weight: 500;
}

.site-footer .footer-signoff a {
  color: #fff;
  font-weight: 500;
}

.site-footer .sub-menu {
  display: none
}

.footer-signoff img {
  max-height: 50px;
  width: auto;
}

.footer-organisation-text {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .footer-social-logo-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;

  }

  .footer-social-logo-row .col-7 {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    align-items: center;
  }

  .slick-prev,
  .slick-next {

    display: none
  }
}


.slick-list a {
  text-decoration: none;
}

.full-width-bg-content .col .slick-list {
  max-width: calc(100% - 70px);
  margin-left: auto;
  margin-right: auto
}


.full-width-bg-content .col .slick-prev {
  left: 00px !important;
}

.full-width-bg-content .col .slick-next {
  right: 15px !important;
}

.slick-prev:before {
  display: none;
}

.slick-prev:after {
  display: none;
}

/* -------------------------------------------------
   Global rows
-------------------------------------------------- */


.row-equal {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

@media (max-width: 756px) {
  .row-equal {
    display: block;

  }

}

.row-equal>[class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-carousel {
  width: 100%;
}

/*
.block-carousel .slide img {
  width: 100% !important;
  height: auto !important;
}*/

.no-paddings {
  padding-left: 0px !important;
  padding-right: 0px !important
}

.ng-1 {
  margin-top: -1.5rem !important;
}

.hero-image img {
  object-fit: cover;
  width: 100%;
}

.hero-bg-image {
  margin-top: .0rem !important;
}

.added_content_row .py-4 {
  padding-top: 0rem !important;
  padding-bottom: 1.5rem !important;
}

img,
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: -12px;
  margin-right: -12px;
}

@media (min-width: 576px) {
  .full-bleed {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media (min-width: 768px) {
  .full-bleed {
    margin-left: -30px;
    margin-right: -30px;
  }


}

@media (max-width: 768px) {

  .col-md-4,
  .col-md-3 {
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) and (max-width:1366px) {

  .p-md-5,
  .p-md-3 {
    padding: 1rem !important;
  }
}




@media (min-width: 768px) and (max-width: 1024px) {
  .col-md-3 {
    flex: 0 0 auto;
    margin-bottom: 20px;
    width: 50%;
  }


}



.bg-light div.shadow {
  box-shadow: 0 8px 12px rgb(0 0 0 / 43%) !important;
}

.no-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.bg-image-column {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;
}


/* -------------------------------------------------
   Search
-------------------------------------------------- */
#search-box {
  right: 0;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.modal-backdrop.show {
  opacity: 0.7;
}

.modal-content {
  max-width: 600px;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------
 Accordion
-------------------------------------------------- */

.accordion-button:focus {
  border-color: unset !important;
  box-shadow: none;
}

/* -------------------------------------------------
Button Group
-------------------------------------------------- */

.btn-group .btn:not(:first-child) {
  margin-left: 0.5rem !important;
}



@media (max-width: 1366.98px) {
  .col-md-6 .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .btn-group.btn-multiple .btn {
    flex: 1 1 45%;
    max-width: 45%;
  }

  .btn-group.btn-single .btn {
    flex: 0 0 auto;
    max-width: none;
  }

  .btn-group .btn:not(:first-child) {
    margin-left: 0rem !important;
  }
}


@media (min-width: 1366.98px) {
  .btn-group .btn:not(:first-child) {
    margin-left: 0.5rem !important;
  }
}

/* -------------------------------------------------
Testimonials
-------------------------------------------------- */


/* Testimonial Row Wrapper */
.testimonial-row {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Testimonial Card Layout */
.testimonial-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--brand-primary-color, #1f236c);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;

  display: flex;
  flex-direction: column;
  /* Remove height: 100%; */
}

/* Ensure author block has margin on top and spacing below */
.testimonial-card .d-flex.align-items-center {
  margin-top: auto;
  /* pushes this block to the bottom of the card */
  padding-top: 1rem;
  /* spacing from testimonial text */
  padding-bottom: 0.25rem;
  /* bottom breathing space */
}

.testimonial-carousel {
  margin: 0 -12px;
}



.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Testimonial Content */
.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Author title */
.testimonial-title {
  font-size: 0.875rem;
}


.testimonial-card blockquote p::before,
.testimonial-card blockquote p::after {
  font-size: 1.75rem;
  position: relative;
  line-height: 1;
  color: var(--brand-primary-color, #1f236c);
}

.testimonial-card blockquote p::before {
  content: "“";
  top: -0.1rem;
  margin-right: 0.15rem;
}

.testimonial-card blockquote p::after {
  content: "”";
  top: 0.1rem;
  margin-left: 0.15rem;
}


/* Slick Dot Styles */
.slick-dots {
  display: flex !important;
  justify-content: center;
  padding-top: 1rem;
  list-style: none;
  margin: 0;
}

.slick-dots li {
  margin: 0 6px;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.slick-dots li button {
  background: var(--brand-primary-color, #1f236c);
}

.slick-dots li.slick-active button {
  background: var(--brand-primary-color, #1f236c);
}

.slick-dots li button:hover {
  background: var(--brand-secondary-color, #4f9259);
}


.section-wrapper.text-white .slick-dots li button {
  background: #fff;
}

.section-wrapper.text-white .slick-dots li.slick-active button {
  background: #fff;
}

.section-wrapper.text-white .slick-dots li button:hover {
  background: #fff;
}

/* Slick Track */
.testimonial-carousel .slick-track {
  display: flex !important;
  column-gap: 30px;
  flex-wrap: nowrap;
  padding: 20px 0px;
}

.testimonial-carousel .slick-slide>div {
  height: 100%;
  display: flex;
}




/* -------------------------------------------------
Forms
-------------------------------------------------- */

.bg-cform .socialmedia a {
  background: #fff;
  color: var(--brand-primary-color, #333);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

select {
  border: 1px solid #ccc;
}

.bg-secondary .gform_footer .button {
  padding: 15px 25px;
  background-color: var(--btn-style-four-bg, #fff);
  color: var(--btn-style-four-text, #0C3865);
  border: 2px solid var(--btn-style-four-border, #fff);
  border-width: 2px;
  font-weight: 700;

  box-shadow: none;
}

.bg-secondary .gform_footer .button:hover,
input[type="submit"]:hover {
  background-color: var(--btn-style-four-hover-bg, #0C3865);
  color: var(--btn-style-four-hover-text, #fff);
  border-color: var(--btn-style-four-hover-border, #fff);
}




.bg-primary .gform_footer .button {
  padding: 15px 25px;
  background-color: var(--btn-style-four-hover-bg, #0C3865);
  color: var(--btn-style-four-hover-text, #fff);
  border: 2px solid var(--btn-style-four-border, #fff);
  border-width: 2px;
  font-weight: 700;

  box-shadow: none;
}

.bg-primary .gform_footer .button:hover,
input[type="submit"]:hover {
  background-color: #ffffff00;
  color: var(--btn-style-four-text, #0C3865);

  border-color: var(--btn-style-four-hover-border, #fff);
}



.gform_footer .button {
  padding: 15px 25px;
  background-color: var(--btn-primary-bg, #0C3865);
  color: var(--btn-primary-text, #ffffff);
  border: 2px solid var(--btn-primary-border, #0C3865);
  border-width: 2px;
  font-weight: 700;

  box-shadow: none;
}

.gform_footer .button:hover,
input[type="submit"]:hover {
  background-color: var(--btn-primary-hover-bg, #ffffff);
  color: var(--btn-primary-hover-text, #0C3865);
  border-color: var(--btn-primary-hover-border, #0C3865);
}


.req_quote_form {
  background: var(--brand-secondary-color, #333);
  color: #fff
}

.req_quote_form .gform_footer .button {
  padding: 15px 25px;
  background-color: var(--btn-style-two-bg, #fff);
  color: var(--btn-style-two-text, #036654);
  border: 2px solid var(--btn-style-two-border, #fff);
  border-width: 2px;
  font-weight: 700;

  box-shadow: none;
}

.req_quote_form .button:hover,
input[type="submit"]:hover {
  background-color: var(--btn-style-two-hover-bg, #036654);
  color: var(--btn-style-two-hover-text, #fff);
  border-color: var(--btn-style-two-hover-border, #fff);
}

@media (min-width: 1024px) {
  #gform_wrapper_2 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* -------------------------------------------------
Video
-------------------------------------------------- */

.video-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.video-play-btn {
  background: var(--brand-primary-color, rgba(0, 0, 0, 0.6));
  border: none;
  border-radius: 50%;
  padding: 1rem 1.25rem;
  transition: background 0.3s;
}

.video-play-btn:hover {
  background: var(--brand-secondary-color, rgba(0, 0, 0, 0.6));
}

.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* -------------------------------------------------
Google map
-------------------------------------------------- */

.google-map-block iframe {
  display: block;
  width: 100%;
  height: 100%;
}


/* -------------------------------------------------
Info Card
-------------------------------------------------- */
.row-equal>[class*="col-"]:not(:first-child) .info-card-wrapper .card {
  margin-left: 30px;

}

.card {
  border-radius: 0px;
}

.card-title h1,
.card-title h2,
.card-title h3,
.card-title h4,
.card-title h5 {
  margin: 0;
  color: inherit;
  text-align: center;
}

.card-icon-text {
  font-size: 1rem;
  color: inherit;
}

.card-title {
  margin-bottom: 0px;
}

@media (max-width: 756px) {
  .info-card-wrapper {
    height: unset !Important;
    margin-bottom: 20px;
  }
}

/* -------------------------------------------------
Slick slider button
-------------------------------------------------- */
.slick-prev,
.slick-next {
  top: 40% !important;
}

@media (max-width: 768px) {

  .slick-prev,
  .slick-next {
    display: none !important
  }
}

.slick-prev {
  left: -40px !important;
}

.slick-next {
  right: -35px !important;
}

.slick-prev,
.slick-next {
  z-index: 10;
  opacity: 1;
  color: #333;
}

.slick-prev,
.slick-next {
  font-size: 50px !important;
  color: var(--brand-primary-color, rgba(0, 0, 0, 0.6)) !important;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: var(--brand-secondary-color, rgba(0, 0, 0, 0.6)) !important;
  outline: none;
  background: transparent;
}

/* Override when inside dark background sections */
.bg-primary .slick-prev,
.bg-primary .slick-next,
.bg-secondary .slick-prev,
.bg-secondary .slick-next {
  color: #fff !important;
}

/* Optional: white on hover as well */
.bg-primary .slick-prev:hover,
.bg-primary .slick-next:hover,
.bg-secondary .slick-prev:hover,
.bg-secondary .slick-next:hover {
  color: #fff !important;
}

.slick-prev:before,
.slick-next:before {
  color: #ffffff00;
}

.slider-secondary .slick-dots {

  bottom: -45px !important;
}


.block-carousel .slick-prev {
  left: 20px !important;
}

.block-carousel .slick-next {
  right: 20px !important;
}

.block-carousel .slick-prev,
.block-carousel .slick-next {
  top: 45% !important;
}


.block-carousel .slick-prev,
.block-carousel .slick-next {
  top: 45% !important;
  background-color: #ffffff57;
  height: 110%;
  width: 50px;
  margin-left: -20px;
  margin-right: -20px;
}

/* -------------------------------------------------
Slick footer logos
-------------------------------------------------- */
.slick-footer-logos {
  position: relative;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  align-content: center;
}

.footer-logo .logo-img {
  max-height: 100px;
  object-fit: contain;
  width: auto;
  height: auto;
}

@media (max-width: 756px) {

  .footer-logo .logo-img {
    max-height: 200px;
  }

}

/* -------------------------------------------------
Generic slider
-------------------------------------------------- */

.block-carousel,
.block-carousel .slick-track,
.block-carousel .slick-slide {
  height: 100% !important;
}

.block-carousel img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.block-carousel {
  min-height: 100px;
}



.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-wrapper .slick-track,
.carousel-wrapper .slick-list,
.carousel-wrapper .slick-slide {
  height: 100% !important;
}


.carousel-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}





/* -------------------------------------------------
Awards
-------------------------------------------------- */
.join-card .join-img {
  height: 80px;
  width: 80px;
  display: flex;
  border-radius: 50px;
  background-color: var(--brand-secondary-color, #333);
  align-items: center;
  justify-content: center;
}

.join-card .join-img img {
  height: 40px;
  width: 40px;
}


/* -------------------------------------------------
Team
-------------------------------------------------- */

.team-member {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: none;
  border-radius: .25rem;
}

.team-member img {
  border-radius: 50%;
  margin: 0 auto;
  width: 236px;
  height: auto;
}

.single-member-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  max-width: 300px;
  height: auto;
}



@media only screen and (min-width: 1024px) and (max-width: 1400px) {
  .team-members .row-cols-md-5>* {
    width: 25%;
  }

  /*
  .single-member-image img{max-height:300px; max-width:300px;}*/
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .team-members .row-cols-md-5>* {
    width: 33%;
  }
}

@media (max-width: 1023.98px) {
  .team-members .col-md-3 {
    order: 1 !important;
    width: 50% !important;
  }

  .team-members .col-md-6 {
    order: 3 !important;
    width: 100% !important;
  }

  .team-members .single-member-image {
    order: 1 !important;
    width: 50% !important;
  }

  .team-members .team-member-full-text {
    order: 1 !important;
    width: 50% !important;
  }



  .team-member-full-text {
    text-align: center;
  }
}

@media (max-width: 768.98px) {
  .team-members .single-member-image {
    order: 1 !important;
    width: 100% !important;
  }

  .team-members .team-member-full-text {
    order: 1 !important;
    width: 100% !important;
  }

  .team-members .row-cols-md-5>* {
    width: 50%;
  }


}

@media (max-width: 568.98px) {
  .team-members .row-cols-md-5>* {
    width: 100%;
  }
}

@media (max-width: 990px) {
  #dept-directors .row-cols-md-3>* {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 760px) {
  #dept-directors .row-cols-md-3>* {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .mtm-layout img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    max-width: 300px;
    height: auto;
  }
}

.team-members-row {
  justify-content: center;
}

/* -------------------------------------------------
News
-------------------------------------------------- */

.news-card h2 {
  font-size: 1.45rem;
}

@media (max-width: 767px) {
  .latest-news-title {
    padding-top: 20px
  }
}

.socialmedia span {
  padding-right: 5px;
}

.sidebar-widget-area {
  background: #f1f1f5;
  padding: 0;
  margin-bottom: 30px;
  text-align: center;
}

.news-sidebar ul {
  list-style: none;
  padding: 7.5px;
  margin: 0;
}

.news-sidebar ul li a {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  background: #fff;
  color: var(--brand-primary-color, #333);
  padding: 8px;
  font-size: 1rem;
}

.news-sidebar ul li a:hover {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  background: var(--brand-secondary-color, #333);
  color: #fff;
  padding: 8px;
  font-size: 1rem;
  text-decoration: none;
}

input.form-control.h-100 {
  padding-top: 0.8rem;
  padding-bottom: 0.7rem;
}

/* Style the custom radio buttons */
.form-check-input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #fff;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  margin-top: 0.3em;
  transition: all 0.2s ease;
}

.form-check-input[type="radio"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.6em;
  height: 0.6em;
  background-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.2s ease-in-out;
}

.form-check-input[type="radio"]:checked::before {
  transform: translate(-50%, -50%) scale(1);
}

.form-check-input[type="radio"]:hover {
  border-color: #ccc;
}

.form-check-label {
  margin-left: 0.4rem;
  font-weight: 500;
  cursor: pointer;
}

/* Optional: subtle hover on label */
.form-check:hover .form-check-label {
  text-decoration: underline;
}

.news-card {
  border: none;
}


@media (max-width: 600px) {
  #news-results .row {
    margin-left: 10px;
    margin-right: 10px;
  }

  .lastest-news-post-content {
    padding-bottom: 20px;
  }
}

#news-results .card-img-top {
  width: 100%;
  height: 250px;
  /* keeps consistent height */
  object-fit: cover;
  /* fill box, crop if needed */
  object-position: center;
}

@media (max-width: 767px) {
  #news-results .card-img-top {
    object-fit: contain;
    /* show full image on mobile */
    background-color: #fff;
    height: auto;
    /* avoids transparent gaps */
  }
}


/* -------------------------------------------------
Search
-------------------------------------------------- */

.alert-info {
  border-left: 3px solid var(--brand-secondary-color, #333);
  background-color: #f8f9fa;
  border-top: none;
  border-bottom: none;
  border-right: none
}

.results-card {
  border: none;
}

/* -------------------------------------------------
Two Col Slider
-------------------------------------------------- */
.two-col-slider .two-col-slide {
  display: flex;
  flex-wrap: wrap;
  min-height: 100%;
}

.two-col-slider .two-col-slide>.col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-col-slide .content img {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.two-col-slider-wrapper {
  display: flex;
  flex-direction: column;
}

.two-col-slide {
  flex: 1 0 auto;
}

.two-col-slider-wrapper {
  height: 100%;
  /* or a fixed height */
}

.two-col-slider .col-md-6:not(.image-col) {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

@media (max-width: 767.98px) {


  .two-col-slide>.col-md-6 {
    width: 100%;

  }

  .image-col {
    flex-grow: 1;
  }

  .image-col img {
    height: auto;
    width: 100%;
    max-height: 300px;
    /* prevent huge images if needed */
    object-fit: contain;
    /* no cropping */
  }
}



.content img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}




/* -------------------------------------------------
   Content Slider
-------------------------------------------------- */


.js-content-slider .slide-inner .card.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.js-content-slider .slide-inner .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.js-content-slider .slide-inner .card-body a.btn {
  margin-top: auto;
}

.js-content-slider .clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.js-content-slider .slide-inner .card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
  /* Approx height for 3 lines (1.2em * 3) */
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.js-content-slider .slide-inner .card-body {
  text-align: center;
}


.clamp-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-height-title {
  line-height: 1.4em;
  min-height: 2.8em;
  /* 2 lines of line-height (1.4em * 2) */
}


/* -------------------------------------------------
 Testimonial Slider
-------------------------------------------------- */



.js-testimonial-slider .testimonial-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.js-testimonial-slider .testimonial-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--brand-primary-color, #1f236c);
  background: #ffffff00;
  padding: 1.5rem;
  box-shadow: none !important;
  margin-bottom: 10px;

  display: flex;
  flex-direction: column;
  /* Remove height: 100%; */
}


.section-wrapper.text-white .js-testimonial-slider .testimonial-card {
  border-left: 4px solid #fff;
}

/* -------------------------------------------------
 Section Blocks
-------------------------------------------------- */

.full-width-bg-content .block-image img {
  height: auto;
  width: 100% !important;
}


.section-wrapper .block-image img {
  height: 100%;
  width: auto;
}

/*
.block-image {
  height: 100%;
}*/

.block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.image-left {
  display: flex;
  justify-content: flex-start;
}

.image-center {
  display: flex;
  justify-content: center;
}

.image-right {
  display: flex;
  justify-content: flex-end;
}


@media (max-width: 768px) {
  .block-text {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  section {
    max-height: 100% !important;
  }
}

/* -------------------------------------------------
Step cards
-------------------------------------------------- */
.step-card {
  z-index: 1;
}

.step-card-header {
  background-color: var(--brand-secondary-color, #036554);
}

.step-card-title {
  font-weight: bold;
  min-height: 50px;
}

.step-card-body {
  padding: 1rem;
  min-height: 120px;
  /* adjust as needed */
}


.step-card-text {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.step-card-footer {
  background-color: #f8f9fa;
  padding: 0.7rem;
  font-size: 0.8em;
}

.icon-muted {
  color: #7e8dae;
}

.step-card:after {
  content: "\f061";
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  right: -5px;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 999999;
  font-size: 2.2rem;
  bottom: 0;
}

.step-card.is-last:after {
  content: none !important;
}

.step-card {
  position: relative;
}


.step-card {
  padding-right: 30px;

}

.slick-prev,
.slick-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.slick-slider .step-card {
  padding-right: 40px;
}

.slick-slider .step-card:after {
  right: 5px;
}


@media (max-width: 768px) {
  .step-card:after {
    content: "";
  }

  .step-card {
    padding-right: 10px;
  }

  .slick-slider .step-card:after {
    right: 0px;
  }

  .slick-slider .step-card {
    padding-right: 10px;
  }
}

/* ----------------------------------------
   Icon Card Block
---------------------------------------- */
.icon-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.icon-card.rounded {
  border-radius: 0.5rem;
}

.icon-card:hover {
  transform: translateY(-2px);
}

.icon-card-image img {
  max-width: 128px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Optional consistent spacing */
.icon-card-image {
  margin-bottom: 1rem;
}

.icon-card-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-card-content p {
  margin-bottom: 0;
}




/* ----------------------------------------
   Animated Icon
---------------------------------------- */

.animated-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.animated-icon-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.animated-icon-image {
  height: auto;
  transition: transform 0.9s ease;
}

.animated-icon-image.icon-hover-spin:hover {
  animation: spin-once 0.9s ease;
}

@keyframes spin-once {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ----------------------------------------
   Overlay card
---------------------------------------- */

.overlay-card-block {
  margin-bottom: 2rem;
}

.overlay-card {
  border: 2px solid #000000;
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  min-height: 100%;
  position: relative;
}

.overlay-card-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  font-weight: bold;
  font-size: 1.25rem;
  z-index: 2;
  min-width: 280px;
  text-align: center;
  background-color: #fff;
  white-space: nowrap;
}

.overlay-card-title h2 {
  margin: 0;
  text-transform: uppercase;
  color: unset;
}

.overlay-card-image {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.overlay-card-content {
  position: absolute;
  bottom: -20px;
  left: 1.5em;
  right: 1.5em;
  background-color: #f5f5f5;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;
  height: 40px;
  line-height: 40px;
}



.overlay-card-content p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}


/* ----------------------------------------
Icon left, text right.
---------------------------------------- */


.icon-left-text-right img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.icon-left-text-right h5 {
  height: 2.6em;
  margin-bottom: 0px
}


@media (max-width: 544.98px) {
  .icon-left-text-right img {
    height: 50px;
    width: auto;
    object-fit: contain;
  }

  #conveyancing-services .col-md-4 {
    display: flex;
    flex: 0 0 auto;
    width: 23.33333333%;
    justify-content: flex-end;

  }

  .icon-left-text-right .btn {


    font-size: 0.8rem;
    line-height: 0.8;
  }

}

@media (max-width: 450px) {

  #conveyancing-services .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  #conveyancing-services .row .col-md-8 {
    display: flex;
    flex: 0 0 auto;
    width: 67.33333333%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
}

@media (min-width: 450px) and (max-width: 645.98px) {

  #conveyancing-services .row {
    display: flex;
    justify-content: space-between;
  }


  #conveyancing-services .col-md-3 {
    flex: 0 0 auto;
    margin-bottom: 40px;
    width: 50%;

  }

  #conveyancing-services .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }


  #conveyancing-services .col-md-4 {
    display: flex;
    flex: 0 0 auto;
    width: 33.33333333%;

  }

}

@media (min-width: 645.98px) and (max-width: 767.98px) {
  #conveyancing-services .col-md-3 {
    flex: 0 0 auto;
    margin-bottom: 40px;
    width: 50%;
  }

  #conveyancing-services .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }


  #conveyancing-services .col-md-4 {
    display: flex;
    flex: 0 0 auto;
    width: 33.33333333%;
    justify-content: flex-end;
  }


}

@media (max-width: 767.98px) {
  .icon-left-text-right h5 {
    height: 1.3em;
    margin-bottom: 0px;
  }
}

/* ----------------------------------------
Process cards
---------------------------------------- */
.process-card {
  padding: 30px;
  text-align: center;
}

.process-card-header {
  margin-bottom: 0;
  text-align: center;
}

.process-card-header h3 {
  font-size: 1.5rem;
}

.process-card-body img {
  max-height: 150px;
  width: auto;
}

.process-card-header h4 {
  font-size: 1.2rem;
  border-bottom: 1px solid #bfbfbf;
  padding-bottom: 15px;
  margin-bottom: 15px;
}


/* -------------------------------------------------
CTA Card
-------------------------------------------------- */
.cta-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-card-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  /* This is the fix ↓ */
  flex: 1 1 auto;
}

.cta-card-secondary {
  flex-shrink: 0;
  min-height: 96px;
}

.cta-card-main-inner,
.cta-card-secondary-inner {
  width: 100%;
}

.cta-card-secondary-inner {
  font-size: 0.9em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .cta-card-wrapper {
    margin-bottom: 30px;
  }
}



/* -------------------------------------------------
Awards
-------------------------------------------------- */
.award-section {

  overflow: hidden;
  position: relative;
}

.award-section img {
  max-height: 500px;
  object-fit: cover;
  object-position: center center;
}


.logo-content-grid-item {
  border: 2px solid var(--brand-primary-color, #173a65);
  ;
  border-radius: 0px 0px 30px 30px;
}

.logo-content-grid-item .card-footer {
  border: 2px solid var(--brand-primary-color, #173a65);
  border-radius: 0px 0px 24px 25px;
}

.logo-content-grid-item .card-footer p {
  margin-top: 0;
  margin-bottom: 0rem;
  font-size: 1.1rem;
}

/* -------------------------------------------------
Jobs
-------------------------------------------------- */
.vacancies .row {
  justify-content: center;
}



.hero-heading-header span {
  background-color: #214e468a;
  padding: 10px 20px;
  border-radius: 7px;
  color: #fff;
}




/* -------------------------------------------------
Search Box
-------------------------------------------------- */
#searchModal .modal-dialog {
  max-width: 600px;
  width: 90%;
}

#searchModal .modal-content {
  border-radius: 0rem;
  background-color: #fff;

  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

#searchModal .modal-body {
  padding: 3rem 2rem;
}

#searchModal input[type="text"] {
  border-radius: 0rem;
  border: 2px solid var(--brand-primary-color, #1f236c);
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#searchModal input[type="text"]:focus {
  border-color: var(--brand-secondary-color, #e91e63);
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
  outline: none;
}

#searchModal .btn-close {
  font-size: 1.25rem;
  color: var(--brand-primary-color, #1f236c);
  opacity: 0.7;
}

#searchModal .btn-close:hover {
  opacity: 1;
}

/* Optional: animate modal content in */
#searchModal .modal-content {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}



.count {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.count.visible {
  opacity: 1;
}

.fundraising-total {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  display: inline-block;
}


.slider-secondary .slider-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.slider-secondary .slick-slide {
  display: flex !important;
  align-items: stretch;
}

.slider-secondary .slick-track {
  display: flex !important;
}



/********* Employee of the month ******/
.employee-of-the-month .row {
  margin-bottom: 20px;
}





#reqquote a {
  color: #fff;
  text-decoration: none;
}

#reqquote a:hover {
  color: #fff;
  text-decoration: underline;
}


.bg-primary p a {
  color: #fff;
  text-decoration: underline;
}

.bg-primary p a:hover {
  color: #fff;
  text-decoration: none;
}





.cky-banner-element {
  margin-bottom: 20px;
  display: block;
  max-width: 220px;
  background-color: var(--btn-style-four-bg, #6c757d) !important;
  color: var(--btn-style-four-text, #ffffff) !important;
  padding: 0.75rem 1.5rem !important;
  border: 2px solid var(--btn-style-four-border, #6c757d) !important;
  text-decoration: none;
}


.cky-banner-element:hover {
  background-color: var(--btn-style-four-hover-bg, #ffffff) !important;
  color: var(--btn-style-four-hover-text, #6c757d) !important;
  border-color: var(--btn-style-four-bg, #6c757d) !important;
}