:root {
  /* Core user-requested color palette variables */
  --primary: #19395f;
  --secondary: #b8c4ca;
  --background: #f8f9f9;
  --color-cad3d8: #cad3d8;
  --color-dfe5e7: #dfe5e7;

  /* Aliases & design tokens */
  --primary-color: #19395f;
  --secondary-color: #b8c4ca;
  --bg-color: #f8f9f9;
  --border-color: #cad3d8;
  --surface-color: #dfe5e7;

  /* Interactive and tone variants */
  --primary-hover: #122a46;
  --primary-dark: #10243d;
  --secondary-hover: #9eabb2;
  --primary-rgb: 25, 57, 95;
  --secondary-rgb: 184, 196, 202;
  --surface-rgb: 223, 229, 231;

  /* Header palette derived from assets/images/logo.png */
  --header-black: #0e0b07;
  --header-gold-bright: #f3c262;
  --header-gold: #c28e2b;
  --header-gold-hover: #a6761f;
  --header-gold-border: rgba(243, 194, 98, 0.55);
}

body {
  background-color: var(--background, #f8f9f9);
}

::selection {
  background: var(--primary, #19395f);
  color: #ffffff;
}
::-moz-selection {
  background: var(--primary, #19395f);
  color: #ffffff;
}
::-webkit-selection {
  background: var(--primary, #19395f);
  color: #ffffff;
}
.owl-dots .owl-dot.active span {
  background-color: var(--primary, #19395f) !important;
}

.owl-carousel .owl-dots .owl-dot:hover span {
  background-color: var(--primary, #19395f) !important;
}
.acc-site-bg-primary a,
.site-bg-primary,
.custom-page.pager li > a:focus,
.custom-page.pager li > a:hover,
.custom-pagination.pagination > .active > a,
.custom-pagination.pagination > .active > a:focus,
.custom-pagination.pagination > .active > a:hover,
.custom-pagination.pagination > .active > span,
.custom-pagination.pagination > .active > span:focus,
.custom-pagination.pagination > .active > span:hover,
.custom-pagination.pagination > li > a:focus,
.custom-pagination.pagination > li > a:hover,
.custom-pagination.pagination > li > span:focus,
.custom-pagination.pagination > li > span:hover,
.date-style-2 .post-date,
.faq-block .faq-ans::after,
.faq-block .faq-que::after,
.masonry-filter.button-style.has-bg > li a:hover,
.masonry-filter.button-style.has-bg > li.active a,
.masonry-filter.button-style > li a:active,
.masonry-filter.button-style > li a:focus,
.masonry-filter.button-style > li a:hover,
.masonry-filter.button-style > li.active a,
.masonry-filter.outline-style.customize > li.active a,
.masonry-filter.outline-style.customize > li:hover a,
.mt-nav-pills li:hover a,
.mt-tabs.border-top .nav-tabs > li.active > a::after,
.noTrespassingBarLineG,
.overlay-icon a,
.overlay-icon a:hover,
.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span,
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover,
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover,
.pricing-table-style-2 .pricingtable-title,
.pricingtable-price,
.searchform input[type="submit"],
.site-button,
.social-icons.social-radius.social-darkest a:hover,
.social-icons.social-radius.social-primary a,
.social-icons.social-square.social-darkest a:hover,
.social-icons.social-square.social-primary a,
.widget-title::after,
.widget_archive ul li span.badge,
.widget_calendar table tbody td#today,
.widget_calendar thead,
.widget_getintuch i,
ol.list-num-count > li::before,
.header-nav .nav > li .sub-menu li a::after,
.mt-separator:after,
.sep-line-one:after,
.mt-separator:before,
.sep-line-one:before,
.about-home.owl-carousel .owl-dots .owl-dot.active span,
.input-animate.input .spin,
.icon-count-2::after,
.footer-dark .social-icons li a:hover,
.video-section-full-v2::after,
.mt-bnr-inr-entry .banner-title-outer:after,
.mt-bnr-inr-entry .banner-title-outer:before,
.mt-bnr-inr-entry .banner-title-outer .banner-title-name:after,
.mt-bnr-inr-entry .banner-title-outer .banner-title-name:before,
.m-about::after,
.our-story .row:nth-child(odd) .our-story-pic-block:after,
.our-story .row:nth-child(even) .our-story-pic-block:after,
.call-for-quote-outer,
.widget_newsletter-2 .newsletter-bx .newsletter-icon,
blockquote.author-quote::before,
.project-classic .mt-title::before,
.img-center-icon .overlay-bx .overlay-icon a,
.footer-light .social-icons li a:hover,
.image-effect-two .mfp-link:hover {
  background-color: #ffffff22 !important;
  backdrop-filter: blur(125px);
  border: 1px solid var(--primary, #19395f);
  color: var(--primary, #19395f) !important;
}

.overlay-icon a:hover {
  background-color: #222;
}
.searchform input[type="submit"],
.searchform input[type="submit"]:active,
.searchform input[type="submit"]:focus,
.searchform input[type="submit"]:hover,
.site-button,
.site-button:active,
.site-button:focus {
  background-color: var(--primary, #19395f);
  border-color: var(--primary, #19395f);
  color: #ffffff;
}
.site-button:hover {
  background-color: #ffffff !important;
  color: var(--primary, #19395f) !important;
  border-color: var(--primary, #19395f) !important;
}

.mt-info-has.site-bg-primary {
  background-color: rgba(25, 57, 95, 0.9);
}
.btn-filter-wrap li.btn-active,
.footer-dark .footer-top a:active,
.footer-dark .footer-top a:focus,
.footer-dark .footer-top a:hover,
.header-nav .nav > li .mega-menu > li ul a:hover,
.header-nav .nav > li .sub-menu li a:hover,
.header-nav .nav > li .sub-menu li:hover > a,
.latest-blog-3.blog-md .mt-post-meta i,
.latest-blog-3.post-overlay .mt-post-meta i,
.masonry-filter.link-style.has-bg > li.active a,
.masonry-filter.link-style.has-bg > li:hover a,
.masonry-filter.link-style.white > li a:active,
.masonry-filter.link-style.white > li a:focus,
.masonry-filter.link-style.white > li a:hover,
.masonry-filter.link-style.white > li.active a,
.masonry-filter.outline-style.has-bg > li a:hover,
.masonry-filter.outline-style.has-bg > li.active a,
.masonry-filter.outline-style > li a:active,
.masonry-filter.outline-style > li a:focus,
.masonry-filter.outline-style > li a:hover,
.masonry-filter.outline-style > li.active a,
.masonry-filter > li a:active,
.masonry-filter > li a:focus,
.masonry-filter > li a:hover,
.masonry-filter > li.active a,
.mt-breadcrumb li a,
.nav-dark.header-nav .nav > li .mega-menu > li ul a:hover,
.pricing-table-style-3 .pricingtable-title *,
.pricing-table-style-5 .pricingtable-title *,
.rating-bx,
.social-icons.social-dark.has-bg li a:hover,
.social-icons.social-light.has-bg li a:hover,
.status-value span,
.testimonial-1 .testimonial-position,
.testimonial-2 .testimonial-position,
.testimonial-2 .testimonial-text .fa-quote-left,
.site-text-primary,
.video-play-btn,
.widget_archive ul li a:hover,
.widget_categories ul li a:hover,
.widget_meta ul li a:hover,
.widget_nav_menu li a:hover,
.widget_pages ul li a:hover,
.widget_recent_comments ul li a:hover,
.widget_recent_entries ul li a:hover,
.widget_services ul li a:hover,
blockquote::before,
button.scroltop,
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
ol.comment-list li.comment .reply a,
ul.primary li::before,
.mt-team-seven .social-share-btn-content .social-icons a:hover,
.widget_categories li span.badge,
.icon-count-2:hover span.icon-count-number,
.filter-navigation a::after,
.footer-dark .social-icons li a,
.site-footer .widget_services ul li a:hover,
.hover-navigation a::after,
.site-button-link.yellow,
.widget_tag_cloud a:hover,
.page-notfound span.title,
blockquote.author-quote .fa-quote-right,
.project-classic .mt-title::after,
.acc-bg-dark .acod-head .fa,
.testimonial-1.testimonial-bg .testimonial-name,
.testimonial-1.testimonial-bg .testimonial-position {
  color: var(--primary, #19395f);
}
@media only screen and (max-width: 991px) {
  .site-bg-primary .header-nav .nav > li.active > a,
  .site-bg-primary .header-nav .nav > li.current-menu-item > a,
  .site-bg-primary .header-nav .nav > li:hover > a {
    color: var(--primary, #19395f);
  }
}
.bdr-primary,
.date-style-3 .mt-post-media,
.masonry-filter.outline-style.customize > li.active a,
.masonry-filter.outline-style.customize > li:hover a,
.masonry-filter.outline-style.has-bg > li a:hover,
.masonry-filter.outline-style.has-bg > li.active a,
.masonry-filter.outline-style > li a:active,
.masonry-filter.outline-style > li a:focus,
.masonry-filter.outline-style > li a:hover,
.masonry-filter.outline-style > li.active a,
.pricing-table-style-4 .pricingtable-inner,
.social-icons.social-radius.social-dark.has-bg a:hover,
.social-icons.social-square.social-dark.has-bg a:hover,
button.scroltop,
input[type="checkbox"] + label:hover:before,
input[type="checkbox"]:checked + label:before,
input[type="radio"] + label:hover:before,
input[type="radio"]:checked + label:before,
ol.list-num-count.list-outline > li::before,
.slider-block,
.bg-secondry {
  background-color: var(--secondary, #b8c4ca);
}
.site-button-secondry {
  background-color: var(--secondary, #b8c4ca);
  color: var(--primary, #19395f);
  border-color: var(--secondary, #b8c4ca);
}
.site-button-secondry:active,
.site-button-secondry:focus,
.site-button-secondry:hover {
  background-color: var(--primary, #19395f);
  color: #ffffff;
  border-color: var(--primary, #19395f);
}
.acod-title.corner-skew::after {
  border-top: 25px solid transparent;
  border-right: 25px solid var(--primary, #19395f);
  border-bottom: 25px solid transparent;
}
.anchor-line a {
  color: #1a1a1a;
}
.anchor-line a:hover {
  color: var(--primary, #19395f);
}

.header-nav .nav > li .sub-menu li a:hover,
.m-about-years {
  border-left: 10px solid var(--primary, #19395f);
}
.mt-bnr-inr-entry .banner-title-outer {
  border-left: 10px solid var(--primary, #19395f);
  border-right: 10px solid var(--primary, #19395f);
}
.mt-tabs.bg-tabs .nav-tabs > li .nav-link.active {
  background-color: var(--primary, #19395f);
  border-bottom: 4px solid var(--primary, #19395f);
}

a:active,
a:hover,
a:focus {
  color: var(--primary, #19395f);
}
.testimonial-2 .testimonial-text .fa-quote-right,
.testimonial-1 .testimonial-text .fa-quote-right {
  color: rgba(25, 57, 95, 0.3);
}
.get-in-touch-info {
  box-shadow: -10px -10px var(--primary, #19395f);
}
.site-button-secondry:hover.btn-effect::before,
.site-button-secondry:hover.btn-effect::after {
  border-color: var(--primary, #19395f);
}

/* Palette utility integrations */
.bg-grays {
  background-color: var(--background, #f8f9f9) !important;
}
.bg-gray-light {
  background-color: var(--background, #f8f9f9) !important;
}
.bg-gray {
  background-color: var(--surface, #dfe5e7) !important;
}
.header-style-1 .top-bar.bg-gray {
  background-color: var(--header-black, #0e0b07) !important;
  color: #ffffff !important;
  padding: 6px 0 !important;
  border-bottom: 1.5px solid rgba(243, 194, 98, 0.45);
}
.header-style-1 .top-bar.bg-gray .row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  width: 100% !important;
}
.header-style-1 .top-bar.bg-gray .row::before,
.header-style-1 .top-bar.bg-gray .row::after,
.header-style-1 .main-bar .container::before,
.header-style-1 .main-bar .container::after,
.header-style-1 .header-nav .nav::before,
.header-style-1 .header-nav .nav::after {
  content: none !important;
  display: none !important;
}
.header-style-1 .top-bar .mt-topbar-left,
.header-style-1 .top-bar .mt-topbar-right {
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}
.header-style-1 .top-bar.bg-gray .e-p-bx {
  padding: 3px 0 !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}
.header-style-1 .top-bar.bg-gray .e-p-bx li {
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #f5efe6 !important;
}
.header-style-1 .top-bar.bg-gray a {
  color: #f5efe6 !important;
  font-family: "Poppins", sans-serif !important;
  transition: color 0.2s ease;
}
.header-style-1 .top-bar.bg-gray .e-p-bx li a:hover {
  color: var(--header-gold-bright, #f3c262) !important;
}
.header-style-1 .top-bar.bg-gray .appint-btn a,
.header-style-1 .appint-btn a.site-button,
.header-style-1 .appint-btn a {
  color: #0e0b07 !important;
  background-color: var(--header-gold-bright, #f3c262) !important;
  border: 1px solid var(--header-gold-bright, #f3c262) !important;
  padding: 4px 14px !important;
  font-size: 11.5px !important;
  line-height: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px !important;
  border-radius: 4px !important;
  font-family: "Poppins", sans-serif !important;
}
.header-style-1 .top-bar.bg-gray .appint-btn a:hover,
.header-style-1 .appint-btn a.site-button:hover,
.header-style-1 .appint-btn a:hover {
  color: var(--header-gold-bright, #f3c262) !important;
  background-color: transparent !important;
  border-color: var(--header-gold-bright, #f3c262) !important;
}
.header-style-1 .top-bar.bg-gray .fa {
  color: var(--header-gold-bright, #f3c262) !important;
  background: transparent !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin-right: 7px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

/* Main Navigation Bar: white background & sticky state */
.header-style-1 .main-bar,
.header-style-1 .main-bar.bg-white,
.header-style-1 .is-fixed.color-fill .main-bar,
.header-style-1 .is-fixed .main-bar {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 7px 0 !important;
}
.header-style-1 .is-fixed .main-bar,
.header-style-1 .is-fixed.color-fill .main-bar {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
  padding: 5px 0 !important;
}
.header-style-1 .extra-nav {
  display: none !important;
}

/* Header split-centered navigation & logo (Desktop: single-line balanced row) */
@media (min-width: 992px) {
  .header-style-1 .logo-header.mobile-only-logo {
    display: none !important;
  }

  .header-style-1 .main-bar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-style-1 .header-nav {
    width: 100% !important;
    display: block !important;
    float: none !important;
    padding: 0 !important;
  }

  .header-style-1 .header-nav .nav {
    float: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(4px, 0.8vw, 14px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-style-1 .header-nav .nav > li {
    float: none !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-style-1 .header-nav .nav > li > a,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li > a {
    font-family: "Poppins", sans-serif !important;
    font-size: clamp(12px, 0.95vw, 13.5px) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    padding: 14px clamp(6px, 0.85vw, 12px) !important;
    white-space: nowrap !important;
    background: transparent !important;
    transition: color 0.2s ease !important;
  }

  .header-style-1 .header-nav .nav > li:first-child > a {
    padding-left: 0 !important;
  }

  .header-style-1 .header-nav .nav > li:last-child > a {
    padding-right: 0 !important;
  }

  .header-style-1 .is-fixed.color-fill .header-nav .nav > li > a {
    padding: 10px clamp(6px, 0.85vw, 12px) !important;
  }

  .header-style-1 .is-fixed.color-fill .header-nav .nav > li:first-child > a {
    padding-left: 0 !important;
  }

  .header-style-1 .is-fixed.color-fill .header-nav .nav > li:last-child > a {
    padding-right: 0 !important;
  }

  .header-style-1 .header-nav .nav > li.active > a,
  .header-style-1 .header-nav .nav > li.current-menu-item > a,
  .header-style-1 .header-nav .nav > li > a:hover,
  .header-style-1 .header-nav .nav > li.active > a:hover,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li > a:hover,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li.active > a {
    color: var(--header-gold, #c28e2b) !important;
  }

  .header-style-1 .header-nav .nav > li.nav-center-logo-item > a.nav-center-logo-link,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li.nav-center-logo-item > a.nav-center-logo-link {
    padding: 0 clamp(10px, 1.5vw, 24px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-style-1 .nav-center-logo-item .head-logo {
    width: auto !important;
    height: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 10px !important;
    background-color: #0e0b07;
    border: 1.5px solid var(--header-gold-border, rgba(243, 194, 98, 0.55));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    display: block !important;
    transition: height 0.25s ease !important;
  }

  .header-style-1 .is-fixed .nav-center-logo-item .head-logo {
    height: 56px !important;
    max-height: 56px !important;
  }

  .header-style-1 .nav-center-logo-item .nav-center-logo-link:hover .head-logo {
    border-color: var(--header-gold-bright, #f3c262);
  }
}

/* Mobile Navigation Drawer Alignment & Colors */
@media (max-width: 991px) {
  .header-style-1 .nav-center-logo-item {
    display: none !important;
  }

  .header-style-1 .mt-topbar-left ul li:last-child {
    display: inline-flex !important;
  }

  .header-style-1 .navbar-toggler .icon-bar {
    background: #1a1a1a !important;
  }

  .header-style-1.mobile-sider-drawer-menu .header-nav {
    width: 280px !important;
    max-width: 82vw !important;
    left: -320px !important;
    transform: translateX(-100%) !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    display: block !important;
    padding: 0 !important;
    transition: transform 0.4s ease, left 0.4s ease !important;
  }

  .header-style-1.mobile-sider-drawer-menu.active .header-nav {
    left: 0 !important;
    transform: translateX(0) !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25) !important;
  }

  .header-style-1.mobile-sider-drawer-menu .header-nav .nav {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 30px 0 20px 0 !important;
    background: #ffffff !important;
  }

  .header-style-1.mobile-sider-drawer-menu .header-nav .nav > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(181, 132, 45, 0.14) !important;
    text-align: left !important;
  }

  .header-style-1.mobile-sider-drawer-menu .header-nav .nav > li.nav-center-logo-item {
    display: none !important;
  }

  .header-style-1.mobile-sider-drawer-menu.active .icon-bar.icon-bar-first {
    transform: translateY(6.5px) rotate(45deg) !important;
  }

  .header-style-1.mobile-sider-drawer-menu.active .icon-bar.icon-bar-two {
    position: relative !important;
    right: 0 !important;
    opacity: 0 !important;
  }

  .header-style-1.mobile-sider-drawer-menu.active .icon-bar.icon-bar-three {
    transform: translateY(-6.5px) rotate(-45deg) !important;
  }

  .header-style-1 .header-nav .nav > li > a,
  .header-style-1 .header-nav .nav > li.current-menu-item > a,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li > a {
    font-family: "Poppins", sans-serif !important;
    color: #111111 !important;
    padding: 16px 24px !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
  }

  .header-style-1 .header-nav .nav > li > a:hover,
  .header-style-1 .header-nav .nav > li.active > a,
  .header-style-1 .is-fixed.color-fill .header-nav .nav > li.active > a {
    color: var(--header-gold, #b5842d) !important;
    background-color: rgba(181, 132, 45, 0.08) !important;
  }
}

.extra-nav .extra-cell>a.contact-slide-show {
  color: var(--primary, #19395f) !important;
  background: #ffffff !important;
}

.extra-nav .extra-cell>a.contact-slide-show:hover {
  color: var(--primary, #19395f) !important;
  background: var(--secondary, #b8c4ca) !important;
}

.extra-nav .extra-cell>a i.arrow-animation {
  color: var(--primary, #19395f) !important;
}

button.scroltop {
  background: #ffffff !important;
  border: 2px solid var(--primary, #19395f) !important;
}

button.scroltop span {
  color: var(--primary, #19395f) !important;
}

button.scroltop:hover {
  background: var(--primary, #19395f) !important;
}

button.scroltop:hover span {
  color: #ffffff !important;
}
.footer-dark.site-footer {
  background-color: #10243d !important;
}
.footer-dark .footer-bottom {
  background-color: var(--primary, #19395f) !important;
}
.footer-dark .footer-top .widget-title::before {
  border-color: var(--secondary, #b8c4ca) !important;
}

.site-button-secondry.site-bg-dark {
  background-color: var(--secondary, #b8c4ca) !important;
  color: var(--primary, #19395f) !important;
  border-color: var(--secondary, #b8c4ca) !important;
}

.site-button-secondry.site-bg-dark:hover {
  background-color: #ffffff !important;
  color: var(--primary, #19395f) !important;
  border-color: #ffffff !important;
}

/* ===================================================
   MOBILE & TABLET RESPONSIVENESS ENHANCEMENTS
   =================================================== */

/* Prevent Horizontal Viewport Overflow / White Strip (clip preserves sticky positioning) */
html, body {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}
.page-wraper {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
}

/* Header Logo & Navigation Bar Mobile / Tablet Alignment */
@media (max-width: 991px) {
  .header-style-1 .main-bar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .logo-header.mobile-only-logo {
    height: 52px !important;
    max-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .logo-header-inner {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }
  .logo-header-inner a {
    display: flex !important;
    align-items: center !important;
  }
  .logo-header.mobile-only-logo .head-logo {
    width: auto !important;
    height: 48px !important;
    max-width: none !important;
    max-height: 48px !important;
    object-fit: contain !important;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 8px !important;
    background-color: #0e0b07;
    border: 1px solid var(--header-gold-border, rgba(181, 132, 45, 0.55));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
    display: block !important;
  }
  .header-style-1 .navbar-toggler {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 12px 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    float: none !important;
  }
  .header-style-1 .navbar-toggler .icon-bar {
    width: 22px !important;
    height: 2.5px !important;
    background: #1a1a1a !important;
    border-radius: 2px !important;
    margin: 0 !important;
    display: block !important;
  }
  .header-style-1 .navbar-toggler .icon-bar + .icon-bar {
    margin-top: 4px !important;
  }
}

.hero-title-prefix,
.hero-title-brand {
  display: inline;
}
#slide-902-layer-2 .hero-title-prefix {
  font-family: "Playfair Display", "Palatino Linotype", Georgia, serif !important;
}
#slide-902-layer-2 .hero-title-brand {
  font-family: "Playfair Display", "Palatino Linotype", Georgia, serif !important;
}
#slide-902-layer-4 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;
}
@media (min-width: 768px) {
  #slide-902-layer-2 .hero-title-prefix {
    font-size: 0.65em !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    opacity: 0.94;
  }
}

/* Topbar Mobile Response: Left Email & Phone, Right Reduced Enquiry Button */
@media only screen and (max-width: 767px) {
  .header-style-1 .top-bar,
  .header-style-1 .top-bar.bg-gray {
    padding: 6px 0 !important;
    background-color: var(--header-black, #0e0b07) !important;
    border-bottom: 1.5px solid rgba(243, 194, 98, 0.45);
  }
  .header-style-1 .top-bar .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .header-style-1 .top-bar .row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    float: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li {
    display: flex !important;
    align-items: center !important;
    padding: 1.5px 0 !important;
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 15px !important;
    color: #f5efe6 !important;
    white-space: nowrap !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li a {
    color: #f5efe6 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    letter-spacing: 0.2px !important;
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 195px !important;
    vertical-align: middle !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li a:hover {
    color: var(--header-gold-bright, #f3c262) !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li i {
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 10.5px !important;
    margin-right: 6px !important;
    margin-left: 0 !important;
    padding: 0 !important;
    color: var(--header-gold-bright, #f3c262) !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    vertical-align: middle !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-right {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: right !important;
    float: none !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 0 0 6px !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-right .appint-btn {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-right .site-button {
    padding: 4px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    line-height: 18px !important;
  }
}
@media only screen and (max-width: 360px) {
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li,
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li a {
    font-size: 9.5px !important;
    color: #f5efe6 !important;
    max-width: 155px !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-left .e-p-bx li i {
    color: var(--header-gold-bright, #f3c262) !important;
    font-size: 9.5px !important;
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    margin-right: 5px !important;
    background: transparent !important;
    border: none !important;
  }
  .header-style-1 .top-bar .row .mt-topbar-right .site-button {
    padding: 4px 8px !important;
    font-size: 9px !important;
  }
}

/* Hero slider background framing across all screen sizes */
#welcome_wrapper .tp-bgimg.defaultimg,
#welcome_wrapper .rev-slidebg,
#welcome .slotholder .tp-bgimg {
  background-size: cover !important;
  background-position: center 10% !important;
  background-repeat: no-repeat !important;
}

/* Global Font Size Reductions & Section Spacing on Mobile */
@media (max-width: 767px) {
  .section-head h2,
  .sep-line-one {
    font-size: 22px !important;
    line-height: 28px !important;
  }
  .section-head {
    margin-bottom: 24px !important;
  }
  .mobile-page-padding {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
  h1 { font-size: 26px !important; line-height: 32px !important; }
  h2 { font-size: 22px !important; line-height: 28px !important; }
  h3 { font-size: 19px !important; line-height: 25px !important; }
  h4 { font-size: 16px !important; line-height: 22px !important; }
  h5 { font-size: 14px !important; line-height: 20px !important; }
  p { font-size: 12.5px !important; line-height: 19px !important; }

  /* Hero Slider Mobile Font Sizes & Spacing */
  #slide-902-layer-2,
  #slide-902-layer-2 > div {
    font-size: 20px !important;
    line-height: 28px !important;
    max-width: 88vw !important;
  }
  #slide-902-layer-2 .hero-title-prefix {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    display: block !important;
    margin-bottom: 2px !important;
    opacity: 0.9 !important;
    line-height: 18px !important;
  }
  #slide-902-layer-2 .hero-title-brand {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 30px !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    color: #f3c262 !important;
    margin-bottom: 0px !important;
  }
  #slide-902-layer-4 {
    font-size: 12.5px !important;
    line-height: 18px !important;
    max-width: 85vw !important;
    margin-top: 0px !important;
  }
  #slide-902-layer-5 {
    margin-top: 0px !important;
  }

  /* Specialization Section Cards on Mobile */
  .our-speci_wrap .image-effect-one,
  .our-speci_wrap .our-speciallization-content {
    height: clamp(260px, calc(240px + 5vw), 320px) !important;
    min-height: clamp(260px, calc(240px + 5vw), 320px) !important;
  }
  .our-speci_wrap .image-effect-one img {
    height: clamp(260px, calc(240px + 5vw), 320px) !important;
  }
  .our-speciallization-content {
    padding: 20px 18px !important;
    border-width: 10px !important;
  }
  .our-speciallization-content h4 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  .our-speciallization-content p {
    font-size: 11.5px !important;
    line-height: 18px !important;
    text-align: left !important;
    margin-bottom: 12px !important;
  }

  /* Why Choose Us Section on Mobile */
  .why-choose-card .col-lg-4 {
    padding: 24px 18px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color, #cad3d8) !important;
  }
  .why-choose-card .col-lg-4 h2 {
    font-size: 26px !important;
    line-height: 32px !important;
    margin-bottom: 14px !important;
  }
  .why-choose-card .col-md-6 {
    padding: 18px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color, #cad3d8) !important;
  }
  .why-choose-card .col-md-6:last-child {
    border-bottom: none !important;
  }
  .why-choose-card h4 {
    font-size: 16px !important;
  }
  .why-choose-card p {
    font-size: 12px !important;
    line-height: 19px !important;
    text-align: left !important;
  }
  .why-choose-card span[style*="font-size: 26px"] {
    font-size: 20px !important;
  }

  /* Why Meems Realty (Services) on Mobile */
  #service .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #service .mission-left {
    padding: 20px 16px !important;
    min-height: auto !important;
    margin-bottom: 22px !important;
  }
  #service .service-intro-block h3 {
    font-size: 21px !important;
    line-height: 27px !important;
    margin-bottom: 10px !important;
  }
  #service .service-intro-block p {
    font-size: 12.5px !important;
    line-height: 19px !important;
    text-align: left !important;
  }
  #service .service-anim-item {
    padding: 12px 12px !important;
    margin-bottom: 12px !important;
    border-radius: 8px !important;
  }
  #service .service-icon-box {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    margin-right: 10px !important;
  }
  #service .service-item-heading {
    font-size: 14.5px !important;
  }
  #service .service-anim-item p {
    font-size: 12px !important;
    line-height: 18px !important;
    text-align: left !important;
  }
}

/* Footer Desktop Column Spacing (Preserves UI on desktop) */
@media (min-width: 992px) {
  .site-footer .footer-top .footer-col-3 {
    padding: 0 30px 0 50px !important;
  }
  .site-footer .footer-top .footer-col-locations {
    padding: 0 30px 0 20px !important;
  }
  .site-footer .footer-top .footer-col-contact {
    padding: 0 0 0 20px !important;
  }
}

/* Footer & Call To Action Mobile Response (Reduced Size for Image 2) */
@media (max-width: 768px) {
  .call-to-action-wrap {
    top: 20px !important;
    margin-bottom: 0 !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
  }
  .call-to-action-left h4 {
    font-size: 15px !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 20px !important;
  }
  .call-to-action-left span {
    font-size: 11px !important;
    line-height: 15px !important;
    padding-bottom: 10px !important;
    display: block !important;
    opacity: 0.9 !important;
  }
  .call-to-action-right {
    padding-top: 0 !important;
  }
  .call-to-action-right .widget_newsletter {
    margin-bottom: 0 !important;
  }
  .call-to-action-right a.site-button-secondry {
    padding: 6px 16px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    width: auto !important;
  }
  .call-to-action-right a.site-button-secondry i {
    font-size: 11px !important;
    margin-left: 5px !important;
  }
  .footer-dark .footer-top {
    padding-top: 85px !important;
  }
  .footer-logo {
    width: 80px !important;
    height: auto !important;
    border-radius: 12px !important;
  }
  .logo-footer {
    width: auto !important;
    height: auto !important;
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
  }
  .site-footer .footer-top .col-lg-3,
  .site-footer .footer-top .footer-col-3,
  .site-footer .footer-top .footer-col-locations,
  .site-footer .footer-top .footer-col-contact {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 22px !important;
    text-align: left !important;
  }
  .site-footer .footer-top .footer-col-3 .widget_services,
  .site-footer .footer-top .footer-col-3 .widget_services ul,
  .site-footer .footer-top .footer-col-3 .widget-title {
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .site-footer .footer-top .footer-col-3 .widget_services ul li {
    padding-left: 0 !important;
  }
  .widget_about p.max-w400 {
    font-size: 12.5px !important;
    line-height: 20px !important;
    color: #dfe5e7 !important;
    text-align: left !important;
  }
  .copyrights-text {
    font-size: 11.5px !important;
  }
  .footer-legal-links a {
    font-size: 11.5px !important;
  }
}

/* ===================================================
   LEGAL MODALS: B2 LOGO BLACK & GOLD PALETTE
   =================================================== */
.legal-modal-container {
  border: 1px solid rgba(243, 194, 98, 0.45);
}
.legal-modal-header {
  background: var(--header-black, #0e0b07) !important;
  color: var(--header-gold-bright, #f3c262) !important;
  border-bottom: 2px solid var(--header-gold, #c28e2b) !important;
}
.legal-modal-title,
.legal-modal-title i {
  color: var(--header-gold-bright, #f3c262) !important;
}
.legal-modal-close-btn {
  background: rgba(243, 194, 98, 0.14) !important;
  border: 1px solid rgba(243, 194, 98, 0.45) !important;
  color: var(--header-gold-bright, #f3c262) !important;
}
.legal-modal-close-btn:hover {
  background: var(--header-gold-bright, #f3c262) !important;
  color: var(--header-black, #0e0b07) !important;
}
.legal-modal-body::-webkit-scrollbar-thumb {
  background: var(--header-gold, #c28e2b) !important;
}
.legal-section-title {
  color: #0e0b07 !important;
  border-left: 3px solid var(--header-gold, #c28e2b);
  padding-left: 10px;
}
.legal-section-list a,
.legal-section-text a {
  color: #9e6e1a !important;
  font-weight: 600;
  text-decoration: none;
}
.legal-section-list a:hover,
.legal-section-text a:hover {
  color: #c28e2b !important;
  text-decoration: underline;
}
.legal-modal-footer {
  background: #fbf7f0 !important;
  border-top: 1px solid rgba(194, 142, 43, 0.25) !important;
}
.legal-modal-action-btn {
  background: var(--header-black, #0e0b07) !important;
  color: var(--header-gold-bright, #f3c262) !important;
  border: 1px solid var(--header-gold, #c28e2b) !important;
  font-family: "Poppins", sans-serif !important;
}
.legal-modal-action-btn:hover {
  background: var(--header-gold, #c28e2b) !important;
  color: #0e0b07 !important;
  box-shadow: 0 4px 12px rgba(194, 142, 43, 0.28) !important;
}

/* Override unloaded legacy template font fallbacks across headings & UI controls */
body,
p,
button,
input,
select,
textarea,
.site-button,
.site-button-secondry,
.btn,
.legal-section-title,
.legal-section-text,
.legal-section-list li {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;
}
h1, h2, .about-intro-header h3, .b2-benefits-title, .b2-gallery-title {
  font-family: "Playfair Display", "Palatino Linotype", Georgia, serif !important;
}

