@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");

body {
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 16px;
    font-family: "Roboto Slab", serif;
    mix-blend-mode: normal;
    background: linear-gradient(to bottom, #ffffff, #dddddd);
}

ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

.container {
    max-width: 1360px;
}


/* Hero Section */
.header {
    padding: 30px 0 40px;
}

.hero-img-inner {
    height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
    border-radius: 40px;
    position: relative;
}

.hero-img-inner img {
    width: 100%;
    height: 100%;
    object-position: bottom;
    border-radius: 40px;
    object-fit: cover;
}

.navbar-nav {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: #105b7c;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.nav-link.active {
    color: #105b7c !important;
    position: relative;
}

.nav-link.active::after {
    content: "";
    height: 9px;
    width: 100%;
    position: absolute;
    bottom: -6px;
    left: 0;
    background-image: url(../images/menu-nav-bar.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

.nav-link:hover::after {
    content: "";
    height: 9px;
    width: 100%;
    position: absolute;
    bottom: -6px;
    left: 0;
    background-image: url(../images/menu-nav-bar.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

/*  */
/* Dropdown */

header .dropdown-toggle::after {
    top: 2px;
    position: relative;
}

header .dropdown-toggle::after {
    display: none;
}

.navbar-expand-lg .navbar-nav>.nav-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

.navbar-expand-lg .navbar-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: -50%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    float: left;
    margin: 25px 0 0;
    font-size: 16px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #e6f0f9;
    border: none;
    border-radius: 0;
    min-width: 200px;
    padding: 0;
    border-top: solid 3px #105b7c;
    box-shadow: 0px 30px 70px 0px rgba(11, 6, 70, 0.08);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out,
    margin 0.3s ease-out;
    display: inherit;
    border-radius: 20px;
    overflow: hidden;
}

ul.dropdown-menu li a {
    border-bottom: solid 1px #e6f0f9;
    padding: 9px 14px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 20px;
}

.dropdown-menu li a {
    border-bottom: solid 1px #e6f0f9;
    padding: 9px 14px;
    position: relative;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #105b7c;
    color: #fff;
    border-radius: 20px;
}

ul.dropdown-menu li a:hover {
    background-color: #105b7c;
    color: #fff;
    border-radius: 20px;
}

.list-unstyled {
    font-size: 16px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #e6f0f9;
    border: none;
    border-radius: 0;
    min-width: 200px;
    padding: 0;
    border-top: solid 3px #105b7c;
    box-shadow: 0px 30px 70px 0px rgba(11, 6, 70, 0.08);
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out,
    margin 0.3s ease-out;
}

.list-unstyled li a {
    border-bottom: solid 1px #e6f0f9;
    padding: 9px 14px;
    position: relative;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.list-unstyled li a:hover {
    background-color: #105b7c;
    color: #fff;
}

.down-icon svg {
    transition: transform 0.3s ease-in-out;
}

.navbar-expand-lg .navbar-nav>.nav-item:hover .down-icon svg {
    transform: rotate(180deg);
}

.info-action {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    gap: 10px;
    padding-left: 70px;
}

.info-action a {
    max-width: 300px;
}

/*  */

.logo img {
    width: auto;
}

.ourTeam {
    position: relative;
}

.ourTeam:hover::before {
    content: "";
    height: 9px;
    width: 100%;
    position: absolute;
    bottom: -6px;
    left: 0;
    background-image: url(../images/menu-nav-bar.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

.btn-primary:hover {
    border: solid 2px #ffa200 !important;
    background-color: #fff;
    color: #105b7c !important;
}

.right-header .btn-primary:hover {
    border: solid 2px #ffa200 !important;
    background-color: #fff;
    color: #105b7c !important;
}

.right-header .dropdown-menu {
    display: flex;
    align-items: center;
    padding: 20px 30px;

}

.btn-primary {
    background-color: #0070c5;
    border-radius: 10px;
    border: solid 2px #0070c5 !important;
    min-width: 130px;
    font-size: 18px;
    cursor: pointer;
}
.btn-primary-reverse {
    background-color: #fff;
    color: #0070c5;
    border-radius: 10px;
    border-color: #e2e2e2 !important;
    border: solid 3px;
    min-width: 130px;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-reverse:hover {
    background-color: #0070c5;
    color: #fff !important;
    border: solid 3px #0070c5 !important;
}

.ourTeam {
    color: #105b7c;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.ourTeam::after {
    content: "";
    top: -25px;
    left: -53px;
    position: absolute;
    height: 80px;
    width: 100%;
    background-image: url(../images/menu-line.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.ourTeam.active::before {
    content: "";
    height: 9px;
    width: 100%;
    position: absolute;
    bottom: -6px;
    left: 0;
    background-image: url(../images/menu-nav-bar.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-hamburger {
    width: 40px;
    display: flex;
    align-items: center;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1111111;
}

.mobile-menu .nav-link {
    font-size: 18px;
    padding: 10px 0;
}

.menu-close {
    padding: 1rem 2.5rem 1rem 2rem;
    font-size: 2.8rem;
    text-align: right;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: -18px;
}

.menu-content {
    padding: 0 2rem 0;
}

.mobile-menu .dropdown ul li {
    padding: 8px 0;
}

.mobile-menu .menu-content .navbar-nav .dropdown-menu {
    position: relative !important;
    transform: translate3d(0px, 0px, 0px) !important;
}

.mobile-menu .menu-content .navbar-nav li.nav-item {
    flex-direction: column;
}

.mobile-menu .menu-content .dropdown-toggle::before {
    display: none;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: self-start;
}

.menu-list .nav-item.dropdown .dropdown-menu.show {
    position: relative !important;
    transform: translate3d(0px, 10px, 0px) !important;
    width: 100%;
}

.menu-list .nav-item.dropdown li a {
    color: #fff;
}

.menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu svg path {
    fill: #000;
}

.mobile-logo-container {
    text-align: center;
    padding: 10px 0;
}

.mobile-logo-container .logo {
    max-width: 290px;
    margin-top: 30px;
}

.mobile-logo-container a.m-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    margin: 0 auto 40px;
}

.mobile-logo-container .btn-action {
    gap: 20px;
    display: flex;
    justify-content: center;
    background-color: #000;
}

.mobile-logo-container .btn-action a {
    background-color: #000;
    border: none;
}

.mobile-logo-container .btn-action a:hover {
    background-color: #000;
}

.mobile-content {
    overflow-y: auto;
    height: 96%;
}

.mobile-footer {
    padding: 2rem 2rem;
}

.mobile-link {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.mobile-link a {
    color: #000 !important;
    line-height: normal;
}

.mobile-menu .dropdown ul {
    background-color: #fff;
    padding: 10px;
}

.mobile-menu .dropdown ul li {
    border-bottom: solid 1px #f2f2f2;
}

.mobile-footer {
    padding: 1rem 1rem;
    border-top: solid 1px #f2f2f2;
    margin: 20px 10px 5px;
}

.mobile-footer p {
    color: #000;
    font-size: 14px;
    text-align: center;
}

.mobile-menu .nav-link.collapsed .down-icon svg {
    transform: rotate(0deg) !important;
}

.mobile-menu .nav-item.dropdown .down-icon svg {
    transform: rotate(180deg);
}

/* About Section */
.about-section {
    margin-bottom: 80px;
}

.about-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-content h2 {
    color: #005a7c;
    font-size: 48px;
    margin-bottom: 10px;
}

.about-content p {
    font-size: 16px;
    padding-left: 25px;
    max-width: 800px;
    line-height: 24px;
}

.about-img img {
    max-width: 160px;
}

.about-action {
    max-width: 1080px;
    margin: 0 auto;
}

.about-action .row {
    --bs-gutter-y: 20px;
}

.about-item {
    background-color: #fff1d9;
    border-radius: 20px;
    padding: 30px;
    min-height: 210px;
    display: flex;
    align-items: center;
    border: solid 4px #fff1d9;
    cursor: pointer;
}

.about-item:hover {
    border: solid 4px #ffa200;
}

.about-icon {
    margin-bottom: 20px;
}

.about-title {
    color: #444;
    font-size: 20px;
}

.about-links {
    flex-direction: column;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.about-links a {
    background-color: #fff1d9;
    width: 100%;
    color: #444;
    font-size: 20px;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: solid 4px #fff1d9;
    min-height: 90px;
    font-weight: 500;
    display: flex;
    gap: 10px;
}

.about-links a:hover {
    border: solid 4px #ffa200;
}

.icons-about span {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
}

.icons-about span img {
    width: 100%;
}

/* meet-team-section */

.teams-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.teams-list .team-item {
    border: solid 4px #f0f0f0;
    overflow: hidden;
    max-width: 130px;
    border-radius: 26px;
    cursor: pointer;
}

.teams-list .team-item:hover {
    border: solid 4px #ffa200;
}

.teams-list .team-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease-in-out;
}

.teams-list .team-item:hover img {
    transform: scale(1.1);
}

.team-header {
    max-width: 824px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.team-header h2 {
    color: #005a7c;
    font-size: 42px;
    margin-bottom: 10px;
    padding-left: 70px;
}

.team-header p {
    font-size: 16px;

    line-height: 24px;
}

.team-header p.team-info {
    padding-left: 70px;
}

.team-inner-header p {
    color: #005a7c;
    font-size: 18px;
    font-weight: 500;
}

.team-inner-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-bg {
    position: relative;
    padding-bottom: 140px;
    padding-top: 80px;
}

.team-bg::after {
    content: "";
    background-image: url(../images/cricle.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 12%;
    top: -1%;
}

/* blog section */

.blog-section {
    margin-bottom: 80px;
    margin-top: 40px;
}

.blog-box {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 20px;
    padding-left: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

.swiper {
    width: 100%;
    height: 100%;
}

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

.swiper-slide {
    width: 60%;
}

.blog-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: solid 3px #fff;
    cursor: pointer;
    overflow: hidden;
}

.blog-img img {
    transition: transform 0.4s ease-in-out;
}

.blog-img:hover {
    border: solid 3px #ffa200;
}

.blog-img:hover img {
    transform: scale(1.1);
}

.blog-info {
    padding-left: 20px;
}

.blog-info h3 {
    font-size: 20px;
    color: #005a7c;
    line-height: normal;
}

.blog-info p {
    font-size: 16px;
    margin-top: 4px;
}

.button-arrow {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: solid 3px #d2d1d0;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-arrow:hover {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: solid 3px #ffa200;
}

.button-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 70px;
    padding-top: 30px;
}

/* cta-section */

.cta-section {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cta-links a {
    padding: 20px;
    text-align: center;
    min-width: 320px;
    font-size: 20px;
    color: #005a7c;
    line-height: normal;
    background-color: #fff;
    border: solid 3px #fff;
    border-radius: 10px;
    font-weight: 500;
}

.cta-links a:hover {
    border: solid 3px #ffa200;
}

/* Footer */
.footer-inner {
    background: #005a7c;
    border-radius: 30px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;

}

.footer-inner-img {
    position: absolute;
    background-repeat: no-repeat;
    bottom: -190px;
    right: -20px;
    z-index: 0;
}

.footer-logo,
.bottom-logo,
.powered-by-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.powered-by-icon {
    justify-content: flex-start;
    margin-top: 30px;
    padding-bottom: 30px;
}

footer p,
.footerLink,
.footerLink a,
.callus,
.callus a,
.Office p,
.Office label {
    color: #fff;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

footer p {
    font-weight: 400;
}

.footerLink,
.footer-copyright,
.footer-description,
.footerBradLogo,
.callus,
.footer-big-description {
    text-align: center;
    margin: 0 auto 24px;
}

.footerLink {
    max-width: 600px;
}

.footerBradLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-copyright {
    max-width: 1160px;
}

.footer-description {
    max-width: 780px;
}

.footer-big-description {
    max-width: 1100px;
}

.address,
.footer-description p,
.footer-copyright p,
.footerLink a,
.callus a,
.Office p {
    text-align: center;
}

.address p {
    line-height: 24px;
    margin: 24px 0;
}

.OfficeAddress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 24px;
}

.Office {
    text-align: center;
    max-width: 240px;
}

.Office label {
    font-weight: 500;
}

/* Call Action Section */

.call-action-section {
    margin-bottom: 80px;
    margin-top: 80px;
}

.call-action-box {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 40px;
    padding: 80px 20px;
}

.call-action-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.call-header {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.call-header h2 {
    color: #005a7c;
    font-size: 42px;
    margin-bottom: 10px;
}

.call-header p {
    font-size: 16px;
    line-height: 24px;
}

.call-row {
    margin-top: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.call-row .row {
    --bs-gutter-y: 1.5rem;
}

/* page-header */

.page-header {
    background: linear-gradient(to right, #4f7a8e, #005a7c);
    padding: 60px 30px;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h2 {
    font-size: 60px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-header h3 {
    color: #fff;
    line-height: normal;
    margin-bottom: 20px;
    font-size: 30px;
    position: relative;
    z-index: 1;
}

.page-header p {
    max-width: 770px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.breadcrumb {
    margin-top: 4px;
    color: #005a7c;
    padding-left: 30px;
    margin-bottom: 0;
}

.breadcrumb a {
    color: #005a7c;
    padding-right: 4px;
    font-weight: 500;
}

.page-inner {
    position: absolute;
    right: -3%;
    bottom: -70%;
    margin-bottom: 0;
}

.page-inner2 {
    position: relative;
    right: -3%;
    bottom: -70%;
    margin-bottom: 0;
}

/* lo-list */

.lo-list {
    max-width: 1060px;
    margin: 0 auto 0;
}

.lo-section {
    margin-top: 40px;
}

.lo-item {
    margin-bottom: 40px;
    max-width: 315px;
}

/* .lo-list .row {
    --bs-gutter-y: 50px;
} */

.lo-info {
    text-align: center;
    margin: 20px 0;
}

.lo-info h3 {
    color: #105b7c;
    font-size: 20px;
    font-weight: 500;
}

.lo-info p {
    color: #444;
    font-size: 16px;
    font-weight: 400;
}

.lo-action {
    position: relative;
}

.lo-btn-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin-bottom: 10px;
    gap: 10px;
    width: 100%;
}

.lo-btn-action a {
    width: 100%;
}

.btn-secondry {
    background-color: #ffa200;
    border-radius: 10px;
    border-color: #ffa200 !important;
    border: solid 3px;
    color: #fff;
    min-width: 130px;
    font-size: 18px;
}

.btn-secondry:hover {
    background-color: #fff;
    border-radius: 10px;
    border-color: #ffa200 !important;
    border: solid 3px;
    color: #0070c5;
    min-width: 130px;
    font-size: 18px;
}

.btn-outline {
    background-color: #fff;
    border-radius: 10px;
    border-color: #e2e2e2 !important;
    border: solid 3px;
    color: #005a7c;
    min-width: 130px;
    font-size: 18px;
}

.btn-outline:hover {
    background-color: #fff;
    border-radius: 10px;
    border-color: #ffa200 !important;
    border: solid 3px;
    color: #005a7c;
    min-width: 130px;
    font-size: 18px;
}

.lo-btn-action .btn-primary {
    border: solid 3px;
    border-color: #0070c5 !important;
}

.lo-btn-action .btn-primary:hover {
    background-color: #fff;
    border-radius: 10px;
    border-color: #ffa200 !important;
    border: solid 3px;
    color: #0070c5;
    min-width: 130px;
    font-size: 18px;
}

.schedule-action a {
    background-color: #fff;
    border-radius: 10px;
    border-color: #e2e2e2 !important;
    border: solid 3px;
    color: #0070c5;
    min-width: 130px;
    font-size: 18px;
    width: 100%;
    max-width: 100%;
}

.schedule-action a:hover {
    background-color: #fff;
    border-color: #ffa200 !important;
    border-radius: 10px;
    border: solid 3px;
    color: #0070c5;
    min-width: 130px;
    font-size: 18px;
    width: 100%;
}

/* Updated .lo-img for square aspect and rounded corners */
.lo-img {
    width: 100%;
    max-width: 330px;  /* constrain size smaller */
    aspect-ratio: 1 / 1;   /* force perfect square */
    overflow: hidden;
    cursor: pointer;
    border: solid 4px transparent;
    border-radius: 26px;    /* rounded corners */
    margin: auto;
}

.lo-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;  /* center instead of top */
    transition: transform 0.4s ease-in-out;
}

.lo-img:hover {
    border: solid 4px #ffa200;
    border-radius: 26px;
}

.lo-img:hover img {
    transform: scale(1.1);
}

#scrollToTopBtn {
    background-color: #ffa300;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 16px;
    line-height: 48px;
    width: 48px;
    opacity: 0;
    position: fixed;
    right: 15px;
    bottom: 40px;
    text-align: center;
    z-index: 11;
}

#scrollToTopBtn.show {
    opacity: 1;
}

#fixed-header {
    position: fixed;
    width: 100%;
    transition: all 0.5s;
    top: 0;
    z-index: 11;
    background-color: #fff;
}

#fixed-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0px 2px 6px #999;
    z-index: 999 !important;
    padding: 0px 40px;
    min-height: 90px;
    background-color: #fff;
    display: flex;
    align-items: center;
    width: 100%;
}

.content-page {
    margin-top: 135px;
}

/*  */

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f062";
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: #1f2029;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.lightScrollIcon::after {
    color: #ecedf3 !important;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f062";
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    opacity: 0;
    background-image: linear-gradient(298deg, #da2c4d, #f8ab37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #1f2029;
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* resources-item */

.resources-section {
    margin-top: 50px;
}

.resources-item {
    background-color: #fff;
    border: solid 4px #e5f0f9;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    min-height: 240px;
}

.resources-item:hover {
    border: solid 4px #ffa200;
}

.resources-info h3 {
    font-size: 32px;
    color: #005A7C;
    margin-bottom: 10px;
}

.resources-info p {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    line-height: normal;
}

.resources-section .row {
    --bs-gutter-y: 1.5rem;
}

.loan-section .row {
    --bs-gutter-y: 1.5rem;
}

.loan-section {
    margin-top: 40px;
}

.loan-section .loan-item {
    margin-bottom: 0;
}

.loan-item {
    background-color: #fff;
    border: solid 4px #e5f0f9;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    min-height: 240px;
    margin-bottom: 30px;
}

.loan-item:hover {
    border: solid 4px #ffa200;
}

.loan-info h3 {
    font-size: 32px;
    color: #005a7c;
    margin-bottom: 10px;
}

.loan-info p {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    line-height: normal;
}

/* .loan-section .row {
    --bs-gutter-y: 1.5rem;
} */

/* help section */

.help-section {
    margin-top: 50px;
}

.help-img img {
    width: 100%;
}

.help-section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    row-gap: 30px;
}

.help-info h2 {
    color: #005a7c;
    font-size: 42px;
    margin-bottom: 10px;
}

.help-info h3 {
    margin-bottom: 6px;
}



.help-info p {
    font-size: 16px;

    line-height: 24px;
    max-width: 690px;
}

.help-info a {
    margin-top: 20px;
}

.contact-team {
    margin-top: 30px;
}

.contact-team .team-bg::after {
    width: 30%;
}

.map-location {
    margin-top: 80px;
}

.content-address {
    text-align: center;
    margin-bottom: 76px;
}

.content-address p {
    color: #282828;
    font-size: 16px;
    line-height: 30px;
    max-width: 300px;
    margin: 0 auto;
}

.content-address .about-img {
    margin-bottom: 20px;
}

.content-section .container>.row {
    max-width: 1260px;
    margin: 0 auto;
    row-gap: 30px;
}

.content-section input {
    border-radius: 100px;
    min-height: 50px;
    border: solid 3px #e5f0f9;
    font-weight: bold;
}

.content-section textarea {
    border-radius: 20px;
    min-height: 50px;
    border: solid 3px #e5f0f9;
    font-weight: bold;
}

.content-section select {
    border-radius: 100px;
    min-height: 50px;
    border: solid 3px #e5f0f9;
    font-weight: bold;
}

.content-section textarea:focus {
    outline: none;
    box-shadow: none;
    border-color: #f8ab37;
}

.content-section input:focus {
    outline: none;
    box-shadow: none;
    border-color: #f8ab37;
}

.info-section {
    margin-top: 40px;
    margin-bottom: 60px;
    position: relative;
}

.info-buy-section .team-header p.team-info {
    padding-left: 0;
}

.info-buy-section .container {
    max-width: 1140px;
}

.info-buy-section .team-header h2 {
    padding-left: 0;
}

.info-buy-section .info-action {
    padding-left: 0;
}

.info-buy-section .team-header {
    margin-bottom: 0;
}

.info-section .row {
    --bs-gutter-y: 20px;
}

.info-section .col-lg-8 .team-header {
    margin-bottom: 0;
}

.buy-section .col-lg-8 .team-header {
    margin-top: 10px;
}

.buy-section .info-img img {
    height: inherit;
}

.info-img {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.info-img .dzsparallaxer--target {
    width: 100%;
    min-height: 300px;
}

.info-img img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.content-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.content-action a {
    max-width: 140px;
}

.select-control {
    position: relative;
}

.info-section .col-lg-5 {
    position: relative;
}

.info-section .page-inner {
    position: absolute;
    width: 100%;
    min-height: 300px;
    top: -140px;
    right: 0;
}

.select-control {
    background-image: url("../images/down-arrow.png");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: right center;
}

.omalleyteam-section .team-header {
    max-width: 100%;
    margin-bottom: 0;
}

.omalleyteam-section .team-header h2 {
    padding-left: 0;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.omalleyteam-section .team-header p.team-info {
    padding-left: 0;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #005a7c;
}

.omalleyteam-section .lo-item {
    margin-bottom: 0;
}

.omalleyteam-section .lo-item .lo-info {
    margin-bottom: 0;
}

/* content-info */

.content-info {
    margin-bottom: 80px;
}

.content-info .container {
    max-width: 1140px;
    margin: 0 auto;
}

.content-info p {
    margin-bottom: 10px;
}

.content-item {
    margin-bottom: 40px;
}

/* popup */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1050;
}

.popup-content {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    color: black;
    transition: bottom 0.9s ease;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
}


.popup-content.show {
    bottom: 0;
}

.close-btn {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 34px;
    cursor: pointer;
    color: #ff8e00;
}


.popup-inner p {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    margin: 0;
}

/*  */


.process-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 0;
    flex-direction: column;
    gap: 20px;
}

.process-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 980px;
    flex-wrap: wrap;
}

.icon-process {
    position: relative;
}

.process-item:hover .img-process {
    border: solid 4px #ff8e00;
}

.img-process {
    width: 220px;
    min-width: 220px;
    height: 220px;
    border: solid 4px #e5f0f9;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-process .process-title {
    font-size: 26px;
    line-height: normal;
    color: #005a7c;
    margin-bottom: 5px;
}

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

.ul-list li {
    position: relative;
    padding-left: 30px;
    padding: 5px 0 5px 30px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: flex-start;
}




.resources-content-section {
    margin-top: 50px;
    margin-bottom: 80px;
}

.resources-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1260px;
    margin: 0 auto;
}

.resources-title {
    color: #005A7C;
    font-size: 24px;
    line-height: normal;
    margin-bottom: 10px;
}

.resources-content p {
    font-size: 16px;
    line-height: 24px;
}

/* do-dont-section */

.do-dont-section {
    margin-top: 50px;
    margin-bottom: 80px;
}

.do-dont-section h3 {
    color: #005A7C;
    font-size: 30px;
    line-height: normal;
    margin-bottom: 20px;
}

.do-dont-section .container {
    max-width: 1260px;
}

/* checklist-box */
.checklist-section {
    margin-top: 50px;
    margin-bottom: 80px;
}

.checklist-section .container {
    max-width: 1260px;
}

.checklist-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checklist-item h3 {
    color: #005a7c;
    font-size: 30px;
    line-height: normal;
    margin-bottom: 20px;
}

.checklist-box p {
    color: #005a7c;
    font-size: 16px;
    line-height: 24px;
}

/* faq_section */

.faq-section {
    padding-top: 50px;
}

.accordion {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.accordion-item:not(:first-of-type) {
    border-top: solid 1px #dee2e6;
}

.accordion-item {
    border: solid 1px #dee2e6;
}

.faq-section .container {
    max-width: 1200px;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #ffa200;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    font-size: 24px;
    font-weight: 500;
}

.faq-section .accordion-button {
    font-size: 18px;
    font-weight: 500;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button {
    background-color: #f1f1f1;
    color: #1b1f28;
}

/*--Calculator--*/
.calculator-section {
    margin-top: 50px;
}

.desktop_sec {
    display: flex;
    flex-wrap: wrap;
}

.sgbtn {
    width: 100%;
    margin: 8px 0;
}

.sgbtn a {
    background: #ddd;
    text-transform: uppercase;
    color: #000;
    font-size: 16px;
    border-radius: 13px;
    height: 62px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.sgbtn a:hover {
    background: #FFA200;
}

.sgbtn a span {
    width: 100%;
    text-align: center;
}

a.calc_icons.active {
    background: #005a7c;
    color: #fff;
}

.mobile_sec {
    display: none;
}

@media only screen and (max-width: 850px) {
    .popup-content {
        padding-top: 80px;
        padding-bottom: 80px;
        align-items: flex-start;
    }

    .loan-advisor {
        overflow: scroll;
        padding: 0 10px;
    }

    .loan-advisor h2 {
        font-size: 34px !important;
    }

}

.item-3 {
    width: 50px;
    height: 50px;
    position: relative;
    border: none;
    background-color: transparent !important;

    &:before {
        content: "";
        position: absolute;
        height: 3px;
        width: 50px;
        background-color: #282828;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        transition: ease-out .3s all;
    }

    &:after {
        content: "";
        position: absolute;
        height: 3px;
        width: 50px;
        background-color: #282828;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        transition: ease-out .3s all;
    }

    &:hover,
    &:focus {
        &:before {
            transform: translate(-50%, -50%) rotate(135deg);
        }

        &:after {
            transform: translate(-50%, -50%) rotate(225deg);
        }
    }
}

.loan-advisor h2 {
    color: #005a7c;
    font-size: 42px;
    margin-bottom: 10px;
    text-align: center;
}

.loan-advisor p {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.loan-advisor .teams-list {
    margin-top: 40px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border-radius: 20px;
    max-width: 75%;
    padding: 60px;
    margin: 30px auto 0;
    align-items: flex-start;
}

.team-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-action a {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.team-action span {
    margin-top: 10px;
    color: #005a7c;
    font-weight: 500;
    text-align: center;
}

.team-action a:hover {
    border-radius: 50px;
    font-size: 14px;
}

/* omalleyteam-section */

.omalleyteam-section {
    padding: 50px 0 0;
    margin-top: 0;
}

.omalleyteam-content {
    margin-bottom: 50px;
}

.omalleyteam-content p {
    margin-bottom: 20px;
    line-height: 24px;
    font-size: 16px;
}

.omalleyteam-section .row {
    display: flex;
    align-items: center;
    --bs-gutter-y: 30px;
}

.omalley-member {
    display: flex;
    align-items: center;
}

.omalley-member img {
    width: 100%;
    border-radius: 30px;
}

.vice-name {
    color: #105b7c;
    font-size: 20px;
    font-weight: 500;
}

.omalleyteam-section .vice-name {
    padding-left: 40px;
    display: flex;
}

.omalleyteam-info {
    padding-left: 40px;
    margin-top: 20px;
    line-height: 26px;
    font-size: 17px;
}

.omalleyteam-section .info-action {
    padding-left: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.content-item .ul-list li {
    flex-direction: column;
}

.content-item .ul-list li::after {
    top: 8px;
}

.info-desktop {
    display: none;
}

.hero-img-inner {
    height: 440px;
}

.blog-article img {
    object-fit: contain;
}

.site-map-action .info-action {
    padding-left: 0;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-map-action .info-action a {
    width: 100%;
}

/* home-buyers-section */

.home-buyers-section {
    padding: 0 0 80px;
}

.home-buyers-section .container {
    max-width: 1080px;
}

.homebuyers-box {
    background-color: #0070c4;
    padding: 60px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 700px;

}

.homebuyers-box h2 {
    color: #fff;
    font-size: 42px;
    line-height: normal;
    margin-bottom: 10px;
    text-align: center;
}

.homebuyers-box p {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    max-width: 281px;
}

.homebuyers-box a {
    max-width: 260px;
    width: 100%;
}
.left-buyers {
    position: relative;
    z-index: 1;
}
.happy-family-img  {
    position: relative;
    z-index: 11;
}

.happy-family-img img {
    width: 142%;
    padding-right: 40px;
    position: relative;
    z-index: 111;
    padding-top: 20px;
}

.cta--homebuyers-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 60px;
}

.cta--homebuyers-section .homebuyers-box {
    width:100% ;
}

/* reponisve */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-item {
        position: relative;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        right: 0;
        padding: 20px;
    }

    .process-item {
        flex-wrap: wrap;
    }
}

@media (max-width: 1224px) {
    .info-desktop {
        display: block;
    }

    .info-section .page-inner {
        display: none;
    }

    .team-bg::after {
        display: none;
    }

    .blog-box {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .loan-advisor .teams-list {
        margin-top: 40px;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
        background-color: #fff;
        border-radius: 20px;
        max-width: 96%;
        padding: 10px;
        margin: 30px auto 0;
        align-items: flex-start;
    }

    .happy-family-img img {
        width: 100%;
        padding-right: 0;
    }

    .homebuyers-box h2 {
        font-size: 28px;
    }

    .homebuyers-box p {
        font-size: 18px;
    }

    .home-buyers-section {
        padding: 0 0 30px;
    }

}

.blog-list-section {
    margin-top: 50px;
}

.blog-list-section .row {
    --bs-gutter-y: 1.5rem;
}

.blog-item {
    border-radius: 50px;
    border: solid 4px #ffffff00;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 4px;
}

.blog-item:hover {
    border-radius: 30px;
    border: solid 4px #FFA200;
}

.blog-item:hover .blog-item-img img {
    transform: scale(1.1);
}

.blog-item-img {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 30px;
}

.blog-item-img img {
    width: 100%;
    border-radius: 30px;
    height: auto;
    transition: transform 0.4s ease-in-out;
}

.blog-item-info {
    padding: 0px 15px 15px;
    text-align: center;
}

.blog-item-info h3 {
    font-size: 22px;
    color: #005a7c;
    line-height: normal;
    margin-bottom: 8px;
}

.blog-item-info span {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.blog-item-info p {
    font-size: 16px;
    color: #000;
}

.blog-banner {
    width: 100%;
    border-radius: 40px;
    margin-bottom: 70px;
}

.blog-banner img {
    width: 100%;
    border-radius: 40px;
}

.call-action-map {
    margin-bottom: 60px;
}

.call-action-map .info-action {
    margin-top: 0;
}

.blog-article-bg {
    background-color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px;
    padding-top: 1px;
    margin-top: 20px;
    padding-bottom: 10px;
}

@media (max-width: 1024px) {
    .mobile_sec {
        display: block;
    }

    .desktop_sec {
        display: none;
    }

    #fixed-header.fixed-header {
        padding: 0px 5px;
    }

    .lo-btn-action {
        width: 100%;
        max-width: 100%;
    }

    .schedule-action a {
        width: 100%;
        max-width: 100%;
    }

    .page-header h2 {
        font-size: 40px;
    }

    .blog-section {
        margin-bottom: 40px;
        margin-top: 20px;
    }

    .dzsparallaxer:not(.mode-oneelement) .dzsparallaxer--target {
        height: 100% !important;
    }

    .hero-img-inner {
        margin-bottom: 40px;
        height: 300px;
        border-radius: 20px;
    }

    .hero-img-inner img {
        object-fit: cover;
        border-radius: 20px;
        object-position: bottom;
    }

    .about-section {
        margin-bottom: 40px;
    }

    .team-bg {
        padding-bottom: 70px;
        padding-top: 40px;
    }

    /*.cta-links a {*/
    /*    max-width: 100%;*/
    /*    width: 100%;*/
    /*}*/

    .team-bg::after {
        display: none;
    }

    .blog-box {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .blog-box .team-header {
        padding: 0px 20px 20px;
    }

    .call-action-box {
        padding: 40px 20px;
    }

    .call-header h2 {
        font-size: 30px;
    }

    .team-header h2 {
        padding-left: 0;
        font-size: 30px;
    }

    .team-header p.team-info {
        padding-left: 0;
    }

    .team-header p {
        padding-left: 0;
    }

    .about-content h2 {
        font-size: 34px;
        margin-top: 20px;
    }

    .about-content p {
        padding-left: 0;
    }

    .teams-list .team-item {
        max-width: 150px;
    }

    .info-action {
        padding-left: 0;
    }
}

/*-----------------New CSS---------------*/


.dropdown-item-active {
    background-color: #105b7c;
    color: #fff;
    border-radius: 20px;
    border: solid 4px #FFA200 !important;
}


.content-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #005a7c;
    position: relative;
    margin-top: 24px;
}


.content-section h2 {
    position: relative;
    /*display: flex;            !* make it a flexbox *!*/
    /*align-items: flex-start;  !* align items to the top *!*/
}

.content-section h2::before {
    content: "";
    flex: 0 0 auto;           /* fixed size, no shrinking */
    width: 27px;
    height: 36px;
    margin-right: 8px;        /* space between icon and text */
    background: url(/website/images/logo-icon.png) no-repeat center center;
    background-size: contain;
    /*margin-top: 8px;*/
}


.content-section h2 {
    margin-top: 24px;
}


/*.content-section > :first-child h2:first-of-type { margin-top: 0 !important; }*/

/* list items inside content-section */
.content-section ul li {
    position: relative;
    padding: 5px 0 5px 30px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    display: block;
    align-items: flex-start;
}
.content-section ul li span {
    display: block;
}

.content-section ul   {
  margin-top: 24px;
    margin-bottom: 24px;
}


/* custom icon before each list item */
.content-section ul li::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("../images/check.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    position: absolute;
    /*left: 0;*/
    top: 5px;
    margin-left: -25px;
}

.team-header p {
    padding-left: 70px;
}


.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 5px !important;

}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0px;
}
.info-section-content p {
    padding-left: 0px !important;
}

.page-header h3 {
    line-height: normal;
    margin-bottom: 20px;
    font-size: 28px;
    color: #ffa200;
    position: relative;
    z-index: 1;
}

.homebuyers-box img {
    position: absolute;
    bottom: 30px;
    left: 30px;
    height: 100px;
    object-fit: cover;
}
@media (max-width: 767px) {
    .homebuyers-box a {
        max-width: 180px;
        width: 100%;
    }
    .homebuyers-box img {
        bottom: 20px;
        left: 20px;
        height: 70px;
    }
}


/* Scope all editor content so site styles don't clash */
.content-section {
    line-height: 1.6;
}

/* Base image block */
.content-section figure.image {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
}

/* The image itself */
.content-section figure.image > img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Captions */
.content-section figure.image > figcaption {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin-top: .5rem;
}

/* Resized images: CKEditor applies inline width on <figure> */
.content-section figure.image.image_resized { max-width: 100%; }

/* Some editors output width on style — make sure it obeys */
.content-section figure.image[style*="width"] { max-width: 100%; }

/* Alignment helpers (block images) */
.content-section .image-style-align-left {
    float: left;
    margin: 1rem 1rem 1rem 0;
    max-width: 50%; /* tweak if you want looser/tighter */
}

.content-section figure.image.image-style-align-right {
    float: right;
    margin: 0 0 1rem 1rem;
    max-width: 50%;
}

.content-section figure.image.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: center;
}

/* “Side” image style (text wraps; CKEditor class name) */
.content-section .image-style-side {
    float: right !important;
    margin: 0 0 1rem 1rem;
    max-width: 50%;
}

/* Full-width image style (if enabled) */
.content-section figure.image.image-style-block {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Inline image variant */
.content-section span.image-inline {
    display: inline-block;
    vertical-align: middle;
}

.content-section span.image-inline > img {
    height: 1.2em;
    width: auto;
    max-width: none; /* keep inline sizing natural */
}

/* Clear floats after the content block to avoid layout collapse */
.content-section::after {
    content: "";
    display: block;
    clear: both;
}

/* Defensive resets against global themes */
.content-section img { max-width: 100%; height: auto; }
.content-section figure { box-sizing: border-box; }

.text-filter {
    filter: url(#white-text-shadow);
}
.show-popup{
    filter: url(#white-text-shadow);
}
.btn-secondry {
    filter: url(#white-text-shadow);
}
.accordion-button{
    filter: url(#white-text-shadow);
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}



/* ---- CKEditor content (scoped) ---- */


/* Base figure + image */
.content-section figure.image {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Respect intrinsic/attribute width by default (do NOT stretch) */
.content-section figure.image > img {
    display: block;
    width: auto;        /* key: keep small logos small */
    max-width: 100%;    /* but never overflow container */
    height: auto;
}

/* Captions */
.content-section figure.image > figcaption {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin-top: .5rem;
}

/* When the FIGURE is resized (CKEditor adds .image_resized or inline width),
   make the IMG fill the resized box */
.content-section figure.image.image_resized > img,
.content-section figure.image[style*="width"] > img {
    width: 100%;
    max-width: 100%;
}

/* Alignment helpers (block images) */
.content-section figure.image.image-style-align-left {
    float: left;
    margin: 1rem 1rem 1rem 0;
    /* optional: cap width when floated; adjust as you like */
    max-width: 50%;
}

.content-section figure.image.image-style-align-right {
    float: right;
    margin: 0 0 1rem 1rem;
    max-width: 50%;
}

.content-section figure.image.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: center;
    display: table; /* helps center narrow figures without stretching */
}

/* “Side” image style (text wraps) */
.content-section figure.image.image-style-side {
    float: right;
    margin: 0 0 1rem 1rem;
    max-width: 50%;
}

/* Full-width block style (if enabled) */
.content-section figure.image.image-style-block {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

/* Inline image variant */
.content-section span.image-inline {
    display: inline-block;
    vertical-align: middle;
}
.content-section span.image-inline > img {
    height: 1.2em;
    width: auto;        /* keep inline sizing natural */
    max-width: none;
}

/* Defensive resets against global themes */
.content-section img { height: auto; }
.content-section figure { box-sizing: border-box; }

/* Clear floats after rich text blocks */
.content-section::after {
    content: "";
    display: block;
    clear: both;
}


/* Scope to CKEditor-rendered content */
.content-section figure.image {
    display: block;
    box-sizing: border-box;
    margin: 1rem 0;         /* base spacing */
    max-width: 100%;
}

/* Don't stretch images by default; respect intrinsic/attr width */
.content-section figure.image > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

/* === CENTER when no explicit alignment is set === */
.content-section figure.image:not(.image-style-align-left):not(.image-style-align-right)
:not(.image-style-block-align-left):not(.image-style-block-align-right) {
    margin-left: auto;
    margin-right: auto;     /* center narrow figures */
    float: none;
    text-align: center;
    display: table;         /* helps center narrow figures reliably */
}

/* === BLOCK ALIGNMENT (newer CKEditor classes) === */

.content-section figure.image.image-style-block-align-left {
    float: none;
    display: table;          /* shrink-to-fit so margins work */
    margin-left: 0;
    margin-right: auto;      /* left-align without text wrap */
}

.content-section figure.image.image-style-block-align-right {
    float: none;
    display: table;          /* shrink-to-fit so margins work */
    margin-left: auto;       /* right-align without text wrap */
    margin-right: 0;
}

.content-section figure.image.image-style-block-align-center {
    float: none;
    display: table;          /* shrink-to-fit */
    margin-left: auto;
    margin-right: auto;      /* center */
    text-align: center;
}

/* === LEGACY ALIGNMENT (older CKEditor classes) === */
.content-section figure.image.image-style-align-left {
    float: left;
    margin: 0 2rem 1rem 0;
}
.content-section figure.image.image-style-align-right {
    float: right;
    margin: 0 0 1rem 1rem;
}
.content-section figure.image.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: center;
    display: table;
}

/* Resized figures (when user drags size) — make img fill figure width */
.content-section figure.image.image_resized > img,
.content-section figure.image[style*="width"] > img {
    width: 100%;
    max-width: 100%;
}

/* Optional: captions */
.content-section figure.image > figcaption {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #666;
    text-align: center;
    margin-top: .5rem;
}

/* Clear floats after rich text blocks (for legacy float alignment) */
.content-section::after {
    content: "";
    display: block;
    clear: both;
}



/* CKEditor image alignment – final overrides */
.content-section figure.image.image-style-block-align-left,
.content-section figure.image.image-style-block-align-right,
.content-section figure.image.image-style-block-align-center {
    max-width: 100%;              /* honor inline width from style attr or .image_resized */
}
.content-section figure.image.image_resized > img,
.content-section figure.image[style*="width"] > img {
    width: 100%;
    max-width: 100%;
}

.content-section figure.image:not(.image-style-align-left):not(.image-style-align-right):not(.image-style-block-align-left):not(.image-style-block-align-right):not(.image-style-side) {
    float: none !important;
    display: table !important;      /* shrink-to-fit so margins work */
    margin-left: auto !important;
    margin-right: auto !important;  /* center */
}

.content-section figure.image.image-style-block-align-center,
.content-section figure.image.image-style-align-center {
    float: none !important;
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.image-style-align-right{
    float: inline-end;
}

.footer-logo img { max-width: 400px; height: auto; }
@media (max-width: 768px) {
    .footer-logo img {
        max-width: 260px;
        height: auto;
    }
    .teams-list {
        gap: 0px;

    }
    .content-page {
        margin-top: 130px !important;
    }
    .header{
        padding: 12px 12px; !important;
        box-shadow: 0px 2px 6px #999;
    }
    .mt-min{
        margin-top: -40px;
    }
    .btn-secondry{
        margin: auto;
        min-width: 300px;
    }
    .btn-outline{
        margin: auto;
        min-width: 300px;
    }
    .btn-outline:hover{
        margin: auto;
        min-width: 300px;
    }
    .btn-secondry:hover{
        margin: auto;
        min-width: 300px;
    }
    .info-action{
        margin-bottom: 10px;
    }

    .mobile-logo-container a.m-logo {
        display: flex;
        align-items: center;
        justify-content: right;

    }
    .mobile-logo-container .logo {
        max-width: 220px;
        margin-top: 10px;
    }
    .mobile-logo-container a.m-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-width: 250px;
        margin: 0 16px;
    }
    .mobile-logo-container {
        text-align: center;
        padding: 10px 0;
        box-shadow: 0px 2px 6px #999;
    }
    .menu-close {
        padding: 0.54rem 2.5rem 1rem 2rem;
        font-size: 2.8rem;
        text-align: right;
        cursor: pointer;
        position: absolute;
        top: 0px;
        right: -18px;
    }
    .team-item{
        margin: auto;
        margin-top: 20px;
    }
    .omalleyteam-section {
        padding: 0px 0 0;
        margin-top: 0;
    }

    .lo-btn-action {
        display: grid;
    }
    .schedule-action a {
        max-width: 300px !important;
    }
}

.btn-secondry{
 font-weight: 500;
}
.btn-outline{
    font-weight: 500;
}


.overflow-x-hidden { overflow-x: hidden; }
.overflow-hidden { overflow: hidden; }
.text-wrap-break { word-wrap: break-word; overflow-wrap: anywhere; }

.btn-outline-2 {
    background-color: #fff;
    border-radius: 10px;
    border-color: #e2e2e2 !important;
    border: solid 3px;
    color: #005a7c;
    min-width: 130px;
    font-size: 18px;
}

.btn-outline-2:hover {
    background-color: #fff;
    border-radius: 10px;
    border-color: #ffa200 !important;
    border: solid 3px;
    color: #005a7c;
    min-width: 130px;
    font-size: 18px;
}



.meet-team{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.meet-team a{
    min-width: 300px;
}
.meet-team a:hover{
    min-width: 300px;
}


@media (max-width: 767.98px) {
    .footerBradLogo img {
        object-fit: cover;
        width: 130px;
    }

}

@media (min-width: 768px) {
    .footerBradLogo img {
        object-fit: cover;
        width: 160px;
    }
    .footerBradLogo {
        max-width: 50%;
    }
}

.z-index-100{
    z-index: 9999;
}

.mobile-btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px !important;
}

.footer-big-description a {
    color: white !important;
}
.footer-big-description p a {
    color: white !important;
}

@media (max-width: 1224px) {
    .happy-family-img img {
        max-width: 500px;
    }
    .happy-family-img {
        text-align: center;
    }
    .homebuyers-box{
        margin: auto;
    }
}
@media (max-width: 1199px) {
    .header{
        padding: 12px 12px; !important;
        box-shadow: 0px 2px 6px #999;
    }
    .mobile-logo-container {
        text-align: center;
        padding: 10px 0;
        box-shadow: 0px 2px 6px #999;
    }
    .mobile-logo-container a.m-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-width: 250px;
        margin: 0 16px;
    }

    .mobile-logo-container .logo {
        max-width: 220px;
        margin-top: 5px;
    }

    .menu-close {
        padding: 0.4rem 2.5rem 1rem 2rem;
        font-size: 2.8rem;
        text-align: right;
        cursor: pointer;
        position: absolute;
        top: 0px;
        right: -18px;
    }
}


.messageContent{
    text-align: center;
}
