/* NamWater Corporate Website 3: theme
   Layout and design language adapted from the Xbuild template (Gramentheme),
   rebranded to NamWater: logo navy #293680, logo teal #17b095, DM Sans. */

:root {
  --navy: #293680;
  --navy-700: #1f2a68;
  --navy-900: #141b45;
  --ink: #111633;
  --teal: #17b095;
  --teal-700: #11907a;
  --teal-50: #e7f7f3;
  --grey: #f2f5f9;
  --grey-2: #e9eef5;
  --line: #dbe2ed;
  --body: #5d6476;
  --white: #fff;
  --amber: #f2a93b;
  --ff: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fa: 'Font Awesome 6 Pro';
  --shadow: 0 1px 14px rgba(17, 22, 51, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; font-family: var(--ff); font-size: 16px; font-weight: 500; line-height: 1.75; color: var(--body); background: var(--white); overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ff); color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; transition: color .3s, background-color .3s, border-color .3s; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 10000; }
.skip-link:focus { left: 8px; color: #fff; }

.container { max-width: 1344px; --bs-gutter-x: 3rem; }
@media (max-width: 575px) { .container { --bs-gutter-x: 2rem; } }
.section-padding { padding: 120px 0; }
.pt-0 { padding-top: 0 !important; }
.pt-120 { padding-top: 120px; } .pb-120 { padding-bottom: 120px; }
@media (max-width: 991px) { .pt-120 { padding-top: 80px; } .pb-120 { padding-bottom: 80px; } }
.mb-60 { margin-bottom: 60px; } .mb-50 { margin-bottom: 50px; } .mb-40 { margin-bottom: 40px; }
@media (max-width: 991px) { .section-padding { padding: 80px 0; } }
@media (max-width: 575px) { .section-padding { padding: 64px 0; } }
.bg-grey { background: var(--grey); }
.p-rel { position: relative; }
.text-ink { color: var(--ink); }
.text-teal { color: var(--teal) !important; }
.text-white-70 { color: rgba(255,255,255,.72); }
.fs-15 { font-size: 15px; }

/* Rounded dark/grey "boxed" sections, as in Xbuild */
.boxed { margin: 0 30px; border-radius: 24px; overflow: hidden; position: relative; }
@media (max-width: 767px) { .boxed { margin: 0 12px; border-radius: 16px; } }
.boxed.dark { background: var(--navy-900); }
.boxed.grey { background: var(--grey); }
.boxed.dark::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .07; pointer-events: none; }

/* Buttons: Xbuild split-fill hover */
.theme-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; font-size: 15px; font-weight: 700; padding: 20px 38px; border: 0; border-radius: 0; text-transform: uppercase; letter-spacing: .02em; line-height: 1; position: relative; z-index: 1; overflow: hidden; transition: color .3s; }
.theme-btn::before, .theme-btn::after { content: ''; position: absolute; width: 0; height: 50%; background: var(--navy-900); z-index: -1; transition: width .3s cubic-bezier(.785,.135,.15,.86); }
.theme-btn::before { top: 0; left: 0; }
.theme-btn::after { bottom: 0; right: 0; }
.theme-btn:hover { color: #fff; }
.theme-btn:hover::before, .theme-btn:hover::after { width: 100%; }
.theme-btn.white { background: #fff; color: var(--ink); }
.theme-btn.white:hover { color: #fff; }
.theme-btn.navy { background: var(--navy); }
.theme-btn.navy::before, .theme-btn.navy::after { background: var(--teal); }
.theme-btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.theme-btn.outline:hover { color: #fff; }
.theme-btn.outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.theme-btn.on-teal::before, .theme-btn.on-teal::after { background: var(--teal); }
.theme-btn.sm { padding: 14px 22px; font-size: 13px; }
@media (max-width: 575px) { .theme-btn { padding: 17px 26px; font-size: 14px; } }
.link-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.link-btn i { color: var(--teal); transition: transform .3s; }
.link-btn i.fa-arrow-right { transform: rotate(-40deg); }
.link-btn:hover { color: var(--teal); }
.link-btn:hover i.fa-arrow-right { transform: none; }

/* Section titles: Xbuild "<- SUBTITLE ->" */
.sub-title { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; line-height: 1.3; }
.sub-title::before, .sub-title::after { font-family: var(--fa); font-weight: 400; font-size: 14px; }
.sub-title::before { content: '\f060'; }
.sub-title::after { content: '\f061'; }
.sub-title.light { color: #7fe3cf; }
.sec-title { font-size: 46px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.sec-title.light { color: #fff; }
@media (max-width: 1199px) { .sec-title { font-size: 40px; } }
@media (max-width: 767px) { .sec-title { font-size: 32px; } }
@media (max-width: 575px) { .sec-title { font-size: 28px; } }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* Tags */
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; line-height: 1.3; background: var(--teal-50); color: var(--teal-700); vertical-align: middle; white-space: nowrap; }
.tag.navy { background: #e8ebf7; color: var(--navy); }
.tag.closed { background: #eef0f3; color: #6b7280; }
.tag.soon { background: #fff1e3; color: #b45309; }
.tag.dark { background: rgba(255,255,255,.12); color: #fff; }

/* Image panels */
.ph { position: relative; width: 100%; min-height: 240px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; color: #fff; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-900) 60%, #0d4e58 100%); overflow: hidden; padding: 20px; }
.ph::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .14; mix-blend-mode: screen; }
.ph > * { position: relative; }
.ph i { font-size: 46px; color: var(--teal); margin-bottom: 4px; }
.ph b { font-size: 17px; }
.ph span { font-size: 13px; opacity: .7; }
.ph.tall { min-height: 460px; }
.ph.wide { min-height: 340px; }

/* Photos */
.photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */
.alert-bar { background: var(--amber); color: #2b1d00; font-size: 14px; position: relative; z-index: 60; }
.alert-bar.hidden { display: none; }
.alert-bar .inner { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.alert-bar .lbl { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.alert-bar .msg { flex: 1; line-height: 1.45; }
.alert-bar a { color: #2b1d00; text-decoration: underline; font-weight: 700; }
.alert-bar .x { background: rgba(0,0,0,.08); border: 0; width: 28px; height: 28px; color: #2b1d00; flex: none; }
@media (max-width: 767px) { .alert-bar .lbl span { display: none; } .alert-bar { font-size: 13px; } }

.header-top { background: var(--teal); color: #fff; font-size: 14px; }
.header-top .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.header-top ul { display: flex; gap: 28px; flex-wrap: wrap; }
.header-top li { display: flex; align-items: center; gap: 8px; }
.header-top a { color: #fff; }
.header-top a:hover { color: var(--navy-900); }
.header-top .right { display: flex; align-items: center; gap: 22px; }
.header-top .social { display: flex; gap: 16px; }
.header-top .bulletin { font-weight: 700; display: flex; align-items: center; gap: 8px; }
@media (max-width: 991px) { .header-top .hide-md { display: none !important; } }
@media (max-width: 575px) { .header-top { display: none; } }

.header-main { position: relative; z-index: 50; }
.header-main .box { background: #fff; display: flex; align-items: stretch; justify-content: space-between; box-shadow: var(--shadow); }
.header-logo { display: flex; align-items: center; padding: 12px 28px; flex: none; }
.header-logo img { height: 52px; width: auto; }
.header-logo .white { display: none; }
.mainnav > ul { display: flex; height: 100%; }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 15px; font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.mainnav > ul > li > a i { font-size: 12px; transition: transform .3s; }
.mainnav > ul > li:hover > a, .mainnav > ul > li.active > a { color: var(--teal); }
.mainnav > ul > li:hover > a i { transform: rotate(45deg); }
.mainnav .submenu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; box-shadow: 0 20px 40px rgba(17,22,51,.14); padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; border-top: 3px solid var(--teal); }
.mainnav li:hover > .submenu, .mainnav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.mainnav .submenu a { display: block; padding: 7px 26px; font-size: 15px; color: var(--ink); position: relative; transition: .3s; }
.mainnav .submenu a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--teal); transition: .3s; }
.mainnav .submenu a:hover { color: var(--teal); padding-left: 34px; }
.mainnav .submenu a:hover::before { width: 20px; }
.header-right { display: flex; align-items: stretch; }
.header-right .aqua-link { display: flex; align-items: center; gap: 8px; padding: 0 22px; font-weight: 700; color: var(--ink); font-size: 15px; white-space: nowrap; }
.header-right .aqua-link i { color: var(--teal); font-size: 18px; }
.header-right .icons { display: flex; align-items: center; background: var(--teal); padding: 0 12px; }
.header-right .icons button { background: transparent; border: 0; color: #fff; width: 46px; height: 46px; font-size: 18px; }
.header-right .icons button:hover { color: var(--navy-900); }
.menu-toggle { display: inline-block; }
@media (min-width: 1200px) { .menu-toggle { display: none !important; } }
@media (max-width: 1699px) { .header-right .aqua-link { display: none; } .mainnav > ul > li > a { padding: 0 12px; } .header-logo { padding: 10px 22px; } }
@media (max-width: 1399px) { .mainnav > ul > li > a { padding: 0 9px; font-size: 15px; } .mainnav > ul > li > a i { display: none; } .header-logo img { height: 44px; } .header-logo { padding: 10px 16px; } }
@media (max-width: 1199px) { .mainnav { display: none; } .header-logo img { height: 44px; } }
@media (max-width: 575px) { .header-logo { padding: 10px 14px; } .header-logo img { height: 38px; } }
/* inner pages: white box sits over the dark breadcrumb */
.site-header.inner .header-main { margin-bottom: -38px; }
.site-header.inner .header-main .container { max-width: 1360px; }
/* home: dark band */
.site-header.dark { background: var(--navy-900); }
.site-header.dark .header-top { background: transparent; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header.dark .header-top a:hover { color: var(--teal); }
.site-header.dark .header-main .box { background: transparent; box-shadow: none; }
.site-header.dark .header-logo { padding-left: 0; }
.site-header.dark .header-logo .dark { display: none; }
.site-header.dark .header-logo .white { display: block; }
.site-header.dark .mainnav > ul > li > a, .site-header.dark .header-right .aqua-link { color: #fff; }
.site-header.dark .mainnav > ul > li:hover > a, .site-header.dark .mainnav > ul > li.active > a { color: var(--teal); }
.site-header.dark .header-right .icons { background: transparent; padding: 0; }
.site-header.dark .header-right .icons button:hover { color: var(--teal); }
/* sticky */
.header-main.sticky { position: fixed; top: 0; left: 0; right: 0; margin: 0 !important; animation: slideDown .5s; background: #fff; box-shadow: 0 10px 30px rgba(17,22,51,.12); }
.header-main.sticky .box { box-shadow: none; }
.site-header.dark .header-main.sticky { background: var(--navy-900); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* Search panel */
.search-panel { position: fixed; inset: 0 0 auto 0; background: var(--navy-900); padding: 70px 0 50px; z-index: 1100; transform: translateY(-100%); transition: transform .4s; }
.search-panel.open { transform: none; }
.search-panel form { display: flex; border-bottom: 2px solid rgba(255,255,255,.3); }
.search-panel input { flex: 1; background: transparent; border: 0; color: #fff; font-size: 28px; padding: 12px 0; font-family: inherit; outline: none; }
.search-panel input::placeholder { color: rgba(255,255,255,.5); }
.search-panel form button { background: transparent; border: 0; color: var(--teal); font-size: 24px; }
.search-panel .close { position: absolute; right: 24px; top: 20px; background: var(--teal); border: 0; color: #fff; width: 44px; height: 44px; font-size: 20px; }
.search-panel .hint { color: rgba(255,255,255,.6); margin: 16px 0 0; font-size: 14px; }
.search-panel .hint a { color: #fff; margin-left: 14px; }

/* Offcanvas */
.offcanvas-overlay { position: fixed; inset: 0; background: rgba(9,12,32,.6); z-index: 1000; opacity: 0; visibility: hidden; transition: .3s; }
.offcanvas-overlay.open { opacity: 1; visibility: visible; }
.offcanvas-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 88vw; background: #fff; z-index: 1001; padding: 30px; overflow-y: auto; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .4s, visibility .4s; }
.offcanvas-nav.open { clip-path: inset(0); visibility: visible; }
.offcanvas-nav .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.offcanvas-nav .top img { height: 44px; width: auto; }
.offcanvas-nav .close { background: var(--teal); border: 0; color: #fff; width: 42px; height: 42px; font-size: 18px; }
.offcanvas-nav .mnav > li { border-bottom: 1px solid var(--line); }
.offcanvas-nav .mnav > li > a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--ink); font-weight: 600; }
.offcanvas-nav .mnav .submenu { display: none; padding: 0 0 10px 14px; }
.offcanvas-nav .mnav li.sub-open .submenu { display: block; }
.offcanvas-nav .mnav .submenu a { display: block; padding: 5px 0; color: var(--body); font-size: 15px; }
.offcanvas-nav .about { margin: 24px 0 8px; font-size: 15px; }
.offcanvas-nav .contact li { display: flex; gap: 12px; padding: 6px 0; font-size: 15px; }
.offcanvas-nav .contact i { color: var(--teal); margin-top: 6px; }

/* ---------- Home hero (Xbuild hero-3) ---------- */
.hero-band { background: var(--navy-900); height: 150px; margin-bottom: -150px; }
.hero { position: relative; margin: 0 30px; }
@media (max-width: 767px) { .hero { margin: 0 12px; } }
.hero-card { position: relative; border-radius: 24px 24px 0 0; overflow: hidden; min-height: 690px; clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); background: var(--navy-900); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.active .bg { transform: scale(1); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,69,.96) 0%, rgba(41,54,128,.86) 42%, rgba(23,176,149,.35) 100%); }
.hero-slide .content { position: relative; z-index: 2; max-width: 720px; padding: 120px 0 200px 60px; }
.hero-slide h1 { color: #fff; font-size: 82px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 24px; }
.hero-slide h1 span { color: var(--teal); }
.hero-slide p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 560px; margin-bottom: 36px; }
.hero-slide .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-play { position: absolute; z-index: 3; left: 60px; top: 50px; display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 600; }
.hero-play .circle { width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 20px; position: relative; border: 0; }
.hero-play .circle::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; background: rgba(255,255,255,.25); animation: ripple 2s infinite; }
@keyframes ripple { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-dots { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 16px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; padding: 0; position: relative; }
.hero-dots button.active { background: var(--teal); }
.hero-dots button.active::after { content: ''; position: absolute; inset: -7px; border: 1px solid var(--teal); border-radius: 50%; }
.hero-stamp { position: absolute; z-index: 3; right: 90px; bottom: 150px; width: 170px; height: 170px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2; box-shadow: 0 0 0 12px rgba(23,176,149,.25); }
.hero-stamp b { font-size: 40px; }
.hero-stamp small { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 1199px) { .hero-slide h1 { font-size: 64px; } .hero-stamp { display: none; } }
@media (max-width: 767px) { .hero-card { min-height: 640px; clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%); } .hero-slide .content { padding: 140px 24px 120px; } .hero-slide h1 { font-size: 44px; } .hero-slide p { font-size: 16px; } .hero-play { left: 24px; top: 30px; } .hero-play .circle { width: 58px; height: 58px; } .hero-play em { display: none; } .hero-dots { right: 16px; } }

/* Quick links ("I want to...") */
.quick-wrap { position: relative; z-index: 5; margin-top: -40px; }
.quick-card { display: flex; align-items: center; gap: 18px; background: #fff; padding: 24px 22px; box-shadow: 0 12px 40px rgba(17,22,51,.1); border-bottom: 3px solid transparent; height: 100%; color: var(--ink); transition: .3s; }
.quick-card .ic { width: 58px; height: 58px; flex: none; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); transition: .3s; }
.quick-card h4 { font-size: 18px; margin: 0 0 2px; }
.quick-card p { margin: 0; font-size: 14px; color: var(--body); line-height: 1.45; }
.quick-card:hover { border-color: var(--teal); transform: translateY(-4px); color: var(--ink); }
.quick-card:hover .ic { background: var(--teal); color: #fff; }

/* ---------- Service cards (Xbuild service-section-33) ---------- */
.service-card { background: var(--grey); height: 100%; text-align: center; position: relative; transition: .3s; display: flex; flex-direction: column; }
.service-card .thumb { position: relative; height: 210px; clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); overflow: hidden; }
.service-card .thumb img, .service-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .6s; }
.service-card .thumb .ph i { font-size: 38px; margin-top: -30px; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .icon { width: 66px; height: 66px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: -40px auto 0; position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--grey); transition: .3s; }
.service-card .body { padding: 20px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card h3 a { color: var(--ink); }
.service-card p { font-size: 15px; flex: 1; }
.service-card .arrow { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--teal); display: inline-flex; align-items: center; justify-content: center; margin: 6px auto 0; transition: .3s; }
.service-card .arrow i { transform: rotate(-45deg); transition: .3s; }
.service-card:hover { background: var(--navy-900); }
.service-card:hover h3 a { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.7); }
.service-card:hover .icon { box-shadow: 0 0 0 6px var(--navy-900); }
.service-card:hover .arrow { background: var(--teal); color: #fff; }
.service-card:hover .arrow i { transform: none; }

/* ---------- About (Xbuild about-section-3: dark box, white card) ---------- */
.about-dark { padding: 90px 0; }
.about-card { background: #fff; padding: 50px 46px; border-radius: 16px; position: relative; height: 100%; }
@media (max-width: 575px) { .about-card { padding: 34px 22px; } }
.about-card .feat-row { display: flex; gap: 22px; align-items: stretch; margin: 26px 0 30px; flex-wrap: wrap; }
.about-card .feat-list { background: var(--grey); padding: 18px 22px; border-radius: 12px; flex: 1 1 240px; }
.about-card .feat-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15px; padding: 4px 0; }
.about-card .feat-list li i { color: var(--teal); }
.about-card .feat-img { flex: 0 0 170px; border-radius: 10px; overflow: hidden; position: relative; min-height: 120px; }
.about-card .feat-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-card .feat-img .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; border: 0; }
.about-card .foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.author { display: flex; align-items: center; gap: 14px; }
.author .av { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--teal-700)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.author .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.author small { display: block; font-size: 13px; color: var(--body); line-height: 1.3; }
.author b { color: var(--ink); font-size: 18px; }
.about-frame { position: relative; height: 100%; min-height: 460px; padding: 30px 30px 0 0; }
.about-frame::before { content: ''; position: absolute; top: 0; right: 0; width: 80%; height: 88%; border: 3px solid var(--teal); border-left: 0; border-bottom: 0; border-radius: 0 16px 0 0; }
.about-frame .img { position: relative; height: 100%; border-radius: 16px; overflow: hidden; min-height: 430px; }
.about-frame .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-frame .badge-box { position: absolute; left: -24px; bottom: 40px; background: var(--teal); color: #fff; padding: 22px 26px; border-radius: 12px; z-index: 2; }
.about-frame .badge-box b { font-size: 42px; line-height: 1; display: block; }
.about-frame .badge-box > span { font-size: 14px; }
@media (max-width: 991px) { .about-frame .badge-box { left: 16px; } }

/* Check list */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink); font-weight: 500; }
.check-list li::before { content: '\f00c'; font-family: var(--fa); font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.check-list.light li { color: #fff; }

/* ---------- Achievements split (Xbuild about page) ---------- */
.achv-split { display: grid; grid-template-columns: 42% 58%; }
.achv-split .l { background: var(--teal); position: relative; padding: 70px 70px 70px 50px; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); z-index: 1; }
.achv-split .l::after { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .12; mix-blend-mode: multiply; pointer-events: none; }
.achv-split .l > * { position: relative; z-index: 1; }
.achv-split .l .sub-title { color: #fff; }
.achv-split .l h2 { color: #fff; }
.achv-split .l p { color: rgba(255,255,255,.9); }
.achv-split .r { background: var(--grey); padding: 60px 50px 60px 80px; margin-left: -60px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 991px) { .achv-split { grid-template-columns: 1fr; } .achv-split .l { clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%); padding: 50px 30px 70px; } .achv-split .r { margin: -40px 0 0; padding: 70px 26px 40px; } }
.counter-grid { display: grid; grid-template-columns: 1fr 1fr; }
.counter-grid .item { display: flex; align-items: center; gap: 18px; padding: 26px 20px; }
.counter-grid .item:nth-child(odd) { border-right: 1px solid var(--line); }
.counter-grid .item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.counter-grid .ic { width: 58px; height: 58px; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; box-shadow: var(--shadow); }
.counter-grid b { display: block; font-size: 40px; line-height: 1; color: var(--ink); }
.counter-grid span { font-size: 15px; }
@media (max-width: 575px) { .counter-grid { grid-template-columns: 1fr; } .counter-grid .item { border-right: 0 !important; border-bottom: 1px solid var(--line); } }

/* Dam levels */
.dam-bar { margin-bottom: 16px; }
.dam-bar .top { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.dam-bar .track { height: 10px; background: #fff; position: relative; overflow: hidden; }
.dam-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--navy), var(--teal)); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.dam-bar.low .fill { background: linear-gradient(90deg, #b45309, var(--amber)); }
.dam-bar.dark .top { color: #fff; }
.dam-bar.dark .track { background: rgba(255,255,255,.12); }

/* ---------- Work process (Xbuild work-process-section-3) ---------- */
.process-wrap { padding: 90px 0; }
.step-angle { display: flex; align-items: stretch; background: #fff; margin-bottom: 24px; box-shadow: var(--shadow); position: relative; }
.step-angle:nth-of-type(2) { margin-left: 30px; } .step-angle:nth-of-type(3) { margin-left: 60px; } .step-angle:nth-of-type(4) { margin-left: 90px; }
@media (max-width: 991px) { .step-angle { margin-left: 0 !important; } }
.step-angle .num { flex: 0 0 150px; background: var(--teal); color: transparent; -webkit-text-stroke: 1.5px #fff; font-size: 46px; font-weight: 700; display: flex; align-items: center; justify-content: center; clip-path: polygon(0 0, 62% 0, 100% 100%, 0 100%); padding-right: 30px; position: relative; }
.step-angle:nth-of-type(even) .num { background: var(--navy); }
.step-angle .txt { padding: 20px 26px 20px 4px; }
.step-angle h4 { font-size: 21px; margin-bottom: 4px; }
.step-angle p { margin: 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 575px) { .step-angle .num { flex-basis: 96px; font-size: 32px; padding-right: 20px; } .step-angle .txt { padding: 16px 16px 16px 0; } }
.process-img { border-radius: 16px; overflow: hidden; position: relative; min-height: 320px; height: 100%; }
.process-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Company status counters (outlined numbers) ---------- */
.status-counters { display: flex; gap: 30px; flex-wrap: wrap; margin: 30px 0 36px; }
.status-counters .item b { display: block; font-size: 48px; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
.status-counters .item span { font-size: 15px; color: var(--ink); }
.status-imgs { position: relative; min-height: 520px; }
.status-imgs .a { position: absolute; right: 0; top: 0; width: 64%; height: 100%; }
.status-imgs .b { position: absolute; left: 0; top: 70px; width: 50%; height: 56%; border: 10px solid #fff; box-shadow: var(--shadow); z-index: 2; }
.status-imgs img { width: 100%; height: 100%; object-fit: cover; }
.status-imgs .bar { position: absolute; left: 22%; bottom: 40px; width: 4px; height: 80px; background: var(--teal); }
@media (max-width: 575px) { .status-imgs { min-height: 380px; } }

/* ---------- Business Units map ---------- */
.map-card { background: var(--navy-900); padding: 26px; position: relative; overflow: hidden; border-radius: 16px; }
.map-card svg { width: 100%; height: auto; display: block; }
.map-card .pin .pulse { animation: pinpulse 2.4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
.map-legend { display: flex; gap: 22px; color: rgba(255,255,255,.7); font-size: 13px; flex-wrap: wrap; margin-top: 10px; }
.map-legend i { color: var(--teal); margin-right: 6px; }
.office-chip { background: #fff; padding: 14px 18px; border-left: 3px solid var(--teal); box-shadow: var(--shadow); height: 100%; }
.office-chip h5 { font-size: 16px; margin: 0; }
.office-chip p { margin: 0; font-size: 14px; }
.office-chip a { color: var(--body); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; min-width: 760px; }
table.data th { background: var(--navy-900); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 16px 18px; text-align: left; }
table.data td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
table.data td b { color: var(--ink); }
table.data tbody tr:hover { background: var(--grey); }
table.data td:last-child { white-space: nowrap; }
table.data.compact { min-width: 0; }
.empty-note { display: none; padding: 24px; text-align: center; background: var(--grey); margin-top: 12px; }

/* ---------- Projects gallery (Xbuild project-section) ---------- */
.project-strip { display: flex; gap: 16px; height: 440px; }
.project-strip .p { position: relative; flex: 1; overflow: hidden; transition: flex .6s cubic-bezier(.2,.7,.2,1); cursor: pointer; background: var(--navy-900); min-width: 0; }
.project-strip .p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-strip .p::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,69,0) 30%, rgba(20,27,69,.85) 100%); }
.project-strip .p.active { flex: 3.2; }
.project-strip .p .v { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; color: #fff; font-weight: 700; white-space: nowrap; transition: opacity .3s; }
.project-strip .p.active .v { opacity: 0; }
.project-strip .p .card { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 24px; background: #fff; padding: 20px 24px; border-left: 4px solid var(--teal); opacity: 0; transform: translateY(20px); transition: .4s .15s; }
.project-strip .p.active .card { opacity: 1; transform: none; }
.project-strip .card h4 { font-size: 20px; margin: 6px 0 4px; }
.project-strip .card p { font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
@media (max-width: 991px) { .project-strip { flex-direction: column; height: auto; } .project-strip .p, .project-strip .p.active { flex: none; height: 300px; } .project-strip .p .v { display: none; } .project-strip .p .card { opacity: 1; transform: none; } }
.progress-line { margin: 4px 0 10px; }
.progress-line .top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink); }
.progress-line .track { height: 6px; background: var(--grey-2); margin-top: 4px; }
.progress-line .fill { height: 100%; background: var(--teal); }

/* ---------- Team cards (Xbuild team) ---------- */
.team-card { position: relative; padding-right: 26px; }
.team-card .img { position: relative; aspect-ratio: 4/4.4; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--teal-700)); }
.team-card .av { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 700; color: #fff; }
.team-card .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.team-card:hover .av img { transform: scale(1.06); }
.team-card .social { position: absolute; right: 0; top: 24px; display: flex; flex-direction: column; background: var(--navy-900); z-index: 3; opacity: 0; transform: translateX(20px); transition: .4s; }
.team-card .social a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.team-card .social a:hover { color: var(--teal); }
.team-card:hover .social { opacity: 1; transform: none; }
.team-card .name { position: relative; margin: -36px -26px 0 0; background: var(--navy-900); padding: 14px 52px 14px 20px; border-left: 4px solid var(--teal); z-index: 2; transition: .3s; min-height: 76px; }
.team-card .name h4 { color: #fff; font-size: 18px; margin: 0; }
.team-card .name span { color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.35; display: block; }
.team-card .name i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #fff; }
.team-card:hover .name, .team-card.featured .name { background: var(--teal); border-color: var(--navy-900); }
.team-card:hover .name span, .team-card.featured .name span { color: #fff; }

/* ---------- CEO message (Xbuild testimonial-section-3) ---------- */
.quote-section { padding: 90px 0; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 55%, #0d5a5a 100%); }
.quote-section::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .12; mix-blend-mode: screen; }
.quote-card { background: #fff; position: relative; padding: 46px 50px 40px; border-top: 4px solid var(--teal); margin-top: 40px; clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%, 0 calc(100% - 60px)); }
.quote-card .q { font-size: 20px; line-height: 1.65; color: var(--ink); font-weight: 500; margin-bottom: 28px; }
.quote-card .q::before { content: '\f10d'; font-family: var(--fa); font-weight: 900; color: var(--teal); font-size: 34px; display: block; margin-bottom: 10px; }
.quote-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.quote-card .foot img.logo { height: 42px; width: auto; }
@media (max-width: 575px) { .quote-card { padding: 34px 22px 50px; } .quote-card .q { font-size: 17px; } }

/* ---------- News cards (Xbuild news-section) ---------- */
.news-card { background: var(--grey); height: 100%; display: flex; flex-direction: column; transition: .3s; }
.news-card .thumb { position: relative; height: 220px; overflow: hidden; }
.news-card .thumb img, .news-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .6s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; gap: 10px; }
.news-card .meta .cat { color: var(--teal-700); font-weight: 700; }
.news-card h3 { font-size: 20px; line-height: 1.35; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card p { font-size: 15px; flex: 1; }
.news-card .foot { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.news-card .foot .by { display: flex; align-items: center; gap: 10px; }
.news-card .foot .by i { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.news-card .foot .by b { color: var(--ink); display: block; line-height: 1.2; font-size: 14px; }
.news-card .foot .by small { font-size: 12.5px; line-height: 1.2; display: block; }
.news-card .foot a { color: var(--teal-700); font-weight: 700; white-space: nowrap; }
.news-card.dark, .news-card:hover { background: var(--navy-900); }
.news-card.dark h3 a, .news-card:hover h3 a, .news-card.dark .foot .by b, .news-card:hover .foot .by b { color: #fff; }
.news-card.dark p, .news-card:hover p, .news-card.dark .meta, .news-card:hover .meta, .news-card.dark .foot, .news-card:hover .foot { color: rgba(255,255,255,.7); }
.news-card.dark .meta .cat, .news-card:hover .meta .cat, .news-card.dark .foot a, .news-card:hover .foot a { color: var(--teal); }
.news-card.dark .foot, .news-card:hover .foot { border-color: rgba(255,255,255,.15); }

/* ---------- FAQ (Xbuild faq) ---------- */
.faq-section { background: var(--grey); position: relative; overflow: hidden; }
.faq-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 38px, rgba(41,54,128,.035) 38px 40px); pointer-events: none; }
.faq-point { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.faq-point .ic { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.faq-point h5 { text-transform: uppercase; font-size: 16px; margin-bottom: 4px; }
.faq-point p { margin: 0; font-size: 15px; }
.accordion-item { background: #fff; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(17,22,51,.04); border: 0; }
.accordion-btn { width: 100%; background: transparent; border: 0; text-align: left; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; color: var(--ink); position: relative; line-height: 1.4; }
.accordion-btn::after { content: '\2b'; font-family: var(--fa); font-weight: 400; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink); }
.accordion-item.open .accordion-btn { color: var(--teal); }
.accordion-item.open .accordion-btn::after { content: '\f068'; color: var(--teal); }
.accordion-body { display: none; padding: 0 24px 22px; font-size: 15.5px; }
.accordion-item.open .accordion-body { display: block; }
.accordion-group.on-white .accordion-item { background: var(--grey); box-shadow: none; }

/* ---------- Breadcrumb (inner pages) ---------- */
.breadcrumb-area { position: relative; background: var(--navy-900); padding: 150px 0 110px; overflow: hidden; }
.breadcrumb-area::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .18; mix-blend-mode: screen; }
.breadcrumb-area .slash { position: absolute; top: 0; bottom: 0; right: 14%; width: 220px; background: linear-gradient(180deg, var(--teal), rgba(23,176,149,.2)); transform: skewX(-22deg); opacity: .55; }
.breadcrumb-area .slash.two { right: calc(14% - 120px); width: 40px; opacity: .35; }
.breadcrumb-area .drop { position: absolute; right: 8%; top: 50%; transform: translateY(-38%); font-size: 210px; color: rgba(255,255,255,.08); line-height: 1; }
.breadcrumb-area .container { position: relative; z-index: 2; }
.breadcrumb-area h1 { color: #fff; font-size: 68px; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 14px; }
.breadcrumb-area p { color: rgba(255,255,255,.78); max-width: 680px; font-size: 17px; margin: 14px 0 0; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.breadcrumb-list a { color: #fff; }
.breadcrumb-list a:hover, .breadcrumb-list span { color: var(--teal); }
@media (max-width: 991px) { .breadcrumb-area { padding: 130px 0 80px; } .breadcrumb-area h1 { font-size: 48px; } .breadcrumb-area .drop { display: none; } }
@media (max-width: 575px) { .breadcrumb-area { padding: 110px 0 64px; } .breadcrumb-area h1 { font-size: 36px; } .breadcrumb-area .slash { right: -60px; } }

/* ---------- Generic boxes ---------- */
.info-box { background: #fff; padding: 34px 30px; height: 100%; position: relative; box-shadow: var(--shadow); transition: .3s; border-bottom: 3px solid transparent; }
.info-box:hover { border-color: var(--teal); }
.info-box .ic { width: 62px; height: 62px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.info-box h4 { font-size: 20px; }
.info-box p:last-child { margin-bottom: 0; }
.info-box .num { position: absolute; right: 24px; top: 18px; font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--line); line-height: 1; }
.info-box.flat { box-shadow: none; background: var(--grey); }
.info-box.dark { background: var(--navy-900); color: rgba(255,255,255,.75); }
.info-box.dark h4, .info-box.dark h3 { color: #fff; }
.info-box.dark .ic { background: var(--teal); color: #fff; }
.info-box.teal { background: var(--teal); color: #fff; }
.info-box.teal h4 { color: #fff; }

.contact-card { display: flex; gap: 20px; background: var(--grey); padding: 30px 26px; height: 100%; align-items: flex-start; }
.contact-card .ic { width: 60px; height: 60px; flex: none; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.contact-card h4 { font-size: 20px; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 15px; }
.contact-card a { color: var(--body); }
.contact-card a:hover { color: var(--teal); }

.doc-item { display: flex; align-items: center; gap: 16px; background: #fff; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 12px; color: var(--ink); transition: .3s; height: calc(100% - 12px); }
.doc-item:hover { transform: translateX(4px); color: var(--ink); }
.doc-item .ft { width: 50px; height: 50px; flex: none; background: var(--teal-50); color: var(--teal-700); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; line-height: 1.2; }
.doc-item .ft i { font-size: 20px; }
.doc-item .ft.navy { background: #e8ebf7; color: var(--navy); }
.doc-item .t { flex: 1; min-width: 0; }
.doc-item .t b { display: block; line-height: 1.35; }
.doc-item .t small { color: var(--body); font-size: 13px; }
.doc-item .dl { width: 40px; height: 40px; flex: none; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center; transition: .3s; }
.doc-item:hover .dl { background: var(--teal); }
.doc-item.plain { box-shadow: none; background: var(--grey); }

.note-box { background: var(--teal-50); border-left: 4px solid var(--teal); padding: 18px 22px; color: var(--ink); font-size: 15px; }

/* Sidebar widgets (Xbuild service-details) */
.side-widget { background: var(--grey); padding: 30px; margin-bottom: 30px; }
.side-widget h4 { font-size: 22px; margin-bottom: 22px; padding-bottom: 12px; position: relative; }
.side-widget h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--teal); box-shadow: 44px 0 0 var(--teal); }
.side-cats li { margin-bottom: 10px; }
.side-cats a { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 18px; color: var(--ink); font-weight: 600; font-size: 15px; }
.side-cats a:hover, .side-cats a.active { background: var(--teal); color: #fff; }
.side-help { background: var(--navy-900); padding: 46px 30px; text-align: center; position: relative; overflow: hidden; }
.side-help::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .15; }
.side-help > * { position: relative; }
.side-help h4 { color: #fff; font-size: 20px; }
.side-help img { height: 50px; width: auto; margin: 24px auto; }
.side-dl { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--ink); }
.side-dl i.f { font-size: 30px; color: var(--teal); }
.side-dl b { display: block; line-height: 1.3; }
.side-dl small { color: var(--body); }
.side-dl .go { margin-left: auto; width: 38px; height: 38px; background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.side-dl:hover .go { background: var(--teal); }
@media (min-width: 992px) { .sticky-side { position: sticky; top: 110px; } }

.detail-block { margin-bottom: 60px; scroll-margin-top: 110px; }
.detail-block h2 { font-size: 36px; }
.detail-img { position: relative; height: 380px; overflow: hidden; margin-bottom: 30px; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.step-box { border: 1px solid var(--line); padding: 24px 22px; height: 100%; }
.step-box .t { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.step-box .t i { color: var(--teal); font-size: 24px; }
.step-box h5 { margin: 0; font-size: 18px; }
.step-box p { margin: 0; font-size: 15px; }

/* Filters */
.filter-bar { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-bar .input { flex: 1 1 300px; position: relative; }
.filter-bar .input i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--body); }
.filter-bar input, .filter-bar select { width: 100%; height: 56px; border: 1px solid var(--line); background: #fff; padding: 0 18px 0 46px; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; }
.filter-bar select { width: auto; flex: 0 1 260px; padding: 0 18px; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--teal); }

/* Jobs */
.job-item { display: flex; align-items: center; gap: 22px; background: #fff; padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--shadow); border-left: 4px solid transparent; transition: .3s; flex-wrap: wrap; }
.job-item:hover { border-color: var(--teal); }
.job-item .ic { width: 58px; height: 58px; flex: none; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.job-item .t { flex: 1 1 300px; }
.job-item h4 { font-size: 19px; margin-bottom: 4px; }
.job-item .meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.job-item .meta i { color: var(--teal); margin-right: 6px; }
.job-item .close-date { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Courses */
.course-card { background: #fff; height: 100%; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.course-card .head { background: var(--navy-900); color: #fff; padding: 26px 26px 30px; position: relative; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.course-card .head i.big { font-size: 34px; color: var(--teal); display: block; margin-bottom: 12px; }
.course-card .head h4 { color: #fff; font-size: 20px; margin: 10px 0 0; }
.course-card .body { padding: 18px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.course-card ul { flex: 1; margin-bottom: 14px; }
.course-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 3px 0; }
.course-card li i { color: var(--teal); }

/* Payments */
.pay-item { background: var(--grey); text-align: center; padding: 30px 16px; height: 100%; transition: .3s; }
.pay-item i { font-size: 36px; color: var(--teal); margin-bottom: 14px; display: block; }
.pay-item h5 { font-size: 17px; margin-bottom: 4px; }
.pay-item small { font-size: 13.5px; }
.pay-item:hover { background: var(--navy-900); }
.pay-item:hover h5 { color: #fff; }
.pay-item:hover small { color: rgba(255,255,255,.7); }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline .ti { position: relative; padding-bottom: 30px; }
.timeline .ti::before { content: ''; position: absolute; left: -34px; top: 4px; width: 18px; height: 18px; background: #fff; border: 4px solid var(--teal); border-radius: 50%; }
.timeline .ti h5 { font-size: 19px; margin: 8px 0 4px; }
.timeline .ti p { margin: 0; font-size: 15px; }

/* Business Unit cards */
.bu-card { background: #fff; height: 100%; box-shadow: var(--shadow); scroll-margin-top: 110px; display: flex; flex-direction: column; }
.bu-card .head { background: var(--navy-900); padding: 28px 28px 36px; position: relative; clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); }
.bu-card .head span { color: var(--teal); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bu-card .head h3 { color: #fff; font-size: 28px; margin: 4px 0 8px; }
.bu-card .head a { color: rgba(255,255,255,.85); font-weight: 600; }
.bu-card .body { padding: 22px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.bu-card .body ul { flex: 1; }

/* Forms (Xbuild contact) */
.form-panel { background: #fff; padding: 56px 50px; box-shadow: 0 20px 60px rgba(17,22,51,.1); }
@media (max-width: 575px) { .form-panel { padding: 34px 20px; } }
.field { margin-bottom: 20px; position: relative; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--grey); border: 1px solid transparent; height: 56px; padding: 0 20px; font-family: inherit; font-size: 15px; color: var(--ink); outline: none; transition: .3s; }
.field textarea { height: 150px; padding: 16px 20px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: #fff; }
.form-note { display: none; margin-top: 16px; background: var(--teal-50); color: var(--teal-700); padding: 12px 16px; font-weight: 600; }
.form-note.show { display: block; }

/* CTA band */
.cta-band { position: relative; background: var(--teal); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .14; mix-blend-mode: multiply; }
.cta-band .inner { position: relative; padding: 64px 0; max-width: 780px; }
.cta-band h2 { color: #fff; font-size: 38px; margin: 0 0 26px; }
.cta-band .cut { position: absolute; right: 4%; bottom: 0; height: 115%; width: auto; max-width: none; pointer-events: none; }
@media (max-width: 1199px) { .cta-band .cut { display: none; } }
@media (max-width: 575px) { .cta-band h2 { font-size: 28px; } }

/* Split image/text blocks */
.split-img { position: relative; min-height: 420px; height: 100%; overflow: hidden; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-img .tagline { position: absolute; left: 0; bottom: 0; background: var(--teal); color: #fff; font-weight: 700; padding: 14px 22px; }

/* Values grid */
.value-item { display: flex; gap: 18px; padding: 24px; background: #fff; height: 100%; box-shadow: var(--shadow); border-top: 3px solid var(--teal); }
.value-item .n { font-size: 34px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--teal); line-height: 1; flex: none; }
.value-item h4 { font-size: 18px; margin-bottom: 4px; }
.value-item p { margin: 0; font-size: 15px; }

/* Division chips */
.division { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 18px; height: 100%; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.35; }
.division i { width: 44px; height: 44px; flex: none; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* Water stat bar */
.water-stat { display: flex; height: 44px; overflow: hidden; margin: 10px 0 16px; }
.water-stat div { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }

/* Pagination-like jump nav for long pages */
.jump-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.jump-nav a { background: var(--grey); padding: 10px 18px; font-weight: 700; color: var(--ink); font-size: 14px; }
.jump-nav a:hover { background: var(--teal); color: #fff; }

/* ---------- Footer (Xbuild footer: dark rounded box) ---------- */
.site-footer { padding: 0 0 30px; position: relative; }
.footer-subscribe { padding: 70px 0 60px; }
.footer-subscribe h3 { font-size: 34px; margin: 0; }
.footer-subscribe form { display: flex; flex-wrap: wrap; gap: 0; }
.footer-subscribe input[type=email] { flex: 1 1 260px; height: 64px; border: 1px solid var(--line); background: var(--grey); padding: 0 22px; font-family: inherit; font-size: 15px; outline: none; color: var(--ink); }
.footer-subscribe input[type=email]:focus { border-color: var(--teal); }
.footer-subscribe .opts { flex-basis: 100%; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--ink); }
.footer-subscribe .opts label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.footer-subscribe .opts input { accent-color: var(--teal); width: 16px; height: 16px; }
.footer-box { margin: 0 30px; background: var(--navy-900); border-radius: 24px; position: relative; overflow: hidden; color: rgba(255,255,255,.7); }
@media (max-width: 767px) { .footer-box { margin: 0 12px; border-radius: 16px; } }
.footer-box::before { content: ''; position: absolute; inset: 0; background: url(../img/background-1.webp) center/cover; opacity: .08; pointer-events: none; }
.footer-box > .container { position: relative; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px 0 40px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer-top .logo-pill { background: #fff; border-radius: 60px; padding: 14px 30px; }
.footer-top .logo-pill img { height: 54px; width: auto; }
.footer-top .ci { display: flex; align-items: center; gap: 14px; }
.footer-top .ci .ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.footer-top .ci small { display: block; font-size: 13px; line-height: 1.2; }
.footer-top .ci b, .footer-top .ci a { color: #fff; font-size: 18px; font-weight: 700; }
.footer-top .ci a:hover { color: var(--teal); }
.footer-main { padding: 50px 0 30px; }
.footer-main h4 { color: #fff; font-size: 20px; padding-bottom: 14px; margin-bottom: 22px; position: relative; }
.footer-main h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 22px; height: 2px; background: var(--teal); box-shadow: 30px 0 0 #fff, 40px 0 0 #fff, 50px 0 0 #fff, 60px 0 0 #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 10px; }
.footer-links a::before { content: '\f101'; font-family: var(--fa); font-weight: 400; font-size: 13px; }
.footer-links a:hover { color: var(--teal); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: 15px; }
.footer-hours li b { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom a { color: rgba(255,255,255,.7); margin-left: 20px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom .brand { color: var(--teal); }

/* Back to top */
#back-to-top { position: fixed; left: 24px; bottom: 24px; width: 48px; height: 48px; background: var(--navy-900); color: #fff; border: 0; z-index: 900; opacity: 0; visibility: hidden; transition: .3s; }
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--teal); }

/* ---------- Aqua chatbot ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 950; display: flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; border: 0; padding: 0 22px 0 6px; height: 60px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 15px 35px rgba(23,176,149,.4); clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.chat-fab .av { width: 48px; height: 48px; background: var(--navy-900); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.chat-fab:hover { background: var(--navy-900); }
.chat-fab:hover .av { background: var(--teal); }
.chat-panel { position: fixed; right: 24px; bottom: 96px; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 130px); background: #fff; box-shadow: 0 30px 70px rgba(17,22,51,.25); z-index: 960; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; border-top: 4px solid var(--teal); }
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--navy-900); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.chat-head b { display: block; font-size: 16px; }
.chat-head small { font-size: 12px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3be0a5; }
.chat-head .chat-close { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 34px; height: 34px; flex: none; }
.chat-note { font-size: 12px; background: #fff3dc; color: #6b4300; padding: 8px 14px; line-height: 1.4; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--grey); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { background: #fff; color: var(--ink); align-self: flex-start; border-left: 3px solid var(--teal); }
.msg.user { background: var(--navy); color: #fff; align-self: flex-end; }
.msg a { color: var(--teal-700); font-weight: 700; text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #fff; border: 1px solid var(--teal); color: var(--teal-700); font-size: 13px; padding: 5px 11px; font-weight: 600; }
.chip:hover { background: var(--teal); color: #fff; }
.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 4px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-handover { font-size: 12.5px; text-align: center; padding: 6px; background: #fff; border-top: 1px solid var(--line); }
.chat-handover a { color: var(--teal-700); font-weight: 700; }
.chat-form { display: flex; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 0; padding: 0 16px; height: 54px; font-family: inherit; font-size: 15px; outline: none; min-width: 0; }
.chat-form button { width: 56px; border: 0; background: var(--teal); color: #fff; font-size: 17px; }
@media (max-width: 575px) { .chat-fab { padding-right: 6px; } .chat-fab .lbl { display: none; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; scroll-behavior: auto !important; } }
@media print { .chat-fab, .chat-panel, #back-to-top, .alert-bar, .search-panel, .offcanvas-nav { display: none !important; } }
@media (max-width: 767px) {
  .hero-slide h1 { font-size: 38px; }
  .hero-dots { top: auto; bottom: 70px; right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; }
  .hero-slide .content { padding-bottom: 150px; }
}
@media (max-width: 767px) { .hero-card { min-height: 800px; } .hero-dots { bottom: 46px; } }
@media (max-width: 380px) { .hero-card { min-height: 860px; } }

/* Photo panels */
.ph.ph-photo { background-size: cover !important; background-position: center !important; }
.ph.ph-photo > * { visibility: hidden; }
.ph.ph-photo::before, .ph.ph-photo::after { display: none; }
