/* =====================================================================
   Adv. Swati Suman – custom styles on top of the Ensaf theme
   Brand: Teal #0F4C5C · Gold #E0A526 (from logo)
   ===================================================================== */
:root {
  --theme-color: #8A5F17;
  --theme-color2: #0F4C5C;
  --title-color: #0B2530;
  --body-color: #5f6b70;
  --smoke-color: #FBF6EC;
  --smoke-color2: #F4F6F6;
  --dark-color: #06232B;
  --brand-teal: #0F4C5C;
  --brand-gold: #E0A526;
  --brand-dark: #06232B;
}

html { scroll-behavior: smooth; }
body { color: var(--body-color); }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100000; background: #fff; padding: 10px 16px; border-radius: 6px; color: var(--title-color); }
.skip-link:focus { left: 10px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.section-smoke { background-color: var(--smoke-color2); }
.text-theme { color: var(--theme-color) !important; }
.mt-80 { margin-top: 80px; }
:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 2px; }

/* ---------- Brand logo ---------- */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-logo .brand-icon { width: 52px; height: 44px; flex: 0 0 auto; }
.brand-logo .bi-main { fill: var(--brand-teal); }
.brand-logo .brand-text { display: flex; flex-direction: column; }
.brand-logo .brand-name { font-family: var(--title-font); font-size: 25px; font-weight: 600; color: #0B0B0B; letter-spacing: .2px; white-space: nowrap; }
.brand-logo .brand-line { display: block; width: 44px; height: 2.5px; background: var(--brand-gold); margin: 7px 0 6px; border-radius: 2px; }
.brand-logo .brand-tag { font-family: var(--body-font); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: #52514E; white-space: nowrap; }
.brand-logo.brand-light .bi-main { fill: #fff; }
.brand-logo.brand-light .brand-name { color: #fff; }
.brand-logo.brand-light .brand-tag { color: rgba(255,255,255,.75); }
.brand-logo .brand-img { max-height: 56px; width: auto; }

/* ---------- Header ---------- */
.th-header .header-top { background: var(--brand-teal); }
.header-layout1 .header-logo { padding: 16px 30px 16px 0; position: relative; }
.header-layout1 .header-logo .logo-bg { display: none; }
.header-links li { color: rgba(255,255,255,.85); }
.header-links .social-links a { margin-left: 6px; }
.main-menu > ul > li.current-menu-item > a { color: var(--theme-color); }
.main-menu > ul > li > a { font-weight: 500; }
.menu-area { background: #fff; box-shadow: 0 6px 30px rgba(6,35,43,.06); }
.sticky-wrapper.sticky .header-logo { padding: 10px 30px 10px 0; }
.sticky-wrapper.sticky .brand-logo .brand-icon { width: 44px; height: 37px; }
.sticky-wrapper.sticky .brand-logo .brand-name { font-size: 22px; }
.th-menu-toggle { background: var(--brand-teal); color: #fff; width: 46px; height: 46px; border-radius: 10px; border: none; font-size: 20px; }
.th-mobile-menu ul li.current-menu-item > a { color: var(--theme-color); }
.mobile-logo { padding: 28px 20px 18px; }
.mobile-logo .brand-logo .brand-name { font-size: 21px; }
.mobile-menu-contact { padding: 20px 26px 30px; }
.th-menu-wrapper .th-menu-area { display: flex; flex-direction: column; }
.th-menu-wrapper .th-mobile-menu { flex: 1 1 auto; }
.sidemenu-wrapper .about-logo { margin-bottom: 20px; }
.side-contact .info-box { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.side-contact .info-box_icon { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: var(--brand-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.side-contact .info-box_text { margin: 0; }
.popup-search-box form button { color: #fff; }

/* ---------- Buttons ---------- */
.th-btn.style-wa { background: #1faa53; }
.th-btn.style-wa:hover { background: #178a43; }
.th-btn.style-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.th-btn.style-outline-light:hover { border-color: var(--theme-color); }
.th-btn.style-outline { background: transparent; border: 1.5px solid var(--brand-teal); color: var(--brand-teal); }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Hero ---------- */
.th-hero-wrapper.hero-1 { background: radial-gradient(circle at 78% 30%, #15637a 0%, #0F4C5C 38%, #06232B 100%); }
.th-hero-wrapper.hero-1 .th-hero-bg { opacity: .55; }
.hero-style1 { padding: 100px 0 110px; }
.hero-style1 .sub-title { color: var(--brand-gold); font-size: 17px; letter-spacing: .3px; margin-bottom: 18px; }
.hero-1 .hero-title { display: block; font-size: 58px; line-height: 1.12; color: #fff; margin-bottom: 20px; }
.hero-text { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.75; max-width: 600px; margin-bottom: 26px; }
.hero-member { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 60px; padding: 8px 22px 8px 8px; margin-bottom: 8px; }
.hero-member .thumb img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--brand-gold); }
.hero-member strong { display: block; color: #fff; font-family: var(--title-font); font-size: 18px; }
.hero-member span { color: rgba(255,255,255,.75); font-size: 13.5px; line-height: 1.4; display: block; }
.hero-1 .hero-img .img-main img { width: 100%; aspect-ratio: 992 / 1256; object-fit: cover; object-position: top; }
.hero-badge-card { position: absolute; left: -10px; bottom: 40px; z-index: 5; background: #fff; border-radius: 14px; padding: 14px 20px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 260px; }
.hero-badge-card i { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--brand-teal); color: var(--brand-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.hero-badge-card span { font-weight: 600; color: var(--title-color); font-size: 14px; line-height: 1.35; }
.hero-1-scroll-icon-bg-shape { z-index: 3; }

/* ---------- About ---------- */
.about-area { padding-bottom: 0; position: relative; }
.about-1 .img1 img, .about-1 .img2 img { width: 100%; height: 100%; object-fit: cover; }
.about-1 .img1 picture, .about-1 .img2 picture { display: block; height: 100%; }
.about-rich p { margin-bottom: 16px; }
.call-inline { display: inline-flex; align-items: center; gap: 12px; color: var(--title-color); }
.call-inline .ci-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.call-inline small { display: block; font-size: 13px; color: var(--body-color); }
.call-inline b { font-family: var(--title-font); font-size: 20px; }
.counter-container { position: relative; z-index: 3; margin-top: 90px; transform: translateY(50%); }
.about-area + .service-area { padding-top: 200px; }
.counter-card .box-number { margin: 0; font-family: var(--body-font); font-size: 40px; font-weight: 600; color: #fff; line-height: 1.1; }
.counter-card-wrap.static { transform: none; }

/* ---------- Service cards ---------- */
.service-card .box-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 34px; color: var(--theme-color); }
.service-card .box-icon i { line-height: 1; }
.service-card { height: 100%; }

/* ---------- Courts section ---------- */
.courts-area { position: relative; background-size: cover; background-position: center; }
.courts-area::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,35,43,.96) 0%, rgba(15,76,92,.92) 100%); }
.courts-area .container { position: relative; z-index: 2; }
.courts-photo { position: relative; border-radius: 0 80px 0 80px; overflow: hidden; border: 3px solid rgba(224,165,38,.6); }
.courts-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.courts-photo-tag { position: absolute; left: 20px; bottom: 20px; background: rgba(6,35,43,.85); color: #fff; padding: 10px 18px; border-radius: 40px; font-size: 14px; }
.courts-photo-tag i { color: var(--brand-gold); margin-right: 6px; }
.court-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 28px 26px; height: 100%; }
.court-box .box-title { color: #fff; font-size: 22px; margin-bottom: 18px; }
.court-box .box-title i { color: var(--brand-gold); margin-right: 8px; }
.court-box ul { list-style: none; margin: 0; padding: 0; }
.court-box li { color: rgba(255,255,255,.85); padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed rgba(255,255,255,.12); }
.court-box li:last-child { border-bottom: 0; }
.court-box li i { position: absolute; left: 0; top: 12px; color: var(--brand-gold); font-size: 13px; }
.court-box.light { background: var(--smoke-color2); border-color: #e6eaea; }
.court-box.light .box-title { color: var(--title-color); font-size: 20px; }
.court-box.light li { color: var(--body-color); border-bottom-color: #dfe5e5; }

/* ---------- Process ---------- */
.process-thumb .img-box1 { border-radius: 0 80px 0 80px; overflow: hidden; }
.process-thumb img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: top; }

/* ---------- Gallery ---------- */
.gallery-card { margin: 0; }
.gallery-card .gallery-img { border-radius: 18px; overflow: hidden; position: relative; }
.gallery-card .gallery-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; transition: transform .6s; }
.gallery-card:hover .gallery-img img { transform: scale(1.05); }
.gallery-card figcaption.box-title { color: #fff; font-size: 18px; margin: 12px 0 0; }

/* ---------- Testimonials ---------- */
.testi-initial { width: 70px; height: 70px; border-radius: 50%; background: var(--brand-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-family: var(--title-font); }

/* ---------- FAQ / accordion ---------- */
.faq-accordion .accordion-card { margin-bottom: 14px; }
.faq-accordion .accordion-collapse.collapse:not(.show) { display: none; }
.faq-text { line-height: 1.75; }

/* ---------- Contact form ---------- */
.contact-from-1-wrap.home-form, .contact-page .contact-from-1-wrap { background: var(--brand-teal); border-radius: 24px; padding: 40px; }
.contact-form .sub-title { color: var(--brand-gold); }
.contact-from-1-wrap .contact-form .sec-title { color: #fff; }
.contact-form .form-group { position: relative; margin-bottom: 18px; }
.contact-form .form-control, .contact-form .form-select { height: 56px; border-radius: 30px; border: 1px solid #e2e6e6; padding: 0 45px 0 24px; font-size: 15px; background-color: #fff; width: 100%; }
.contact-form textarea.form-control { height: 130px; border-radius: 20px; padding-top: 16px; resize: vertical; }
.contact-form .form-group > i { position: absolute; right: 24px; top: 20px; color: var(--theme-color); font-size: 15px; }
.contact-form .form-note { font-size: 13px; margin: 12px 0 0; color: rgba(255,255,255,.7); text-align: center; }
.sidebar-form .contact-form .form-note { color: var(--body-color); }
.form-messages .alert { margin: 0; border-radius: 14px; }
.form-messages.success { color: #fff; }
.sidebar-form { background: var(--smoke-color2); border-radius: 20px; padding: 30px 26px; }
.sidebar-form .title-area .sec-title { font-size: 26px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; border-radius: 24px; }
.contact-icon-wrap .footer-info-title { font-size: 20px; }

/* ---------- Blog ---------- */
.blog-card { height: 100%; display: flex; flex-direction: column; }
.blog-card .blog-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card .blog-content { flex: 1 1 auto; display: flex; flex-direction: column; }
.blog-card .blog-content .link-btn { margin-top: auto; align-self: flex-start; }
.blog-card .blog-meta span, .blog-meta span { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-size: 14px; }
.blog-card .blog-text { margin-bottom: 18px; }
.blog-intro { font-size: 17px; margin-bottom: 30px; }
.blog-single .blog-img img { width: 100%; height: auto; }
.entry-content { color: #4a5559; font-size: 16.5px; line-height: 1.85; }
.entry-content h2 { font-size: 30px; margin: 38px 0 16px; scroll-margin-top: 110px; }
.entry-content h3 { font-size: 23px; margin: 28px 0 12px; scroll-margin-top: 110px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--brand-teal); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 16px; margin: 10px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid #dfe5e5; padding: 10px 14px; }
.entry-content th { background: var(--smoke-color2); color: var(--title-color); }
.entry-content blockquote, .about-quote { background: var(--smoke-color2); border-left: 4px solid var(--theme-color); padding: 26px 30px; border-radius: 0 16px 16px 0; margin: 26px 0; font-family: var(--title-font); font-size: 20px; color: var(--title-color); font-style: italic; }
.about-quote cite { display: block; font-family: var(--body-font); font-size: 14px; font-style: normal; color: var(--theme-color); margin-top: 10px; }
.about-quote p { margin: 0; }
.post-toc { background: var(--smoke-color2); border: 1px solid #e3e8e8; border-radius: 16px; padding: 18px 22px; margin: 10px 0 30px; }
.toc-toggle { display: flex; align-items: center; width: 100%; background: none; border: 0; font-weight: 600; color: var(--title-color); font-size: 17px; padding: 0; }
.post-toc .toc-list { margin: 14px 0 0; padding-left: 20px; }
.post-toc .toc-list li { margin: 6px 0; }
.post-toc .toc-list li.toc-h3 { margin-left: 18px; list-style: circle; font-size: 15px; }
.post-toc .toc-list a { color: var(--body-color); }
.post-toc .toc-list a:hover { color: var(--theme-color); }
.post-toc.collapsed .toc-list { display: none; }
.updated-note { font-size: 14px; color: var(--body-color); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; }
.post-nav .nav-btn { display: flex; align-items: center; gap: 14px; max-width: 48%; color: var(--title-color); }
.post-nav .nav-text small { display: block; color: var(--theme-color); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.post-nav .nav-btn.next { text-align: right; margin-left: auto; }
.widget-author .avater img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; }
.widget_categories li.active > a { color: var(--theme-color); }
.th-pagination ul { display: inline-flex; gap: 10px; list-style: none; padding: 0; flex-wrap: wrap; justify-content: center; }
.th-pagination a { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 50%; background: var(--smoke-color2); color: var(--title-color); font-weight: 600; }
.th-pagination a.active, .th-pagination a:hover { background: var(--theme-color); color: #fff; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--smoke-color2); border-radius: 20px; }
.empty-state i { font-size: 50px; color: var(--theme-color); margin-bottom: 16px; }
.recent-post .media-img img { width: 80px; height: 80px; object-fit: cover; }

/* ---------- Services detail ---------- */
.service-lead { display: flex; gap: 20px; align-items: center; background: var(--smoke-color2); border-radius: 20px; padding: 24px 28px; margin-bottom: 30px; }
.service-lead-icon { width: 70px; height: 70px; min-width: 70px; border-radius: 50%; background: var(--brand-teal); color: var(--brand-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; }
.service-lead p { margin: 0; font-size: 17px; color: var(--title-color); }
.list-two-column ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
.service-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--brand-teal); color: rgba(255,255,255,.85); border-radius: 20px; padding: 28px 32px; margin-top: 40px; }
.service-cta h3 { color: #fff; }
.sidebar-area .widget_call .widget-call { border-radius: 20px; }

/* ---------- About / profile ---------- */
.profile-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(6,35,43,.1); }
.profile-card .profile-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; }
.profile-card .profile-body { padding: 28px 30px 32px; }
.profile-card .box-title { font-size: 30px; margin-bottom: 4px; }
.profile-card .team-desig { color: var(--theme-color); margin-bottom: 18px; }
.profile-info { list-style: none; padding: 0; margin: 0 0 18px; }
.profile-info li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f1; }
.profile-info li i { color: var(--brand-teal); width: 18px; margin-top: 5px; }
.profile-info a { color: var(--body-color); }
@media (min-width: 992px) { .sticky-lg { position: sticky; top: 110px; } }

/* ---------- Breadcrumb ---------- */
.breadcumb-wrapper { position: relative; background-size: cover; background-position: center; }
.breadcumb-wrapper::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,35,43,.93) 0%, rgba(15,76,92,.82) 100%); }
.breadcumb-wrapper .container { position: relative; z-index: 2; }
.breadcumb-title { color: #fff; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- CTA band + Footer ---------- */
.cta-band { background-color: var(--brand-teal); background-size: cover; background-position: center; padding: 70px 0; position: relative; }
.cta-band .sub-title { display: block; margin-bottom: 10px; color: var(--brand-gold) !important; }
.cta-title { color: #fff; font-size: 40px; margin-bottom: 10px; }
.cta-text { color: rgba(255,255,255,.8); margin: 0; font-size: 17px; }
.site-footer { background: var(--brand-dark); padding-top: 90px; color: rgba(255,255,255,.72); }
.site-footer .widget_title { color: #fff; font-size: 22px; margin-bottom: 24px; }
.site-footer .about-text { color: rgba(255,255,255,.72); margin: 20px 0; }
.site-footer .menu { list-style: none; padding: 0; margin: 0; }
.site-footer .menu li { margin-bottom: 12px; }
.site-footer .menu a { color: rgba(255,255,255,.72); }
.site-footer .menu a:hover, .site-footer a:hover { color: var(--brand-gold); }
.site-footer .info-box { display: flex; gap: 14px; margin-bottom: 20px; }
.site-footer .info-box_icon { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--brand-gold); display: inline-flex; align-items: center; justify-content: center; }
.site-footer .footer-info-title { color: #fff; font-size: 17px; margin-bottom: 4px; }
.site-footer .info-box_text, .site-footer .info-box_link { color: rgba(255,255,255,.72); margin: 0; }
.footer-badges { list-style: none; padding: 0; margin: 0 0 20px; }
.footer-badges li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: 14px; }
.footer-badges i { color: var(--brand-gold); margin-top: 4px; }
.site-footer .th-social a { background: rgba(255,255,255,.08); color: #fff; }
.copyright-wrap { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 60px; background: rgba(0,0,0,.18); }
.copyright-text { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.footer-legal { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.7); font-size: 14px; }

/* ---------- Floating actions ---------- */
.float-wa { position: fixed; left: 22px; bottom: 24px; z-index: 99; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 30px rgba(37,211,102,.45); animation: waPulse 2.4s infinite; }
.float-wa:hover { color: #fff; transform: scale(1.06); }
@keyframes waPulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
.mobile-action-bar { display: none; }
.scroll-top { z-index: 98; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100001; background: rgba(3,18,22,.94); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
.lb img { max-width: 94vw; max-height: 80vh; border-radius: 12px; }
.lb p { color: #fff; margin-top: 14px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; }
.lb .lb-close { top: 20px; right: 20px; }
.lb .lb-prev { left: 16px; top: 50%; }
.lb .lb-next { right: 16px; top: 50%; }

/* ---------- BCI disclaimer popup ---------- */
.bci-modal { position: fixed; inset: 0; z-index: 100002; background: rgba(3,18,22,.78); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.bci-modal[hidden] { display: none; }
.bci-dialog { background: #fff; border-radius: 20px; max-width: 640px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: bciIn .35s ease; }
@keyframes bciIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.bci-head { background: var(--brand-teal); padding: 22px 28px; display: flex; align-items: center; gap: 14px; border-radius: 20px 20px 0 0; }
.bci-head h2 { color: #fff; margin: 0; font-size: 26px; }
.bci-icon { width: 42px; height: 35px; }
.bci-body { padding: 24px 28px 10px; font-size: 15px; line-height: 1.7; color: #3f4a4e; }
.bci-body ul { padding-left: 20px; }
.bci-body li { margin-bottom: 8px; }
.bci-actions { display: flex; gap: 12px; padding: 10px 28px 26px; flex-wrap: wrap; }
body.modal-open-lock { overflow: hidden; }

/* ---------- Error ---------- */
.error-code { font-family: var(--title-font); font-size: 140px; line-height: 1; color: var(--theme-color); font-weight: 700; }

/* =====================================================================
   Responsive / Mobile
   ===================================================================== */
@media (max-width: 1399px) {
  .hero-1 .hero-title { font-size: 52px; }
}
@media (max-width: 1199px) {
  .hero-1 .hero-title { font-size: 46px; }
  .brand-logo .brand-name { font-size: 22px; }
  .header-layout1 .header-logo { padding-right: 0; }
}
@media (max-width: 991px) {
  .hero-style1 { padding: 70px 0 80px; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-member { text-align: left; }
  .hero-1 .hero-img .img-main { max-width: 420px; }
  .hero-badge-card { left: 0; bottom: 20px; }
  .counter-container { margin-top: 70px; transform: none; padding-bottom: 70px; }
  .about-area + .service-area { padding-top: 80px; }
  .cta-title { font-size: 32px; }
  .contact-map iframe { min-height: 340px; }
}
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .header-top { display: none; }
  .header-layout1 .header-logo { padding: 10px 0; }
  .brand-logo { gap: 9px; }
  .brand-logo .brand-icon { width: 40px; height: 34px; }
  .brand-logo .brand-name { font-size: 19px; }
  .brand-logo .brand-line { width: 34px; margin: 5px 0 4px; height: 2px; }
  .brand-logo .brand-tag { font-size: 8.5px; letter-spacing: 2px; }
  .hero-style1 { padding: 50px 0 60px; }
  .hero-1 .hero-title { font-size: 34px; }
  .hero-style1 .sub-title { font-size: 14px; }
  .hero-text { font-size: 15.5px; }
  .hero-member { padding: 6px 16px 6px 6px; }
  .hero-member .thumb img { width: 46px; height: 46px; }
  .hero-member strong { font-size: 16px; }
  .hero-member span { font-size: 12px; }
  .hero-btns .th-btn { width: 100%; justify-content: center; }
  .hero-1 .hero-img .img-main { max-width: 330px; margin-right: 18px; }
  .hero-badge-card { padding: 10px 14px; bottom: 12px; }
  .hero-badge-card span { font-size: 12.5px; }
  .sec-title { font-size: 30px; }
  .contact-from-1-wrap.home-form, .contact-page .contact-from-1-wrap { padding: 28px 18px; border-radius: 18px; }
  .courts-photo, .process-thumb .img-box1 { border-radius: 0 50px 0 50px; }
  .court-box { padding: 22px 18px; }
  .counter-card .box-number { font-size: 32px; }
  .gallery-card figcaption.box-title { font-size: 14px; }
  .gallery-card .gallery-img { border-radius: 12px; }
  .list-two-column ul { grid-template-columns: 1fr; }
  .service-lead { flex-direction: column; text-align: center; }
  .entry-content h2 { font-size: 25px; }
  .entry-content h3 { font-size: 20px; }
  .post-nav { flex-direction: column; }
  .post-nav .nav-btn { max-width: 100%; }
  .cta-band { padding: 50px 0; text-align: center; }
  .cta-btns { justify-content: center; }
  .cta-btns .th-btn { width: 100%; justify-content: center; }
  .cta-title { font-size: 27px; }
  .site-footer { padding-top: 60px; }
  .copyright-wrap { text-align: center; }
  .footer-legal { justify-content: center; }
  .float-wa { display: none; }
  .scroll-top { bottom: 80px !important; }
  .mobile-action-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-action-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 0; font-size: 12px; font-weight: 600; color: var(--brand-teal); }
  .mobile-action-bar a i { font-size: 19px; }
  .mobile-action-bar a.mab-wa { background: #25D366; color: #fff; }
  .mobile-action-bar a:first-child { background: var(--brand-teal); color: #fff; }
  .bci-head { padding: 18px 20px; }
  .bci-body { padding: 18px 20px 6px; font-size: 14px; }
  .bci-actions { padding: 8px 20px 20px; }
  .bci-actions .th-btn { flex: 1; justify-content: center; }
  .error-code { font-size: 100px; }
}
@media (max-width: 380px) {
  .brand-logo .brand-name { font-size: 17px; }
  .brand-logo .brand-tag { font-size: 7.5px; letter-spacing: 1.6px; }
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,76,92,.95), rgba(6,35,43,.9)); }
.cta-band .container { position: relative; z-index: 2; }
.blog-area .title-area, .testi-area .title-area { margin-bottom: 10px; }
@media (max-width: 767px) {
  .about-1 { display: grid !important; grid-template-columns: 1.1fr 1fr; gap: 12px; padding: 0 !important; }
  .about-1 .img1, .about-1 .img2 { width: auto !important; height: auto !important; margin: 0 !important; }
  .about-1 .img1 { height: 330px !important; border-radius: 0 60px 0 60px; overflow: hidden; }
  .about-1 .img2 { display: grid; gap: 12px; }
  .about-1 .img2-top, .about-1 .img2-bottom { height: 159px !important; overflow: hidden; border-radius: 0 40px 0 40px; margin: 0 !important; }
  .about-1 .img1 img, .about-1 .img2 img { border-radius: 0 !important; }
  .about-1::before, .about-1::after { display: none !important; }
  .counter-card-wrap { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 10px; padding: 30px 18px !important; }
  .counter-card-wrap .divider { display: none; }
  .counter-card { flex-direction: column; text-align: center; gap: 8px !important; padding: 0 !important; }
  .counter-card .box-icon img { width: 44px; height: 44px; }
  .counter-card .box-text { font-size: 13px; line-height: 1.35; }
  .blog-area .sec-btn, .testi-area .sec-btn { display: none; }
  .counter-container { padding-bottom: 50px; margin-top: 50px; }
}
/* Top BCI notification bar */
.site-notice { background: #06232B; color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.5; padding: 7px 0; text-align: center; position: relative; z-index: 5; }
.site-notice .container { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.site-notice i { color: var(--brand-gold); }
.site-notice a { color: var(--brand-gold); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
@media (max-width: 767px) { .site-notice { font-size: 11.5px; padding: 6px 0; } .site-notice .container { gap: 4px 6px; } }
.post-toc .toc-list { list-style: none; padding-left: 0; counter-reset: toc; }
.post-toc .toc-list li.toc-h2 { counter-increment: toc; }
.post-toc .toc-list li.toc-h2::before { content: counter(toc) ". "; color: var(--theme-color); font-weight: 600; }
.post-toc .toc-list li.toc-h3 { list-style: none; padding-left: 22px; position: relative; }
.post-toc .toc-list li.toc-h3::before { content: "–"; position: absolute; left: 8px; color: var(--theme-color); }
.widget_call .box_text { color: rgba(255,255,255,.75) !important; }
.header-top .header-links ul { flex-wrap: nowrap; }
html, body { overflow-x: hidden; }
main#main-content { overflow-x: clip; }
.mobile-menu-contact .th-btn { white-space: nowrap; font-size: 14px; padding-left: 14px; padding-right: 14px; }
@media (max-width: 767px) {
  .site-notice { font-size: 10.5px; line-height: 1.4; padding: 5px 0; }
  .site-notice i, .site-notice a { display: none; }
  .breadcumb-menu li[aria-current] { display: none; }
  .breadcumb-menu li:nth-last-child(2)::after { display: none; }
  .breadcumb-title { font-size: 30px; }
  .bci-dialog { max-height: 88vh; }
}
/* Editor content styles on the website */
.entry-content .note-box { background: #FFF8E8; border: 1px solid #F1DFB5; border-left: 4px solid var(--theme-color); border-radius: 12px; padding: 16px 20px; margin: 22px 0; }
.entry-content .note-box p:last-child { margin-bottom: 0; }
.entry-content mark { background: #FFE8A3; padding: 0 3px; }
.entry-content figure.image { margin: 24px 0; }
.entry-content figure.image figcaption { font-size: 14px; color: var(--body-color); text-align: center; margin-top: 6px; }
.entry-content .lead { font-size: 19px; color: var(--title-color); }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 14px; }
@media (max-width: 767px) {
  .counter-card-wrap { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; }
  .counter-card, .counter-card .media-body { min-width: 0; width: 100%; }
  .counter-card .box-text { white-space: normal !important; }
}

.service-card .box-text, .blog-card .blog-text { color: #56646a; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.contact-form .sub-title, .courts-area .sub-title, .cta-band .sub-title { color: #F2BF4C !important; }
@media (max-width: 767px) { .mobile-action-bar a.mab-wa { background: #0E7A3E; } }
.th-btn.style-wa { background: #12813F; }
