/* Hub CSS - Reapply Bootstrap styles */
.btn, button { border: none !important; }
.btn { padding: 6px 12px !important; line-height: 20px !important; }
.btn-group-sm > .btn, .btn-sm { padding: 5px 10px !important; line-height: 18px !important; }
.form-control { border-radius: 4px !important; }
.input-group .form-control:first-child { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group .form-control:last-child { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.elementor-field-group { margin-bottom: 15px !important; }
.elementor-field { display: block; width: 100%; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; }
.elementor-size-sm { min-height: 25px !important; height: 25px !important; font-size: 12px !important; line-height: 18px !important; padding: 0 10px !important; }
.elementor-acceptance-field { width: auto; float: left; margin: 2px 10px 2px 0 !important; }
.elementor-field-option label { font-weight: normal !important; }
#sffSubmit { text-align: center; }
#sffTransType { line-height: 20px !important; }
#sffTransType .radio label { font-size: 14px !important; line-height: 20px !important; }
#searchForm label { font-weight: normal; }
p#valueRangeTitle { font-size: 14px; font-weight: normal; margin-bottom: 5px; }
#valueRangeInput input { padding: 0; }
#calc { margin: 0 3%; }
#calc .form-group { margin-bottom: 10px; }
#calc .btn { margin: 5px auto; }
#calc label { font-size: 13px; padding-top: 5px; font-weight: 600; }
#calc .input-sm, #calc select.input-sm { padding: 0 5px; }
#calc .input-group-addon { font-size: 12px; padding: 5px 10px; }
#calc .mortgage-result .input-group-addon { font-weight: 600; width: 55%; max-width: 55%; }
#propertyListWrapper .panel-heading, #propListControl { font-weight: normal; }
.list-property .panel-heading a { text-decoration: underline; }
.list-property .panel-heading a:hover { text-decoration: none; }
.list-property .panel-body a { text-decoration: none; }
.list-property .panel-body a:hover { text-decoration: underline; }
#propertyListWrapper h3 { font-weight: bold; }
#propListControl .btn { margin-left: 15px !important; padding: 3px 10px !important; }
.feeLink { display: none; }
#propertyHeader, #fpPanelContent .panel-title, .ui-widget-header, .slick-slide .caption { font-weight: normal; }
#propertyHeader a { text-decoration: underline; }
#propertyHeader a:hover { text-decoration: none; }
#propertyWrapper h1, #propertyWrapper h2 { margin: 20px 0 10px 0; font-weight: bold; }
#propertyControl a span.text { font-weight: normal; }
#keyFeatures, #propertyFloorPlans ul { margin: 0 0 0 20px !important; }
button.slick-prev, button.slick-next { background: transparent !important; }

/* Hub Widget CSS */
#searchWrapperWideTabs .btn, #searchWrapperTabs .btn { background: #777; color: #fff !important; }
.btn, button, .btn:visited, #searchWrapperTabs .btn.active, #searchWrapperTabs .btn:hover, #searchWrapperWideTabs .btn.active, #searchWrapperWideTabs .btn:hover { background: #085696; color: #fff; border: none; }
#searchForm label, #valueRangeTitle, #valueRangeInput input { color: #000; }
#searchWrapperTabs .ui-slider .ui-slider-handle, #searchWrapperWideTabs .ui-slider .ui-slider-handle { background: #085696; }
#fpPanelContent .panel-title, #propertyHeader, #propListControl, .panel-default .panel-heading { background: #085696; color: #fff; }
#propListControl .btn { background: #eee !important; color: #333 !important; }
.list-property a, .list-property a:visited, .list-property a:hover { color: #085696; }
.pagination > li > a, .pagination > li > span { color: #085696; }
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover { background: #085696; color: #fff; border-color: #085696; }
#propertyWrapper h1, #propertyWrapper h2 { color: #085696; }
#propertyControl a span.icon, #propertyControl a:hover span.icon { color: #085696; }

/* Site-wide nav styles */
.site-nav { background-color: transparent; }
.site-nav > ul > li > a { color: #ffffff; font-size: 15px; }
.site-nav .nav-item:hover > a { background-color: transparent; }
.site-nav .dropdown { display: none; background-color: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
.site-nav .nav-item:hover > .dropdown { display: block; }
.site-nav .dropdown a { color: rgb(61,68,89) !important; font-size: 13px !important; }
.site-nav .dropdown a:hover { background-color: #f5f5f5; }

/* CTA cards hover zoom */
.cta-card { overflow: hidden; position: relative; }
.cta-card .cta-bg { transition: transform 0.4s ease; background-size: cover; background-position: center; }
.cta-card:hover .cta-bg { transform: scale(1.08); }

/* Hero Swiper */
.hero-section { position: relative; height: 100vh; overflow: hidden; }
.hero-swiper { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-swiper .swiper-slide { position: relative; }
.hero-swiper .swiper-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-swiper .swiper-slide-inner { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: 180px 8% 0; }
.hero-swiper .slide-heading { font-size: 40px; font-weight: 700; color: #111111; text-transform: uppercase; background: none; padding: 0; text-align: left; max-width: 600px; line-height: 1.2; }
.hero-search-overlay { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; padding: 0 8% 40px; }
.hero-search-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: stretch; gap: 0; }

/* Partner logos */
.partner-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 24px 0; background: #fff; }
.partner-logos img { height: 48px; width: auto; object-fit: contain; }

/* Footer */
.site-footer { background-color: #222222; color: #ffffff; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: #aaaaaa; }
.footer-bar { background-color: #222222; border-top: 1px solid #444; color: #ffffff; font-size: 13px; }
.footer-bar a { color: #ffffff; }
.footer-bar a:hover { color: #aaaaaa; }

/* Content pages */
.page-content { background-color: #ffffff; max-width: 1140px; margin: 0 auto; padding: 40px; }
.page-hero { background-color: #085696; color: #fff; padding: 130px 40px 60px; text-align: center; }
.page-hero h1 { color: #fff; font-size: 32px; font-weight: 600; margin: 0; }
h1 { font-weight: 600; font-size: 36px; }
h2 { font-weight: 500; font-size: 28px; color: #085696; margin: 24px 0 12px; }
h3 { font-size: 20px; font-weight: 600; margin: 16px 0 8px; }
p { margin-bottom: 16px; line-height: 1.6; }
ul { list-style: disc; margin-left: 20px; margin-bottom: 16px; }
ol { list-style: decimal; margin-left: 20px; margin-bottom: 16px; }
li { margin-bottom: 6px; line-height: 1.6; }
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { border: 1px solid #ddd; padding: 10px 14px; text-align: left; }
th { background-color: #085696; color: #fff; }
tr:nth-child(even) td { background-color: #f5f5f5; }

/* Form styles */
.form-label { display: block; font-weight: 500; margin-bottom: 4px; font-size: 14px; }
.form-input { width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 8px 12px; font-size: 14px; color: #555; background: #fafafa; }
.form-input:focus { outline: none; border-color: #085696; background: #fff; }
.form-select { width: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 8px 12px; font-size: 14px; color: #555; background: #fafafa; }
.btn-primary { background-color: #085696 !important; color: #fff !important; border: none; padding: 10px 24px; font-size: 15px; border-radius: 4px; cursor: pointer; }
.btn-primary:hover { background-color: #064a7f !important; }

/* Testimonial cards */
.testimonial-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 24px; margin-bottom: 20px; }
.stars { color: #f5a623; font-size: 20px; }
.testimonial-name { font-weight: 600; color: #085696; margin-top: 12px; }

/* Mobile nav toggle */
.mobile-menu { display: none; }
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu.open { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu-btn { display: none; }
}
